Re: [PATCH 1/2] gpio: mmio: add brcm,bcm6345 support

From: kbuild test robot
Date: Wed Aug 03 2016 - 07:29:55 EST


Hi Christian,

[auto build test ERROR on gpio/for-next]
[also build test ERROR on next-20160803]
[cannot apply to v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/lvaro-Fern-ndez-Rojas/gpio-mmio-add-brcm-bcm6345-support/20160803-191501
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

drivers/gpio/gpio-mmio.c: In function 'bgpio_parse_dt':
>> drivers/gpio/gpio-mmio.c:597:30: error: 'dev' undeclared (first use in this function)
if (of_device_is_big_endian(dev->of_node))
^
drivers/gpio/gpio-mmio.c:597:30: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +597 drivers/gpio/gpio-mmio.c

591 GFP_KERNEL);
592 if (!pdata)
593 return ERR_PTR(-ENOMEM);
594
595 pdata->base = -1;
596
> 597 if (of_device_is_big_endian(dev->of_node))
598 *flags |= BGPIOF_BIG_ENDIAN_BYTE_ORDER;
599
600 if (of_property_read_bool(pdev->dev.of_node, "no-output"))

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

Attachment: .config.gz
Description: Binary data