# git rev-parse -q --verify 3bbeabcd1685878d658e8d126371628052e2bfeb^{commit} 3bbeabcd1685878d658e8d126371628052e2bfeb already have revision, skipping fetch # git checkout -q -f -B kisskb 3bbeabcd1685878d658e8d126371628052e2bfeb # git clean -qxdf # < git log -1 # commit 3bbeabcd1685878d658e8d126371628052e2bfeb # Author: Nathan Chancellor # Date: Mon May 18 11:10:43 2020 -0700 # # input: i8042 - Remove special PowerPC handling # # This causes a build error with CONFIG_WALNUT because kb_cs and kb_data # were removed in commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and # include/asm-ppc"). # # ld.lld: error: undefined symbol: kb_cs # > referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # > referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # > referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # # ld.lld: error: undefined symbol: kb_data # > referenced by i8042.c:309 (drivers/input/serio/i8042.c:309) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # > referenced by i8042-ppcio.h:33 (drivers/input/serio/i8042-ppcio.h:33) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # > referenced by i8042.c:319 (drivers/input/serio/i8042.c:319) # > input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a # > referenced 15 more times # # Presumably since nobody has noticed this for the last 12 years, there is # not anyone actually trying to use this driver so we can just remove this # special walnut code and use the generic header so it builds for all # configurations. # # Fixes: 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc") # Reported-by: kbuild test robot # Signed-off-by: Nathan Chancellor # Signed-off-by: Michael Ellerman # Acked-by: Dmitry Torokhov # Link: https://lore.kernel.org/r/20200518181043.3363953-1-natechancellor@gmail.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3bbeabcd1685878d658e8d126371628052e2bfeb # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc32_allmodconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:43.7-68.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" /kisskb/src/arch/powerpc/boot/dts/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:92.7-117.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/motionpro.dts:84.15-86.4 arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/a3m071.dts:135.15-137.4 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/cm5200.dts:70.15-72.4 arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:43.7-51.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:54.7-62.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:65.7-90.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/pdm360ng.dts:172.13-185.5 arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1617:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here int oldval, ret; ^ /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:1088: Warning: invalid register expression In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:218:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /kisskb/src/fs/afs/dynroot.c: In function 'afs_dynroot_lookup': /kisskb/src/fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = lookup_one_len(name, dentry->d_parent, len); ^ /kisskb/src/fs/afs/dynroot.c:91:6: note: 'len' was declared here int len; ^ /kisskb/src/drivers/soc/fsl/dpio/qbman-portal.c: In function 'qbman_swp_enqueue_multiple_desc_direct': /kisskb/src/drivers/soc/fsl/dpio/qbman-portal.c:870:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] addr_cena = (uint64_t)s->addr_cena; ^ /kisskb/src/fs/btrfs/backref.c: In function 'is_shared_data_backref': /kisskb/src/fs/btrfs/backref.c:394:9: warning: missing braces around initializer [-Wmissing-braces] struct prelim_ref target = {0}; ^ /kisskb/src/fs/btrfs/backref.c:394:9: warning: (near initialization for 'target.rbnode') [-Wmissing-braces] In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/tty/serial/sh-sci.c:20: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_dma_rx_submit': /kisskb/src/include/linux/spinlock.h:289:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1348:16: note: 'flags' was declared here unsigned long flags; ^ /kisskb/src/sound/soc/fsl/mpc5200_dma.c: In function 'psc_dma_free': /kisskb/src/sound/soc/fsl/mpc5200_dma.c:342:30: warning: unused variable 'rtd' [-Wunused-variable] struct snd_soc_pcm_runtime *rtd = pcm->private_data; ^ In file included from /kisskb/src/drivers/net/phy/mdio-cavium.c:11:0: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_set_mode': /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:21:16: note: in expansion of macro 'oct_mdio_readq' smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:24:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); ^ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_c45_addr': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:39:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:47:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:54:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_read': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:86:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:93:16: note: in expansion of macro 'oct_mdio_readq' smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_write': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:125:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:131:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:138:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_probe': /kisskb/src/drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u64)devm_ioremap(&pdev->dev, mdio_phys, regsize); ^ In file included from /kisskb/src/drivers/net/phy/mdio-octeon.c:14:0: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:56:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:77:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_remove': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:91:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.c:60:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.c:20: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:18:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:12: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:22:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:13: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:11: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:24:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:14: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:20:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:11: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:9: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:14:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:10: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:369:16: note: 'data' was declared here unsigned char data; ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:23, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:24:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:10: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1909:0: warning: "writeq_relaxed" redefined #define writeq_relaxed writeq ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:12: /kisskb/src/arch/powerpc/include/asm/io.h:639:0: note: this is the location of the previous definition #define writeq_relaxed(v, addr) writeq(v, addr) ^ /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_mst_dsc_aux_for_port': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: missing braces around initializer [-Wmissing-braces] struct drm_dp_desc desc = { 0 }; ^ /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: (near initialization for 'desc.ident') [-Wmissing-braces] /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_set_halt': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized] dev_vdbg(udc->dev, "%s %s halt stat %d\n", ep->ep.name, ^ /kisskb/src/drivers/android/binderfs.c: In function 'binderfs_fill_super': /kisskb/src/drivers/android/binderfs.c:653:9: warning: missing braces around initializer [-Wmissing-braces] struct binderfs_device device_info = { 0 }; ^ /kisskb/src/drivers/android/binderfs.c:653:9: warning: (near initialization for 'device_info.name') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_psr_enable': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: missing braces around initializer [-Wmissing-braces] struct dc_static_screen_params params = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8641:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c: In function 'encoder_control_dmcub': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: missing braces around initializer [-Wmissing-braces] struct dmub_rb_cmd_digx_encoder_control encoder_control = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:116:9: warning: (near initialization for 'encoder_control.header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c: In function 'set_pixel_clock_dmcub': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: missing braces around initializer [-Wmissing-braces] struct dmub_rb_cmd_set_pixel_clock pixel_clock = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:342:9: warning: (near initialization for 'pixel_clock.header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c: In function 'bios_parser_get_i2c_info': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] struct atom_i2c_record dummy_record = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dp_test_get_audio_test_data': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2695:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_mode dpcd_test_mode = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2695:8: warning: (near initialization for 'dpcd_test_mode.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2697:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_pattern_period dpcd_pattern_period[AUDIO_CHANNELS_COUNT] = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2697:8: warning: (near initialization for 'dpcd_pattern_period[0]') [-Wmissing-braces] /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:68:29: error: 'IOMMU_TABLE_GROUP_MAX_TABLES' undeclared here (not in a function) struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES]; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_enable': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:284:18: error: dereferencing pointer to incomplete type if (!table_group->tce32_size) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:291:22: error: dereferencing pointer to incomplete type locked = table_group->tce32_size >> PAGE_SHIFT; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_clear': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:463:3: error: implicit declaration of function 'iommu_tce_xchg_no_kill' [-Werror=implicit-function-declaration] ret = iommu_tce_xchg_no_kill(container->mm, tbl, entry, &oldhpa, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:479:2: error: implicit declaration of function 'iommu_tce_kill' [-Werror=implicit-function-declaration] iommu_tce_kill(tbl, firstentry, pages); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: At top level: /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:612:11: warning: 'struct iommu_table_group' declared inside parameter list struct iommu_table **ptbl) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:612:11: warning: its scope is only this definition or declaration, which is probably not what you want /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_create_table': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:616:26: error: dereferencing pointer to incomplete type table_size = table_group->ops->get_table_size(page_shift, window_size, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:625:19: error: dereferencing pointer to incomplete type ret = table_group->ops->create_table(table_group, num, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_free_table': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:639:2: error: implicit declaration of function 'iommu_tce_table_put' [-Werror=implicit-function-declaration] iommu_tce_table_put(tbl); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_create_window': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:663:19: error: dereferencing pointer to incomplete type if (!(table_group->pgsizes & (1ULL << page_shift))) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:666:18: error: dereferencing pointer to incomplete type if (!table_group->ops->set_window || !table_group->ops->unset_window || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:666:51: error: dereferencing pointer to incomplete type if (!table_group->ops->set_window || !table_group->ops->unset_window || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:667:16: error: dereferencing pointer to incomplete type !table_group->ops->get_table_size || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:668:16: error: dereferencing pointer to incomplete type !table_group->ops->create_table) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:672:42: warning: passing argument 2 of 'tce_iommu_create_table' from incompatible pointer type ret = tce_iommu_create_table(container, table_group, num, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:606:13: note: expected 'struct iommu_table_group *' but argument is of type 'struct iommu_table_group *' static long tce_iommu_create_table(struct tce_container *container, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:686:20: error: dereferencing pointer to incomplete type ret = table_group->ops->set_window(table_group, num, tbl); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:701:14: error: dereferencing pointer to incomplete type table_group->ops->unset_window(table_group, num); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_remove_window': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:733:19: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->unset_window) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:733:40: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->unset_window) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:736:14: error: dereferencing pointer to incomplete type table_group->ops->unset_window(table_group, num); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_create_default_window': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:767:15: error: dereferencing pointer to incomplete type table_group->tce32_size, 1, &start_addr); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_ioctl': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:831:40: error: dereferencing pointer to incomplete type info.dma32_window_start = table_group->tce32_start; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:832:39: error: dereferencing pointer to incomplete type info.dma32_window_size = table_group->tce32_size; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:836:18: error: dereferencing pointer to incomplete type if (table_group->max_dynamic_windows_supported && ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:839:34: error: dereferencing pointer to incomplete type info.ddw.pgsizes = table_group->pgsizes; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:841:16: error: dereferencing pointer to incomplete type table_group->max_dynamic_windows_supported; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:842:33: error: dereferencing pointer to incomplete type info.ddw.levels = table_group->max_levels; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: At top level: /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1142:10: warning: 'struct iommu_table_group' declared inside parameter list struct iommu_table_group *table_group) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1161:10: warning: 'struct iommu_table_group' declared inside parameter list struct iommu_table_group *table_group) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_take_ownership': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1166:40: error: dereferencing pointer to incomplete type struct iommu_table *tbl = table_group->tables[i]; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1175:18: error: dereferencing pointer to incomplete type table_group->tables[j]); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1182:37: error: dereferencing pointer to incomplete type container->tables[i] = table_group->tables[i]; ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: At top level: /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1188:10: warning: 'struct iommu_table_group' declared inside parameter list struct iommu_table_group *table_group) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_release_ownership_ddw': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1192:18: error: dereferencing pointer to incomplete type if (!table_group->ops->unset_window) { ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1199:15: error: dereferencing pointer to incomplete type table_group->ops->unset_window(table_group, i); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1201:13: error: dereferencing pointer to incomplete type table_group->ops->release_ownership(table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: At top level: /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1205:10: warning: 'struct iommu_table_group' declared inside parameter list struct iommu_table_group *table_group) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_take_ownership_ddw': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1209:18: error: dereferencing pointer to incomplete type if (!table_group->ops->create_table || !table_group->ops->set_window || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1209:53: error: dereferencing pointer to incomplete type if (!table_group->ops->create_table || !table_group->ops->set_window || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1210:16: error: dereferencing pointer to incomplete type !table_group->ops->release_ownership) { ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1215:13: error: dereferencing pointer to incomplete type table_group->ops->take_ownership(table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1224:20: error: dereferencing pointer to incomplete type ret = table_group->ops->set_window(table_group, i, tbl); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1233:14: error: dereferencing pointer to incomplete type table_group->ops->unset_window(table_group, i); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1235:13: error: dereferencing pointer to incomplete type table_group->ops->release_ownership(table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_attach_group': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1258:53: error: dereferencing pointer to incomplete type if (tce_groups_attached(container) && (!table_group->ops || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1259:16: error: dereferencing pointer to incomplete type !table_group->ops->take_ownership || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1260:16: error: dereferencing pointer to incomplete type !table_group->ops->release_ownership)) { ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1276:22: error: dereferencing pointer to incomplete type if (table_group_tmp->ops->create_table != ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1277:16: error: dereferencing pointer to incomplete type table_group->ops->create_table) { ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1292:18: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->take_ownership || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1292:39: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->take_ownership || ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1293:16: error: dereferencing pointer to incomplete type !table_group->ops->release_ownership) { ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1298:45: warning: passing argument 2 of 'tce_iommu_take_ownership' from incompatible pointer type ret = tce_iommu_take_ownership(container, table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1160:12: note: expected 'struct iommu_table_group *' but argument is of type 'struct iommu_table_group *' static int tce_iommu_take_ownership(struct tce_container *container, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1304:49: warning: passing argument 2 of 'tce_iommu_take_ownership_ddw' from incompatible pointer type ret = tce_iommu_take_ownership_ddw(container, table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1204:13: note: expected 'struct iommu_table_group *' but argument is of type 'struct iommu_table_group *' static long tce_iommu_take_ownership_ddw(struct tce_container *container, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_iommu_detach_group': /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1353:18: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->release_ownership) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1353:39: error: dereferencing pointer to incomplete type if (!table_group->ops || !table_group->ops->release_ownership) ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1354:42: warning: passing argument 2 of 'tce_iommu_release_ownership' from incompatible pointer type tce_iommu_release_ownership(container, table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1141:13: note: expected 'struct iommu_table_group *' but argument is of type 'struct iommu_table_group *' static void tce_iommu_release_ownership(struct tce_container *container, ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1356:46: warning: passing argument 2 of 'tce_iommu_release_ownership_ddw' from incompatible pointer type tce_iommu_release_ownership_ddw(container, table_group); ^ /kisskb/src/drivers/vfio/vfio_iommu_spapr_tce.c:1187:13: note: expected 'struct iommu_table_group *' but argument is of type 'struct iommu_table_group *' static void tce_iommu_release_ownership_ddw(struct tce_container *container, ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:267: drivers/vfio/vfio_iommu_spapr_tce.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:488: drivers/vfio] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/mtd/nand/raw/fsl_upm.c: In function 'fun_wait_rnb': /kisskb/src/drivers/mtd/nand/raw/fsl_upm.c:65:20: warning: unused variable 'mtd' [-Wunused-variable] struct mtd_info *mtd = nand_to_mtd(&fun->chip); ^ /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c: In function 'ads5121_select_chip': /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c:293:19: warning: unused variable 'mtd' [-Wunused-variable] struct mtd_info *mtd = nand_to_mtd(nand); ^ make[1]: *** [/kisskb/src/Makefile:1722: drivers] Error 2 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc4.9 # Build took: 0:13:53.365340