Re: [PATCH v5 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

From: kbuild test robot
Date: Tue Jun 28 2016 - 04:55:21 EST


Hi,

[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v4.7-rc5 next-20160627]
[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/Tan-Jui-Nee/x86-platform-p2sb-New-Primary-to-Sideband-bridge-support-driver-for-Intel-SOC-s/20160628-160704
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: x86_64-randconfig-s5-06281627 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

In file included from drivers/mfd/lpc_ich-apl.c:12:0:
>> include/linux/mfd/lpc_ich.h:49:39: warning: 'struct pci_dev' declared inside parameter list will not be visible outside of this definition or declaration
static inline int lpc_ich_misc(struct pci_dev *dev)
^~~~~~~

vim +49 include/linux/mfd/lpc_ich.h

33 ICH_V9_GPIO,
34 ICH_V10CORP_GPIO,
35 ICH_V10CONS_GPIO,
36 AVOTON_GPIO,
37 };
38
39 struct lpc_ich_info {
40 char name[32];
41 unsigned int iTCO_version;
42 unsigned int gpio_version;
43 u8 use_gpio;
44 };
45
46 #if defined(CONFIG_X86_INTEL_APL)
47 int lpc_ich_misc(struct pci_dev *dev);
48 #else
> 49 static inline int lpc_ich_misc(struct pci_dev *dev)
50 { return -ENODEV; }
51 #endif
52
53 #endif

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

Attachment: .config.gz
Description: Binary data