# git rev-parse -q --verify 2d83b0f30c1483a556c8aa1f7d891006fffcd5e0^{commit} 2d83b0f30c1483a556c8aa1f7d891006fffcd5e0 already have revision, skipping fetch # git checkout -q -f -B kisskb 2d83b0f30c1483a556c8aa1f7d891006fffcd5e0 # git clean -qxdf # < git log -1 # commit 2d83b0f30c1483a556c8aa1f7d891006fffcd5e0 # Author: Ard Biesheuvel # Date: Wed Oct 28 09:04:33 2020 +0100 # # powerpc: Avoid broken GCC __attribute__((optimize)) # # Commit 7053f80d9696 ("powerpc/64: Prevent stack protection in early # boot") introduced a couple of uses of __attribute__((optimize)) with # function scope, to disable the stack protector in some early boot # code. # # Unfortunately, and this is documented in the GCC man pages [0], # overriding function attributes for optimization is broken, and is only # supported for debug scenarios, not for production: the problem appears # to be that setting GCC -f flags using this method will cause it to # forget about some or all other optimization settings that have been # applied. # # So the only safe way to disable the stack protector is to disable it # for the entire source file. # # [0] https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html # # Fixes: 7053f80d9696 ("powerpc/64: Prevent stack protection in early boot") # Signed-off-by: Ard Biesheuvel # [mpe: Drop one remaining use of __nostackprotector, reported by snowpatch] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201028080433.26799-1-ardb@kernel.org # < /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 2d83b0f30c1483a556c8aa1f7d891006fffcd5e0 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_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/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/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/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/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) 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/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/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/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/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@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/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) 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/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/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/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/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/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/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/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/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/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/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/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_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/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/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/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/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/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep0_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 836 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 837 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_rx_tasklet': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 964 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 965 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_req_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1490 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1491 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_init': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:542:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 542 | if ((max == 128) || (max == 256) || (max == 512)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:544:4: note: here 544 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:563:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 563 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:565:4: note: here 565 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:566:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | if (max <= 64) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:568:4: note: here 568 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:580:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 580 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:582:4: note: here 582 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:596:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | switch (max) { | ^~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:608:4: note: here 608 | case USB_SPEED_LOW: | ^~~~ In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined 92 | #define TCR_DIE BIT(7) | In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:22, from /kisskb/src/arch/powerpc/include/asm/timex.h:12, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:550: note: this is the location of the previous definition 550 | #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ | WARNING: 140 bad relocations c000000000035e2e R_PPC64_ADDR16_HIGHEST .head.text+0x0000000000035e48 c000000000035e32 R_PPC64_ADDR16_HIGH .head.text+0x0000000000035e48 c000000000035e36 R_PPC64_ADDR16_HIGHER .head.text+0x0000000000035e48 c000000000035e3a R_PPC64_ADDR16_LO .head.text+0x0000000000035e48 c000000001be49c3 R_PPC64_UADDR64 .rodata+0x00000000005a6c30 c000000001be49de R_PPC64_UADDR64 .rodata+0x00000000005a6c78 c000000001be49f9 R_PPC64_UADDR64 .rodata+0x00000000005a6c88 c000000001be4a14 R_PPC64_UADDR64 .rodata+0x00000000005a6c98 c000000001be4a2f R_PPC64_UADDR64 .rodata+0x00000000005a6ca8 c000000001be4a4a R_PPC64_UADDR64 .rodata+0x00000000005a6cb8 c000000001be4a65 R_PPC64_UADDR64 .rodata+0x00000000005a6cc8 c000000001be4a9b R_PPC64_UADDR64 .rodata+0x00000000005a6ce8 c000000001be4ab6 R_PPC64_UADDR64 .rodata+0x00000000005a6cf8 c000000001be4ad1 R_PPC64_UADDR64 .rodata+0x00000000005a6d00 c000000001be4aec R_PPC64_UADDR64 .rodata+0x00000000005a6d08 c000000001be4b07 R_PPC64_UADDR64 .rodata+0x00000000005a6d18 c000000001be4b22 R_PPC64_UADDR64 .rodata+0x00000000005a6d28 c000000001be4b3d R_PPC64_UADDR64 .rodata+0x00000000005a6d38 c000000001be4b73 R_PPC64_UADDR64 .rodata+0x00000000005a6d58 c000000001be4b8e R_PPC64_UADDR64 .rodata+0x00000000005a6d68 c000000001be4ba9 R_PPC64_UADDR64 .rodata+0x00000000005a6d78 c000000001be4bc4 R_PPC64_UADDR64 .rodata+0x00000000005a6d88 c000000001be4bdf R_PPC64_UADDR64 .rodata+0x00000000005a6d98 c000000001be4bfa R_PPC64_UADDR64 .rodata+0x00000000005a6da8 c000000001be4c15 R_PPC64_UADDR64 .rodata+0x00000000005a6db8 c000000001be4c4b R_PPC64_UADDR64 .rodata+0x00000000005a6dd8 c000000001be4c66 R_PPC64_UADDR64 .rodata+0x00000000005a6de8 c000000001be4c81 R_PPC64_UADDR64 .rodata+0x00000000005a6df8 c000000001be4c9c R_PPC64_UADDR64 .rodata+0x00000000005a6e08 c000000001be4cb7 R_PPC64_UADDR64 .rodata+0x00000000005a6e18 c000000001be4cd2 R_PPC64_UADDR64 .rodata+0x00000000005a6e28 c000000001be4ced R_PPC64_UADDR64 .rodata+0x00000000005a6e38 c000000001be4d23 R_PPC64_UADDR64 .rodata+0x00000000005a6e50 c000000001be4d3e R_PPC64_UADDR64 .rodata+0x00000000005a6e60 c000000001be4d59 R_PPC64_UADDR64 .rodata+0x00000000005a6e70 c000000001be4d74 R_PPC64_UADDR64 .rodata+0x00000000005a6e80 c000000001be4d8f R_PPC64_UADDR64 .rodata+0x00000000005a6e90 c000000001be4daa R_PPC64_UADDR64 .rodata+0x00000000005a6ea0 c000000001be4dc5 R_PPC64_UADDR64 .rodata+0x00000000005a6eb0 c000000001be4dfb R_PPC64_UADDR64 .rodata+0x00000000005a6ed0 c000000001be4e16 R_PPC64_UADDR64 .rodata+0x00000000005a6ee0 c000000001be4e31 R_PPC64_UADDR64 .rodata+0x00000000005a6ef0 c000000001be4e4c R_PPC64_UADDR64 .rodata+0x00000000005a6f00 c000000001be4e67 R_PPC64_UADDR64 .rodata+0x00000000005a6f10 c000000001be4e82 R_PPC64_UADDR64 .rodata+0x00000000005a6f20 c000000001be4e9d R_PPC64_UADDR64 .rodata+0x00000000005a6f30 c000000001be4ed3 R_PPC64_UADDR64 .rodata+0x00000000005a6f50 c000000001be4eee R_PPC64_UADDR64 .rodata+0x00000000005a6f60 c000000001be4f09 R_PPC64_UADDR64 .rodata+0x00000000005a6f70 c000000001be4f24 R_PPC64_UADDR64 .rodata+0x00000000005a6f80 c000000001be4f3f R_PPC64_UADDR64 .rodata+0x00000000005a6f90 c000000001be4f5a R_PPC64_UADDR64 .rodata+0x00000000005a6fa0 c000000001be4f75 R_PPC64_UADDR64 .rodata+0x00000000005a6fb0 c000000001be4fab R_PPC64_UADDR64 .rodata+0x00000000005a6fd0 c000000001be4fc6 R_PPC64_UADDR64 .rodata+0x00000000005a6fe0 c000000001be4fe1 R_PPC64_UADDR64 .rodata+0x00000000005a6ff0 c000000001be4ffc R_PPC64_UADDR64 .rodata+0x00000000005a7000 c000000001be5017 R_PPC64_UADDR64 .rodata+0x00000000005a7010 c000000001be5032 R_PPC64_UADDR64 .rodata+0x00000000005a7020 c000000001be504d R_PPC64_UADDR64 .rodata+0x00000000005a7030 c000000001be5083 R_PPC64_UADDR64 .rodata+0x00000000005a7050 c000000001be509e R_PPC64_UADDR64 .rodata+0x00000000005a7060 c000000001be50b9 R_PPC64_UADDR64 .rodata+0x00000000005a7070 c000000001be50d4 R_PPC64_UADDR64 .rodata+0x00000000005a7080 c000000001be50ef R_PPC64_UADDR64 .rodata+0x00000000005a7090 c000000001be510a R_PPC64_UADDR64 .rodata+0x00000000005a70a0 c000000001be5125 R_PPC64_UADDR64 .rodata+0x00000000005a70b0 c000000001be515b R_PPC64_UADDR64 .rodata+0x00000000005a70d0 c000000001be5176 R_PPC64_UADDR64 .rodata+0x00000000005a70e0 c000000001be5191 R_PPC64_UADDR64 .rodata+0x00000000005a70f0 c000000001be51ac R_PPC64_UADDR64 .rodata+0x00000000005a7100 c000000001be51c7 R_PPC64_UADDR64 .rodata+0x00000000005a7110 c000000001be51e2 R_PPC64_UADDR64 .rodata+0x00000000005a7120 c000000001be51fd R_PPC64_UADDR64 .rodata+0x00000000005a7138 c000000001be5233 R_PPC64_UADDR64 .rodata+0x00000000005a7158 c000000001be524e R_PPC64_UADDR64 .rodata+0x00000000005a7168 c000000001be5269 R_PPC64_UADDR64 .rodata+0x00000000005a7178 c000000001be5284 R_PPC64_UADDR64 .rodata+0x00000000005a7190 c000000001be529f R_PPC64_UADDR64 .rodata+0x00000000005a7198 c000000001be52ba R_PPC64_UADDR64 .rodata+0x00000000005a71a8 c000000001be52d5 R_PPC64_UADDR64 .rodata+0x00000000005a71b8 c000000001be530b R_PPC64_UADDR64 .rodata+0x00000000005a71d8 c000000001be5326 R_PPC64_UADDR64 .rodata+0x00000000005a71e8 c000000001be5341 R_PPC64_UADDR64 .rodata+0x00000000005a71f8 c000000001be535c R_PPC64_UADDR64 .rodata+0x00000000005a7208 c000000001be5377 R_PPC64_UADDR64 .rodata+0x00000000005a7218 c000000001be5392 R_PPC64_UADDR64 .rodata+0x00000000005a7220 c000000001be53ad R_PPC64_UADDR64 .rodata+0x00000000005a7230 c000000001be53e3 R_PPC64_UADDR64 .rodata+0x00000000005a7250 c000000001be53fe R_PPC64_UADDR64 .rodata+0x00000000005a7260 c000000001be5419 R_PPC64_UADDR64 .rodata+0x00000000005a7270 c000000001be5434 R_PPC64_UADDR64 .rodata+0x00000000005a7280 c000000001be544f R_PPC64_UADDR64 .rodata+0x00000000005a7290 c000000001be546a R_PPC64_UADDR64 .rodata+0x00000000005a72a8 c000000001be5485 R_PPC64_UADDR64 .rodata+0x00000000005a72c0 c000000001be54bb R_PPC64_UADDR64 .rodata+0x00000000005a72e0 c000000001be54d6 R_PPC64_UADDR64 .rodata+0x00000000005a72f0 c000000001be54f1 R_PPC64_UADDR64 .rodata+0x00000000005a7300 c000000001be550c R_PPC64_UADDR64 .rodata+0x00000000005a7310 c000000001be5527 R_PPC64_UADDR64 .rodata+0x00000000005a7320 c000000001be5542 R_PPC64_UADDR64 .rodata+0x00000000005a7330 c000000001be555d R_PPC64_UADDR64 .rodata+0x00000000005a7340 c000000001be5593 R_PPC64_UADDR64 .rodata+0x00000000005a7360 c000000001be55ae R_PPC64_UADDR64 .rodata+0x00000000005a7370 c000000001be55c9 R_PPC64_UADDR64 .rodata+0x00000000005a7380 c000000001be55e4 R_PPC64_UADDR64 .rodata+0x00000000005a7390 c000000001be55ff R_PPC64_UADDR64 .rodata+0x00000000005a73a0 c000000001be561a R_PPC64_UADDR64 .rodata+0x00000000005a73b0 c000000001be5635 R_PPC64_UADDR64 .rodata+0x00000000005a73c0 c000000001be566b R_PPC64_UADDR64 .rodata+0x00000000005a73e0 c000000001be5686 R_PPC64_UADDR64 .rodata+0x00000000005a73f0 c000000001be56a1 R_PPC64_UADDR64 .rodata+0x00000000005a7400 c000000001be56bc R_PPC64_UADDR64 .rodata+0x00000000005a7410 c000000001be56d7 R_PPC64_UADDR64 .rodata+0x00000000005a7420 c000000001be56f2 R_PPC64_UADDR64 .rodata+0x00000000005a7430 c000000001be570d R_PPC64_UADDR64 .rodata+0x00000000005a7440 c000000001be5743 R_PPC64_UADDR64 .rodata+0x00000000005a7460 c000000001be575e R_PPC64_UADDR64 .rodata+0x00000000005a7470 c000000001be5779 R_PPC64_UADDR64 .rodata+0x00000000005a7480 c000000001be5794 R_PPC64_UADDR64 .rodata+0x00000000005a7490 c000000001be57af R_PPC64_UADDR64 .rodata+0x00000000005a74a0 c000000001be57ca R_PPC64_UADDR64 .rodata+0x00000000005a74b0 c000000001be57e5 R_PPC64_UADDR64 .rodata+0x00000000005a74c0 c000000001be581b R_PPC64_UADDR64 .rodata+0x00000000005a74e0 c000000001be5836 R_PPC64_UADDR64 .rodata+0x00000000005a74f0 c000000001be5851 R_PPC64_UADDR64 .rodata+0x00000000005a7500 c000000001be586c R_PPC64_UADDR64 .rodata+0x00000000005a7510 c000000001be5887 R_PPC64_UADDR64 .rodata+0x00000000005a7520 c000000001be58a2 R_PPC64_UADDR64 .rodata+0x00000000005a7530 c000000001be58bd R_PPC64_UADDR64 .rodata+0x00000000005a7540 c000000001be58f3 R_PPC64_UADDR64 .rodata+0x00000000005a7560 c000000001be590e R_PPC64_UADDR64 .rodata+0x00000000005a7570 c000000001be5929 R_PPC64_UADDR64 .rodata+0x00000000005a7580 c000000001be5944 R_PPC64_UADDR64 .rodata+0x00000000005a7598 c000000001be595f R_PPC64_UADDR64 .rodata+0x00000000005a75a8 c000000001be597a R_PPC64_UADDR64 .rodata+0x00000000005a75b8 c000000001be5995 R_PPC64_UADDR64 .rodata+0x00000000005a75c8 c000000001be59cb R_PPC64_UADDR64 .rodata+0x00000000005a75e8 c000000001be59e6 R_PPC64_UADDR64 .rodata+0x00000000005a75f8 c000000001be5a01 R_PPC64_UADDR64 .rodata+0x00000000005a7608 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel INFO: Uncompressed kernel (size 0x2deb490) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2e00000) Image Name: Linux-5.10.0-rc2+ Created: Tue Nov 3 03:53:11 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 15184798 Bytes = 14828.90 KiB = 14.48 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:22:12.348641