# git rev-parse -q --verify 899926f2ccb4453c51943f6738a71b2c5ad98b71^{commit} 899926f2ccb4453c51943f6738a71b2c5ad98b71 already have revision, skipping fetch # git checkout -q -f -B kisskb 899926f2ccb4453c51943f6738a71b2c5ad98b71 # git clean -qxdf # < git log -1 # commit 899926f2ccb4453c51943f6738a71b2c5ad98b71 # Author: Mark Brown # Date: Thu Aug 4 18:15:07 2022 +0100 # # Add linux-next specific files for 20220804 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 899926f2ccb4453c51943f6738a71b2c5ad98b71 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n CONFIG_MODULE_SIG=n CONFIG_SAMPLES=n CONFIG_PPC_4K_PAGES=y CONFIG_PPC_64K_PAGES=n # Added to kconfig CONFIG_OPTIMIZE_INLINING=n # Added to kconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/ppa8548.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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/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:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,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/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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.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/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:102.7-129.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:112.9-128.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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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:102.7-129.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:112.9-128.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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/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/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-69.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:53.9-68.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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /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/stxssa8555.dts:340.15-349.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /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/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 - 3) /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/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' In file included from /kisskb/src/include/linux/cred.h:16, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched.h:1204:9: error: unknown type name 'nodemask_t' 1204 | nodemask_t mems_allowed; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mmzone.h:1246:41: error: unknown type name 'nodemask_t' 1246 | nodemask_t *nodes); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mmzone.h:1265:41: error: unknown type name 'nodemask_t' 1265 | nodemask_t *nodes) | ^~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1291:41: error: unknown type name 'nodemask_t' 1291 | nodemask_t *nodes) | ^~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1334:39: error: unknown type name 'nodemask_t' 1334 | static inline bool movable_only_nodes(nodemask_t *nodes) | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h:198:17: error: unknown type name 'nodemask_t' 198 | nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h:200:17: error: unknown type name 'nodemask_t' 200 | nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h:203:33: error: unknown type name 'nodemask_t' 203 | nodemask_t *nodemask, int nr_pages, | ^~~~~~~~~~ /kisskb/src/include/linux/gfp.h: In function 'alloc_pages_bulk_list': /kisskb/src/include/linux/gfp.h:215:16: error: implicit declaration of function '__alloc_pages_bulk'; did you mean 'alloc_pages_bulk_list'? [-Werror=implicit-function-declaration] 215 | return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, list, NULL); | ^~~~~~~~~~~~~~~~~~ | alloc_pages_bulk_list In file included from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:13, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/ipc.h:5, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/compat.h:14, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h: In function '__alloc_pages_node': /kisskb/src/include/linux/gfp.h:241:52: error: implicit declaration of function 'node_online'; did you mean 'node_zonelist'? [-Werror=implicit-function-declaration] 241 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)); | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/bug.h:121:43: note: in definition of macro 'WARN_ON' 121 | if (__builtin_constant_p((x))) { \ | ^ /kisskb/src/include/linux/gfp.h:241:9: note: in expansion of macro 'VM_WARN_ON' 241 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)); | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/percpu_counter.h:16, from /kisskb/src/include/linux/sched/user.h:7, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/seq_file.h:13, from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/gfp.h:243:16: error: implicit declaration of function '__alloc_pages'; did you mean '__add_pages'? [-Werror=implicit-function-declaration] 243 | return __alloc_pages(gfp_mask, order, nid, NULL); | ^~~~~~~~~~~~~ | __add_pages /kisskb/src/include/linux/gfp.h:243:16: error: returning 'int' from a function with return type 'struct page *' makes pointer from integer without a cast [-Werror=int-conversion] 243 | return __alloc_pages(gfp_mask, order, nid, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/gfp.h: In function '__folio_alloc_node': /kisskb/src/include/linux/gfp.h:252:16: error: implicit declaration of function '__folio_alloc'; did you mean '__folio_alloc_node'? [-Werror=implicit-function-declaration] 252 | return __folio_alloc(gfp, order, nid, NULL); | ^~~~~~~~~~~~~ | __folio_alloc_node /kisskb/src/include/linux/gfp.h:252:16: error: returning 'int' from a function with return type 'struct folio *' makes pointer from integer without a cast [-Werror=int-conversion] 252 | return __folio_alloc(gfp, order, nid, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/gfp.h: At top level: /kisskb/src/include/linux/gfp.h:366:49: error: unknown type name 'nodemask_t' 366 | int nid, nodemask_t *nodemask); | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/machdep.h:6, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/seq_file.h: In function 'seq_user_ns': /kisskb/src/include/linux/seq_file.h:226:25: error: invalid use of undefined type 'const struct file' 226 | return seq->file->f_cred->user_ns; | ^~ In file included from /kisskb/src/include/linux/mm.h:703, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h: In function 'file_thp_enabled': /kisskb/src/include/linux/huge_mm.h:164:29: error: invalid use of undefined type 'struct file' 164 | inode = vma->vm_file->f_inode; | ^~ /kisskb/src/include/linux/huge_mm.h:168:17: error: implicit declaration of function 'inode_is_open_for_write' [-Werror=implicit-function-declaration] 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/stat.h:7, from /kisskb/src/include/linux/compat.h:12, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h:168:64: error: invalid use of undefined type 'struct inode' 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~ /kisskb/src/include/uapi/linux/stat.h:22:28: note: in definition of macro 'S_ISREG' 22 | #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) | ^ In file included from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mm.h: At top level: /kisskb/src/include/linux/mm.h:1772:49: error: unknown type name 'nodemask_t' 1772 | extern void show_free_areas(unsigned int flags, nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'get_num_physpages': /kisskb/src/include/linux/mm.h:2461:9: error: implicit declaration of function 'for_each_online_node'; did you mean 'for_each_online_pgdat'? [-Werror=implicit-function-declaration] 2461 | for_each_online_node(nid) | ^~~~~~~~~~~~~~~~~~~~ | for_each_online_pgdat /kisskb/src/include/linux/mm.h:2461:34: error: expected ';' before 'phys_pages' 2461 | for_each_online_node(nid) | ^ | ; 2462 | phys_pages += node_present_pages(nid); | ~~~~~~~~~~ /kisskb/src/include/linux/mm.h: At top level: /kisskb/src/include/linux/mm.h:2512:42: error: unknown type name 'nodemask_t' 2512 | extern void show_mem(unsigned int flags, nodemask_t *nodemask); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h:2521:33: error: unknown type name 'nodemask_t' 2521 | void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...); | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'vma_is_special_huge': /kisskb/src/include/linux/mm.h:3273:16: error: implicit declaration of function 'vma_is_dax' [-Werror=implicit-function-declaration] 3273 | return vma_is_dax(vma) || (vma->vm_file && | ^~~~~~~~~~ /kisskb/src/include/linux/mm.h: In function 'seal_check_future_write': /kisskb/src/include/linux/mm.h:3349:21: error: 'F_SEAL_FUTURE_WRITE' undeclared (first use in this function) 3349 | if (seals & F_SEAL_FUTURE_WRITE) { | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mm.h:3349:21: note: each undeclared identifier is reported only once for each function it appears in In file included from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h: At top level: /kisskb/src/include/linux/fs.h:2983:20: error: conflicting types for 'inode_is_open_for_write'; have 'bool(const struct inode *)' {aka '_Bool(const struct inode *)'} 2983 | static inline bool inode_is_open_for_write(const struct inode *inode) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/mm.h:703, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/huge_mm.h:168:17: note: previous implicit declaration of 'inode_is_open_for_write' with type 'int()' 168 | !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:3371:20: error: conflicting types for 'vma_is_dax'; have 'bool(const struct vm_area_struct *)' {aka '_Bool(const struct vm_area_struct *)'} 3371 | static inline bool vma_is_dax(const struct vm_area_struct *vma) | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:10, from /kisskb/src/arch/powerpc/include/asm/machdep.h:8, from /kisskb/src/arch/powerpc/include/asm/archrandom.h:5, from /kisskb/src/include/linux/random.h:109, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/list_lru.h:12, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mm.h:3273:16: note: previous implicit declaration of 'vma_is_dax' with type 'int()' 3273 | return vma_is_dax(vma) || (vma->vm_file && | ^~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:118: arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1283: prepare0] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc11 # Build took: 0:00:12.406912