# git rev-parse -q --verify 4e4ed87981c764498942c52004c620bb8f104eac^{commit} 4e4ed87981c764498942c52004c620bb8f104eac already have revision, skipping fetch # git checkout -q -f -B kisskb 4e4ed87981c764498942c52004c620bb8f104eac # git clean -qxdf # < git log -1 # commit 4e4ed87981c764498942c52004c620bb8f104eac # Author: Nathan Lynch # Date: Thu Oct 29 20:18:05 2020 -0500 # # powerpc/pseries/mobility: refactor node lookup during DT update # # In pseries_devicetree_update(), with each call to ibm,update-nodes the # partition firmware communicates the node to be deleted or updated by # placing its phandle in the work buffer. Each of delete_dt_node(), # update_dt_node(), and add_dt_node() have duplicate lookups using the # phandle value and corresponding refcount management. # # Move the lookup and of_node_put() into pseries_devicetree_update(), # and emit a warning on any failed lookups. # # Signed-off-by: Nathan Lynch # [mpe: Squash in of_node_put() removal reported by Nathan] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201030011805.1224603-30-nathanl@linux.ibm.com # < /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 4e4ed87981c764498942c52004c620bb8f104eac # < 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: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) 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/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.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/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/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/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/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/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/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' 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/vdso/timebase.h:9, 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 */ | /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: | ^~~~ 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 c000000001be8f0b R_PPC64_UADDR64 .rodata+0x00000000005a6178 c000000001be8f26 R_PPC64_UADDR64 .rodata+0x00000000005a61c0 c000000001be8f41 R_PPC64_UADDR64 .rodata+0x00000000005a61d0 c000000001be8f5c R_PPC64_UADDR64 .rodata+0x00000000005a61e0 c000000001be8f77 R_PPC64_UADDR64 .rodata+0x00000000005a61f0 c000000001be8f92 R_PPC64_UADDR64 .rodata+0x00000000005a6200 c000000001be8fad R_PPC64_UADDR64 .rodata+0x00000000005a6210 c000000001be8fe3 R_PPC64_UADDR64 .rodata+0x00000000005a6230 c000000001be8ffe R_PPC64_UADDR64 .rodata+0x00000000005a6240 c000000001be9019 R_PPC64_UADDR64 .rodata+0x00000000005a6248 c000000001be9034 R_PPC64_UADDR64 .rodata+0x00000000005a6250 c000000001be904f R_PPC64_UADDR64 .rodata+0x00000000005a6260 c000000001be906a R_PPC64_UADDR64 .rodata+0x00000000005a6270 c000000001be9085 R_PPC64_UADDR64 .rodata+0x00000000005a6280 c000000001be90bb R_PPC64_UADDR64 .rodata+0x00000000005a62a0 c000000001be90d6 R_PPC64_UADDR64 .rodata+0x00000000005a62b0 c000000001be90f1 R_PPC64_UADDR64 .rodata+0x00000000005a62c0 c000000001be910c R_PPC64_UADDR64 .rodata+0x00000000005a62d0 c000000001be9127 R_PPC64_UADDR64 .rodata+0x00000000005a62e0 c000000001be9142 R_PPC64_UADDR64 .rodata+0x00000000005a62f0 c000000001be915d R_PPC64_UADDR64 .rodata+0x00000000005a6300 c000000001be9193 R_PPC64_UADDR64 .rodata+0x00000000005a6320 c000000001be91ae R_PPC64_UADDR64 .rodata+0x00000000005a6330 c000000001be91c9 R_PPC64_UADDR64 .rodata+0x00000000005a6340 c000000001be91e4 R_PPC64_UADDR64 .rodata+0x00000000005a6350 c000000001be91ff R_PPC64_UADDR64 .rodata+0x00000000005a6360 c000000001be921a R_PPC64_UADDR64 .rodata+0x00000000005a6370 c000000001be9235 R_PPC64_UADDR64 .rodata+0x00000000005a6380 c000000001be926b R_PPC64_UADDR64 .rodata+0x00000000005a6398 c000000001be9286 R_PPC64_UADDR64 .rodata+0x00000000005a63a8 c000000001be92a1 R_PPC64_UADDR64 .rodata+0x00000000005a63b8 c000000001be92bc R_PPC64_UADDR64 .rodata+0x00000000005a63c8 c000000001be92d7 R_PPC64_UADDR64 .rodata+0x00000000005a63d8 c000000001be92f2 R_PPC64_UADDR64 .rodata+0x00000000005a63e8 c000000001be930d R_PPC64_UADDR64 .rodata+0x00000000005a63f8 c000000001be9343 R_PPC64_UADDR64 .rodata+0x00000000005a6418 c000000001be935e R_PPC64_UADDR64 .rodata+0x00000000005a6428 c000000001be9379 R_PPC64_UADDR64 .rodata+0x00000000005a6438 c000000001be9394 R_PPC64_UADDR64 .rodata+0x00000000005a6448 c000000001be93af R_PPC64_UADDR64 .rodata+0x00000000005a6458 c000000001be93ca R_PPC64_UADDR64 .rodata+0x00000000005a6468 c000000001be93e5 R_PPC64_UADDR64 .rodata+0x00000000005a6478 c000000001be941b R_PPC64_UADDR64 .rodata+0x00000000005a6498 c000000001be9436 R_PPC64_UADDR64 .rodata+0x00000000005a64a8 c000000001be9451 R_PPC64_UADDR64 .rodata+0x00000000005a64b8 c000000001be946c R_PPC64_UADDR64 .rodata+0x00000000005a64c8 c000000001be9487 R_PPC64_UADDR64 .rodata+0x00000000005a64d8 c000000001be94a2 R_PPC64_UADDR64 .rodata+0x00000000005a64e8 c000000001be94bd R_PPC64_UADDR64 .rodata+0x00000000005a64f8 c000000001be94f3 R_PPC64_UADDR64 .rodata+0x00000000005a6518 c000000001be950e R_PPC64_UADDR64 .rodata+0x00000000005a6528 c000000001be9529 R_PPC64_UADDR64 .rodata+0x00000000005a6538 c000000001be9544 R_PPC64_UADDR64 .rodata+0x00000000005a6548 c000000001be955f R_PPC64_UADDR64 .rodata+0x00000000005a6558 c000000001be957a R_PPC64_UADDR64 .rodata+0x00000000005a6568 c000000001be9595 R_PPC64_UADDR64 .rodata+0x00000000005a6578 c000000001be95cb R_PPC64_UADDR64 .rodata+0x00000000005a6598 c000000001be95e6 R_PPC64_UADDR64 .rodata+0x00000000005a65a8 c000000001be9601 R_PPC64_UADDR64 .rodata+0x00000000005a65b8 c000000001be961c R_PPC64_UADDR64 .rodata+0x00000000005a65c8 c000000001be9637 R_PPC64_UADDR64 .rodata+0x00000000005a65d8 c000000001be9652 R_PPC64_UADDR64 .rodata+0x00000000005a65e8 c000000001be966d R_PPC64_UADDR64 .rodata+0x00000000005a65f8 c000000001be96a3 R_PPC64_UADDR64 .rodata+0x00000000005a6618 c000000001be96be R_PPC64_UADDR64 .rodata+0x00000000005a6628 c000000001be96d9 R_PPC64_UADDR64 .rodata+0x00000000005a6638 c000000001be96f4 R_PPC64_UADDR64 .rodata+0x00000000005a6648 c000000001be970f R_PPC64_UADDR64 .rodata+0x00000000005a6658 c000000001be972a R_PPC64_UADDR64 .rodata+0x00000000005a6668 c000000001be9745 R_PPC64_UADDR64 .rodata+0x00000000005a6680 c000000001be977b R_PPC64_UADDR64 .rodata+0x00000000005a66a0 c000000001be9796 R_PPC64_UADDR64 .rodata+0x00000000005a66b0 c000000001be97b1 R_PPC64_UADDR64 .rodata+0x00000000005a66c0 c000000001be97cc R_PPC64_UADDR64 .rodata+0x00000000005a66d8 c000000001be97e7 R_PPC64_UADDR64 .rodata+0x00000000005a66e0 c000000001be9802 R_PPC64_UADDR64 .rodata+0x00000000005a66f0 c000000001be981d R_PPC64_UADDR64 .rodata+0x00000000005a6700 c000000001be9853 R_PPC64_UADDR64 .rodata+0x00000000005a6720 c000000001be986e R_PPC64_UADDR64 .rodata+0x00000000005a6730 c000000001be9889 R_PPC64_UADDR64 .rodata+0x00000000005a6740 c000000001be98a4 R_PPC64_UADDR64 .rodata+0x00000000005a6750 c000000001be98bf R_PPC64_UADDR64 .rodata+0x00000000005a6760 c000000001be98da R_PPC64_UADDR64 .rodata+0x00000000005a6768 c000000001be98f5 R_PPC64_UADDR64 .rodata+0x00000000005a6778 c000000001be992b R_PPC64_UADDR64 .rodata+0x00000000005a6798 c000000001be9946 R_PPC64_UADDR64 .rodata+0x00000000005a67a8 c000000001be9961 R_PPC64_UADDR64 .rodata+0x00000000005a67b8 c000000001be997c R_PPC64_UADDR64 .rodata+0x00000000005a67c8 c000000001be9997 R_PPC64_UADDR64 .rodata+0x00000000005a67d8 c000000001be99b2 R_PPC64_UADDR64 .rodata+0x00000000005a67f0 c000000001be99cd R_PPC64_UADDR64 .rodata+0x00000000005a6808 c000000001be9a03 R_PPC64_UADDR64 .rodata+0x00000000005a6828 c000000001be9a1e R_PPC64_UADDR64 .rodata+0x00000000005a6838 c000000001be9a39 R_PPC64_UADDR64 .rodata+0x00000000005a6848 c000000001be9a54 R_PPC64_UADDR64 .rodata+0x00000000005a6858 c000000001be9a6f R_PPC64_UADDR64 .rodata+0x00000000005a6868 c000000001be9a8a R_PPC64_UADDR64 .rodata+0x00000000005a6878 c000000001be9aa5 R_PPC64_UADDR64 .rodata+0x00000000005a6888 c000000001be9adb R_PPC64_UADDR64 .rodata+0x00000000005a68a8 c000000001be9af6 R_PPC64_UADDR64 .rodata+0x00000000005a68b8 c000000001be9b11 R_PPC64_UADDR64 .rodata+0x00000000005a68c8 c000000001be9b2c R_PPC64_UADDR64 .rodata+0x00000000005a68d8 c000000001be9b47 R_PPC64_UADDR64 .rodata+0x00000000005a68e8 c000000001be9b62 R_PPC64_UADDR64 .rodata+0x00000000005a68f8 c000000001be9b7d R_PPC64_UADDR64 .rodata+0x00000000005a6908 c000000001be9bb3 R_PPC64_UADDR64 .rodata+0x00000000005a6928 c000000001be9bce R_PPC64_UADDR64 .rodata+0x00000000005a6938 c000000001be9be9 R_PPC64_UADDR64 .rodata+0x00000000005a6948 c000000001be9c04 R_PPC64_UADDR64 .rodata+0x00000000005a6958 c000000001be9c1f R_PPC64_UADDR64 .rodata+0x00000000005a6968 c000000001be9c3a R_PPC64_UADDR64 .rodata+0x00000000005a6978 c000000001be9c55 R_PPC64_UADDR64 .rodata+0x00000000005a6988 c000000001be9c8b R_PPC64_UADDR64 .rodata+0x00000000005a69a8 c000000001be9ca6 R_PPC64_UADDR64 .rodata+0x00000000005a69b8 c000000001be9cc1 R_PPC64_UADDR64 .rodata+0x00000000005a69c8 c000000001be9cdc R_PPC64_UADDR64 .rodata+0x00000000005a69d8 c000000001be9cf7 R_PPC64_UADDR64 .rodata+0x00000000005a69e8 c000000001be9d12 R_PPC64_UADDR64 .rodata+0x00000000005a69f8 c000000001be9d2d R_PPC64_UADDR64 .rodata+0x00000000005a6a08 c000000001be9d63 R_PPC64_UADDR64 .rodata+0x00000000005a6a28 c000000001be9d7e R_PPC64_UADDR64 .rodata+0x00000000005a6a38 c000000001be9d99 R_PPC64_UADDR64 .rodata+0x00000000005a6a48 c000000001be9db4 R_PPC64_UADDR64 .rodata+0x00000000005a6a58 c000000001be9dcf R_PPC64_UADDR64 .rodata+0x00000000005a6a68 c000000001be9dea R_PPC64_UADDR64 .rodata+0x00000000005a6a78 c000000001be9e05 R_PPC64_UADDR64 .rodata+0x00000000005a6a88 c000000001be9e3b R_PPC64_UADDR64 .rodata+0x00000000005a6aa8 c000000001be9e56 R_PPC64_UADDR64 .rodata+0x00000000005a6ab8 c000000001be9e71 R_PPC64_UADDR64 .rodata+0x00000000005a6ac8 c000000001be9e8c R_PPC64_UADDR64 .rodata+0x00000000005a6ae0 c000000001be9ea7 R_PPC64_UADDR64 .rodata+0x00000000005a6af0 c000000001be9ec2 R_PPC64_UADDR64 .rodata+0x00000000005a6b00 c000000001be9edd R_PPC64_UADDR64 .rodata+0x00000000005a6b10 c000000001be9f13 R_PPC64_UADDR64 .rodata+0x00000000005a6b30 c000000001be9f2e R_PPC64_UADDR64 .rodata+0x00000000005a6b40 c000000001be9f49 R_PPC64_UADDR64 .rodata+0x00000000005a6b50 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel INFO: Uncompressed kernel (size 0x2d281c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2e00000) Image Name: Linux-5.10.0-rc2+ Created: Sat Dec 5 05:40:02 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 15078053 Bytes = 14724.66 KiB = 14.38 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:21:55.634250