Hi Sakari, [auto build test WARNING on driver-core/driver-core-testing] [also build test WARNING on v4.10-rc5 next-20170125] [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/Sakari-Ailus/ACPI-graph-support/20170128-032753 config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-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 # save the attached .config to linux build tree make.cross ARCH=arm64 All warnings (new ones prefixed by >>): In file included from arch/arm64/kvm/../../../virt/kvm/arm/vgic/vgic-v2.c:17:0: >> include/linux/irqchip/arm-gic.h:123:30: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration int gic_of_init_child(struct device *dev, struct gic_chip_data **gic, int irq); ^~~~~~ vim +123 include/linux/irqchip/arm-gic.h 4c2880b3 include/linux/irqchip/arm-gic.h Jon Hunter 2015-07-31 107 int gic_cpu_if_down(unsigned int gic_nr); cdbb813d include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 108 void gic_cpu_save(struct gic_chip_data *gic); cdbb813d include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 109 void gic_cpu_restore(struct gic_chip_data *gic); cdbb813d include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 110 void gic_dist_save(struct gic_chip_data *gic); cdbb813d include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 111 void gic_dist_restore(struct gic_chip_data *gic); e807acbc arch/arm/include/asm/hardware/gic.h Changhwan Youn 2011-07-16 112 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 113 /* 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 114 * Subdrivers that need some preparatory work can initialize their 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 115 * chips and call this to register their GICs. 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 116 */ 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 117 int gic_of_init(struct device_node *node, struct device_node *parent); 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 118 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 119 /* 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 120 * Initialises and registers a non-root or child GIC chip. Memory for 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 121 * the gic_chip_data structure is dynamically allocated. 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 122 */ 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 @123 int gic_of_init_child(struct device *dev, struct gic_chip_data **gic, int irq); 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 124 9c8edddf include/linux/irqchip/arm-gic.h Jon Hunter 2016-06-07 125 /* 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 126 * Legacy platforms not converted to DT yet must use this to init 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 127 * their GIC 8673c1d7 include/linux/irqchip/arm-gic.h Linus Walleij 2015-10-24 128 */ e81a7cd9 include/linux/irqchip/arm-gic.h Marc Zyngier 2015-10-13 129 void gic_init(unsigned int nr, int start, e81a7cd9 include/linux/irqchip/arm-gic.h Marc Zyngier 2015-10-13 130 void __iomem *dist , void __iomem *cpu); db0d4db2 arch/arm/include/asm/hardware/gic.h Marc Zyngier 2011-11-12 131 :::::: The code at line 123 was first introduced by commit :::::: 9c8edddfc9924cb473a7570c37ca466db70728f8 irqchip/gic: Add platform driver for non-root GICs that require RPM :::::: TO: Jon Hunter <jonathanh@xxxxxxxxxx> :::::: CC: Marc Zyngier <marc.zyngier@xxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip