All of lore.kernel.org
 help / color / mirror / Atom feed
* [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
@ 2017-03-20  9:58 kbuild test robot
  2017-03-20 11:02 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-03-20  9:58 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: kbuild-all, linux-pm

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

tree:   https://git.linaro.org/people/vireshk/linux opp/genpd-performance-state
head:   1c80aea883c2a8481a5266a5fdd0d250b28f4817
commit: 26603b1348d6153199cae0a2f9aff115c888d5b0 [10/11] PM / Domain: Add struct device to genpd
config: i386-randconfig-x015-201712 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 26603b1348d6153199cae0a2f9aff115c888d5b0
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the vireshk/opp/genpd-performance-state HEAD 1c80aea883c2a8481a5266a5fdd0d250b28f4817 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/base/power/domain.c: In function 'of_genpd_add_provider_simple':
>> drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
       genpd->dev->of_node = np;
                 ^~

vim +1814 drivers/base/power/domain.c

  1808	
  1809		if (pm_genpd_present(genpd)) {
  1810			ret = genpd_add_provider(np, genpd_xlate_simple, genpd);
  1811			if (!ret) {
  1812				genpd->provider = &np->fwnode;
  1813				genpd->has_provider = true;
> 1814				genpd->dev->of_node = np;
  1815			}
  1816		}
  1817	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33951 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
  2017-03-20  9:58 [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device') kbuild test robot
@ 2017-03-20 11:02 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2017-03-20 11:02 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-pm

On 20-03-17, 17:58, kbuild test robot wrote:
> tree:   https://git.linaro.org/people/vireshk/linux opp/genpd-performance-state
> head:   1c80aea883c2a8481a5266a5fdd0d250b28f4817
> commit: 26603b1348d6153199cae0a2f9aff115c888d5b0 [10/11] PM / Domain: Add struct device to genpd
> config: i386-randconfig-x015-201712 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout 26603b1348d6153199cae0a2f9aff115c888d5b0
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> Note: the vireshk/opp/genpd-performance-state HEAD 1c80aea883c2a8481a5266a5fdd0d250b28f4817 builds fine.
>       It only hurts bisectibility.
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/base/power/domain.c: In function 'of_genpd_add_provider_simple':
> >> drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device')
>        genpd->dev->of_node = np;
>                  ^~

Fixed thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-20 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20  9:58 [vireshk:opp/genpd-performance-state 10/11] drivers/base/power/domain.c:1814:14: error: invalid type argument of '->' (have 'struct device') kbuild test robot
2017-03-20 11:02 ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.