linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tegra:for-4.10/bus 4/4] drivers/bus/tegra-gmi.c:97:11: error: 'dev' undeclared
@ 2016-11-07 17:44 kbuild test robot
       [not found] ` <201611080158.Q53HGK2q%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2016-11-07 17:44 UTC (permalink / raw)
  To: Mirza Krak
  Cc: kbuild-all-JC7UmRfGjtg, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	Thierry Reding

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-4.10/bus
head:   4f95e6a5c9e433197244c91dd25102a85dbb7877
commit: 4f95e6a5c9e433197244c91dd25102a85dbb7877 [4/4] bus: Add support for Tegra Generic Memory Interface
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 4f95e6a5c9e433197244c91dd25102a85dbb7877
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/bus/tegra-gmi.c: In function 'tegra_gmi_parse_dt':
>> drivers/bus/tegra-gmi.c:97:11: error: 'dev' undeclared (first use in this function)
      dev_err(dev, "no child nodes found\n");
              ^~~
   drivers/bus/tegra-gmi.c:97:11: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +97 drivers/bus/tegra-gmi.c

    91		struct device_node *child;
    92		u32 property, ranges[4];
    93		int err;
    94	
    95		child = of_get_next_available_child(gmi->dev->of_node, NULL);
    96		if (!child) {
  > 97			dev_err(dev, "no child nodes found\n");
    98			return -ENODEV;
    99		}
   100	

---
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: 59432 bytes --]

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

end of thread, other threads:[~2016-11-08 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-07 17:44 [tegra:for-4.10/bus 4/4] drivers/bus/tegra-gmi.c:97:11: error: 'dev' undeclared kbuild test robot
     [not found] ` <201611080158.Q53HGK2q%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-11-08 10:47   ` Thierry Reding
     [not found]     ` <20161108104745.GA3154-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-11-08 12:13       ` Mirza Krak
     [not found]         ` <CALw8SCVXOqd=3B6tzE90TQa6S4BJSKmjV_Y3SrB6_Nc1_hsn+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-08 18:02           ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).