[tegra:for-4.10/bus 4/4] drivers/bus/tegra-gmi.c:97:11: error: 'dev' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux