# git rev-parse -q --verify 4caeb3acd21ffa2496fc3e94398019d4b3415523^{commit} # git fetch -q -n -f https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/kspp # git rev-parse -q --verify 4caeb3acd21ffa2496fc3e94398019d4b3415523^{commit} 4caeb3acd21ffa2496fc3e94398019d4b3415523 # git checkout -q -f -B kisskb 4caeb3acd21ffa2496fc3e94398019d4b3415523 # git clean -qxdf # < git log -1 # commit 4caeb3acd21ffa2496fc3e94398019d4b3415523 # Author: Gustavo A. R. Silva # Date: Thu May 28 09:35:11 2020 -0500 # # w1: Replace zero-length array with flexible-array # # The current codebase makes use of the zero-length array language # extension to the C90 standard, but the preferred mechanism to declare # variable-length types such as these ones is a flexible array member[1][2], # introduced in C99: # # struct foo { # int stuff; # struct boo array[]; # }; # # By making use of the mechanism above, we will get a compiler warning # in case the flexible array does not occur last in the structure, which # will help us prevent some kind of undefined behavior bugs from being # inadvertently introduced[3] to the codebase from now on. # # Also, notice that, dynamic memory allocations won't be affected by # this change: # # "Flexible array members have incomplete type, and so the sizeof operator # may not be applied. As a quirk of the original implementation of # zero-length arrays, sizeof evaluates to zero."[1] # # sizeof(flexible-array-member) triggers a warning because flexible array # members have incomplete type[1]. There are some instances of code in # which the sizeof operator is being incorrectly/erroneously applied to # zero-length arrays and the result is zero. Such instances may be hiding # some bugs. So, this work (flexible-array member conversions) will also # help to get completely rid of those sorts of issues. # # Notice that, currently, more than 250 of these patches have already # been merged into mainline during the last merge window, including # 5.7-rc2. So, in order to make better use of everyone's time, I'm # planning to add this treewide patch to my -next tree and then send a # pull request to Linus for 5.7-rc3 or -rc4, after getting some acks # and/or reviews. # # This treewide patch has been successfully built (on top of v5.7-rc1) for # multiple architectures (arm, arm64, sparc, powerpc, ia64, s390, i386, # nios2, c6x, xtensa, openrisc, mips, parisc, x86_64, riscv, sh, sparc64) # and 82 different configurations with the help of the 0-day CI guys[5]. # # This issue was found with the help of Coccinelle. # # [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html # [2] https://github.com/KSPP/linux/issues/21 # [3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour") # [4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=replace+zero-leng # # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4caeb3acd21ffa2496fc3e94398019d4b3415523 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_powerpc-allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_OPTIMIZE_INLINING=n # Added to kconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_powerpc-allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_powerpc-allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_powerpc-allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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/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/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/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/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/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/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/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/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/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/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) 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/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/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/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: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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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' WARNING: 136 bad relocations c000000001e08973 R_PPC64_UADDR64 .rodata+0x00000000005cabe0 c000000001e0898e R_PPC64_UADDR64 .rodata+0x00000000005cac28 c000000001e089a9 R_PPC64_UADDR64 .rodata+0x00000000005cac38 c000000001e089c4 R_PPC64_UADDR64 .rodata+0x00000000005cac48 c000000001e089df R_PPC64_UADDR64 .rodata+0x00000000005cac58 c000000001e089fa R_PPC64_UADDR64 .rodata+0x00000000005cac68 c000000001e08a15 R_PPC64_UADDR64 .rodata+0x00000000005cac78 c000000001e08a4b R_PPC64_UADDR64 .rodata+0x00000000005cac98 c000000001e08a66 R_PPC64_UADDR64 .rodata+0x00000000005caca8 c000000001e08a81 R_PPC64_UADDR64 .rodata+0x00000000005cacb0 c000000001e08a9c R_PPC64_UADDR64 .rodata+0x00000000005cacb8 c000000001e08ab7 R_PPC64_UADDR64 .rodata+0x00000000005cacc8 c000000001e08ad2 R_PPC64_UADDR64 .rodata+0x00000000005cacd8 c000000001e08aed R_PPC64_UADDR64 .rodata+0x00000000005cace8 c000000001e08b23 R_PPC64_UADDR64 .rodata+0x00000000005cad08 c000000001e08b3e R_PPC64_UADDR64 .rodata+0x00000000005cad18 c000000001e08b59 R_PPC64_UADDR64 .rodata+0x00000000005cad28 c000000001e08b74 R_PPC64_UADDR64 .rodata+0x00000000005cad38 c000000001e08b8f R_PPC64_UADDR64 .rodata+0x00000000005cad48 c000000001e08baa R_PPC64_UADDR64 .rodata+0x00000000005cad58 c000000001e08bc5 R_PPC64_UADDR64 .rodata+0x00000000005cad68 c000000001e08bfb R_PPC64_UADDR64 .rodata+0x00000000005cad88 c000000001e08c16 R_PPC64_UADDR64 .rodata+0x00000000005cad98 c000000001e08c31 R_PPC64_UADDR64 .rodata+0x00000000005cada8 c000000001e08c4c R_PPC64_UADDR64 .rodata+0x00000000005cadb8 c000000001e08c67 R_PPC64_UADDR64 .rodata+0x00000000005cadc8 c000000001e08c82 R_PPC64_UADDR64 .rodata+0x00000000005cadd8 c000000001e08c9d R_PPC64_UADDR64 .rodata+0x00000000005cade8 c000000001e08cd3 R_PPC64_UADDR64 .rodata+0x00000000005cae00 c000000001e08cee R_PPC64_UADDR64 .rodata+0x00000000005cae10 c000000001e08d09 R_PPC64_UADDR64 .rodata+0x00000000005cae20 c000000001e08d24 R_PPC64_UADDR64 .rodata+0x00000000005cae30 c000000001e08d3f R_PPC64_UADDR64 .rodata+0x00000000005cae40 c000000001e08d5a R_PPC64_UADDR64 .rodata+0x00000000005cae50 c000000001e08d75 R_PPC64_UADDR64 .rodata+0x00000000005cae60 c000000001e08dab R_PPC64_UADDR64 .rodata+0x00000000005cae80 c000000001e08dc6 R_PPC64_UADDR64 .rodata+0x00000000005cae90 c000000001e08de1 R_PPC64_UADDR64 .rodata+0x00000000005caea0 c000000001e08dfc R_PPC64_UADDR64 .rodata+0x00000000005caeb0 c000000001e08e17 R_PPC64_UADDR64 .rodata+0x00000000005caec0 c000000001e08e32 R_PPC64_UADDR64 .rodata+0x00000000005caed0 c000000001e08e4d R_PPC64_UADDR64 .rodata+0x00000000005caee0 c000000001e08e83 R_PPC64_UADDR64 .rodata+0x00000000005caf00 c000000001e08e9e R_PPC64_UADDR64 .rodata+0x00000000005caf10 c000000001e08eb9 R_PPC64_UADDR64 .rodata+0x00000000005caf20 c000000001e08ed4 R_PPC64_UADDR64 .rodata+0x00000000005caf30 c000000001e08eef R_PPC64_UADDR64 .rodata+0x00000000005caf40 c000000001e08f0a R_PPC64_UADDR64 .rodata+0x00000000005caf50 c000000001e08f25 R_PPC64_UADDR64 .rodata+0x00000000005caf60 c000000001e08f5b R_PPC64_UADDR64 .rodata+0x00000000005caf80 c000000001e08f76 R_PPC64_UADDR64 .rodata+0x00000000005caf90 c000000001e08f91 R_PPC64_UADDR64 .rodata+0x00000000005cafa0 c000000001e08fac R_PPC64_UADDR64 .rodata+0x00000000005cafb0 c000000001e08fc7 R_PPC64_UADDR64 .rodata+0x00000000005cafc0 c000000001e08fe2 R_PPC64_UADDR64 .rodata+0x00000000005cafd0 c000000001e08ffd R_PPC64_UADDR64 .rodata+0x00000000005cafe0 c000000001e09033 R_PPC64_UADDR64 .rodata+0x00000000005cb000 c000000001e0904e R_PPC64_UADDR64 .rodata+0x00000000005cb010 c000000001e09069 R_PPC64_UADDR64 .rodata+0x00000000005cb020 c000000001e09084 R_PPC64_UADDR64 .rodata+0x00000000005cb030 c000000001e0909f R_PPC64_UADDR64 .rodata+0x00000000005cb040 c000000001e090ba R_PPC64_UADDR64 .rodata+0x00000000005cb050 c000000001e090d5 R_PPC64_UADDR64 .rodata+0x00000000005cb060 c000000001e0910b R_PPC64_UADDR64 .rodata+0x00000000005cb080 c000000001e09126 R_PPC64_UADDR64 .rodata+0x00000000005cb090 c000000001e09141 R_PPC64_UADDR64 .rodata+0x00000000005cb0a0 c000000001e0915c R_PPC64_UADDR64 .rodata+0x00000000005cb0b0 c000000001e09177 R_PPC64_UADDR64 .rodata+0x00000000005cb0c0 c000000001e09192 R_PPC64_UADDR64 .rodata+0x00000000005cb0d0 c000000001e091ad R_PPC64_UADDR64 .rodata+0x00000000005cb0e8 c000000001e091e3 R_PPC64_UADDR64 .rodata+0x00000000005cb108 c000000001e091fe R_PPC64_UADDR64 .rodata+0x00000000005cb118 c000000001e09219 R_PPC64_UADDR64 .rodata+0x00000000005cb128 c000000001e09234 R_PPC64_UADDR64 .rodata+0x00000000005cb140 c000000001e0924f R_PPC64_UADDR64 .rodata+0x00000000005cb148 c000000001e0926a R_PPC64_UADDR64 .rodata+0x00000000005cb158 c000000001e09285 R_PPC64_UADDR64 .rodata+0x00000000005cb168 c000000001e092bb R_PPC64_UADDR64 .rodata+0x00000000005cb188 c000000001e092d6 R_PPC64_UADDR64 .rodata+0x00000000005cb198 c000000001e092f1 R_PPC64_UADDR64 .rodata+0x00000000005cb1a8 c000000001e0930c R_PPC64_UADDR64 .rodata+0x00000000005cb1b8 c000000001e09327 R_PPC64_UADDR64 .rodata+0x00000000005cb1c8 c000000001e09342 R_PPC64_UADDR64 .rodata+0x00000000005cb1d0 c000000001e0935d R_PPC64_UADDR64 .rodata+0x00000000005cb1e0 c000000001e09393 R_PPC64_UADDR64 .rodata+0x00000000005cb200 c000000001e093ae R_PPC64_UADDR64 .rodata+0x00000000005cb210 c000000001e093c9 R_PPC64_UADDR64 .rodata+0x00000000005cb220 c000000001e093e4 R_PPC64_UADDR64 .rodata+0x00000000005cb230 c000000001e093ff R_PPC64_UADDR64 .rodata+0x00000000005cb240 c000000001e0941a R_PPC64_UADDR64 .rodata+0x00000000005cb258 c000000001e09435 R_PPC64_UADDR64 .rodata+0x00000000005cb270 c000000001e0946b R_PPC64_UADDR64 .rodata+0x00000000005cb290 c000000001e09486 R_PPC64_UADDR64 .rodata+0x00000000005cb2a0 c000000001e094a1 R_PPC64_UADDR64 .rodata+0x00000000005cb2b0 c000000001e094bc R_PPC64_UADDR64 .rodata+0x00000000005cb2c0 c000000001e094d7 R_PPC64_UADDR64 .rodata+0x00000000005cb2d0 c000000001e094f2 R_PPC64_UADDR64 .rodata+0x00000000005cb2e0 c000000001e0950d R_PPC64_UADDR64 .rodata+0x00000000005cb2f0 c000000001e09543 R_PPC64_UADDR64 .rodata+0x00000000005cb310 c000000001e0955e R_PPC64_UADDR64 .rodata+0x00000000005cb320 c000000001e09579 R_PPC64_UADDR64 .rodata+0x00000000005cb330 c000000001e09594 R_PPC64_UADDR64 .rodata+0x00000000005cb340 c000000001e095af R_PPC64_UADDR64 .rodata+0x00000000005cb350 c000000001e095ca R_PPC64_UADDR64 .rodata+0x00000000005cb360 c000000001e095e5 R_PPC64_UADDR64 .rodata+0x00000000005cb370 c000000001e0961b R_PPC64_UADDR64 .rodata+0x00000000005cb390 c000000001e09636 R_PPC64_UADDR64 .rodata+0x00000000005cb3a0 c000000001e09651 R_PPC64_UADDR64 .rodata+0x00000000005cb3b0 c000000001e0966c R_PPC64_UADDR64 .rodata+0x00000000005cb3c0 c000000001e09687 R_PPC64_UADDR64 .rodata+0x00000000005cb3d0 c000000001e096a2 R_PPC64_UADDR64 .rodata+0x00000000005cb3e0 c000000001e096bd R_PPC64_UADDR64 .rodata+0x00000000005cb3f0 c000000001e096f3 R_PPC64_UADDR64 .rodata+0x00000000005cb410 c000000001e0970e R_PPC64_UADDR64 .rodata+0x00000000005cb420 c000000001e09729 R_PPC64_UADDR64 .rodata+0x00000000005cb430 c000000001e09744 R_PPC64_UADDR64 .rodata+0x00000000005cb440 c000000001e0975f R_PPC64_UADDR64 .rodata+0x00000000005cb450 c000000001e0977a R_PPC64_UADDR64 .rodata+0x00000000005cb460 c000000001e09795 R_PPC64_UADDR64 .rodata+0x00000000005cb470 c000000001e097cb R_PPC64_UADDR64 .rodata+0x00000000005cb490 c000000001e097e6 R_PPC64_UADDR64 .rodata+0x00000000005cb4a0 c000000001e09801 R_PPC64_UADDR64 .rodata+0x00000000005cb4b0 c000000001e0981c R_PPC64_UADDR64 .rodata+0x00000000005cb4c0 c000000001e09837 R_PPC64_UADDR64 .rodata+0x00000000005cb4d0 c000000001e09852 R_PPC64_UADDR64 .rodata+0x00000000005cb4e0 c000000001e0986d R_PPC64_UADDR64 .rodata+0x00000000005cb4f0 c000000001e098a3 R_PPC64_UADDR64 .rodata+0x00000000005cb510 c000000001e098be R_PPC64_UADDR64 .rodata+0x00000000005cb520 c000000001e098d9 R_PPC64_UADDR64 .rodata+0x00000000005cb530 c000000001e098f4 R_PPC64_UADDR64 .rodata+0x00000000005cb548 c000000001e0990f R_PPC64_UADDR64 .rodata+0x00000000005cb558 c000000001e0992a R_PPC64_UADDR64 .rodata+0x00000000005cb568 c000000001e09945 R_PPC64_UADDR64 .rodata+0x00000000005cb578 c000000001e0997b R_PPC64_UADDR64 .rodata+0x00000000005cb598 c000000001e09996 R_PPC64_UADDR64 .rodata+0x00000000005cb5a8 c000000001e099b1 R_PPC64_UADDR64 .rodata+0x00000000005cb5b8 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel Completed OK # rm -rf /kisskb/build/gustavoars_powerpc-allmodconfig_powerpc-gcc9 # Build took: 0:28:58.650289