# git rev-parse -q --verify 1c6c4f42b3de4f18ea96d62950d0e266ca35a055^{commit} 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 already have revision, skipping fetch # git checkout -q -f -B kisskb 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # git clean -qxdf # < git log -1 # commit 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # Merge: d09d23fd51c2 ed744ecc49d4 # Author: Mark Brown # Date: Thu Sep 29 18:14:23 2022 +0100 # # Add linux-next specific files for 20220929 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.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 120 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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/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/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/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: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/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/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (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' In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ /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' In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ /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/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) In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ /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 In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ /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/stxssa8555.dts:342.15-351.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:331.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/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/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/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) cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' In file included from :0:0: /kisskb/src/include/linux/percpu.h: In function '__alloc_reserved_percpu': /kisskb/src/include/linux/compiler_types.h:279:30: error: expected declaration specifiers before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/percpu.h:120:74: note: in expansion of macro '__alloc_size' extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align) __alloc_size(1); ^ In file included from /kisskb/src/include/linux/prandom.h:12:0, from /kisskb/src/include/linux/random.h:110, 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/percpu.h:121:13: error: storage class specified for parameter '__is_kernel_percpu_address' extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr); ^ /kisskb/src/include/linux/percpu.h:122:13: error: storage class specified for parameter 'is_kernel_percpu_address' extern bool is_kernel_percpu_address(unsigned long addr); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/percpu.h:128:80: note: in expansion of macro '__alloc_size' extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/percpu.h:129:65: note: in expansion of macro '__alloc_size' extern void __percpu *__alloc_percpu(size_t size, size_t align) __alloc_size(1); ^ In file included from /kisskb/src/include/linux/prandom.h:12:0, from /kisskb/src/include/linux/random.h:110, 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/percpu.h:130:13: error: storage class specified for parameter 'free_percpu' extern void free_percpu(void __percpu *__pdata); ^ /kisskb/src/include/linux/percpu.h:131:20: error: storage class specified for parameter 'per_cpu_ptr_to_phys' extern phys_addr_t per_cpu_ptr_to_phys(void *addr); ^ /kisskb/src/include/linux/percpu.h:140:22: error: storage class specified for parameter 'pcpu_nr_pages' extern unsigned long pcpu_nr_pages(void); ^ In file included from /kisskb/src/include/linux/random.h:110:0, 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/prandom.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:25:1: error: empty declaration [-Werror] struct rnd_state { ^ /kisskb/src/include/linux/prandom.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/random.h:112:0, 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/arch/powerpc/include/asm/archrandom.h:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/nodemask.h:97:0, 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/random.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:140:37: error: storage class specified for parameter 'random_fops' extern const struct file_operations random_fops, urandom_fops; ^ /kisskb/src/include/linux/random.h:140:50: error: storage class specified for parameter 'urandom_fops' extern const struct file_operations random_fops, urandom_fops; ^ In file included from /kisskb/src/include/linux/list_lru.h:12:0, 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/nodemask.h:99:56: error: storage class specified for parameter 'nodemask_t' typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; ^ /kisskb/src/include/linux/nodemask.h:100:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_unused_nodemask_arg_' extern nodemask_t _unused_nodemask_arg_; ^ /kisskb/src/include/linux/nodemask.h:110:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:110:68: error: expected ';', ',' or ')' before '*' token static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:114:61: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:114:72: error: expected ';', ',' or ')' before '*' token static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:129:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static __always_inline void __node_set(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:129:70: error: expected ';', ',' or ')' before '*' token static __always_inline void __node_set(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:135:52: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __node_clear(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:135:63: error: expected ';', ',' or ')' before '*' token static inline void __node_clear(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:141:35: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:147:34: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:157:50: error: expected declaration specifiers or '...' before 'nodemask_t' static inline bool __node_test_and_set(int node, nodemask_t *addr) ^ /kisskb/src/include/linux/nodemask.h:164:32: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:164:56: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:164:67: error: expected ';', ',' or ')' before '*' token static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:31: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:55: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:66: error: expected ';', ',' or ')' before '*' token static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:32: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:56: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:67: error: expected ';', ',' or ')' before '*' token static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:35: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:70: error: expected ';', ',' or ')' before '*' token static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:196:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_complement(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:197:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:197:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:204:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_equal(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:204:51: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_equal(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:212:45: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_intersects(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:212:56: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_intersects(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:220:41: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_subset(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:220:52: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_subset(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:227:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:227:51: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:233:39: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:233:50: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:239:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:239:51: error: expected ';', ',' or ')' before '*' token static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:246:40: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_shift_right(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:247:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:247:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:254:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_shift_left(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:255:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:255:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:264:47: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __first_node(const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:264:58: error: expected ';', ',' or ')' before '*' token static inline unsigned int __first_node(const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:270:53: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __next_node(int n, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:270:64: error: expected ';', ',' or ')' before '*' token static inline unsigned int __next_node(int n, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:280:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __next_node_in(int node, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:280:70: error: expected ';', ',' or ')' before '*' token static inline unsigned int __next_node_in(int node, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:289:42: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void init_nodemask_of_node(nodemask_t *mask, int node) ^ /kisskb/src/include/linux/nodemask.h:307:53: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __first_unset_node(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:307:64: error: expected ';', ',' or ')' before '*' token static inline unsigned int __first_unset_node(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:342:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *dstp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:348:53: error: expected declaration specifiers or '...' before 'nodemask_t' static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:356:9: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *oldp, const nodemask_t *newp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:356:20: error: expected ';', ',' or ')' before '*' token const nodemask_t *oldp, const nodemask_t *newp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:363:34: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:363:58: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:363:69: error: expected ';', ',' or ')' before '*' token static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:371:33: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:371:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:371:68: error: expected ';', ',' or ')' before '*' token static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:33: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:68: error: expected ';', ',' or ')' before '*' token static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:398:1: error: empty declaration [-Werror] enum node_states { ^ /kisskb/src/include/linux/nodemask.h:418:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'node_states' extern nodemask_t node_states[NR_NODE_STATES]; ^ /kisskb/src/include/linux/nodemask.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:455:21: error: storage class specified for parameter 'nr_node_ids' extern unsigned int nr_node_ids; ^ /kisskb/src/include/linux/nodemask.h:456:21: error: storage class specified for parameter 'nr_online_nodes' extern unsigned int nr_online_nodes; ^ /kisskb/src/include/linux/nodemask.h:459:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:505:37: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline int node_random(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:505:48: error: expected ';', ',' or ')' before '*' token static inline int node_random(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:555:2: error: expected specifier-qualifier-list before 'nodemask_t' nodemask_t mask1; ^ /kisskb/src/include/linux/nodemask.h:554:1: error: empty declaration [-Werror] struct nodemask_scratch { ^ In file included from /kisskb/src/include/linux/list_lru.h:13:0, 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/shrinker.h:12:1: error: empty declaration [-Werror] struct shrink_control { ^ /kisskb/src/include/linux/shrinker.h:60:1: error: empty declaration [-Werror] struct shrinker { ^ /kisskb/src/include/linux/shrinker.h:96:27: error: storage class specified for parameter 'prealloc_shrinker' extern int __printf(2, 3) prealloc_shrinker(struct shrinker *shrinker, ^ /kisskb/src/include/linux/shrinker.h:98:13: error: storage class specified for parameter 'register_shrinker_prepared' extern void register_shrinker_prepared(struct shrinker *shrinker); ^ /kisskb/src/include/linux/shrinker.h:99:27: error: storage class specified for parameter 'register_shrinker' extern int __printf(2, 3) register_shrinker(struct shrinker *shrinker, ^ /kisskb/src/include/linux/shrinker.h:101:13: error: storage class specified for parameter 'unregister_shrinker' extern void unregister_shrinker(struct shrinker *shrinker); ^ /kisskb/src/include/linux/shrinker.h:102:13: error: storage class specified for parameter 'free_prealloced_shrinker' extern void free_prealloced_shrinker(struct shrinker *shrinker); ^ /kisskb/src/include/linux/shrinker.h:103:13: error: storage class specified for parameter 'synchronize_shrinkers' extern void synchronize_shrinkers(void); ^ /kisskb/src/include/linux/shrinker.h:106:12: error: storage class specified for parameter 'shrinker_debugfs_add' extern int shrinker_debugfs_add(struct shrinker *shrinker); ^ /kisskb/src/include/linux/shrinker.h:107:13: error: storage class specified for parameter 'shrinker_debugfs_remove' extern void shrinker_debugfs_remove(struct shrinker *shrinker); ^ /kisskb/src/include/linux/shrinker.h:108:27: error: storage class specified for parameter 'shrinker_debugfs_rename' extern int __printf(2, 3) shrinker_debugfs_rename(struct shrinker *shrinker, ^ In file included from /kisskb/src/include/linux/mmzone.h:18:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/pageblock-flags.h:18:1: error: empty declaration [-Werror] enum pageblock_bits { ^ /kisskb/src/include/linux/pageblock-flags.h:36:21: error: storage class specified for parameter 'pageblock_order' extern unsigned int pageblock_order; ^ /kisskb/src/include/linux/pageblock-flags.h:62:1: error: empty declaration [-Werror] struct page; ^ In file included from /kisskb/src/include/linux/mmzone.h:22:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/page-flags.h:100:1: error: empty declaration [-Werror] enum pageflags { ^ /kisskb/src/include/linux/page-flags.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:475:36: note: in expansion of macro 'TESTCLEARFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:475:36: note: in expansion of macro 'TESTCLEARFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:477:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:477:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:478:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:478:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:480:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:480:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:481:29: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:481:29: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:482:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:482:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:483:35: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:483:35: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:484:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:484:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:486:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:486:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:494:49: error: expected declaration specifiers before ';' token PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:495:43: error: expected declaration specifiers before ';' token PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:497:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:497:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:500:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:500:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:501:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:501:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:503:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:503:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:504:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:504:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:514:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:514:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:520:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:520:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:526:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:526:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:528:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:528:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:548:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:552:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:552:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:553:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:553:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:559:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:559:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:560:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:560:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:564:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:564:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:582:13: error: storage class specified for parameter 'SetPageHWPoisonTakenOff' extern void SetPageHWPoisonTakenOff(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:583:13: error: storage class specified for parameter 'ClearPageHWPoisonTakenOff' extern void ClearPageHWPoisonTakenOff(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:584:13: error: storage class specified for parameter 'take_page_off_buddy' extern bool take_page_off_buddy(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:585:13: error: storage class specified for parameter 'put_page_back_buddy' extern bool put_page_back_buddy(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:592:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:592:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:593:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:593:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:594:1: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:594:1: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Young, young, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:595:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Idle, idle, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:647:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:652:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:657:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:662:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:667:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:673:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:686:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:692:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:712:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:734:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:740:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:751:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:760:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:760:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:781:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:791:1: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:791:1: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:792:1: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:792:1: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:793:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:793:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:802:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:807:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:812:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:818:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:830:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:864:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:874:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:949:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:999:13: error: storage class specified for parameter 'page_offline_freeze' extern void page_offline_freeze(void); ^ /kisskb/src/include/linux/page-flags.h:1000:13: error: storage class specified for parameter 'page_offline_thaw' extern void page_offline_thaw(void); ^ /kisskb/src/include/linux/page-flags.h:1001:13: error: storage class specified for parameter 'page_offline_begin' extern void page_offline_begin(void); ^ /kisskb/src/include/linux/page-flags.h:1002:13: error: storage class specified for parameter 'page_offline_end' extern void page_offline_end(void); ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:1014:13: error: storage class specified for parameter 'is_free_buddy_page' extern bool is_free_buddy_page(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:1016:37: error: expected declaration specifiers before ';' token PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:1019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1026:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1040:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1084:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1089:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/local_lock.h:5:0, from /kisskb/src/include/linux/mmzone.h:23, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/local_lock_internal.h:16:3: error: storage class specified for parameter 'local_lock_t' } local_lock_t; ^ /kisskb/src/include/linux/local_lock_internal.h:27:39: error: expected declaration specifiers or '...' before 'local_lock_t' static inline void local_lock_acquire(local_lock_t *l) ^ /kisskb/src/include/linux/local_lock_internal.h:34:39: error: expected declaration specifiers or '...' before 'local_lock_t' static inline void local_lock_release(local_lock_t *l) ^ /kisskb/src/include/linux/local_lock_internal.h:41:42: error: expected declaration specifiers or '...' before 'local_lock_t' static inline void local_lock_debug_init(local_lock_t *l) ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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:42:1: error: empty declaration [-Werror] enum migratetype { ^ /kisskb/src/include/linux/mmzone.h:68:27: error: storage class specified for parameter 'migratetype_names' extern const char * const migratetype_names[MIGRATE_TYPES]; ^ /kisskb/src/include/linux/mmzone.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:98:12: error: storage class specified for parameter 'page_group_by_mobility_disabled' extern int page_group_by_mobility_disabled; ^ /kisskb/src/include/linux/mmzone.h:105:1: error: empty declaration [-Werror] struct free_area { ^ /kisskb/src/include/linux/mmzone.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:122:1: error: empty declaration [-Werror] struct pglist_data; ^ /kisskb/src/include/linux/mmzone.h:125:1: error: empty declaration [-Werror] enum numa_stat_item { ^ /kisskb/src/include/linux/mmzone.h:138:1: error: empty declaration [-Werror] enum zone_stat_item { ^ /kisskb/src/include/linux/mmzone.h:157:1: error: empty declaration [-Werror] enum node_stat_item { ^ /kisskb/src/include/linux/mmzone.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:266:1: error: empty declaration [-Werror] enum lru_list { ^ /kisskb/src/include/linux/mmzone.h:275:1: error: empty declaration [-Werror] enum vmscan_throttle_state { ^ /kisskb/src/include/linux/mmzone.h:288:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:301:1: error: empty declaration [-Werror] enum lruvec_flags { ^ /kisskb/src/include/linux/mmzone.h:364:1: error: empty declaration [-Werror] struct lruvec; ^ /kisskb/src/include/linux/mmzone.h:365:1: error: empty declaration [-Werror] struct page_vma_mapped_walk; ^ /kisskb/src/include/linux/mmzone.h:372:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mmzone.h:377:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mmzone.h:407:1: error: empty declaration [-Werror] struct lru_gen_struct { ^ /kisskb/src/include/linux/mmzone.h:431:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mmzone.h:444:1: error: empty declaration [-Werror] struct lru_gen_mm_state { ^ /kisskb/src/include/linux/mmzone.h:461:1: error: empty declaration [-Werror] struct lru_gen_mm_walk { ^ /kisskb/src/include/linux/mmzone.h:508:1: error: empty declaration [-Werror] struct lruvec { ^ /kisskb/src/include/linux/mmzone.h:544:28: error: storage class specified for parameter 'isolate_mode_t' typedef unsigned __bitwise isolate_mode_t; ^ /kisskb/src/include/linux/mmzone.h:546:1: error: empty declaration [-Werror] enum zone_watermarks { ^ /kisskb/src/include/linux/mmzone.h:574:1: error: empty declaration [-Werror] struct per_cpu_pages { ^ /kisskb/src/include/linux/mmzone.h:588:1: error: empty declaration [-Werror] struct per_cpu_zonestat { ^ /kisskb/src/include/linux/mmzone.h:603:1: error: empty declaration [-Werror] struct per_cpu_nodestat { ^ /kisskb/src/include/linux/mmzone.h:610:1: error: empty declaration [-Werror] enum zone_type { ^ /kisskb/src/include/linux/mmzone.h:705:1: error: empty declaration [-Werror] struct zone { ^ /kisskb/src/include/linux/mmzone.h:875:1: error: empty declaration [-Werror] enum pgdat_flags { ^ /kisskb/src/include/linux/mmzone.h:886:1: error: empty declaration [-Werror] enum zone_flags { ^ /kisskb/src/include/linux/mmzone.h:894:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:899:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:908:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:913:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:918:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:923:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:974:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:980:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:986:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:989:13: error: storage class specified for parameter 'memmap_init_zone_device' extern void memmap_init_zone_device(struct zone *, unsigned long, ^ /kisskb/src/include/linux/mmzone.h:999:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1004:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1015:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1035:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mmzone.h:1051:1: error: empty declaration [-Werror] struct zoneref { ^ /kisskb/src/include/linux/mmzone.h:1070:1: error: empty declaration [-Werror] struct zonelist { ^ /kisskb/src/include/linux/mmzone.h:1079:21: error: storage class specified for parameter 'mem_map' extern struct page *mem_map; ^ /kisskb/src/include/linux/mmzone.h:1082:1: error: empty declaration [-Werror] struct deferred_split { ^ /kisskb/src/include/linux/mmzone.h:1232:3: error: storage class specified for parameter 'pg_data_t' } pg_data_t; ^ /kisskb/src/include/linux/mmzone.h:1240:43: error: expected declaration specifiers or '...' before 'pg_data_t' static inline unsigned long pgdat_end_pfn(pg_data_t *pgdat) ^ In file included from /kisskb/src/include/linux/mmzone.h:1245:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/memory_hotplug.h:10:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/memory_hotplug.h:11:1: error: empty declaration [-Werror] struct zone; ^ /kisskb/src/include/linux/memory_hotplug.h:12:1: error: empty declaration [-Werror] struct pglist_data; ^ /kisskb/src/include/linux/memory_hotplug.h:13:1: error: empty declaration [-Werror] struct mem_section; ^ /kisskb/src/include/linux/memory_hotplug.h:14:1: error: empty declaration [-Werror] struct memory_group; ^ /kisskb/src/include/linux/memory_hotplug.h:15:1: error: empty declaration [-Werror] struct resource; ^ /kisskb/src/include/linux/memory_hotplug.h:16:1: error: empty declaration [-Werror] struct vmem_altmap; ^ /kisskb/src/include/linux/memory_hotplug.h:17:1: error: empty declaration [-Werror] struct dev_pagemap; ^ /kisskb/src/include/linux/memory_hotplug.h:47:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern pg_data_t *node_data[]; ^ /kisskb/src/include/linux/memory_hotplug.h:48:51: error: expected declaration specifiers or '...' before 'pg_data_t' static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) ^ /kisskb/src/include/linux/memory_hotplug.h:71:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/memory_hotplug.h:83:23: error: storage class specified for parameter 'mhp_t' typedef int __bitwise mhp_t; ^ /kisskb/src/include/linux/memory_hotplug.h:114:1: error: empty declaration [-Werror] struct mhp_params { ^ /kisskb/src/include/linux/memory_hotplug.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:150:13: error: storage class specified for parameter 'adjust_present_page_count' extern void adjust_present_page_count(struct page *page, ^ /kisskb/src/include/linux/memory_hotplug.h:154:12: error: storage class specified for parameter 'mhp_init_memmap_on_memory' extern int mhp_init_memmap_on_memory(unsigned long pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/memory_hotplug.h:156:13: error: storage class specified for parameter 'mhp_deinit_memmap_on_memory' extern void mhp_deinit_memmap_on_memory(unsigned long pfn, unsigned long nr_pages); ^ /kisskb/src/include/linux/memory_hotplug.h:157:12: error: storage class specified for parameter 'online_pages' extern int online_pages(unsigned long pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/memory_hotplug.h:159:13: error: storage class specified for parameter '__offline_isolated_pages' extern void __offline_isolated_pages(unsigned long start_pfn, ^ /kisskb/src/include/linux/memory_hotplug.h:162:16: error: storage class specified for parameter 'online_page_callback_t' typedef void (*online_page_callback_t)(struct page *page, unsigned int order); ^ /kisskb/src/include/linux/memory_hotplug.h:164:13: error: storage class specified for parameter 'generic_online_page' extern void generic_online_page(struct page *page, unsigned int order); ^ /kisskb/src/include/linux/memory_hotplug.h:165:37: error: expected declaration specifiers or '...' before 'online_page_callback_t' extern int set_online_page_callback(online_page_callback_t callback); ^ /kisskb/src/include/linux/memory_hotplug.h:166:41: error: expected declaration specifiers or '...' before 'online_page_callback_t' extern int restore_online_page_callback(online_page_callback_t callback); ^ /kisskb/src/include/linux/memory_hotplug.h:168:12: error: storage class specified for parameter 'try_online_node' extern int try_online_node(int nid); ^ /kisskb/src/include/linux/memory_hotplug.h:170:12: error: storage class specified for parameter 'arch_add_memory' extern int arch_add_memory(int nid, u64 start, u64 size, ^ /kisskb/src/include/linux/memory_hotplug.h:172:12: error: storage class specified for parameter 'max_mem_size' extern u64 max_mem_size; ^ /kisskb/src/include/linux/memory_hotplug.h:174:12: error: storage class specified for parameter 'mhp_online_type_from_str' extern int mhp_online_type_from_str(const char *str); ^ /kisskb/src/include/linux/memory_hotplug.h:177:12: error: storage class specified for parameter 'mhp_default_online_type' extern int mhp_default_online_type; ^ /kisskb/src/include/linux/memory_hotplug.h:179:13: error: storage class specified for parameter 'movable_node_enabled' extern bool movable_node_enabled; ^ /kisskb/src/include/linux/memory_hotplug.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:185:13: error: storage class specified for parameter 'arch_remove_memory' extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap); ^ /kisskb/src/include/linux/memory_hotplug.h:186:13: error: storage class specified for parameter '__remove_pages' extern void __remove_pages(unsigned long start_pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/memory_hotplug.h:190:12: error: storage class specified for parameter '__add_pages' extern int __add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/memory_hotplug.h:211:38: error: expected declaration specifiers or '...' before 'pg_data_t' static inline void pgdat_kswapd_lock(pg_data_t *pgdat) ^ /kisskb/src/include/linux/memory_hotplug.h:216:40: error: expected declaration specifiers or '...' before 'pg_data_t' static inline void pgdat_kswapd_unlock(pg_data_t *pgdat) ^ /kisskb/src/include/linux/memory_hotplug.h:221:43: error: expected declaration specifiers or '...' before 'pg_data_t' static inline void pgdat_kswapd_lock_init(pg_data_t *pgdat) ^ /kisskb/src/include/linux/memory_hotplug.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memory_hotplug.h:305:13: error: storage class specified for parameter 'try_offline_node' extern void try_offline_node(int nid); ^ /kisskb/src/include/linux/memory_hotplug.h:306:12: error: storage class specified for parameter 'offline_pages' extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/memory_hotplug.h:308:12: error: storage class specified for parameter 'remove_memory' extern int remove_memory(u64 start, u64 size); ^ /kisskb/src/include/linux/memory_hotplug.h:309:13: error: storage class specified for parameter '__remove_memory' extern void __remove_memory(u64 start, u64 size); ^ /kisskb/src/include/linux/memory_hotplug.h:310:12: error: storage class specified for parameter 'offline_and_remove_memory' extern int offline_and_remove_memory(u64 start, u64 size); ^ /kisskb/src/include/linux/memory_hotplug.h:329:13: error: storage class specified for parameter 'set_zone_contiguous' extern void set_zone_contiguous(struct zone *zone); ^ /kisskb/src/include/linux/memory_hotplug.h:330:13: error: storage class specified for parameter 'clear_zone_contiguous' extern void clear_zone_contiguous(struct zone *zone); ^ /kisskb/src/include/linux/memory_hotplug.h:333:19: error: storage class specified for parameter 'free_area_init_core_hotplug' extern void __ref free_area_init_core_hotplug(struct pglist_data *pgdat); ^ /kisskb/src/include/linux/memory_hotplug.h:333:19: error: section attribute not allowed for 'free_area_init_core_hotplug' /kisskb/src/include/linux/memory_hotplug.h:333:54: error: '__noinline__' attribute ignored [-Werror=attributes] extern void __ref free_area_init_core_hotplug(struct pglist_data *pgdat); ^ /kisskb/src/include/linux/memory_hotplug.h:334:55: error: expected declaration specifiers or '...' before 'mhp_t' extern int __add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:335:53: error: expected declaration specifiers or '...' before 'mhp_t' extern int add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:337:11: error: expected declaration specifiers or '...' before 'mhp_t' mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:340:10: error: expected declaration specifiers or '...' before 'mhp_t' mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:341:13: error: storage class specified for parameter 'move_pfn_range_to_zone' extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, ^ /kisskb/src/include/linux/memory_hotplug.h:344:13: error: storage class specified for parameter 'remove_pfn_range_from_zone' extern void remove_pfn_range_from_zone(struct zone *zone, ^ /kisskb/src/include/linux/memory_hotplug.h:347:12: error: storage class specified for parameter 'sparse_add_section' extern int sparse_add_section(int nid, unsigned long pfn, ^ /kisskb/src/include/linux/memory_hotplug.h:350:13: error: storage class specified for parameter 'sparse_remove_section' extern void sparse_remove_section(struct mem_section *ms, ^ /kisskb/src/include/linux/memory_hotplug.h:353:21: error: storage class specified for parameter 'sparse_decode_mem_map' extern struct page *sparse_decode_mem_map(unsigned long coded_mem_map, ^ /kisskb/src/include/linux/memory_hotplug.h:355:21: error: storage class specified for parameter 'zone_for_pfn_range' extern struct zone *zone_for_pfn_range(int online_type, int nid, ^ /kisskb/src/include/linux/memory_hotplug.h:358:12: error: storage class specified for parameter 'arch_create_linear_mapping' extern int arch_create_linear_mapping(int nid, u64 start, u64 size, ^ /kisskb/src/include/linux/memory_hotplug.h:361:13: error: storage class specified for parameter 'mhp_supports_memmap_on_memory' extern bool mhp_supports_memmap_on_memory(unsigned long size); ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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:1247:26: error: expected declaration specifiers or '...' before 'pg_data_t' void build_all_zonelists(pg_data_t *pgdat); ^ /kisskb/src/include/linux/mmzone.h:1262:1: error: empty declaration [-Werror] enum meminit_context { ^ /kisskb/src/include/linux/mmzone.h:1267:13: error: storage class specified for parameter 'init_currently_empty_zone' extern void init_currently_empty_zone(struct zone *zone, unsigned long start_pfn, ^ /kisskb/src/include/linux/mmzone.h:1270:13: error: storage class specified for parameter 'lruvec_init' extern void lruvec_init(struct lruvec *lruvec); ^ /kisskb/src/include/linux/mmzone.h:1273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1340:12: error: storage class specified for parameter 'movable_zone' extern int movable_zone; ^ /kisskb/src/include/linux/mmzone.h:1343:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1360:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1368:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1374:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/include/linux/mmzone.h:1380:12: error: storage class specified for parameter 'sysctl_lowmem_reserve_ratio' extern int sysctl_lowmem_reserve_ratio[MAX_NR_ZONES]; ^ /kisskb/src/include/linux/mmzone.h:1391:12: error: storage class specified for parameter 'percpu_pagelist_high_fraction' extern int percpu_pagelist_high_fraction; ^ /kisskb/src/include/linux/mmzone.h:1392:13: error: storage class specified for parameter 'numa_zonelist_order' extern char numa_zonelist_order[]; ^ In file included from /kisskb/src/include/linux/mmzone.h:1405:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/asm/mmzone.h:23:28: error: storage class specified for parameter 'node_data' extern struct pglist_data *node_data[]; ^ /kisskb/src/arch/powerpc/include/asm/mmzone.h:33:12: error: storage class specified for parameter 'numa_cpu_lookup_table' extern int numa_cpu_lookup_table[]; ^ /kisskb/src/arch/powerpc/include/asm/mmzone.h:34:22: error: storage class specified for parameter 'node_to_cpumask_map' extern cpumask_var_t node_to_cpumask_map[]; ^ /kisskb/src/arch/powerpc/include/asm/mmzone.h:36:22: error: storage class specified for parameter 'max_pfn' extern unsigned long max_pfn; ^ /kisskb/src/arch/powerpc/include/asm/mmzone.h:50:12: error: storage class specified for parameter 'create_section_mapping' extern int create_section_mapping(unsigned long start, unsigned long end, ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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:1409:28: error: storage class specified for parameter 'first_online_pgdat' extern struct pglist_data *first_online_pgdat(void); ^ /kisskb/src/include/linux/mmzone.h:1410:28: error: storage class specified for parameter 'next_online_pgdat' extern struct pglist_data *next_online_pgdat(struct pglist_data *pgdat); ^ /kisskb/src/include/linux/mmzone.h:1411:21: error: storage class specified for parameter 'next_zone' extern struct zone *next_zone(struct zone *zone); ^ /kisskb/src/include/linux/mmzone.h:1442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1452:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1458:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes); ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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:1477:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1503:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1546:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline bool movable_only_nodes(nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1601:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1624:1: error: empty declaration [-Werror] struct mem_section_usage { ^ /kisskb/src/include/linux/mmzone.h:1634:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/mmzone.h:1635:1: error: empty declaration [-Werror] struct page_ext; ^ /kisskb/src/include/linux/mmzone.h:1636:1: error: empty declaration [-Werror] struct mem_section { ^ /kisskb/src/include/linux/mmzone.h:1677:29: error: storage class specified for parameter 'mem_section' extern struct mem_section **mem_section; ^ /kisskb/src/include/linux/mmzone.h:1683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1700:15: error: storage class specified for parameter 'mem_section_usage_size' extern size_t mem_section_usage_size(void); ^ /kisskb/src/include/linux/mmzone.h:1719:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mmzone.h:1741:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1748:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1753:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1758:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1763:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1768:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1773:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1779:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1792:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1802:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1806:22: error: storage class specified for parameter '__highest_present_section_nr' extern unsigned long __highest_present_section_nr; ^ /kisskb/src/include/linux/mmzone.h:1809:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1815:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1840:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1866:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1873:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/topology.h:30:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch_topology.h:18:1: error: empty declaration [-Werror] struct device_node; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cpu_scale' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:21:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cpu_scale' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:21:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ /kisskb/src/include/linux/arch_topology.h:21:32: error: storage class specified for parameter 'cpu_scale' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:21:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ /kisskb/src/include/linux/arch_topology.h:21:32: error: section attribute not allowed for 'cpu_scale' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:21:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, cpu_scale); ^ In file included from /kisskb/src/include/linux/topology.h:30:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch_topology.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_arch_freq_scale' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:30:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_arch_freq_scale' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:30:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/include/linux/arch_topology.h:30:32: error: storage class specified for parameter 'arch_freq_scale' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:30:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/include/linux/arch_topology.h:30:32: error: section attribute not allowed for 'arch_freq_scale' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:30:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ In file included from /kisskb/src/include/linux/topology.h:30:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch_topology.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/arch_topology.h:41:1: error: empty declaration [-Werror] enum scale_freq_source { ^ /kisskb/src/include/linux/arch_topology.h:47:1: error: empty declaration [-Werror] struct scale_freq_data { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_thermal_pressure' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:56:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_thermal_pressure' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/arch_topology.h:56:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ /kisskb/src/include/linux/arch_topology.h:56:32: error: storage class specified for parameter 'thermal_pressure' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:56:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ /kisskb/src/include/linux/arch_topology.h:56:32: error: section attribute not allowed for 'thermal_pressure' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/arch_topology.h:56:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, thermal_pressure); ^ In file included from /kisskb/src/include/linux/topology.h:30:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch_topology.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/arch_topology.h:66:1: error: empty declaration [-Werror] struct cpu_topology { ^ In file included from /kisskb/src/include/linux/topology.h:36:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/asm/topology.h:7:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/arch/powerpc/include/asm/topology.h:8:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/arch/powerpc/include/asm/topology.h:9:1: error: empty declaration [-Werror] struct drmem_lmb; ^ /kisskb/src/arch/powerpc/include/asm/topology.h:25:1: error: empty declaration [-Werror] struct pci_bus; ^ /kisskb/src/arch/powerpc/include/asm/topology.h:27:12: error: storage class specified for parameter 'pcibus_to_node' extern int pcibus_to_node(struct pci_bus *bus); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:40:12: error: storage class specified for parameter '__node_distance' extern int __node_distance(int, int); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:43:20: error: storage class specified for parameter 'dump_numa_cpu_topology' extern void __init dump_numa_cpu_topology(void); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:43:20: error: section attribute not allowed for 'dump_numa_cpu_topology' /kisskb/src/arch/powerpc/include/asm/topology.h:43:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init dump_numa_cpu_topology(void); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:43:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/topology.h:45:12: error: storage class specified for parameter 'sysfs_add_device_to_node' extern int sysfs_add_device_to_node(struct device *dev, int nid); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:46:13: error: storage class specified for parameter 'sysfs_remove_device_from_node' extern void sysfs_remove_device_from_node(struct device *dev, int nid); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/topology.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/topology.h:69:13: error: storage class specified for parameter 'map_cpu_to_node' extern void map_cpu_to_node(int cpu, int node); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:71:13: error: storage class specified for parameter 'unmap_cpu_from_node' extern void unmap_cpu_from_node(unsigned long cpu); ^ /kisskb/src/arch/powerpc/include/asm/topology.h:115:12: error: storage class specified for parameter 'cpu_to_coregroup_id' extern int cpu_to_coregroup_id(int cpu); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/topology.h:76:26: error: storage class specified for parameter 'node_reclaim_distance' extern int __read_mostly node_reclaim_distance; ^ /kisskb/src/include/linux/topology.h:76:26: error: section attribute not allowed for 'node_reclaim_distance' In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_numa_node' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/topology.h:83:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, numa_node); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_numa_node' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/topology.h:83:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, numa_node); ^ /kisskb/src/include/linux/topology.h:83:22: error: storage class specified for parameter 'numa_node' DECLARE_PER_CPU(int, numa_node); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/topology.h:83:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, numa_node); ^ /kisskb/src/include/linux/topology.h:83:22: error: section attribute not allowed for 'numa_node' DECLARE_PER_CPU(int, numa_node); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/topology.h:83:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, numa_node); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/topology.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope__numa_mem_' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/topology.h:133:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, _numa_mem_); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope__numa_mem_' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/topology.h:133:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, _numa_mem_); ^ /kisskb/src/include/linux/topology.h:133:22: error: storage class specified for parameter '_numa_mem_' DECLARE_PER_CPU(int, _numa_mem_); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/topology.h:133:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, _numa_mem_); ^ /kisskb/src/include/linux/topology.h:133:22: error: section attribute not allowed for '_numa_mem_' DECLARE_PER_CPU(int, _numa_mem_); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/topology.h:133:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, _numa_mem_); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/list_lru.h:14, 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/topology.h:137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/xarray.h:15:0, from /kisskb/src/include/linux/list_lru.h:14, 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:10:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/gfp.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:174:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void arch_alloc_page(struct page *page, int order) { } ^ /kisskb/src/include/linux/gfp.h:178:3: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodemask); ^ /kisskb/src/include/linux/gfp.h:180:3: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodemask); ^ /kisskb/src/include/linux/gfp.h:183:5: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodemask, int nr_pages, ^ /kisskb/src/include/linux/gfp.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:242:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:269:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:275:22: error: storage class specified for parameter '__get_free_pages' extern unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order); ^ /kisskb/src/include/linux/gfp.h:276:22: error: storage class specified for parameter 'get_zeroed_page' extern unsigned long get_zeroed_page(gfp_t gfp_mask); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/gfp.h:278:54: note: in expansion of macro '__alloc_size' void *alloc_pages_exact(size_t size, gfp_t gfp_mask) __alloc_size(1); ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:315:41: error: expected declaration specifiers before '__attribute__' #define __section(section) __attribute__((__section__(section))) ^ /kisskb/src/include/linux/init.h:86:26: note: in expansion of macro '__section' #define __meminit __section(".meminit.text") __cold notrace \ ^ /kisskb/src/include/linux/gfp.h:280:1: note: in expansion of macro '__meminit' __meminit void *alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) __alloc_size(2); ^ In file included from /kisskb/src/include/linux/xarray.h:15:0, from /kisskb/src/include/linux/list_lru.h:14, 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:288:13: error: storage class specified for parameter '__free_pages' extern void __free_pages(struct page *page, unsigned int order); ^ /kisskb/src/include/linux/gfp.h:289:13: error: storage class specified for parameter 'free_pages' extern void free_pages(unsigned long addr, unsigned int order); ^ /kisskb/src/include/linux/gfp.h:291:1: error: empty declaration [-Werror] struct page_frag_cache; ^ /kisskb/src/include/linux/gfp.h:292:13: error: storage class specified for parameter '__page_frag_cache_drain' extern void __page_frag_cache_drain(struct page *page, unsigned int count); ^ /kisskb/src/include/linux/gfp.h:293:14: error: storage class specified for parameter 'page_frag_alloc_align' extern void *page_frag_alloc_align(struct page_frag_cache *nc, ^ /kisskb/src/include/linux/gfp.h:299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:303:13: error: storage class specified for parameter 'page_frag_free' extern void page_frag_free(void *addr); ^ /kisskb/src/include/linux/gfp.h:322:14: error: storage class specified for parameter 'gfp_allowed_mask' extern gfp_t gfp_allowed_mask; ^ /kisskb/src/include/linux/gfp.h:327:13: error: storage class specified for parameter 'pm_restrict_gfp_mask' extern void pm_restrict_gfp_mask(void); ^ /kisskb/src/include/linux/gfp.h:328:13: error: storage class specified for parameter 'pm_restore_gfp_mask' extern void pm_restore_gfp_mask(void); ^ /kisskb/src/include/linux/gfp.h:330:14: error: storage class specified for parameter 'vma_thp_gfp_mask' extern gfp_t vma_thp_gfp_mask(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/gfp.h:333:13: error: storage class specified for parameter 'pm_suspended_storage' extern bool pm_suspended_storage(void); ^ /kisskb/src/include/linux/gfp.h:343:12: error: storage class specified for parameter 'alloc_contig_range' extern int alloc_contig_range(unsigned long start, unsigned long end, ^ /kisskb/src/include/linux/gfp.h:346:21: error: expected declaration specifiers or '...' before 'nodemask_t' int nid, nodemask_t *nodemask); ^ /kisskb/src/include/linux/gfp.h:352:13: error: storage class specified for parameter 'init_cma_reserved_pageblock' extern void init_cma_reserved_pageblock(struct page *page); ^ In file included from /kisskb/src/include/linux/sched.h:10:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/sched.h:92:1: error: empty declaration [-Werror] struct clone_args { ^ In file included from /kisskb/src/include/linux/sched.h:14:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/pid.h:9:1: error: empty declaration [-Werror] enum pid_type ^ /kisskb/src/include/linux/pid.h:54:1: error: empty declaration [-Werror] struct upid { ^ /kisskb/src/include/linux/pid.h:59:1: error: empty declaration [-Werror] struct pid ^ /kisskb/src/include/linux/pid.h:73:19: error: storage class specified for parameter 'init_struct_pid' extern struct pid init_struct_pid; ^ /kisskb/src/include/linux/pid.h:75:37: error: storage class specified for parameter 'pidfd_fops' extern const struct file_operations pidfd_fops; ^ /kisskb/src/include/linux/pid.h:77:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/pid.h:79:20: error: storage class specified for parameter 'pidfd_pid' extern struct pid *pidfd_pid(const struct file *file); ^ /kisskb/src/include/linux/pid.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pid.h:91:13: error: storage class specified for parameter 'put_pid' extern void put_pid(struct pid *pid); ^ /kisskb/src/include/linux/pid.h:92:28: error: storage class specified for parameter 'pid_task' extern struct task_struct *pid_task(struct pid *pid, enum pid_type); ^ /kisskb/src/include/linux/pid.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pid.h:97:28: error: storage class specified for parameter 'get_pid_task' extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); ^ /kisskb/src/include/linux/pid.h:99:20: error: storage class specified for parameter 'get_task_pid' extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); ^ /kisskb/src/include/linux/pid.h:104:13: error: storage class specified for parameter 'attach_pid' extern void attach_pid(struct task_struct *task, enum pid_type); ^ /kisskb/src/include/linux/pid.h:105:13: error: storage class specified for parameter 'detach_pid' extern void detach_pid(struct task_struct *task, enum pid_type); ^ /kisskb/src/include/linux/pid.h:106:13: error: storage class specified for parameter 'change_pid' extern void change_pid(struct task_struct *task, enum pid_type, ^ /kisskb/src/include/linux/pid.h:108:13: error: storage class specified for parameter 'exchange_tids' extern void exchange_tids(struct task_struct *task, struct task_struct *old); ^ /kisskb/src/include/linux/pid.h:109:13: error: storage class specified for parameter 'transfer_pid' extern void transfer_pid(struct task_struct *old, struct task_struct *new, ^ /kisskb/src/include/linux/pid.h:112:1: error: empty declaration [-Werror] struct pid_namespace; ^ /kisskb/src/include/linux/pid.h:113:29: error: storage class specified for parameter 'init_pid_ns' extern struct pid_namespace init_pid_ns; ^ /kisskb/src/include/linux/pid.h:115:12: error: storage class specified for parameter 'pid_max' extern int pid_max; ^ /kisskb/src/include/linux/pid.h:116:12: error: storage class specified for parameter 'pid_max_min' extern int pid_max_min, pid_max_max; ^ /kisskb/src/include/linux/pid.h:116:25: error: storage class specified for parameter 'pid_max_max' extern int pid_max_min, pid_max_max; ^ /kisskb/src/include/linux/pid.h:127:20: error: storage class specified for parameter 'find_pid_ns' extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); ^ /kisskb/src/include/linux/pid.h:128:20: error: storage class specified for parameter 'find_vpid' extern struct pid *find_vpid(int nr); ^ /kisskb/src/include/linux/pid.h:133:20: error: storage class specified for parameter 'find_get_pid' extern struct pid *find_get_pid(int nr); ^ /kisskb/src/include/linux/pid.h:134:20: error: storage class specified for parameter 'find_ge_pid' extern struct pid *find_ge_pid(int nr, struct pid_namespace *); ^ /kisskb/src/include/linux/pid.h:136:20: error: storage class specified for parameter 'alloc_pid' extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, ^ /kisskb/src/include/linux/pid.h:138:13: error: storage class specified for parameter 'free_pid' extern void free_pid(struct pid *pid); ^ /kisskb/src/include/linux/pid.h:139:13: error: storage class specified for parameter 'disable_pid_allocation' extern void disable_pid_allocation(struct pid_namespace *ns); ^ /kisskb/src/include/linux/pid.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pid.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pid.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/shm.h:7:0, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/shm.h:28:1: error: empty declaration [-Werror] struct shmid_ds { ^ In file included from /kisskb/src/include/uapi/linux/shm.h:43:0, from /kisskb/src/include/linux/shm.h:7, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/uapi/asm/shmbuf.h:25:1: error: empty declaration [-Werror] struct shmid64_ds { ^ /kisskb/src/arch/powerpc/include/uapi/asm/shmbuf.h:48:1: error: empty declaration [-Werror] struct shminfo64 { ^ In file included from /kisskb/src/include/linux/shm.h:7:0, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/shm.h:93:1: error: empty declaration [-Werror] struct shminfo { ^ /kisskb/src/include/uapi/linux/shm.h:101:1: error: empty declaration [-Werror] struct shm_info { ^ In file included from /kisskb/src/include/linux/sched.h:16:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/shm.h:10:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/shm.h:13:1: error: empty declaration [-Werror] struct sysv_shm { ^ In file included from /kisskb/src/include/linux/sched.h:17:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/kmsan_types.h:16:1: error: empty declaration [-Werror] struct kmsan_context_state { ^ /kisskb/src/include/linux/kmsan_types.h:29:1: error: empty declaration [-Werror] struct kmsan_ctx { ^ In file included from /kisskb/src/include/linux/sched.h:19:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/plist.h:82:1: error: empty declaration [-Werror] struct plist_head { ^ /kisskb/src/include/linux/plist.h:86:1: error: empty declaration [-Werror] struct plist_node { ^ /kisskb/src/include/linux/plist.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:142:13: error: storage class specified for parameter 'plist_add' extern void plist_add(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:143:13: error: storage class specified for parameter 'plist_del' extern void plist_del(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:145:13: error: storage class specified for parameter 'plist_requeue' extern void plist_requeue(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/hrtimer.h:22:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/timerqueue.h:9:1: error: empty declaration [-Werror] struct timerqueue_node { ^ /kisskb/src/include/linux/timerqueue.h:14:1: error: empty declaration [-Werror] struct timerqueue_head { ^ /kisskb/src/include/linux/timerqueue.h:19:13: error: storage class specified for parameter 'timerqueue_add' extern bool timerqueue_add(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:21:13: error: storage class specified for parameter 'timerqueue_del' extern bool timerqueue_del(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:23:32: error: storage class specified for parameter 'timerqueue_iterate_next' extern struct timerqueue_node *timerqueue_iterate_next( ^ /kisskb/src/include/linux/timerqueue.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/hrtimer.h:24:1: error: empty declaration [-Werror] struct hrtimer_clock_base; ^ /kisskb/src/include/linux/hrtimer.h:25:1: error: empty declaration [-Werror] struct hrtimer_cpu_base; ^ /kisskb/src/include/linux/hrtimer.h:39:1: error: empty declaration [-Werror] enum hrtimer_mode { ^ /kisskb/src/include/linux/hrtimer.h:65:1: error: empty declaration [-Werror] enum hrtimer_restart { ^ /kisskb/src/include/linux/hrtimer.h:118:1: error: empty declaration [-Werror] struct hrtimer { ^ /kisskb/src/include/linux/hrtimer.h:136:1: error: empty declaration [-Werror] struct hrtimer_sleeper { ^ /kisskb/src/include/linux/hrtimer.h:159:1: error: empty declaration [-Werror] struct hrtimer_clock_base { ^ /kisskb/src/include/linux/hrtimer.h:170:1: error: empty declaration [-Werror] enum hrtimer_base_type { ^ /kisskb/src/include/linux/hrtimer.h:214:1: error: empty declaration [-Werror] struct hrtimer_cpu_base { ^ /kisskb/src/include/linux/hrtimer.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:317:1: error: empty declaration [-Werror] struct clock_event_device; ^ /kisskb/src/include/linux/hrtimer.h:319:13: error: storage class specified for parameter 'hrtimer_interrupt' extern void hrtimer_interrupt(struct clock_event_device *dev); ^ /kisskb/src/include/linux/hrtimer.h:321:21: error: storage class specified for parameter 'hrtimer_resolution' extern unsigned int hrtimer_resolution; ^ /kisskb/src/include/linux/hrtimer.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:351:13: error: storage class specified for parameter 'timerfd_clock_was_set' extern void timerfd_clock_was_set(void); ^ /kisskb/src/include/linux/hrtimer.h:352:13: error: storage class specified for parameter 'timerfd_resume' extern void timerfd_resume(void); ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_tick_cpu_device' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_tick_cpu_device' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/hrtimer.h:358:37: error: storage class specified for parameter 'tick_cpu_device' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/hrtimer.h:358:37: error: section attribute not allowed for 'tick_cpu_device' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/hrtimer.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:372:13: error: storage class specified for parameter 'hrtimer_init' extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock, ^ /kisskb/src/include/linux/hrtimer.h:374:13: error: storage class specified for parameter 'hrtimer_init_sleeper' extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, ^ /kisskb/src/include/linux/hrtimer.h:378:13: error: storage class specified for parameter 'hrtimer_init_on_stack' extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock, ^ /kisskb/src/include/linux/hrtimer.h:380:13: error: storage class specified for parameter 'hrtimer_init_sleeper_on_stack' extern void hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, ^ /kisskb/src/include/linux/hrtimer.h:384:13: error: storage class specified for parameter 'destroy_hrtimer_on_stack' extern void destroy_hrtimer_on_stack(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:404:13: error: storage class specified for parameter 'hrtimer_start_range_ns' extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, ^ /kisskb/src/include/linux/hrtimer.h:417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:421:12: error: storage class specified for parameter 'hrtimer_cancel' extern int hrtimer_cancel(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:422:12: error: storage class specified for parameter 'hrtimer_try_to_cancel' extern int hrtimer_try_to_cancel(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:439:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:444:16: error: storage class specified for parameter '__hrtimer_get_remaining' extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust); ^ /kisskb/src/include/linux/hrtimer.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:455:12: error: storage class specified for parameter 'hrtimer_get_next_event' extern u64 hrtimer_get_next_event(void); ^ /kisskb/src/include/linux/hrtimer.h:456:12: error: storage class specified for parameter 'hrtimer_next_event_without' extern u64 hrtimer_next_event_without(const struct hrtimer *exclude); ^ /kisskb/src/include/linux/hrtimer.h:458:13: error: storage class specified for parameter 'hrtimer_active' extern bool hrtimer_active(const struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:479:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:485:1: error: storage class specified for parameter 'hrtimer_forward' hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/hrtimer.h:505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:511:12: error: storage class specified for parameter 'nanosleep_copyout' extern int nanosleep_copyout(struct restart_block *, struct timespec64 *); ^ /kisskb/src/include/linux/hrtimer.h:512:13: error: storage class specified for parameter 'hrtimer_nanosleep' extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, ^ /kisskb/src/include/linux/hrtimer.h:515:12: error: storage class specified for parameter 'schedule_hrtimeout_range' extern int schedule_hrtimeout_range(ktime_t *expires, u64 delta, ^ /kisskb/src/include/linux/hrtimer.h:517:12: error: storage class specified for parameter 'schedule_hrtimeout_range_clock' extern int schedule_hrtimeout_range_clock(ktime_t *expires, ^ /kisskb/src/include/linux/hrtimer.h:521:12: error: storage class specified for parameter 'schedule_hrtimeout' extern int schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode); ^ /kisskb/src/include/linux/hrtimer.h:524:13: error: storage class specified for parameter 'hrtimer_run_queues' extern void hrtimer_run_queues(void); ^ /kisskb/src/include/linux/hrtimer.h:527:20: error: storage class specified for parameter 'hrtimers_init' extern void __init hrtimers_init(void); ^ /kisskb/src/include/linux/hrtimer.h:527:20: error: section attribute not allowed for 'hrtimers_init' /kisskb/src/include/linux/hrtimer.h:527:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init hrtimers_init(void); ^ /kisskb/src/include/linux/hrtimer.h:527:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/hrtimer.h:530:13: error: storage class specified for parameter 'sysrq_timer_list_show' extern void sysrq_timer_list_show(void); ^ In file included from /kisskb/src/include/linux/seccomp.h:5:0, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/seccomp.h:62:1: error: empty declaration [-Werror] struct seccomp_data { ^ /kisskb/src/include/uapi/linux/seccomp.h:69:1: error: empty declaration [-Werror] struct seccomp_notif_sizes { ^ /kisskb/src/include/uapi/linux/seccomp.h:75:1: error: empty declaration [-Werror] struct seccomp_notif { ^ /kisskb/src/include/uapi/linux/seccomp.h:111:1: error: empty declaration [-Werror] struct seccomp_notif_resp { ^ /kisskb/src/include/uapi/linux/seccomp.h:130:1: error: empty declaration [-Werror] struct seccomp_notif_addfd { ^ In file included from /kisskb/src/arch/powerpc/include/asm/seccomp.h:9:0, from /kisskb/src/include/linux/seccomp.h:22, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/asm-generic/seccomp.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:22:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/seccomp.h:24:1: error: empty declaration [-Werror] struct seccomp_filter; ^ /kisskb/src/include/linux/seccomp.h:36:1: error: empty declaration [-Werror] struct seccomp { ^ /kisskb/src/include/linux/seccomp.h:43:12: error: storage class specified for parameter '__secure_computing' extern int __secure_computing(const struct seccomp_data *sd); ^ /kisskb/src/include/linux/seccomp.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seccomp.h:54:13: error: storage class specified for parameter 'prctl_get_seccomp' extern long prctl_get_seccomp(void); ^ /kisskb/src/include/linux/seccomp.h:55:13: error: storage class specified for parameter 'prctl_set_seccomp' extern long prctl_set_seccomp(unsigned long, void __user *); ^ /kisskb/src/include/linux/seccomp.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seccomp.h:94:13: error: storage class specified for parameter 'seccomp_filter_release' extern void seccomp_filter_release(struct task_struct *tsk); ^ /kisskb/src/include/linux/seccomp.h:95:13: error: storage class specified for parameter 'get_seccomp_filter' extern void get_seccomp_filter(struct task_struct *tsk); ^ /kisskb/src/include/linux/seccomp.h:108:13: error: storage class specified for parameter 'seccomp_get_filter' extern long seccomp_get_filter(struct task_struct *task, ^ /kisskb/src/include/linux/seccomp.h:110:13: error: storage class specified for parameter 'seccomp_get_metadata' extern long seccomp_get_metadata(struct task_struct *task, ^ /kisskb/src/include/linux/seccomp.h:127:1: error: empty declaration [-Werror] struct seq_file; ^ In file included from /kisskb/src/include/linux/resource.h:5:0, from /kisskb/src/include/linux/sched.h:26, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/resource.h:24:1: error: empty declaration [-Werror] struct rusage { ^ /kisskb/src/include/uapi/linux/resource.h:43:1: error: empty declaration [-Werror] struct rlimit { ^ /kisskb/src/include/uapi/linux/resource.h:50:1: error: empty declaration [-Werror] struct rlimit64 { ^ In file included from /kisskb/src/include/linux/sched.h:26:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/resource.h:8:1: error: empty declaration [-Werror] struct task_struct; ^ In file included from /kisskb/src/include/linux/sched.h:27:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/latencytop.h:14:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/latencytop.h:21:1: error: empty declaration [-Werror] struct latency_record { ^ /kisskb/src/include/linux/latencytop.h:30:12: error: storage class specified for parameter 'latencytop_enabled' extern int latencytop_enabled; ^ /kisskb/src/include/linux/latencytop.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:28:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/prio.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/prio.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:29:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/types.h:17:1: error: empty declaration [-Werror] struct task_cputime { ^ In file included from /kisskb/src/arch/powerpc/include/asm/signal.h:6:0, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/uapi/asm/signal.h:15:23: error: storage class specified for parameter 'old_sigset_t' typedef unsigned long old_sigset_t; /* at least 32 bits */ ^ /kisskb/src/arch/powerpc/include/uapi/asm/signal.h:19:3: error: storage class specified for parameter 'sigset_t' } sigset_t; ^ In file included from /kisskb/src/arch/powerpc/include/uapi/asm/signal.h:73:0, from /kisskb/src/arch/powerpc/include/asm/signal.h:6, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/asm-generic/signal-defs.h:82:14: error: storage class specified for parameter '__signalfn_t' typedef void __signalfn_t(int); ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:83:9: error: type defaults to 'int' in declaration of '__signalfn_t' [-Werror=implicit-int] typedef __signalfn_t __user *__sighandler_t; ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:83:9: error: storage class specified for parameter '__signalfn_t' /kisskb/src/include/uapi/asm-generic/signal-defs.h:83:9: error: conflicting types for '__signalfn_t' /kisskb/src/include/uapi/asm-generic/signal-defs.h:82:14: note: previous definition of '__signalfn_t' was here typedef void __signalfn_t(int); ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:83:29: error: expected ',' or ';' before '*' token typedef __signalfn_t __user *__sighandler_t; ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:85:14: error: storage class specified for parameter '__restorefn_t' typedef void __restorefn_t(void); ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:86:9: error: type defaults to 'int' in declaration of '__restorefn_t' [-Werror=implicit-int] typedef __restorefn_t __user *__sigrestore_t; ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:86:9: error: storage class specified for parameter '__restorefn_t' /kisskb/src/include/uapi/asm-generic/signal-defs.h:86:9: error: conflicting types for '__restorefn_t' /kisskb/src/include/uapi/asm-generic/signal-defs.h:85:14: note: previous definition of '__restorefn_t' was here typedef void __restorefn_t(void); ^ /kisskb/src/include/uapi/asm-generic/signal-defs.h:86:30: error: expected ',' or ';' before '*' token typedef __restorefn_t __user *__sigrestore_t; ^ In file included from /kisskb/src/arch/powerpc/include/asm/signal.h:6:0, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/uapi/asm/signal.h:95:3: error: storage class specified for parameter 'stack_t' } stack_t; ^ In file included from /kisskb/src/include/uapi/linux/signal.h:5:0, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/asm/signal.h:9:1: error: empty declaration [-Werror] struct pt_regs; ^ In file included from ./arch/powerpc/include/generated/uapi/asm/siginfo.h:1:0, from /kisskb/src/include/uapi/linux/signal.h:6, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/asm-generic/siginfo.h:11:3: error: storage class specified for parameter 'sigval_t' } sigval_t; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:48:3: error: expected specifier-qualifier-list before 'sigval_t' sigval_t _sigval; /* same as below */ ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:56:3: error: expected specifier-qualifier-list before 'sigval_t' sigval_t _sigval; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:37:1: error: empty declaration [-Werror] union __sifields { ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:144:24: error: storage class specified for parameter 'siginfo_t' } __ARCH_SI_ATTRIBUTES siginfo_t; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:341:2: error: expected specifier-qualifier-list before 'sigval_t' sigval_t sigev_value; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:353:3: error: storage class specified for parameter 'sigevent_t' } sigevent_t; ^ In file included from /kisskb/src/include/linux/sched.h:30:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/signal_types.h:14:3: error: storage class specified for parameter 'kernel_siginfo_t' } kernel_siginfo_t; ^ /kisskb/src/include/linux/signal_types.h:16:1: error: empty declaration [-Werror] struct ucounts; ^ /kisskb/src/include/linux/signal_types.h:25:2: error: expected specifier-qualifier-list before 'kernel_siginfo_t' kernel_siginfo_t info; ^ /kisskb/src/include/linux/signal_types.h:22:1: error: empty declaration [-Werror] struct sigqueue { ^ /kisskb/src/include/linux/signal_types.h:34:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t signal; ^ /kisskb/src/include/linux/signal_types.h:32:1: error: empty declaration [-Werror] struct sigpending { ^ /kisskb/src/include/linux/signal_types.h:39:2: error: unknown type name '__sighandler_t' __sighandler_t sa_handler; ^ /kisskb/src/include/linux/signal_types.h:46:2: error: unknown type name '__sigrestore_t' __sigrestore_t sa_restorer; ^ /kisskb/src/include/linux/signal_types.h:48:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t sa_mask; /* mask last for extensibility */ ^ /kisskb/src/include/linux/signal_types.h:37:1: error: empty declaration [-Werror] struct sigaction { ^ /kisskb/src/include/linux/signal_types.h:51:1: error: empty declaration [-Werror] struct k_sigaction { ^ /kisskb/src/include/linux/signal_types.h:69:2: error: expected specifier-qualifier-list before 'kernel_siginfo_t' kernel_siginfo_t info; ^ /kisskb/src/include/linux/signal_types.h:67:1: error: empty declaration [-Werror] struct ksignal { ^ In file included from /kisskb/src/include/linux/sched.h:31:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/syscall_user_dispatch.h:26:1: error: empty declaration [-Werror] struct syscall_user_dispatch {}; ^ /kisskb/src/include/linux/syscall_user_dispatch.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/syscall_user_dispatch.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:33:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/task_io_accounting.h:12:1: error: empty declaration [-Werror] struct task_io_accounting { ^ In file included from /kisskb/src/include/linux/posix-timers.h:7:0, from /kisskb/src/include/linux/sched.h:34, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/alarmtimer.h:9:1: error: empty declaration [-Werror] struct rtc_device; ^ /kisskb/src/include/linux/alarmtimer.h:11:1: error: empty declaration [-Werror] enum alarmtimer_type { ^ /kisskb/src/include/linux/alarmtimer.h:23:1: error: empty declaration [-Werror] enum alarmtimer_restart { ^ /kisskb/src/include/linux/alarmtimer.h:42:1: error: empty declaration [-Werror] struct alarm { ^ In file included from /kisskb/src/include/linux/sched.h:34:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/posix-timers.h:10:1: error: empty declaration [-Werror] struct kernel_siginfo; ^ /kisskb/src/include/linux/posix-timers.h:11:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/posix-timers.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:69:1: error: empty declaration [-Werror] struct cpu_timer { ^ /kisskb/src/include/linux/posix-timers.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:114:1: error: empty declaration [-Werror] struct posix_cputimer_base { ^ /kisskb/src/include/linux/posix-timers.h:129:1: error: empty declaration [-Werror] struct posix_cputimers { ^ /kisskb/src/include/linux/posix-timers.h:140:1: error: empty declaration [-Werror] struct posix_cputimers_work { ^ /kisskb/src/include/linux/posix-timers.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:189:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void clear_posix_cputimers_work(struct task_struct *p) { } ^ /kisskb/src/include/linux/posix-timers.h:190:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void posix_cputimers_init_work(void) { } ^ /kisskb/src/include/linux/posix-timers.h:218:1: error: empty declaration [-Werror] struct k_itimer { ^ In file included from /kisskb/src/include/linux/sched.h:35:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/uapi/linux/rseq.h:16:1: error: empty declaration [-Werror] enum rseq_cpu_id_state { ^ /kisskb/src/include/uapi/linux/rseq.h:21:1: error: empty declaration [-Werror] enum rseq_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:25:1: error: empty declaration [-Werror] enum rseq_cs_flags_bit { ^ /kisskb/src/include/uapi/linux/rseq.h:31:1: error: empty declaration [-Werror] enum rseq_cs_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:45:1: error: empty declaration [-Werror] struct rseq_cs { ^ /kisskb/src/include/uapi/linux/rseq.h:62:1: error: empty declaration [-Werror] struct rseq { ^ In file included from /kisskb/src/include/linux/sched.h:37:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/kcsan.h:71:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kcsan_init(void) { } ^ In file included from /kisskb/src/include/linux/sched.h:38:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/rv.h:16:1: error: empty declaration [-Werror] struct da_monitor { ^ /kisskb/src/include/linux/rv.h:33:1: error: empty declaration [-Werror] union rv_task_monitor { ^ /kisskb/src/include/linux/rv.h:38:1: error: empty declaration [-Werror] struct rv_reactor { ^ /kisskb/src/include/linux/rv.h:45:1: error: empty declaration [-Werror] struct rv_monitor { ^ In file included from /kisskb/src/include/linux/sched/mm.h:7:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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:42:1: error: empty declaration [-Werror] struct audit_context; ^ /kisskb/src/include/linux/sched.h:43:1: error: empty declaration [-Werror] struct backing_dev_info; ^ /kisskb/src/include/linux/sched.h:44:1: error: empty declaration [-Werror] struct bio_list; ^ /kisskb/src/include/linux/sched.h:45:1: error: empty declaration [-Werror] struct blk_plug; ^ /kisskb/src/include/linux/sched.h:46:1: error: empty declaration [-Werror] struct bpf_local_storage; ^ /kisskb/src/include/linux/sched.h:47:1: error: empty declaration [-Werror] struct bpf_run_ctx; ^ /kisskb/src/include/linux/sched.h:48:1: error: empty declaration [-Werror] struct capture_control; ^ /kisskb/src/include/linux/sched.h:49:1: error: empty declaration [-Werror] struct cfs_rq; ^ /kisskb/src/include/linux/sched.h:50:1: error: empty declaration [-Werror] struct fs_struct; ^ /kisskb/src/include/linux/sched.h:51:1: error: empty declaration [-Werror] struct futex_pi_state; ^ /kisskb/src/include/linux/sched.h:52:1: error: empty declaration [-Werror] struct io_context; ^ /kisskb/src/include/linux/sched.h:53:1: error: empty declaration [-Werror] struct io_uring_task; ^ /kisskb/src/include/linux/sched.h:54:1: error: empty declaration [-Werror] struct mempolicy; ^ /kisskb/src/include/linux/sched.h:55:1: error: empty declaration [-Werror] struct nameidata; ^ /kisskb/src/include/linux/sched.h:56:1: error: empty declaration [-Werror] struct nsproxy; ^ /kisskb/src/include/linux/sched.h:57:1: error: empty declaration [-Werror] struct perf_event_context; ^ /kisskb/src/include/linux/sched.h:58:1: error: empty declaration [-Werror] struct pid_namespace; ^ /kisskb/src/include/linux/sched.h:59:1: error: empty declaration [-Werror] struct pipe_inode_info; ^ /kisskb/src/include/linux/sched.h:60:1: error: empty declaration [-Werror] struct rcu_node; ^ /kisskb/src/include/linux/sched.h:61:1: error: empty declaration [-Werror] struct reclaim_state; ^ /kisskb/src/include/linux/sched.h:62:1: error: empty declaration [-Werror] struct robust_list_head; ^ /kisskb/src/include/linux/sched.h:63:1: error: empty declaration [-Werror] struct root_domain; ^ /kisskb/src/include/linux/sched.h:64:1: error: empty declaration [-Werror] struct rq; ^ /kisskb/src/include/linux/sched.h:65:1: error: empty declaration [-Werror] struct sched_attr; ^ /kisskb/src/include/linux/sched.h:66:1: error: empty declaration [-Werror] struct sched_param; ^ /kisskb/src/include/linux/sched.h:67:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/sched.h:68:1: error: empty declaration [-Werror] struct sighand_struct; ^ /kisskb/src/include/linux/sched.h:69:1: error: empty declaration [-Werror] struct signal_struct; ^ /kisskb/src/include/linux/sched.h:70:1: error: empty declaration [-Werror] struct task_delay_info; ^ /kisskb/src/include/linux/sched.h:71:1: error: empty declaration [-Werror] struct task_group; ^ /kisskb/src/include/linux/sched.h:290:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/sched.h:294:13: error: storage class specified for parameter 'scheduler_tick' extern void scheduler_tick(void); ^ /kisskb/src/include/linux/sched.h:298:13: error: storage class specified for parameter 'schedule_timeout' extern long schedule_timeout(long timeout); ^ /kisskb/src/include/linux/sched.h:299:13: error: storage class specified for parameter 'schedule_timeout_interruptible' extern long schedule_timeout_interruptible(long timeout); ^ /kisskb/src/include/linux/sched.h:300:13: error: storage class specified for parameter 'schedule_timeout_killable' extern long schedule_timeout_killable(long timeout); ^ /kisskb/src/include/linux/sched.h:301:13: error: storage class specified for parameter 'schedule_timeout_uninterruptible' extern long schedule_timeout_uninterruptible(long timeout); ^ /kisskb/src/include/linux/sched.h:302:13: error: storage class specified for parameter 'schedule_timeout_idle' extern long schedule_timeout_idle(long timeout); ^ /kisskb/src/include/linux/sched.h:304:13: error: storage class specified for parameter 'schedule_preempt_disabled' extern void schedule_preempt_disabled(void); ^ /kisskb/src/include/linux/sched.h:310:25: error: storage class specified for parameter 'io_schedule_prepare' extern int __must_check io_schedule_prepare(void); ^ /kisskb/src/include/linux/sched.h:311:13: error: storage class specified for parameter 'io_schedule_finish' extern void io_schedule_finish(int token); ^ /kisskb/src/include/linux/sched.h:312:13: error: storage class specified for parameter 'io_schedule_timeout' extern long io_schedule_timeout(long timeout); ^ /kisskb/src/include/linux/sched.h:313:13: error: storage class specified for parameter 'io_schedule' extern void io_schedule(void); ^ /kisskb/src/include/linux/sched.h:324:1: error: empty declaration [-Werror] struct prev_cputime { ^ /kisskb/src/include/linux/sched.h:332:1: error: empty declaration [-Werror] enum vtime_state { ^ /kisskb/src/include/linux/sched.h:345:1: error: empty declaration [-Werror] struct vtime { ^ /kisskb/src/include/linux/sched.h:361:1: error: empty declaration [-Werror] enum uclamp_id { ^ /kisskb/src/include/linux/sched.h:368:27: error: storage class specified for parameter 'def_root_domain' extern struct root_domain def_root_domain; ^ /kisskb/src/include/linux/sched.h:369:21: error: storage class specified for parameter 'sched_domains_mutex' extern struct mutex sched_domains_mutex; ^ /kisskb/src/include/linux/sched.h:372:1: error: empty declaration [-Werror] struct sched_info { ^ /kisskb/src/include/linux/sched.h:407:1: error: empty declaration [-Werror] struct load_weight { ^ /kisskb/src/include/linux/sched.h:441:1: error: empty declaration [-Werror] struct util_est { ^ /kisskb/src/include/linux/sched.h:493:1: error: empty declaration [-Werror] struct sched_avg { ^ /kisskb/src/include/linux/sched.h:505:1: error: empty declaration [-Werror] struct sched_statistics { ^ /kisskb/src/include/linux/sched.h:547:1: error: empty declaration [-Werror] struct sched_entity { ^ /kisskb/src/include/linux/sched.h:583:1: error: empty declaration [-Werror] struct sched_rt_entity { ^ /kisskb/src/include/linux/sched.h:601:1: error: empty declaration [-Werror] struct sched_dl_entity { ^ /kisskb/src/include/linux/sched.h:701:1: error: empty declaration [-Werror] struct uclamp_se { ^ /kisskb/src/include/linux/sched.h:709:1: error: empty declaration [-Werror] union rcu_special { ^ /kisskb/src/include/linux/sched.h:719:1: error: empty declaration [-Werror] enum perf_event_task_context { ^ /kisskb/src/include/linux/sched.h:726:1: error: empty declaration [-Werror] struct wake_q_node { ^ /kisskb/src/include/linux/sched.h:730:1: error: empty declaration [-Werror] struct kmap_ctrl { ^ /kisskb/src/include/linux/sched.h:1108:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t blocked; ^ /kisskb/src/include/linux/sched.h:737:1: error: empty declaration [-Werror] struct task_struct { ^ /kisskb/src/include/linux/sched.h:1551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1569:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1579:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1585:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1600:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1605:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1610:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1621:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1631:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1636:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1648:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1697:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1711:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1715:20: error: storage class specified for parameter 'cad_pid' extern struct pid *cad_pid; ^ /kisskb/src/include/linux/sched.h:1783:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1814:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1815:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1817:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1818:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1819:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1821:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1822:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1823:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1825:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1826:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1827:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1829:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1830:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1831:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1833:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1834:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1836:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1837:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1838:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1840:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1841:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) ^ /kisskb/src/include/linux/sched.h:1845:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1850:12: error: storage class specified for parameter 'cpuset_cpumask_can_shrink' extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial); ^ /kisskb/src/include/linux/sched.h:1851:12: error: storage class specified for parameter 'task_can_attach' extern int task_can_attach(struct task_struct *p, const struct cpumask *cs_effective_cpus); ^ /kisskb/src/include/linux/sched.h:1853:13: error: storage class specified for parameter 'do_set_cpus_allowed' extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:1854:12: error: storage class specified for parameter 'set_cpus_allowed_ptr' extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:1855:12: error: storage class specified for parameter 'dup_user_cpus_ptr' extern int dup_user_cpus_ptr(struct task_struct *dst, struct task_struct *src, int node); ^ /kisskb/src/include/linux/sched.h:1856:13: error: storage class specified for parameter 'release_user_cpus_ptr' extern void release_user_cpus_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1857:12: error: storage class specified for parameter 'dl_task_check_affinity' extern int dl_task_check_affinity(struct task_struct *p, const struct cpumask *mask); ^ /kisskb/src/include/linux/sched.h:1858:13: error: storage class specified for parameter 'force_compatible_cpus_allowed_ptr' extern void force_compatible_cpus_allowed_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1859:13: error: storage class specified for parameter 'relax_compatible_cpus_allowed_ptr' extern void relax_compatible_cpus_allowed_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1887:12: error: storage class specified for parameter 'yield_to' extern int yield_to(struct task_struct *p, bool preempt); ^ /kisskb/src/include/linux/sched.h:1888:13: error: storage class specified for parameter 'set_user_nice' extern void set_user_nice(struct task_struct *p, long nice); ^ /kisskb/src/include/linux/sched.h:1889:12: error: storage class specified for parameter 'task_prio' extern int task_prio(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1898:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1902:12: error: storage class specified for parameter 'can_nice' extern int can_nice(const struct task_struct *p, const int nice); ^ /kisskb/src/include/linux/sched.h:1903:12: error: storage class specified for parameter 'task_curr' extern int task_curr(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1904:12: error: storage class specified for parameter 'idle_cpu' extern int idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1905:12: error: storage class specified for parameter 'available_idle_cpu' extern int available_idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1906:12: error: storage class specified for parameter 'sched_setscheduler' extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); ^ /kisskb/src/include/linux/sched.h:1907:12: error: storage class specified for parameter 'sched_setscheduler_nocheck' extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *); ^ /kisskb/src/include/linux/sched.h:1908:13: error: storage class specified for parameter 'sched_set_fifo' extern void sched_set_fifo(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1909:13: error: storage class specified for parameter 'sched_set_fifo_low' extern void sched_set_fifo_low(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1910:13: error: storage class specified for parameter 'sched_set_normal' extern void sched_set_normal(struct task_struct *p, int nice); ^ /kisskb/src/include/linux/sched.h:1911:12: error: storage class specified for parameter 'sched_setattr' extern int sched_setattr(struct task_struct *, const struct sched_attr *); ^ /kisskb/src/include/linux/sched.h:1912:12: error: storage class specified for parameter 'sched_setattr_nocheck' extern int sched_setattr_nocheck(struct task_struct *, const struct sched_attr *); ^ /kisskb/src/include/linux/sched.h:1913:28: error: storage class specified for parameter 'idle_task' extern struct task_struct *idle_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1926:28: error: storage class specified for parameter 'curr_task' extern struct task_struct *curr_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1927:13: error: storage class specified for parameter 'ia64_set_curr_task' extern void ia64_set_curr_task(int cpu, struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1931:1: error: empty declaration [-Werror] union thread_union { ^ /kisskb/src/include/linux/sched.h:1945:22: error: storage class specified for parameter 'init_stack' extern unsigned long init_stack[THREAD_SIZE / sizeof(unsigned long)]; ^ /kisskb/src/include/linux/sched.h:1964:28: error: storage class specified for parameter 'find_task_by_vpid' extern struct task_struct *find_task_by_vpid(pid_t nr); ^ /kisskb/src/include/linux/sched.h:1965:28: error: storage class specified for parameter 'find_task_by_pid_ns' extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); ^ /kisskb/src/include/linux/sched.h:1970:28: error: storage class specified for parameter 'find_get_task_by_vpid' extern struct task_struct *find_get_task_by_vpid(pid_t nr); ^ /kisskb/src/include/linux/sched.h:1972:12: error: storage class specified for parameter 'wake_up_state' extern int wake_up_state(struct task_struct *tsk, unsigned int state); ^ /kisskb/src/include/linux/sched.h:1973:12: error: storage class specified for parameter 'wake_up_process' extern int wake_up_process(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1974:13: error: storage class specified for parameter 'wake_up_new_task' extern void wake_up_new_task(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1977:13: error: storage class specified for parameter 'kick_process' extern void kick_process(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1982:13: error: storage class specified for parameter '__set_task_comm' extern void __set_task_comm(struct task_struct *tsk, const char *from, bool exec); ^ /kisskb/src/include/linux/sched.h:1985:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1989:14: error: storage class specified for parameter '__get_task_comm' extern char *__get_task_comm(char *to, size_t len, struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1997:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2005:22: error: storage class specified for parameter 'wait_task_inactive' extern unsigned long wait_task_inactive(struct task_struct *, unsigned int match_state); ^ /kisskb/src/include/linux/sched.h:2019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2024:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2030:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2035:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2040:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2045:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2050:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2055:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2060:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2071:12: error: storage class specified for parameter '__cond_resched' extern int __cond_resched(void); ^ /kisskb/src/include/linux/sched.h:2093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2110:12: error: storage class specified for parameter '__cond_resched_lock' extern int __cond_resched_lock(spinlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2111:12: error: storage class specified for parameter '__cond_resched_rwlock_read' extern int __cond_resched_rwlock_read(rwlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2112:12: error: storage class specified for parameter '__cond_resched_rwlock_write' extern int __cond_resched_rwlock_write(rwlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2244:13: error: storage class specified for parameter 'set_task_cpu' extern void set_task_cpu(struct task_struct *p, unsigned int cpu); ^ /kisskb/src/include/linux/sched.h:2259:13: error: storage class specified for parameter 'sched_task_on_rq' extern bool sched_task_on_rq(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2260:22: error: storage class specified for parameter 'get_wchan' extern unsigned long get_wchan(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2261:28: error: storage class specified for parameter 'cpu_curr_snapshot' extern struct task_struct *cpu_curr_snapshot(int cpu); ^ /kisskb/src/include/linux/sched.h:2278:13: error: storage class specified for parameter 'sched_setaffinity' extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:2279:13: error: storage class specified for parameter 'sched_getaffinity' extern long sched_getaffinity(pid_t pid, struct cpumask *mask); ^ /kisskb/src/include/linux/sched.h:2287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2305:1: error: empty declaration [-Werror] enum rseq_event_mask_bits { ^ /kisskb/src/include/linux/sched.h:2311:1: error: empty declaration [-Werror] enum rseq_event_mask { ^ /kisskb/src/include/linux/sched.h:2318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2343:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2350:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2360:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2420:13: error: storage class specified for parameter 'sched_core_free' extern void sched_core_free(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:2421:13: error: storage class specified for parameter 'sched_core_fork' extern void sched_core_fork(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2422:12: error: storage class specified for parameter 'sched_core_share_pid' extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, ^ /kisskb/src/include/linux/sched.h:2429:13: error: storage class specified for parameter 'sched_set_stop_task' extern void sched_set_stop_task(int cpu, struct task_struct *stop); ^ In file included from /kisskb/src/include/linux/sched/mm.h:10:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/sync_core.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/mm.h:11:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/ioasid.h:9:22: error: storage class specified for parameter 'ioasid_t' typedef unsigned int ioasid_t; ^ /kisskb/src/include/linux/ioasid.h:10:19: error: expected declaration specifiers or '...' before '*' token typedef ioasid_t (*ioasid_alloc_fn_t)(ioasid_t min, ioasid_t max, void *data); ^ /kisskb/src/include/linux/ioasid.h:11:34: error: expected declaration specifiers or '...' before 'ioasid_t' typedef void (*ioasid_free_fn_t)(ioasid_t ioasid, void *data); ^ /kisskb/src/include/linux/ioasid.h:13:1: error: empty declaration [-Werror] struct ioasid_set { ^ /kisskb/src/include/linux/ioasid.h:26:2: error: unknown type name 'ioasid_alloc_fn_t' ioasid_alloc_fn_t alloc; ^ /kisskb/src/include/linux/ioasid.h:27:2: error: unknown type name 'ioasid_free_fn_t' ioasid_free_fn_t free; ^ /kisskb/src/include/linux/ioasid.h:25:1: error: empty declaration [-Werror] struct ioasid_allocator_ops { ^ /kisskb/src/include/linux/ioasid.h:49:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ioasid_alloc' static inline ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ^ /kisskb/src/include/linux/ioasid.h:55:32: error: expected declaration specifiers or '...' before 'ioasid_t' static inline void ioasid_free(ioasid_t ioasid) { } ^ /kisskb/src/include/linux/ioasid.h:57:57: error: expected declaration specifiers or '...' before 'ioasid_t' static inline void *ioasid_find(struct ioasid_set *set, ioasid_t ioasid, ^ /kisskb/src/include/linux/ioasid.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioasid.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioasid.h:72:35: error: expected declaration specifiers or '...' before 'ioasid_t' static inline int ioasid_set_data(ioasid_t ioasid, void *data) ^ /kisskb/src/include/linux/ioasid.h:77:32: error: expected declaration specifiers or '...' before 'ioasid_t' static inline bool pasid_valid(ioasid_t ioasid) ^ In file included from /kisskb/src/include/linux/xarray.h:19:0, from /kisskb/src/include/linux/list_lru.h:14, 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/mm.h:16:26: error: storage class specified for parameter 'mm_alloc' extern struct mm_struct *mm_alloc(void); ^ /kisskb/src/include/linux/sched/mm.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:40:13: error: storage class specified for parameter '__mmdrop' extern void __mmdrop(struct mm_struct *mm); ^ /kisskb/src/include/linux/sched/mm.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:109:13: error: storage class specified for parameter 'mmput' extern void mmput(struct mm_struct *); ^ /kisskb/src/include/linux/sched/mm.h:118:26: error: storage class specified for parameter 'get_task_mm' extern struct mm_struct *get_task_mm(struct task_struct *task); ^ /kisskb/src/include/linux/sched/mm.h:124:26: error: storage class specified for parameter 'mm_access' extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode); ^ /kisskb/src/include/linux/sched/mm.h:126:13: error: storage class specified for parameter 'exit_mm_release' extern void exit_mm_release(struct task_struct *, struct mm_struct *); ^ /kisskb/src/include/linux/sched/mm.h:128:13: error: storage class specified for parameter 'exec_mm_release' extern void exec_mm_release(struct task_struct *, struct mm_struct *); ^ /kisskb/src/include/linux/sched/mm.h:131:13: error: storage class specified for parameter 'mm_update_next_owner' extern void mm_update_next_owner(struct mm_struct *mm); ^ /kisskb/src/include/linux/sched/mm.h:147:13: error: storage class specified for parameter 'arch_pick_mmap_layout' extern void arch_pick_mmap_layout(struct mm_struct *mm, ^ /kisskb/src/include/linux/sched/mm.h:150:1: error: storage class specified for parameter 'arch_get_unmapped_area' arch_get_unmapped_area(struct file *, unsigned long, unsigned long, ^ /kisskb/src/include/linux/sched/mm.h:153:1: error: storage class specified for parameter 'arch_get_unmapped_area_topdown' arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr, ^ /kisskb/src/include/linux/sched/mm.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:224:13: error: storage class specified for parameter '__fs_reclaim_acquire' extern void __fs_reclaim_acquire(unsigned long ip); ^ /kisskb/src/include/linux/sched/mm.h:225:13: error: storage class specified for parameter '__fs_reclaim_release' extern void __fs_reclaim_release(unsigned long ip); ^ /kisskb/src/include/linux/sched/mm.h:226:13: error: storage class specified for parameter 'fs_reclaim_acquire' extern void fs_reclaim_acquire(gfp_t gfp_mask); ^ /kisskb/src/include/linux/sched/mm.h:227:13: error: storage class specified for parameter 'fs_reclaim_release' extern void fs_reclaim_release(gfp_t gfp_mask); ^ /kisskb/src/include/linux/sched/mm.h:243:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:289:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:335:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:340:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:347:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:352:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:360:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_int_active_memcg' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/sched/mm.h:365:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_int_active_memcg' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/sched/mm.h:365:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ /kisskb/src/include/linux/sched/mm.h:365:38: error: storage class specified for parameter 'int_active_memcg' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/sched/mm.h:365:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ /kisskb/src/include/linux/sched/mm.h:365:38: error: section attribute not allowed for 'int_active_memcg' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/sched/mm.h:365:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mem_cgroup *, int_active_memcg); ^ In file included from /kisskb/src/include/linux/xarray.h:19:0, from /kisskb/src/include/linux/list_lru.h:14, 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/mm.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:401:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/sched/mm.h:412:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/sched/mm.h:418:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/arch/powerpc/include/asm/membarrier.h:7:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/xarray.h:19:0, from /kisskb/src/include/linux/list_lru.h:14, 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/mm.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:431:13: error: storage class specified for parameter 'membarrier_exec_mmap' extern void membarrier_exec_mmap(struct mm_struct *mm); ^ /kisskb/src/include/linux/sched/mm.h:433:13: error: storage class specified for parameter 'membarrier_update_current_mm' extern void membarrier_update_current_mm(struct mm_struct *next_mm); ^ /kisskb/src/include/linux/sched/mm.h:474:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_init(struct mm_struct *mm) {} ^ /kisskb/src/include/linux/sched/mm.h:475:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) {} ^ /kisskb/src/include/linux/sched/mm.h:476:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_drop(struct mm_struct *mm) {} ^ In file included from /kisskb/src/include/linux/list_lru.h:14:0, 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/xarray.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:239:1: error: empty declaration [-Werror] struct xa_limit { ^ /kisskb/src/include/linux/xarray.h:250:28: error: storage class specified for parameter 'xa_mark_t' typedef unsigned __bitwise xa_mark_t; ^ /kisskb/src/include/linux/xarray.h:258:1: error: empty declaration [-Werror] enum xa_lock_type { ^ /kisskb/src/include/linux/xarray.h:296:1: error: empty declaration [-Werror] struct xarray { ^ /kisskb/src/include/linux/xarray.h:356:56: error: expected declaration specifiers or '...' before 'xa_mark_t' bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:357:56: error: expected declaration specifiers or '...' before 'xa_mark_t' void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:358:58: error: expected declaration specifiers or '...' before 'xa_mark_t' void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:360:22: error: expected declaration specifiers or '...' before 'xa_mark_t' unsigned long max, xa_mark_t) __attribute__((nonnull(2))); ^ /kisskb/src/include/linux/xarray.h:362:22: error: expected declaration specifiers or '...' before 'xa_mark_t' unsigned long max, xa_mark_t) __attribute__((nonnull(2))); ^ /kisskb/src/include/linux/xarray.h:364:38: error: expected declaration specifiers or '...' before 'xa_mark_t' unsigned long max, unsigned int n, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:394:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:406:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:418:55: error: expected declaration specifiers or '...' before 'xa_mark_t' static inline bool xa_marked(const struct xarray *xa, xa_mark_t mark) ^ /kisskb/src/include/linux/xarray.h:568:58: error: expected declaration specifiers or '...' before 'xa_mark_t' void __xa_set_mark(struct xarray *, unsigned long index, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:569:60: error: expected declaration specifiers or '...' before 'xa_mark_t' void __xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:587:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:614:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:639:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:690:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:718:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:746:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:806:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:836:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:866:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:896:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:926:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:960:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:994:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1028:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1059:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1077:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1095:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1140:1: error: empty declaration [-Werror] struct xa_node { ^ /kisskb/src/include/linux/xarray.h:1181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1289:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1305:16: error: storage class specified for parameter 'xa_update_node_t' typedef void (*xa_update_node_t)(struct xa_node *node); ^ /kisskb/src/include/linux/xarray.h:1307:39: error: expected declaration specifiers or '...' before 'xa_update_node_t' void xa_delete_node(struct xa_node *, xa_update_node_t); ^ /kisskb/src/include/linux/xarray.h:1335:2: error: expected specifier-qualifier-list before 'xa_update_node_t' xa_update_node_t xa_update; ^ /kisskb/src/include/linux/xarray.h:1326:1: error: empty declaration [-Werror] struct xa_state { ^ /kisskb/src/include/linux/xarray.h:1408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1433:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1461:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1473:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1488:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1519:44: error: expected declaration specifiers or '...' before 'xa_mark_t' bool xas_get_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1520:44: error: expected declaration specifiers or '...' before 'xa_mark_t' void xas_set_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1521:46: error: expected declaration specifiers or '...' before 'xa_mark_t' void xas_clear_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1522:61: error: expected declaration specifiers or '...' before 'xa_mark_t' void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1568:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1648:57: error: expected declaration specifiers or '...' before 'xa_update_node_t' static inline void xas_set_update(struct xa_state *xas, xa_update_node_t update) ^ /kisskb/src/include/linux/xarray.h:1653:61: error: 'struct list_lru' declared inside parameter list [-Werror] static inline void xas_set_lru(struct xa_state *xas, struct list_lru *lru) ^ /kisskb/src/include/linux/xarray.h:1653:61: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /kisskb/src/include/linux/xarray.h:1654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1670:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1695:3: error: expected declaration specifiers or '...' before 'xa_mark_t' xa_mark_t mark) ^ /kisskb/src/include/linux/xarray.h:1727:9: error: expected declaration specifiers or '...' before 'xa_mark_t' xa_mark_t mark) ^ /kisskb/src/include/linux/xarray.h:1752:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/xarray.h:1826:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1855:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/fs.h:13:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/list_lru.h:16:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/list_lru.h:19:1: error: empty declaration [-Werror] enum lru_status { ^ /kisskb/src/include/linux/list_lru.h:29:1: error: empty declaration [-Werror] struct list_lru_one { ^ /kisskb/src/include/linux/list_lru.h:35:1: error: empty declaration [-Werror] struct list_lru_memcg { ^ /kisskb/src/include/linux/list_lru.h:41:1: error: empty declaration [-Werror] struct list_lru_node { ^ /kisskb/src/include/linux/list_lru.h:49:1: error: empty declaration [-Werror] struct list_lru { ^ /kisskb/src/include/linux/list_lru.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_lru.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_lru.h:140:27: error: storage class specified for parameter 'list_lru_walk_cb' typedef enum lru_status (*list_lru_walk_cb)(struct list_head *item, ^ /kisskb/src/include/linux/list_lru.h:167:5: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk_cb isolate, void *cb_arg, ^ /kisskb/src/include/linux/list_lru.h:184:9: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk_cb isolate, void *cb_arg, ^ /kisskb/src/include/linux/list_lru.h:187:6: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk_cb isolate, void *cb_arg, ^ /kisskb/src/include/linux/list_lru.h:192:8: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk_cb isolate, void *cb_arg) ^ /kisskb/src/include/linux/list_lru.h:200:5: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk_cb isolate, void *cb_arg) ^ /kisskb/src/include/linux/list_lru.h:207:37: error: expected declaration specifiers or '...' before 'list_lru_walk_cb' list_lru_walk(struct list_lru *lru, list_lru_walk_cb isolate, ^ In file included from /kisskb/src/include/linux/fs.h:15:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/radix-tree.h:29:2: error: expected specifier-qualifier-list before 'local_lock_t' local_lock_t lock; ^ /kisskb/src/include/linux/radix-tree.h:28:1: error: empty declaration [-Werror] struct radix_tree_preload { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_radix_tree_preloads' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/radix-tree.h:34:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_radix_tree_preloads' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/radix-tree.h:34:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ /kisskb/src/include/linux/radix-tree.h:34:44: error: storage class specified for parameter 'radix_tree_preloads' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/radix-tree.h:34:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ /kisskb/src/include/linux/radix-tree.h:34:44: error: section attribute not allowed for 'radix_tree_preloads' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/radix-tree.h:34:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct radix_tree_preload, radix_tree_preloads); ^ In file included from /kisskb/src/include/linux/fs.h:15:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/radix-tree.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:106:1: error: empty declaration [-Werror] struct radix_tree_iter { ^ /kisskb/src/include/linux/radix-tree.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:193:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:267:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/radix-tree.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/radix-tree.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/capability.h:16:0, from /kisskb/src/include/linux/fs.h:24, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/capability.h:42:11: error: storage class specified for parameter 'cap_user_header_t' } __user *cap_user_header_t; ^ /kisskb/src/include/uapi/linux/capability.h:48:11: error: storage class specified for parameter 'cap_user_data_t' } __user *cap_user_data_t; ^ /kisskb/src/include/uapi/linux/capability.h:72:1: error: empty declaration [-Werror] struct vfs_cap_data { ^ /kisskb/src/include/uapi/linux/capability.h:83:1: error: empty declaration [-Werror] struct vfs_ns_cap_data { ^ In file included from /kisskb/src/include/linux/fs.h:24:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/capability.h:22:12: error: storage class specified for parameter 'file_caps_enabled' extern int file_caps_enabled; ^ /kisskb/src/include/linux/capability.h:26:3: error: storage class specified for parameter 'kernel_cap_t' } kernel_cap_t; ^ /kisskb/src/include/linux/capability.h:31:2: error: expected specifier-qualifier-list before 'kernel_cap_t' kernel_cap_t permitted; ^ /kisskb/src/include/linux/capability.h:29:1: error: empty declaration [-Werror] struct cpu_vfs_cap_data { ^ /kisskb/src/include/linux/capability.h:40:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/capability.h:41:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/capability.h:42:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/capability.h:43:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/capability.h:44:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/capability.h:46:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cap_empty_set' extern const kernel_cap_t __cap_empty_set; ^ /kisskb/src/include/linux/capability.h:47:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cap_init_eff_set' extern const kernel_cap_t __cap_init_eff_set; ^ /kisskb/src/include/linux/capability.h:118:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_combine' static inline kernel_cap_t cap_combine(const kernel_cap_t a, ^ /kisskb/src/include/linux/capability.h:126:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_intersect' static inline kernel_cap_t cap_intersect(const kernel_cap_t a, ^ /kisskb/src/include/linux/capability.h:134:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_drop' static inline kernel_cap_t cap_drop(const kernel_cap_t a, ^ /kisskb/src/include/linux/capability.h:142:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_invert' static inline kernel_cap_t cap_invert(const kernel_cap_t c) ^ /kisskb/src/include/linux/capability.h:149:38: error: type defaults to 'int' in declaration of 'kernel_cap_t' [-Werror=implicit-int] static inline bool cap_isclear(const kernel_cap_t a) ^ /kisskb/src/include/linux/capability.h:149:51: error: expected ';', ',' or ')' before 'a' static inline bool cap_isclear(const kernel_cap_t a) ^ /kisskb/src/include/linux/capability.h:166:39: error: type defaults to 'int' in declaration of 'kernel_cap_t' [-Werror=implicit-int] static inline bool cap_issubset(const kernel_cap_t a, const kernel_cap_t set) ^ /kisskb/src/include/linux/capability.h:166:52: error: expected ';', ',' or ')' before 'a' static inline bool cap_issubset(const kernel_cap_t a, const kernel_cap_t set) ^ /kisskb/src/include/linux/capability.h:175:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_drop_fs_set' static inline kernel_cap_t cap_drop_fs_set(const kernel_cap_t a) ^ /kisskb/src/include/linux/capability.h:181:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_raise_fs_set' static inline kernel_cap_t cap_raise_fs_set(const kernel_cap_t a, ^ /kisskb/src/include/linux/capability.h:189:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_drop_nfsd_set' static inline kernel_cap_t cap_drop_nfsd_set(const kernel_cap_t a) ^ /kisskb/src/include/linux/capability.h:195:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_raise_nfsd_set' static inline kernel_cap_t cap_raise_nfsd_set(const kernel_cap_t a, ^ /kisskb/src/include/linux/capability.h:204:13: error: storage class specified for parameter 'has_capability' extern bool has_capability(struct task_struct *t, int cap); ^ /kisskb/src/include/linux/capability.h:205:13: error: storage class specified for parameter 'has_ns_capability' extern bool has_ns_capability(struct task_struct *t, ^ /kisskb/src/include/linux/capability.h:207:13: error: storage class specified for parameter 'has_capability_noaudit' extern bool has_capability_noaudit(struct task_struct *t, int cap); ^ /kisskb/src/include/linux/capability.h:208:13: error: storage class specified for parameter 'has_ns_capability_noaudit' extern bool has_ns_capability_noaudit(struct task_struct *t, ^ /kisskb/src/include/linux/capability.h:210:13: error: storage class specified for parameter 'capable' extern bool capable(int cap); ^ /kisskb/src/include/linux/capability.h:211:13: error: storage class specified for parameter 'ns_capable' extern bool ns_capable(struct user_namespace *ns, int cap); ^ /kisskb/src/include/linux/capability.h:212:13: error: storage class specified for parameter 'ns_capable_noaudit' extern bool ns_capable_noaudit(struct user_namespace *ns, int cap); ^ /kisskb/src/include/linux/capability.h:213:13: error: storage class specified for parameter 'ns_capable_setid' extern bool ns_capable_setid(struct user_namespace *ns, int cap); ^ /kisskb/src/include/linux/capability.h:255:13: error: storage class specified for parameter 'file_ns_capable' extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap); ^ /kisskb/src/include/linux/capability.h:256:13: error: storage class specified for parameter 'ptracer_capable' extern bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns); ^ /kisskb/src/include/linux/capability.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/capability.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/capability.h:268:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/fs.h:25:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/semaphore.h:15:1: error: empty declaration [-Werror] struct semaphore { ^ /kisskb/src/include/linux/semaphore.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/semaphore.h:38:13: error: storage class specified for parameter 'down' extern void down(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:39:25: error: storage class specified for parameter 'down_interruptible' extern int __must_check down_interruptible(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:40:25: error: storage class specified for parameter 'down_killable' extern int __must_check down_killable(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:41:25: error: storage class specified for parameter 'down_trylock' extern int __must_check down_trylock(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:42:25: error: storage class specified for parameter 'down_timeout' extern int __must_check down_timeout(struct semaphore *sem, long jiffies); ^ /kisskb/src/include/linux/semaphore.h:43:13: error: storage class specified for parameter 'up' extern void up(struct semaphore *sem); ^ In file included from /kisskb/src/arch/powerpc/include/uapi/asm/fcntl.h:10:0, from /kisskb/src/include/uapi/linux/fcntl.h:5, from /kisskb/src/include/linux/fcntl.h:6, from /kisskb/src/include/linux/fs.h:26, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/asm-generic/fcntl.h:156:1: error: empty declaration [-Werror] struct f_owner_ex { ^ /kisskb/src/include/uapi/asm-generic/fcntl.h:196:1: error: empty declaration [-Werror] struct flock { ^ /kisskb/src/include/uapi/asm-generic/fcntl.h:210:1: error: empty declaration [-Werror] struct flock64 { ^ In file included from /kisskb/src/include/uapi/linux/fcntl.h:6:0, from /kisskb/src/include/linux/fcntl.h:6, from /kisskb/src/include/linux/fs.h:26, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/openat2.h:19:1: error: empty declaration [-Werror] struct open_how { ^ In file included from /kisskb/src/include/linux/fs.h:30:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/migrate_mode.h:15:1: error: empty declaration [-Werror] enum migrate_mode { ^ /kisskb/src/include/linux/migrate_mode.h:22:1: error: empty declaration [-Werror] enum migrate_reason { ^ In file included from /kisskb/src/include/linux/sched/signal.h:6:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/signal.h:9:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/signal.h:12:12: error: storage class specified for parameter 'print_fatal_signals' extern int print_fatal_signals; ^ /kisskb/src/include/linux/signal.h:14:33: error: expected declaration specifiers or '...' before 'kernel_siginfo_t' static inline void copy_siginfo(kernel_siginfo_t *to, ^ /kisskb/src/include/linux/signal.h:15:11: error: type defaults to 'int' in declaration of 'kernel_siginfo_t' [-Werror=implicit-int] const kernel_siginfo_t *from) ^ /kisskb/src/include/linux/signal.h:15:28: error: expected ';', ',' or ')' before '*' token const kernel_siginfo_t *from) ^ /kisskb/src/include/linux/signal.h:20:34: error: expected declaration specifiers or '...' before 'kernel_siginfo_t' static inline void clear_siginfo(kernel_siginfo_t *info) ^ /kisskb/src/include/linux/signal.h:27:45: error: expected declaration specifiers or '...' before 'siginfo_t' static inline void copy_siginfo_to_external(siginfo_t *to, ^ /kisskb/src/include/linux/signal.h:28:16: error: type defaults to 'int' in declaration of 'kernel_siginfo_t' [-Werror=implicit-int] const kernel_siginfo_t *from) ^ /kisskb/src/include/linux/signal.h:28:33: error: expected ';', ',' or ')' before '*' token const kernel_siginfo_t *from) ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/signal.h:35:36: note: in expansion of macro '__user' int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from); ^ In file included from /kisskb/src/include/linux/sched/signal.h:6:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/signal.h:36:28: error: expected declaration specifiers or '...' before 'kernel_siginfo_t' int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from); ^ /kisskb/src/include/linux/signal.h:36:56: error: type defaults to 'int' in declaration of 'siginfo_t' [-Werror=implicit-int] int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from); ^ /kisskb/src/include/linux/signal.h:36:73: error: expected ';', ',' or ')' before '*' token int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from); ^ /kisskb/src/include/linux/signal.h:38:1: error: empty declaration [-Werror] enum siginfo_layout { ^ /kisskb/src/include/linux/signal.h:64:30: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigaddset(sigset_t *set, int _sig) ^ /kisskb/src/include/linux/signal.h:73:30: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigdelset(sigset_t *set, int _sig) ^ /kisskb/src/include/linux/signal.h:82:31: error: expected declaration specifiers or '...' before 'sigset_t' static inline int sigismember(sigset_t *set, int _sig) ^ /kisskb/src/include/linux/signal.h:93:33: error: expected declaration specifiers or '...' before 'sigset_t' static inline int sigisemptyset(sigset_t *set) ^ /kisskb/src/include/linux/signal.h:109:38: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] static inline int sigequalsets(const sigset_t *set1, const sigset_t *set2) ^ /kisskb/src/include/linux/signal.h:109:47: error: expected ';', ',' or ')' before '*' token static inline int sigequalsets(const sigset_t *set1, const sigset_t *set2) ^ /kisskb/src/include/linux/signal.h:131:25: error: expected declaration specifiers or '...' before 'sigset_t' static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:156:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigorsets, _sig_or) ^ /kisskb/src/include/linux/signal.h:131:44: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:156:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigorsets, _sig_or) ^ /kisskb/src/include/linux/signal.h:131:53: error: expected ';', ',' or ')' before '*' token static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:156:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigorsets, _sig_or) ^ /kisskb/src/include/linux/signal.h:131:25: error: expected declaration specifiers or '...' before 'sigset_t' static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:159:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandsets, _sig_and) ^ /kisskb/src/include/linux/signal.h:131:44: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:159:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandsets, _sig_and) ^ /kisskb/src/include/linux/signal.h:131:53: error: expected ';', ',' or ')' before '*' token static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:159:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandsets, _sig_and) ^ /kisskb/src/include/linux/signal.h:131:25: error: expected declaration specifiers or '...' before 'sigset_t' static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:162:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandnsets, _sig_andn) ^ /kisskb/src/include/linux/signal.h:131:44: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:162:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandnsets, _sig_andn) ^ /kisskb/src/include/linux/signal.h:131:53: error: expected ';', ',' or ')' before '*' token static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \ ^ /kisskb/src/include/linux/signal.h:162:1: note: in expansion of macro '_SIG_SET_BINOP' _SIG_SET_BINOP(sigandnsets, _sig_andn) ^ /kisskb/src/include/linux/signal.h:170:25: error: expected declaration specifiers or '...' before 'sigset_t' static inline void name(sigset_t *set) \ ^ /kisskb/src/include/linux/signal.h:186:1: note: in expansion of macro '_SIG_SET_OP' _SIG_SET_OP(signotset, _sig_not) ^ /kisskb/src/include/linux/signal.h:191:32: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigemptyset(sigset_t *set) ^ /kisskb/src/include/linux/signal.h:204:31: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigfillset(sigset_t *set) ^ /kisskb/src/include/linux/signal.h:219:34: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigaddsetmask(sigset_t *set, unsigned long mask) ^ /kisskb/src/include/linux/signal.h:224:34: error: expected declaration specifiers or '...' before 'sigset_t' static inline void sigdelsetmask(sigset_t *set, unsigned long mask) ^ /kisskb/src/include/linux/signal.h:229:34: error: expected declaration specifiers or '...' before 'sigset_t' static inline int sigtestsetmask(sigset_t *set, unsigned long mask) ^ /kisskb/src/include/linux/signal.h:234:31: error: expected declaration specifiers or '...' before 'sigset_t' static inline void siginitset(sigset_t *set, unsigned long mask) ^ /kisskb/src/include/linux/signal.h:247:34: error: expected declaration specifiers or '...' before 'sigset_t' static inline void siginitsetinv(sigset_t *set, unsigned long mask) ^ /kisskb/src/include/linux/signal.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/signal.h:268:13: error: storage class specified for parameter 'flush_sigqueue' extern void flush_sigqueue(struct sigpending *queue); ^ /kisskb/src/include/linux/signal.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/signal.h:276:1: error: empty declaration [-Werror] struct timespec; ^ /kisskb/src/include/linux/signal.h:277:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/include/linux/signal.h:278:1: error: empty declaration [-Werror] enum pid_type; ^ /kisskb/src/include/linux/signal.h:280:52: error: expected declaration specifiers or '...' before 'sigset_t' extern int next_signal(struct sigpending *pending, sigset_t *mask); ^ /kisskb/src/include/linux/signal.h:281:12: error: storage class specified for parameter 'do_send_sig_info' extern int do_send_sig_info(int sig, struct kernel_siginfo *info, ^ /kisskb/src/include/linux/signal.h:283:12: error: storage class specified for parameter 'group_send_sig_info' extern int group_send_sig_info(int sig, struct kernel_siginfo *info, ^ /kisskb/src/include/linux/signal.h:285:12: error: storage class specified for parameter 'send_signal_locked' extern int send_signal_locked(int sig, struct kernel_siginfo *info, ^ /kisskb/src/include/linux/signal.h:287:29: error: expected declaration specifiers or '...' before 'sigset_t' extern int sigprocmask(int, sigset_t *, sigset_t *); ^ /kisskb/src/include/linux/signal.h:287:41: error: expected declaration specifiers or '...' before 'sigset_t' extern int sigprocmask(int, sigset_t *, sigset_t *); ^ /kisskb/src/include/linux/signal.h:288:33: error: expected declaration specifiers or '...' before 'sigset_t' extern void set_current_blocked(sigset_t *); ^ /kisskb/src/include/linux/signal.h:289:41: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] extern void __set_current_blocked(const sigset_t *); ^ /kisskb/src/include/linux/signal.h:289:50: error: expected ';', ',' or ')' before '*' token extern void __set_current_blocked(const sigset_t *); ^ /kisskb/src/include/linux/signal.h:290:12: error: storage class specified for parameter 'show_unhandled_signals' extern int show_unhandled_signals; ^ /kisskb/src/include/linux/signal.h:292:13: error: storage class specified for parameter 'get_signal' extern bool get_signal(struct ksignal *ksig); ^ /kisskb/src/include/linux/signal.h:293:13: error: storage class specified for parameter 'signal_setup_done' extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); ^ /kisskb/src/include/linux/signal.h:294:13: error: storage class specified for parameter 'exit_signals' extern void exit_signals(struct task_struct *tsk); ^ /kisskb/src/include/linux/signal.h:295:35: error: unknown type name '__sighandler_t' extern void kernel_sigaction(int, __sighandler_t); ^ /kisskb/src/include/linux/signal.h:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/signal.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/signal.h:321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/signal.h:325:27: error: storage class specified for parameter 'sighand_cachep' extern struct kmem_cache *sighand_cachep; ^ /kisskb/src/include/linux/signal.h:327:13: error: storage class specified for parameter 'unhandled_signal' extern bool unhandled_signal(struct task_struct *tsk, int sig); ^ /kisskb/src/include/linux/signal.h:456:28: error: type defaults to 'int' in declaration of 'stack_t' [-Werror=implicit-int] int restore_altstack(const stack_t __user *); ^ /kisskb/src/include/linux/signal.h:456:43: error: expected ';', ',' or ')' before '*' token int restore_altstack(const stack_t __user *); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/signal.h:457:29: note: in expansion of macro '__user' int __save_altstack(stack_t __user *, unsigned long); ^ In file included from /kisskb/src/include/linux/sched/signal.h:6:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/signal.h:470:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool sigaltstack_size_valid(size_t size) { return true; } ^ /kisskb/src/include/linux/signal.h:474:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/signal.h:475:62: error: expected declaration specifiers or '...' before 'sigset_t' extern void render_sigset_t(struct seq_file *, const char *, sigset_t *); ^ /kisskb/src/include/linux/signal.h:487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/signal.h:8:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched/jobctl.h:7:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/sched/jobctl.h:43:13: error: storage class specified for parameter 'task_set_jobctl_pending' extern bool task_set_jobctl_pending(struct task_struct *task, unsigned long mask); ^ /kisskb/src/include/linux/sched/jobctl.h:44:13: error: storage class specified for parameter 'task_clear_jobctl_trapping' extern void task_clear_jobctl_trapping(struct task_struct *task); ^ /kisskb/src/include/linux/sched/jobctl.h:45:13: error: storage class specified for parameter 'task_clear_jobctl_pending' extern void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask); ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/arch/powerpc/include/asm/book3s/64/kup.h:198:26: error: storage class specified for parameter 'uaccess_flush_key' DECLARE_STATIC_KEY_FALSE(uaccess_flush_key); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/arch/powerpc/include/asm/kup.h:10:0, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:202:28: error: storage class specified for parameter 'default_uamor' extern u64 __ro_after_init default_uamor; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:202:28: error: section attribute not allowed for 'default_uamor' /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:203:28: error: storage class specified for parameter 'default_amr' extern u64 __ro_after_init default_amr; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:203:28: error: section attribute not allowed for 'default_amr' /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:204:28: error: storage class specified for parameter 'default_iamr' extern u64 __ro_after_init default_iamr; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:204:28: error: section attribute not allowed for 'default_iamr' /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:233:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:332:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:367:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup.h:420:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8:0, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/kup.h:34:13: error: storage class specified for parameter 'disable_kuep' extern bool disable_kuep; ^ /kisskb/src/arch/powerpc/include/asm/kup.h:35:13: error: storage class specified for parameter 'disable_kuap' extern bool disable_kuap; ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:8:0, from /kisskb/src/arch/powerpc/include/asm/book3s/tlbflush.h:6, from /kisskb/src/arch/powerpc/include/asm/tlbflush.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:11, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:14:1: error: empty declaration [-Werror] struct ppc64_tlb_batch { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_ppc64_tlb_batch' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_ppc64_tlb_batch' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:41: error: storage class specified for parameter 'ppc64_tlb_batch' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:41: error: section attribute not allowed for 'ppc64_tlb_batch' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:23:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch); ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:8:0, from /kisskb/src/arch/powerpc/include/asm/book3s/tlbflush.h:6, from /kisskb/src/arch/powerpc/include/asm/tlbflush.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:11, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:25:13: error: storage class specified for parameter '__flush_tlb_pending' extern void __flush_tlb_pending(struct ppc64_tlb_batch *batch); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:54:13: error: storage class specified for parameter 'hash__tlbiel_all' extern void hash__tlbiel_all(unsigned int action); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:56:13: error: storage class specified for parameter 'flush_hash_page' extern void flush_hash_page(unsigned long vpn, real_pte_t pte, int psize, ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:58:13: error: storage class specified for parameter 'flush_hash_range' extern void flush_hash_range(unsigned long number, int local); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:59:13: error: storage class specified for parameter 'flush_hash_hugepage' extern void flush_hash_hugepage(unsigned long vsid, unsigned long addr, ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:113:1: error: empty declaration [-Werror] struct mmu_gather; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:114:13: error: storage class specified for parameter 'hash__tlb_flush' extern void hash__tlb_flush(struct mmu_gather *tlb); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:119:13: error: storage class specified for parameter '__flush_hash_table_range' extern void __flush_hash_table_range(unsigned long start, unsigned long end); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:120:13: error: storage class specified for parameter 'flush_tlb_pmd_range' extern void flush_tlb_pmd_range(struct mm_struct *mm, pmd_t *pmd, ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:120:13: error: redefinition of parameter 'flush_tlb_pmd_range' /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:115:6: note: previous definition of 'flush_tlb_pmd_range' was here void flush_tlb_pmd_range(struct mm_struct *mm, pmd_t *pmd, unsigned long addr); ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/tlbflush.h:6:0, from /kisskb/src/arch/powerpc/include/asm/tlbflush.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:11, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:12:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:217:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:222:13: error: storage class specified for parameter 'tlbie_capable' extern bool tlbie_capable; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:223:13: error: storage class specified for parameter 'tlbie_enabled' extern bool tlbie_enabled; ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:13:1: error: empty declaration [-Werror] struct mm_struct; ^ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:18:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:15:13: error: storage class specified for parameter 'set_pte_at' extern void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, ^ /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:20:12: error: storage class specified for parameter 'ptep_set_access_flags' extern int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, ^ /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:23:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:24:17: error: storage class specified for parameter 'phys_mem_access_prot' extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, ^ /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:6:0, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:73:22: error: storage class specified for parameter 'empty_zero_page' extern unsigned long empty_zero_page[]; ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:76:14: error: storage class specified for parameter 'swapper_pg_dir' extern pgd_t swapper_pg_dir[]; ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:78:13: error: storage class specified for parameter 'paging_init' extern void paging_init(void); ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:81:22: error: storage class specified for parameter 'ioremap_bot' extern unsigned long ioremap_bot; ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:82:23: error: storage class specified for parameter 'protection_map' extern const pgprot_t protection_map[16]; ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:105:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mark_initmem_nx(void) { } ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pgtable.h:176:1: error: empty declaration [-Werror] struct seq_file; ^ In file included from /kisskb/src/include/linux/pgtable.h:14:0, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/asm-generic/pgtable_uffd.h:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:15:0, from /kisskb/src/arch/powerpc/include/asm/kup.h:37, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/page_table_check.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kup.h:37:0, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/pgtable.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:127:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/linux/pgtable.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:428:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:443:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:449:14: error: storage class specified for parameter 'ptep_clear_flush' extern pte_t ptep_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:455:14: error: storage class specified for parameter 'pmdp_huge_clear_flush' extern pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:458:14: error: storage class specified for parameter 'pudp_huge_clear_flush' extern pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:579:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:607:14: error: storage class specified for parameter 'pmdp_invalidate_ad' extern pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:670:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:677:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:733:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:751:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:763:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:774:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:780:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:865:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:876:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:887:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:900:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:912:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:988:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1315:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1433:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1469:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void p4d_clear_huge(p4d_t *p4d) { } ^ /kisskb/src/include/linux/pgtable.h:1534:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/pgtable.h:1539:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void init_espfix_bsp(void) { } ^ /kisskb/src/include/linux/pgtable.h:1542:20: error: storage class specified for parameter 'pgtable_cache_init' extern void __init pgtable_cache_init(void); ^ /kisskb/src/include/linux/pgtable.h:1542:20: error: section attribute not allowed for 'pgtable_cache_init' /kisskb/src/include/linux/pgtable.h:1542:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init pgtable_cache_init(void); ^ /kisskb/src/include/linux/pgtable.h:1542:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/pgtable.h:1546:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1595:22: error: storage class specified for parameter 'pgtbl_mod_mask' typedef unsigned int pgtbl_mod_mask; ^ In file included from /kisskb/src/arch/powerpc/include/asm/uaccess.h:8:0, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/kup.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kup.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/uaccess.h:15:0, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/asm-generic/access_ok.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/uaccess.h:11:0, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/uaccess.h:277:22: error: storage class specified for parameter '__copy_tofrom_user' extern unsigned long __copy_tofrom_user(void __user *to, ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:283:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:295:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:333:13: error: storage class specified for parameter 'strncpy_from_user' extern long strncpy_from_user(char *dst, const char __user *src, long count); ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:334:26: error: storage class specified for parameter 'strnlen_user' extern __must_check long strnlen_user(const char __user *str, long n); ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:362:13: error: storage class specified for parameter '__copy_from_user_flushcache' extern long __copy_from_user_flushcache(void *dst, const void __user *src, ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:364:13: error: storage class specified for parameter 'memcpy_page_flushcache' extern void memcpy_page_flushcache(char *to, struct page *page, size_t offset, ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:368:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:384:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/uaccess.h:398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/task.h:11:0, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/uaccess.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:136:1: error: storage class specified for parameter '_copy_from_user' _copy_from_user(void *, const void __user *, unsigned long); ^ /kisskb/src/include/linux/uaccess.h:154:1: error: storage class specified for parameter '_copy_to_user' _copy_to_user(void __user *, const void *, unsigned long); ^ /kisskb/src/include/linux/uaccess.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:276:25: error: storage class specified for parameter 'check_zeroed_user' extern __must_check int check_zeroed_user(const void __user *from, size_t size); ^ /kisskb/src/include/linux/uaccess.h:328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:349:14: error: '__no_instrument_function__' attribute applies only to functions long notrace copy_to_kernel_nofault(void *dst, const void *src, size_t size); ^ /kisskb/src/include/linux/uaccess.h:352:14: error: '__no_instrument_function__' attribute applies only to functions long notrace copy_to_user_nofault(void __user *dst, const void *src, ^ In file included from /kisskb/src/include/linux/sched/signal.h:9:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched/task.h:13:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/sched/task.h:14:1: error: empty declaration [-Werror] struct rusage; ^ /kisskb/src/include/linux/sched/task.h:15:1: error: empty declaration [-Werror] union thread_union; ^ /kisskb/src/include/linux/sched/task.h:16:1: error: empty declaration [-Werror] struct css_set; ^ /kisskb/src/include/linux/sched/task.h:21:1: error: empty declaration [-Werror] struct kernel_clone_args { ^ /kisskb/src/include/linux/sched/task.h:49:17: error: storage class specified for parameter 'tasklist_lock' extern rwlock_t tasklist_lock; ^ /kisskb/src/include/linux/sched/task.h:50:19: error: storage class specified for parameter 'mmlist_lock' extern spinlock_t mmlist_lock; ^ /kisskb/src/include/linux/sched/task.h:52:27: error: storage class specified for parameter 'init_thread_union' extern union thread_union init_thread_union; ^ /kisskb/src/include/linux/sched/task.h:53:27: error: storage class specified for parameter 'init_task' extern struct task_struct init_task; ^ /kisskb/src/include/linux/sched/task.h:55:12: error: storage class specified for parameter 'lockdep_tasklist_lock_is_held' extern int lockdep_tasklist_lock_is_held(void); ^ /kisskb/src/include/linux/sched/task.h:57:24: error: storage class specified for parameter 'schedule_tail' extern asmlinkage void schedule_tail(struct task_struct *prev); ^ /kisskb/src/include/linux/sched/task.h:58:13: error: storage class specified for parameter 'init_idle' extern void init_idle(struct task_struct *idle, int cpu); ^ /kisskb/src/include/linux/sched/task.h:60:12: error: storage class specified for parameter 'sched_fork' extern int sched_fork(unsigned long clone_flags, struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:61:13: error: storage class specified for parameter 'sched_cgroup_fork' extern void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); ^ /kisskb/src/include/linux/sched/task.h:62:13: error: storage class specified for parameter 'sched_post_fork' extern void sched_post_fork(struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:63:13: error: storage class specified for parameter 'sched_dead' extern void sched_dead(struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:68:13: error: storage class specified for parameter 'proc_caches_init' extern void proc_caches_init(void); ^ /kisskb/src/include/linux/sched/task.h:70:13: error: storage class specified for parameter 'fork_init' extern void fork_init(void); ^ /kisskb/src/include/linux/sched/task.h:72:13: error: storage class specified for parameter 'release_task' extern void release_task(struct task_struct * p); ^ /kisskb/src/include/linux/sched/task.h:74:12: error: storage class specified for parameter 'copy_thread' extern int copy_thread(struct task_struct *, const struct kernel_clone_args *); ^ /kisskb/src/include/linux/sched/task.h:76:13: error: storage class specified for parameter 'flush_thread' extern void flush_thread(void); ^ /kisskb/src/include/linux/sched/task.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:85:24: error: storage class specified for parameter 'do_group_exit' extern __noreturn void do_group_exit(int); ^ /kisskb/src/include/linux/sched/task.h:87:13: error: storage class specified for parameter 'exit_files' extern void exit_files(struct task_struct *); ^ /kisskb/src/include/linux/sched/task.h:88:13: error: storage class specified for parameter 'exit_itimers' extern void exit_itimers(struct task_struct *); ^ /kisskb/src/include/linux/sched/task.h:90:14: error: storage class specified for parameter 'kernel_clone' extern pid_t kernel_clone(struct kernel_clone_args *kargs); ^ /kisskb/src/include/linux/sched/task.h:94:14: error: storage class specified for parameter 'kernel_thread' extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); ^ /kisskb/src/include/linux/sched/task.h:95:14: error: storage class specified for parameter 'user_mode_thread' extern pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags); ^ /kisskb/src/include/linux/sched/task.h:96:13: error: storage class specified for parameter 'kernel_wait4' extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); ^ /kisskb/src/include/linux/sched/task.h:99:13: error: storage class specified for parameter 'free_task' extern void free_task(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched/task.h:103:13: error: storage class specified for parameter 'sched_exec' extern void sched_exec(void); ^ /kisskb/src/include/linux/sched/task.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:114:13: error: storage class specified for parameter '__put_task_struct' extern void __put_task_struct(struct task_struct *t); ^ /kisskb/src/include/linux/sched/task.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sysctl.h:30:0, from /kisskb/src/include/linux/key.h:17, from /kisskb/src/include/linux/cred.h:13, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/sysctl.h:35:1: error: empty declaration [-Werror] struct __sysctl_args { ^ /kisskb/src/include/uapi/linux/sysctl.h:49:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:69:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:75:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:83:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:162:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:203:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:229:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:240:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:247:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:255:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:287:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:295:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:332:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:431:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:453:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:461:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:489:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:522:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:535:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:548:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:580:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:586:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:609:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:614:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:620:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:626:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:631:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:636:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:644:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:653:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:669:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:687:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:701:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:711:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:717:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:736:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:748:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:759:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:780:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:790:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/uapi/linux/sysctl.h:816:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:831:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:842:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:852:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:857:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:863:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:869:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:880:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:885:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:890:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:900:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:905:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:910:1: error: empty declaration [-Werror] enum ^ In file included from /kisskb/src/include/linux/key.h:17:0, from /kisskb/src/include/linux/cred.h:13, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sysctl.h:33:1: error: empty declaration [-Werror] struct completion; ^ /kisskb/src/include/linux/sysctl.h:34:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/include/linux/sysctl.h:35:1: error: empty declaration [-Werror] struct nsproxy; ^ /kisskb/src/include/linux/sysctl.h:36:1: error: empty declaration [-Werror] struct ctl_table_root; ^ /kisskb/src/include/linux/sysctl.h:37:1: error: empty declaration [-Werror] struct ctl_table_header; ^ /kisskb/src/include/linux/sysctl.h:38:1: error: empty declaration [-Werror] struct ctl_dir; ^ /kisskb/src/include/linux/sysctl.h:56:18: error: storage class specified for parameter 'sysctl_vals' extern const int sysctl_vals[]; ^ /kisskb/src/include/linux/sysctl.h:62:28: error: storage class specified for parameter 'sysctl_long_vals' extern const unsigned long sysctl_long_vals[]; ^ /kisskb/src/include/linux/sysctl.h:64:13: error: storage class specified for parameter 'proc_handler' typedef int proc_handler(struct ctl_table *ctl, int write, void *buffer, ^ /kisskb/src/include/linux/sysctl.h:117:1: error: empty declaration [-Werror] struct ctl_table_poll { ^ /kisskb/src/include/linux/sysctl.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysctl.h:141:2: error: expected specifier-qualifier-list before 'proc_handler' proc_handler *proc_handler; /* Callback for text formatting */ ^ /kisskb/src/include/linux/sysctl.h:135:1: error: empty declaration [-Werror] struct ctl_table { ^ /kisskb/src/include/linux/sysctl.h:147:1: error: empty declaration [-Werror] struct ctl_node { ^ /kisskb/src/include/linux/sysctl.h:154:1: error: empty declaration [-Werror] struct ctl_table_header { ^ /kisskb/src/include/linux/sysctl.h:173:1: error: empty declaration [-Werror] struct ctl_dir { ^ /kisskb/src/include/linux/sysctl.h:179:1: error: empty declaration [-Werror] struct ctl_table_set { ^ /kisskb/src/include/linux/sysctl.h:184:1: error: empty declaration [-Werror] struct ctl_table_root { ^ /kisskb/src/include/linux/sysctl.h:194:1: error: empty declaration [-Werror] struct ctl_path { ^ /kisskb/src/include/linux/sysctl.h:210:12: error: storage class specified for parameter '__register_sysctl_base' extern int __register_sysctl_base(struct ctl_table *base_table); ^ /kisskb/src/include/linux/sysctl.h:216:13: error: storage class specified for parameter 'setup_sysctl_set' extern void setup_sysctl_set(struct ctl_table_set *p, ^ /kisskb/src/include/linux/sysctl.h:219:13: error: storage class specified for parameter 'retire_sysctl_set' extern void retire_sysctl_set(struct ctl_table_set *set); ^ /kisskb/src/include/linux/sysctl.h:234:12: error: storage class specified for parameter 'sysctl_init_bases' extern int sysctl_init_bases(void); ^ /kisskb/src/include/linux/sysctl.h:235:13: error: storage class specified for parameter '__register_sysctl_init' extern void __register_sysctl_init(const char *path, struct ctl_table *table, ^ /kisskb/src/include/linux/sysctl.h:238:33: error: storage class specified for parameter 'register_sysctl_mount_point' extern struct ctl_table_header *register_sysctl_mount_point(const char *path); ^ /kisskb/src/include/linux/sysctl.h:248:12: error: storage class specified for parameter 'pwrsw_enabled' extern int pwrsw_enabled; ^ /kisskb/src/include/linux/sysctl.h:249:12: error: storage class specified for parameter 'unaligned_enabled' extern int unaligned_enabled; ^ /kisskb/src/include/linux/sysctl.h:250:12: error: storage class specified for parameter 'unaligned_dump_stack' extern int unaligned_dump_stack; ^ /kisskb/src/include/linux/sysctl.h:251:12: error: storage class specified for parameter 'no_unaligned_warning' extern int no_unaligned_warning; ^ /kisskb/src/include/linux/sysctl.h:253:25: error: storage class specified for parameter 'sysctl_mount_point' extern struct ctl_table sysctl_mount_point[]; ^ In file included from /kisskb/src/include/linux/key.h:20:0, from /kisskb/src/include/linux/cred.h:13, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/assoc_array.h:22:1: error: empty declaration [-Werror] struct assoc_array { ^ /kisskb/src/include/linux/assoc_array.h:30:1: error: empty declaration [-Werror] struct assoc_array_ops { ^ /kisskb/src/include/linux/assoc_array.h:52:1: error: empty declaration [-Werror] struct assoc_array_edit; ^ /kisskb/src/include/linux/assoc_array.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/assoc_array.h:60:12: error: storage class specified for parameter 'assoc_array_iterate' extern int assoc_array_iterate(const struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:64:14: error: storage class specified for parameter 'assoc_array_find' extern void *assoc_array_find(const struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:67:13: error: storage class specified for parameter 'assoc_array_destroy' extern void assoc_array_destroy(struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:69:33: error: storage class specified for parameter 'assoc_array_insert' extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:73:13: error: storage class specified for parameter 'assoc_array_insert_set_object' extern void assoc_array_insert_set_object(struct assoc_array_edit *edit, ^ /kisskb/src/include/linux/assoc_array.h:75:33: error: storage class specified for parameter 'assoc_array_delete' extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:78:33: error: storage class specified for parameter 'assoc_array_clear' extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, ^ /kisskb/src/include/linux/assoc_array.h:80:13: error: storage class specified for parameter 'assoc_array_apply_edit' extern void assoc_array_apply_edit(struct assoc_array_edit *edit); ^ /kisskb/src/include/linux/assoc_array.h:81:13: error: storage class specified for parameter 'assoc_array_cancel_edit' extern void assoc_array_cancel_edit(struct assoc_array_edit *edit); ^ /kisskb/src/include/linux/assoc_array.h:82:12: error: storage class specified for parameter 'assoc_array_gc' extern int assoc_array_gc(struct assoc_array *array, ^ In file included from /kisskb/src/include/linux/cred.h:13:0, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/key.h:28:17: error: storage class specified for parameter 'key_serial_t' typedef int32_t key_serial_t; ^ /kisskb/src/include/linux/key.h:31:18: error: storage class specified for parameter 'key_perm_t' typedef uint32_t key_perm_t; ^ /kisskb/src/include/linux/key.h:33:1: error: empty declaration [-Werror] struct key; ^ /kisskb/src/include/linux/key.h:34:1: error: empty declaration [-Werror] struct net; ^ /kisskb/src/include/linux/key.h:77:1: error: empty declaration [-Werror] enum key_need_perm { ^ /kisskb/src/include/linux/key.h:91:1: error: empty declaration [-Werror] enum key_lookup_flag { ^ /kisskb/src/include/linux/key.h:97:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/key.h:98:1: error: empty declaration [-Werror] struct user_struct; ^ /kisskb/src/include/linux/key.h:99:1: error: empty declaration [-Werror] struct signal_struct; ^ /kisskb/src/include/linux/key.h:100:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/key.h:102:1: error: empty declaration [-Werror] struct key_type; ^ /kisskb/src/include/linux/key.h:103:1: error: empty declaration [-Werror] struct key_owner; ^ /kisskb/src/include/linux/key.h:104:1: error: empty declaration [-Werror] struct key_tag; ^ /kisskb/src/include/linux/key.h:105:1: error: empty declaration [-Werror] struct keyring_list; ^ /kisskb/src/include/linux/key.h:106:1: error: empty declaration [-Werror] struct keyring_name; ^ /kisskb/src/include/linux/key.h:108:1: error: empty declaration [-Werror] struct key_tag { ^ /kisskb/src/include/linux/key.h:114:1: error: empty declaration [-Werror] struct keyring_index_key { ^ /kisskb/src/include/linux/key.h:134:1: error: empty declaration [-Werror] union key_payload { ^ /kisskb/src/include/linux/key.h:153:49: error: storage class specified for parameter 'key_ref_t' typedef struct __key_reference_with_attributes *key_ref_t; ^ /kisskb/src/include/linux/key.h:155:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_key_ref' static inline key_ref_t make_key_ref(const struct key *key, ^ /kisskb/src/include/linux/key.h:161:48: error: type defaults to 'int' in declaration of 'key_ref_t' [-Werror=implicit-int] static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) ^ /kisskb/src/include/linux/key.h:161:58: error: expected ';', ',' or ')' before 'key_ref' static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) ^ /kisskb/src/include/linux/key.h:166:43: error: type defaults to 'int' in declaration of 'key_ref_t' [-Werror=implicit-int] static inline bool is_key_possessed(const key_ref_t key_ref) ^ /kisskb/src/include/linux/key.h:166:53: error: expected ';', ',' or ')' before 'key_ref' static inline bool is_key_possessed(const key_ref_t key_ref) ^ /kisskb/src/include/linux/key.h:171:15: error: storage class specified for parameter 'key_restrict_link_func_t' typedef int (*key_restrict_link_func_t)(struct key *dest_keyring, ^ /kisskb/src/include/linux/key.h:177:2: error: expected specifier-qualifier-list before 'key_restrict_link_func_t' key_restrict_link_func_t check; ^ /kisskb/src/include/linux/key.h:176:1: error: empty declaration [-Werror] struct key_restriction { ^ /kisskb/src/include/linux/key.h:182:1: error: empty declaration [-Werror] enum key_state { ^ /kisskb/src/include/linux/key.h:197:2: error: expected specifier-qualifier-list before 'key_serial_t' key_serial_t serial; /* key serial number */ ^ /kisskb/src/include/linux/key.h:195:1: error: empty declaration [-Werror] struct key { ^ /kisskb/src/include/linux/key.h:287:9: error: expected declaration specifiers or '...' before 'key_perm_t' key_perm_t perm, ^ /kisskb/src/include/linux/key.h:300:13: error: storage class specified for parameter 'key_revoke' extern void key_revoke(struct key *key); ^ /kisskb/src/include/linux/key.h:301:13: error: storage class specified for parameter 'key_invalidate' extern void key_invalidate(struct key *key); ^ /kisskb/src/include/linux/key.h:302:13: error: storage class specified for parameter 'key_put' extern void key_put(struct key *key); ^ /kisskb/src/include/linux/key.h:303:13: error: storage class specified for parameter 'key_put_tag' extern bool key_put_tag(struct key_tag *tag); ^ /kisskb/src/include/linux/key.h:304:13: error: storage class specified for parameter 'key_remove_domain' extern void key_remove_domain(struct key_tag *domain_tag); ^ /kisskb/src/include/linux/key.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:317:32: error: expected declaration specifiers or '...' before 'key_ref_t' static inline void key_ref_put(key_ref_t key_ref) ^ /kisskb/src/include/linux/key.h:322:20: error: storage class specified for parameter 'request_key_tag' extern struct key *request_key_tag(struct key_type *type, ^ /kisskb/src/include/linux/key.h:327:20: error: storage class specified for parameter 'request_key_rcu' extern struct key *request_key_rcu(struct key_type *type, ^ /kisskb/src/include/linux/key.h:331:20: error: storage class specified for parameter 'request_key_with_auxdata' extern struct key *request_key_with_auxdata(struct key_type *type, ^ /kisskb/src/include/linux/key.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:385:12: error: storage class specified for parameter 'wait_for_key_construction' extern int wait_for_key_construction(struct key *key, bool intr); ^ /kisskb/src/include/linux/key.h:387:12: error: storage class specified for parameter 'key_validate' extern int key_validate(const struct key *key); ^ /kisskb/src/include/linux/key.h:389:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'key_create_or_update' extern key_ref_t key_create_or_update(key_ref_t keyring, ^ /kisskb/src/include/linux/key.h:397:23: error: expected declaration specifiers or '...' before 'key_ref_t' extern int key_update(key_ref_t key, ^ /kisskb/src/include/linux/key.h:401:12: error: storage class specified for parameter 'key_link' extern int key_link(struct key *keyring, ^ /kisskb/src/include/linux/key.h:404:12: error: storage class specified for parameter 'key_move' extern int key_move(struct key *key, ^ /kisskb/src/include/linux/key.h:409:12: error: storage class specified for parameter 'key_unlink' extern int key_unlink(struct key *keyring, ^ /kisskb/src/include/linux/key.h:414:6: error: expected declaration specifiers or '...' before 'key_perm_t' key_perm_t perm, ^ /kisskb/src/include/linux/key.h:419:12: error: storage class specified for parameter 'restrict_link_reject' extern int restrict_link_reject(struct key *keyring, ^ /kisskb/src/include/linux/key.h:424:12: error: storage class specified for parameter 'keyring_clear' extern int keyring_clear(struct key *keyring); ^ /kisskb/src/include/linux/key.h:426:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keyring_search' extern key_ref_t keyring_search(key_ref_t keyring, ^ /kisskb/src/include/linux/key.h:431:12: error: storage class specified for parameter 'keyring_add_key' extern int keyring_add_key(struct key *keyring, ^ /kisskb/src/include/linux/key.h:434:29: error: expected declaration specifiers or '...' before 'key_ref_t' extern int keyring_restrict(key_ref_t keyring, const char *type, ^ /kisskb/src/include/linux/key.h:437:31: error: expected declaration specifiers or '...' before 'key_serial_t' extern struct key *key_lookup(key_serial_t id); ^ /kisskb/src/include/linux/key.h:439:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'key_serial' static inline key_serial_t key_serial(const struct key *key) ^ /kisskb/src/include/linux/key.h:444:13: error: storage class specified for parameter 'key_set_timeout' extern void key_set_timeout(struct key *, unsigned); ^ /kisskb/src/include/linux/key.h:446:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lookup_user_key' extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags, ^ /kisskb/src/include/linux/key.h:448:13: error: storage class specified for parameter 'key_free_user_ns' extern void key_free_user_ns(struct user_namespace *); ^ /kisskb/src/include/linux/key.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/key.h:486:25: error: storage class specified for parameter 'key_sysctls' extern struct ctl_table key_sysctls[]; ^ /kisskb/src/include/linux/key.h:491:12: error: storage class specified for parameter 'install_thread_keyring_to_cred' extern int install_thread_keyring_to_cred(struct cred *cred); ^ /kisskb/src/include/linux/key.h:492:13: error: storage class specified for parameter 'key_fsuid_changed' extern void key_fsuid_changed(struct cred *new_cred); ^ /kisskb/src/include/linux/key.h:493:13: error: storage class specified for parameter 'key_fsgid_changed' extern void key_fsgid_changed(struct cred *new_cred); ^ /kisskb/src/include/linux/key.h:494:13: error: storage class specified for parameter 'key_init' extern void key_init(void); ^ In file included from /kisskb/src/include/linux/sched/user.h:7:0, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/percpu_counter.h:23:1: error: empty declaration [-Werror] struct percpu_counter { ^ /kisskb/src/include/linux/percpu_counter.h:32:12: error: storage class specified for parameter 'percpu_counter_batch' extern int percpu_counter_batch; ^ /kisskb/src/include/linux/percpu_counter.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu_counter.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/user.h:9:0, from /kisskb/src/include/linux/cred.h:17, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/ratelimit.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ratelimit.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ratelimit.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ratelimit.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ratelimit.h:43:31: error: storage class specified for parameter 'printk_ratelimit_state' extern struct ratelimit_state printk_ratelimit_state; ^ In file included from /kisskb/src/include/linux/cred.h:17:0, from /kisskb/src/include/linux/sched/signal.h:10, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched/user.h:14:1: error: empty declaration [-Werror] struct user_struct { ^ /kisskb/src/include/linux/sched/user.h:39:12: error: storage class specified for parameter 'uids_sysfs_init' extern int uids_sysfs_init(void); ^ /kisskb/src/include/linux/sched/user.h:41:28: error: storage class specified for parameter 'find_user' extern struct user_struct *find_user(kuid_t); ^ /kisskb/src/include/linux/sched/user.h:43:27: error: storage class specified for parameter 'root_user' extern struct user_struct root_user; ^ /kisskb/src/include/linux/sched/user.h:48:29: error: storage class specified for parameter 'alloc_uid' extern struct user_struct * alloc_uid(kuid_t); ^ /kisskb/src/include/linux/sched/user.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/user.h:54:13: error: storage class specified for parameter 'free_uid' extern void free_uid(struct user_struct *); ^ In file included from /kisskb/src/include/linux/sched/signal.h:10:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/cred.h:19:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/cred.h:20:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/cred.h:25:1: error: empty declaration [-Werror] struct group_info { ^ /kisskb/src/include/linux/cred.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:57:27: error: storage class specified for parameter 'groups_alloc' extern struct group_info *groups_alloc(int); ^ /kisskb/src/include/linux/cred.h:58:13: error: storage class specified for parameter 'groups_free' extern void groups_free(struct group_info *); ^ /kisskb/src/include/linux/cred.h:60:12: error: storage class specified for parameter 'in_group_p' extern int in_group_p(kgid_t); ^ /kisskb/src/include/linux/cred.h:61:12: error: storage class specified for parameter 'in_egroup_p' extern int in_egroup_p(kgid_t); ^ /kisskb/src/include/linux/cred.h:62:12: error: storage class specified for parameter 'groups_search' extern int groups_search(const struct group_info *, kgid_t); ^ /kisskb/src/include/linux/cred.h:64:12: error: storage class specified for parameter 'set_current_groups' extern int set_current_groups(struct group_info *); ^ /kisskb/src/include/linux/cred.h:65:13: error: storage class specified for parameter 'set_groups' extern void set_groups(struct cred *, struct group_info *); ^ /kisskb/src/include/linux/cred.h:66:13: error: storage class specified for parameter 'may_setgroups' extern bool may_setgroups(void); ^ /kisskb/src/include/linux/cred.h:67:13: error: storage class specified for parameter 'groups_sort' extern void groups_sort(struct group_info *); ^ /kisskb/src/include/linux/cred.h:128:2: error: expected specifier-qualifier-list before 'kernel_cap_t' kernel_cap_t cap_inheritable; /* caps our children can inherit */ ^ /kisskb/src/include/linux/cred.h:110:1: error: empty declaration [-Werror] struct cred { ^ /kisskb/src/include/linux/cred.h:155:13: error: storage class specified for parameter '__put_cred' extern void __put_cred(struct cred *); ^ /kisskb/src/include/linux/cred.h:156:13: error: storage class specified for parameter 'exit_creds' extern void exit_creds(struct task_struct *); ^ /kisskb/src/include/linux/cred.h:157:12: error: storage class specified for parameter 'copy_creds' extern int copy_creds(struct task_struct *, unsigned long); ^ /kisskb/src/include/linux/cred.h:158:27: error: storage class specified for parameter 'get_task_cred' extern const struct cred *get_task_cred(struct task_struct *); ^ /kisskb/src/include/linux/cred.h:159:21: error: storage class specified for parameter 'cred_alloc_blank' extern struct cred *cred_alloc_blank(void); ^ /kisskb/src/include/linux/cred.h:160:21: error: storage class specified for parameter 'prepare_creds' extern struct cred *prepare_creds(void); ^ /kisskb/src/include/linux/cred.h:161:21: error: storage class specified for parameter 'prepare_exec_creds' extern struct cred *prepare_exec_creds(void); ^ /kisskb/src/include/linux/cred.h:162:12: error: storage class specified for parameter 'commit_creds' extern int commit_creds(struct cred *); ^ /kisskb/src/include/linux/cred.h:163:13: error: storage class specified for parameter 'abort_creds' extern void abort_creds(struct cred *); ^ /kisskb/src/include/linux/cred.h:164:27: error: storage class specified for parameter 'override_creds' extern const struct cred *override_creds(const struct cred *); ^ /kisskb/src/include/linux/cred.h:165:13: error: storage class specified for parameter 'revert_creds' extern void revert_creds(const struct cred *); ^ /kisskb/src/include/linux/cred.h:166:21: error: storage class specified for parameter 'prepare_kernel_cred' extern struct cred *prepare_kernel_cred(struct task_struct *); ^ /kisskb/src/include/linux/cred.h:167:12: error: storage class specified for parameter 'change_create_files_as' extern int change_create_files_as(struct cred *, struct inode *); ^ /kisskb/src/include/linux/cred.h:168:12: error: storage class specified for parameter 'set_security_override' extern int set_security_override(struct cred *, u32); ^ /kisskb/src/include/linux/cred.h:169:12: error: storage class specified for parameter 'set_security_override_from_ctx' extern int set_security_override_from_ctx(struct cred *, const char *); ^ /kisskb/src/include/linux/cred.h:170:12: error: storage class specified for parameter 'set_create_files_as' extern int set_create_files_as(struct cred *, struct inode *); ^ /kisskb/src/include/linux/cred.h:171:12: error: storage class specified for parameter 'cred_fscmp' extern int cred_fscmp(const struct cred *, const struct cred *); ^ /kisskb/src/include/linux/cred.h:172:20: error: storage class specified for parameter 'cred_init' extern void __init cred_init(void); ^ /kisskb/src/include/linux/cred.h:172:20: error: section attribute not allowed for 'cred_init' /kisskb/src/include/linux/cred.h:172:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init cred_init(void); ^ /kisskb/src/include/linux/cred.h:172:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/cred.h:173:12: error: storage class specified for parameter 'set_cred_ucounts' extern int set_cred_ucounts(struct cred *); ^ /kisskb/src/include/linux/cred.h:179:24: error: storage class specified for parameter '__invalid_creds' extern void __noreturn __invalid_creds(const struct cred *, const char *, unsigned); ^ /kisskb/src/include/linux/cred.h:180:13: error: storage class specified for parameter '__validate_process_creds' extern void __validate_process_creds(struct task_struct *, ^ /kisskb/src/include/linux/cred.h:183:13: error: storage class specified for parameter 'creds_are_invalid' extern bool creds_are_invalid(const struct cred *cred); ^ /kisskb/src/include/linux/cred.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:202:13: error: storage class specified for parameter 'validate_creds_for_do_exit' extern void validate_creds_for_do_exit(struct task_struct *); ^ /kisskb/src/include/linux/cred.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:393:30: error: storage class specified for parameter 'init_user_ns' extern struct user_namespace init_user_ns; ^ In file included from /kisskb/src/include/linux/rcuwait.h:6:0, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched/signal.h:20:1: error: empty declaration [-Werror] struct sighand_struct { ^ /kisskb/src/include/linux/sched/signal.h:30:1: error: empty declaration [-Werror] struct pacct_struct { ^ /kisskb/src/include/linux/sched/signal.h:38:1: error: empty declaration [-Werror] struct cpu_itimer { ^ /kisskb/src/include/linux/sched/signal.h:47:1: error: empty declaration [-Werror] struct task_cputime_atomic { ^ /kisskb/src/include/linux/sched/signal.h:66:1: error: empty declaration [-Werror] struct thread_group_cputimer { ^ /kisskb/src/include/linux/sched/signal.h:71:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t signal; ^ /kisskb/src/include/linux/sched/signal.h:70:1: error: empty declaration [-Werror] struct multiprocess_signals { ^ /kisskb/src/include/linux/sched/signal.h:75:1: error: empty declaration [-Werror] struct core_thread { ^ /kisskb/src/include/linux/sched/signal.h:83:20: error: field 'startup' has incomplete type struct completion startup; ^ /kisskb/src/include/linux/sched/signal.h:80:1: error: empty declaration [-Werror] struct core_state { ^ /kisskb/src/include/linux/sched/signal.h:93:1: error: empty declaration [-Werror] struct signal_struct { ^ /kisskb/src/include/linux/sched/signal.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:275:13: error: storage class specified for parameter 'flush_signals' extern void flush_signals(struct task_struct *); ^ /kisskb/src/include/linux/sched/signal.h:276:13: error: storage class specified for parameter 'ignore_signals' extern void ignore_signals(struct task_struct *); ^ /kisskb/src/include/linux/sched/signal.h:277:13: error: storage class specified for parameter 'flush_signal_handlers' extern void flush_signal_handlers(struct task_struct *, int force_default); ^ /kisskb/src/include/linux/sched/signal.h:278:53: error: expected declaration specifiers or '...' before 'sigset_t' extern int dequeue_signal(struct task_struct *task, sigset_t *mask, ^ /kisskb/src/include/linux/sched/signal.h:279:6: error: expected declaration specifiers or '...' before 'kernel_siginfo_t' kernel_siginfo_t *info, enum pid_type *type); ^ /kisskb/src/include/linux/sched/signal.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:334:12: error: storage class specified for parameter 'send_sig_info' extern int send_sig_info(int, struct kernel_siginfo *, struct task_struct *); ^ /kisskb/src/include/linux/sched/signal.h:335:13: error: storage class specified for parameter 'force_sigsegv' extern void force_sigsegv(int sig); ^ /kisskb/src/include/linux/sched/signal.h:336:12: error: storage class specified for parameter 'force_sig_info' extern int force_sig_info(struct kernel_siginfo *); ^ /kisskb/src/include/linux/sched/signal.h:337:12: error: storage class specified for parameter '__kill_pgrp_info' extern int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp); ^ /kisskb/src/include/linux/sched/signal.h:338:12: error: storage class specified for parameter 'kill_pid_info' extern int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid); ^ /kisskb/src/include/linux/sched/signal.h:339:53: error: expected declaration specifiers or '...' before 'sigval_t' extern int kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *, ^ /kisskb/src/include/linux/sched/signal.h:341:12: error: storage class specified for parameter 'kill_pgrp' extern int kill_pgrp(struct pid *pid, int sig, int priv); ^ /kisskb/src/include/linux/sched/signal.h:342:12: error: storage class specified for parameter 'kill_pid' extern int kill_pid(struct pid *pid, int sig, int priv); ^ /kisskb/src/include/linux/sched/signal.h:343:26: error: storage class specified for parameter 'do_notify_parent' extern __must_check bool do_notify_parent(struct task_struct *, int); ^ /kisskb/src/include/linux/sched/signal.h:344:13: error: storage class specified for parameter '__wake_up_parent' extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent); ^ /kisskb/src/include/linux/sched/signal.h:345:13: error: storage class specified for parameter 'force_sig' extern void force_sig(int); ^ /kisskb/src/include/linux/sched/signal.h:346:13: error: storage class specified for parameter 'force_fatal_sig' extern void force_fatal_sig(int); ^ /kisskb/src/include/linux/sched/signal.h:347:13: error: storage class specified for parameter 'force_exit_sig' extern void force_exit_sig(int); ^ /kisskb/src/include/linux/sched/signal.h:348:12: error: storage class specified for parameter 'send_sig' extern int send_sig(int, struct task_struct *, int); ^ /kisskb/src/include/linux/sched/signal.h:349:12: error: storage class specified for parameter 'zap_other_threads' extern int zap_other_threads(struct task_struct *p); ^ /kisskb/src/include/linux/sched/signal.h:350:25: error: storage class specified for parameter 'sigqueue_alloc' extern struct sigqueue *sigqueue_alloc(void); ^ /kisskb/src/include/linux/sched/signal.h:351:13: error: storage class specified for parameter 'sigqueue_free' extern void sigqueue_free(struct sigqueue *); ^ /kisskb/src/include/linux/sched/signal.h:352:12: error: storage class specified for parameter 'send_sigqueue' extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type); ^ /kisskb/src/include/linux/sched/signal.h:353:12: error: storage class specified for parameter 'do_sigaction' extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); ^ /kisskb/src/include/linux/sched/signal.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:366:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:393:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:405:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:444:13: error: storage class specified for parameter 'recalc_sigpending_and_wake' extern void recalc_sigpending_and_wake(struct task_struct *t); ^ /kisskb/src/include/linux/sched/signal.h:445:13: error: storage class specified for parameter 'recalc_sigpending' extern void recalc_sigpending(void); ^ /kisskb/src/include/linux/sched/signal.h:446:13: error: storage class specified for parameter 'calculate_sigpending' extern void calculate_sigpending(void); ^ /kisskb/src/include/linux/sched/signal.h:448:13: error: storage class specified for parameter 'signal_wake_up_state' extern void signal_wake_up_state(struct task_struct *t, unsigned int state); ^ /kisskb/src/include/linux/sched/signal.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:523:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:527:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:531:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:539:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:548:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:553:35: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] extern int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize); ^ /kisskb/src/include/linux/sched/signal.h:553:51: error: expected ';', ',' or ')' before '*' token extern int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize); ^ /kisskb/src/include/linux/sched/signal.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:563:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline sigset_t *sigmask_to_save(void) ^ /kisskb/src/include/linux/sched/signal.h:572:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:581:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:595:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:612:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:620:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:627:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:637:13: error: storage class specified for parameter '__cleanup_sighand' extern void __cleanup_sighand(struct sighand_struct *); ^ /kisskb/src/include/linux/sched/signal.h:638:13: error: storage class specified for parameter 'flush_itimer_signals' extern void flush_itimer_signals(void); ^ /kisskb/src/include/linux/sched/signal.h:649:13: error: storage class specified for parameter 'current_is_single_threaded' extern bool current_is_single_threaded(void); ^ /kisskb/src/include/linux/sched/signal.h:671:15: error: storage class specified for parameter 'proc_visitor' typedef int (*proc_visitor)(struct task_struct *p, void *data); ^ /kisskb/src/include/linux/sched/signal.h:672:49: error: expected declaration specifiers or '...' before 'proc_visitor' void walk_process_tree(struct task_struct *top, proc_visitor, void *); ^ /kisskb/src/include/linux/sched/signal.h:676:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:686:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:696:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:701:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:706:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:711:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:717:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:722:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:728:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:735:13: error: storage class specified for parameter 'thread_group_exited' extern bool thread_group_exited(struct pid *pid); ^ /kisskb/src/include/linux/sched/signal.h:737:31: error: storage class specified for parameter '__lock_task_sighand' extern struct sighand_struct *__lock_task_sighand(struct task_struct *task, ^ /kisskb/src/include/linux/sched/signal.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:752:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:757:13: error: storage class specified for parameter 'lockdep_assert_task_sighand_held' extern void lockdep_assert_task_sighand_held(struct task_struct *task); ^ /kisskb/src/include/linux/sched/signal.h:764:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:775:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:780:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/percpu-rwsem.h:7:0, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/rcuwait.h:16:1: error: empty declaration [-Werror] struct rcuwait { ^ /kisskb/src/include/linux/rcuwait.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcuwait.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcuwait.h:37:12: error: storage class specified for parameter 'rcuwait_wake_up' extern int rcuwait_wake_up(struct rcuwait *w); ^ /kisskb/src/include/linux/rcuwait.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcuwait.h:50:13: error: storage class specified for parameter 'finish_rcuwait' extern void finish_rcuwait(struct rcuwait *w); ^ In file included from /kisskb/src/include/linux/percpu-rwsem.h:9:0, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/rcu_sync.h:17:1: error: empty declaration [-Werror] struct rcu_sync { ^ /kisskb/src/include/linux/rcu_sync.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcu_sync.h:39:13: error: storage class specified for parameter 'rcu_sync_init' extern void rcu_sync_init(struct rcu_sync *); ^ /kisskb/src/include/linux/rcu_sync.h:40:13: error: storage class specified for parameter 'rcu_sync_enter_start' extern void rcu_sync_enter_start(struct rcu_sync *); ^ /kisskb/src/include/linux/rcu_sync.h:41:13: error: storage class specified for parameter 'rcu_sync_enter' extern void rcu_sync_enter(struct rcu_sync *); ^ /kisskb/src/include/linux/rcu_sync.h:42:13: error: storage class specified for parameter 'rcu_sync_exit' extern void rcu_sync_exit(struct rcu_sync *); ^ /kisskb/src/include/linux/rcu_sync.h:43:13: error: storage class specified for parameter 'rcu_sync_dtor' extern void rcu_sync_dtor(struct rcu_sync *); ^ In file included from /kisskb/src/include/linux/fs.h:33:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/percpu-rwsem.h:12:1: error: empty declaration [-Werror] struct percpu_rw_semaphore { ^ /kisskb/src/include/linux/percpu-rwsem.h:45:13: error: storage class specified for parameter '__percpu_down_read' extern bool __percpu_down_read(struct percpu_rw_semaphore *, bool); ^ /kisskb/src/include/linux/percpu-rwsem.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-rwsem.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-rwsem.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-rwsem.h:124:13: error: storage class specified for parameter 'percpu_is_read_locked' extern bool percpu_is_read_locked(struct percpu_rw_semaphore *); ^ /kisskb/src/include/linux/percpu-rwsem.h:125:13: error: storage class specified for parameter 'percpu_down_write' extern void percpu_down_write(struct percpu_rw_semaphore *); ^ /kisskb/src/include/linux/percpu-rwsem.h:126:13: error: storage class specified for parameter 'percpu_up_write' extern void percpu_up_write(struct percpu_rw_semaphore *); ^ /kisskb/src/include/linux/percpu-rwsem.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-rwsem.h:133:12: error: storage class specified for parameter '__percpu_init_rwsem' extern int __percpu_init_rwsem(struct percpu_rw_semaphore *, ^ /kisskb/src/include/linux/percpu-rwsem.h:136:13: error: storage class specified for parameter 'percpu_free_rwsem' extern void percpu_free_rwsem(struct percpu_rw_semaphore *); ^ /kisskb/src/include/linux/percpu-rwsem.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-rwsem.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/fs.h:35:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/delayed_call.h:10:1: error: empty declaration [-Werror] struct delayed_call { ^ /kisskb/src/include/linux/delayed_call.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/delayed_call.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/delayed_call.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/uuid.h:11:0, from /kisskb/src/include/linux/fs.h:36, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/uuid.h:17:3: error: storage class specified for parameter 'guid_t' } guid_t; ^ /kisskb/src/include/uapi/linux/uuid.h:27:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uuid_le' typedef guid_t uuid_le; ^ In file included from /kisskb/src/include/linux/fs.h:36:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/uuid.h:18:3: error: storage class specified for parameter 'uuid_t' } uuid_t; ^ /kisskb/src/include/linux/uuid.h:33:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'guid_null' extern const guid_t guid_null; ^ /kisskb/src/include/linux/uuid.h:34:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uuid_null' extern const uuid_t uuid_null; ^ /kisskb/src/include/linux/uuid.h:36:37: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] static inline bool guid_equal(const guid_t *u1, const guid_t *u2) ^ /kisskb/src/include/linux/uuid.h:36:44: error: expected ';', ',' or ')' before '*' token static inline bool guid_equal(const guid_t *u1, const guid_t *u2) ^ /kisskb/src/include/linux/uuid.h:41:30: error: expected declaration specifiers or '...' before 'guid_t' static inline void guid_copy(guid_t *dst, const guid_t *src) ^ /kisskb/src/include/linux/uuid.h:41:49: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] static inline void guid_copy(guid_t *dst, const guid_t *src) ^ /kisskb/src/include/linux/uuid.h:41:56: error: expected ';', ',' or ')' before '*' token static inline void guid_copy(guid_t *dst, const guid_t *src) ^ /kisskb/src/include/linux/uuid.h:46:32: error: expected declaration specifiers or '...' before 'guid_t' static inline void import_guid(guid_t *dst, const __u8 *src) ^ /kisskb/src/include/linux/uuid.h:51:49: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] static inline void export_guid(__u8 *dst, const guid_t *src) ^ /kisskb/src/include/linux/uuid.h:51:56: error: expected ';', ',' or ')' before '*' token static inline void export_guid(__u8 *dst, const guid_t *src) ^ /kisskb/src/include/linux/uuid.h:56:39: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] static inline bool guid_is_null(const guid_t *guid) ^ /kisskb/src/include/linux/uuid.h:56:46: error: expected ';', ',' or ')' before '*' token static inline bool guid_is_null(const guid_t *guid) ^ /kisskb/src/include/linux/uuid.h:61:37: error: type defaults to 'int' in declaration of 'uuid_t' [-Werror=implicit-int] static inline bool uuid_equal(const uuid_t *u1, const uuid_t *u2) ^ /kisskb/src/include/linux/uuid.h:61:44: error: expected ';', ',' or ')' before '*' token static inline bool uuid_equal(const uuid_t *u1, const uuid_t *u2) ^ /kisskb/src/include/linux/uuid.h:66:30: error: expected declaration specifiers or '...' before 'uuid_t' static inline void uuid_copy(uuid_t *dst, const uuid_t *src) ^ /kisskb/src/include/linux/uuid.h:66:49: error: type defaults to 'int' in declaration of 'uuid_t' [-Werror=implicit-int] static inline void uuid_copy(uuid_t *dst, const uuid_t *src) ^ /kisskb/src/include/linux/uuid.h:66:56: error: expected ';', ',' or ')' before '*' token static inline void uuid_copy(uuid_t *dst, const uuid_t *src) ^ /kisskb/src/include/linux/uuid.h:71:32: error: expected declaration specifiers or '...' before 'uuid_t' static inline void import_uuid(uuid_t *dst, const __u8 *src) ^ /kisskb/src/include/linux/uuid.h:76:49: error: type defaults to 'int' in declaration of 'uuid_t' [-Werror=implicit-int] static inline void export_uuid(__u8 *dst, const uuid_t *src) ^ /kisskb/src/include/linux/uuid.h:76:56: error: expected ';', ',' or ')' before '*' token static inline void export_uuid(__u8 *dst, const uuid_t *src) ^ /kisskb/src/include/linux/uuid.h:81:39: error: type defaults to 'int' in declaration of 'uuid_t' [-Werror=implicit-int] static inline bool uuid_is_null(const uuid_t *uuid) ^ /kisskb/src/include/linux/uuid.h:81:46: error: expected ';', ',' or ')' before '*' token static inline bool uuid_is_null(const uuid_t *uuid) ^ /kisskb/src/include/linux/uuid.h:89:22: error: expected declaration specifiers or '...' before 'guid_t' extern void guid_gen(guid_t *u); ^ /kisskb/src/include/linux/uuid.h:90:22: error: expected declaration specifiers or '...' before 'uuid_t' extern void uuid_gen(uuid_t *u); ^ /kisskb/src/include/linux/uuid.h:94:17: error: storage class specified for parameter 'guid_index' extern const u8 guid_index[16]; ^ /kisskb/src/include/linux/uuid.h:95:17: error: storage class specified for parameter 'uuid_index' extern const u8 uuid_index[16]; ^ /kisskb/src/include/linux/uuid.h:97:34: error: expected declaration specifiers or '...' before 'guid_t' int guid_parse(const char *uuid, guid_t *u); ^ /kisskb/src/include/linux/uuid.h:98:34: error: expected declaration specifiers or '...' before 'uuid_t' int uuid_parse(const char *uuid, uuid_t *u); ^ /kisskb/src/include/linux/uuid.h:101:37: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] static inline int uuid_le_cmp(const guid_t u1, const guid_t u2) ^ /kisskb/src/include/linux/uuid.h:101:44: error: expected ';', ',' or ')' before 'u1' static inline int uuid_le_cmp(const guid_t u1, const guid_t u2) ^ In file included from /kisskb/src/include/linux/fs.h:37:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/errseq.h:8:13: error: storage class specified for parameter 'errseq_t' typedef u32 errseq_t; ^ /kisskb/src/include/linux/errseq.h:10:1: error: expected declaration specifiers before 'errseq_t' errseq_t errseq_set(errseq_t *eseq, int err); ^ /kisskb/src/include/linux/errseq.h:11:1: error: expected declaration specifiers before 'errseq_t' errseq_t errseq_sample(errseq_t *eseq); ^ /kisskb/src/include/linux/errseq.h:12:18: error: expected declaration specifiers or '...' before 'errseq_t' int errseq_check(errseq_t *eseq, errseq_t since); ^ /kisskb/src/include/linux/errseq.h:12:34: error: expected declaration specifiers or '...' before 'errseq_t' int errseq_check(errseq_t *eseq, errseq_t since); ^ /kisskb/src/include/linux/errseq.h:13:30: error: expected declaration specifiers or '...' before 'errseq_t' int errseq_check_and_advance(errseq_t *eseq, errseq_t *since); ^ /kisskb/src/include/linux/errseq.h:13:46: error: expected declaration specifiers or '...' before 'errseq_t' int errseq_check_and_advance(errseq_t *eseq, errseq_t *since); ^ In file included from /kisskb/src/include/linux/ioprio.h:6:0, from /kisskb/src/include/linux/fs.h:38, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/sched/rt.h:7:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/sched/rt.h:10:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/rt.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/rt.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/rt.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/rt.h:40:13: error: storage class specified for parameter 'rt_mutex_setprio' extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task); ^ /kisskb/src/include/linux/sched/rt.h:41:13: error: storage class specified for parameter 'rt_mutex_adjust_pi' extern void rt_mutex_adjust_pi(struct task_struct *p); ^ /kisskb/src/include/linux/sched/rt.h:50:13: error: storage class specified for parameter 'normalize_rt_tasks' extern void normalize_rt_tasks(void); ^ In file included from /kisskb/src/include/linux/ioprio.h:7:0, from /kisskb/src/include/linux/fs.h:38, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/iocontext.h:9:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/iocontext.h:73:1: error: empty declaration [-Werror] struct io_cq { ^ /kisskb/src/include/linux/iocontext.h:99:1: error: empty declaration [-Werror] struct io_context { ^ /kisskb/src/include/linux/iocontext.h:117:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/iocontext.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/ioprio.h:9:0, from /kisskb/src/include/linux/fs.h:38, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/ioprio.h:27:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/ioprio.h:40:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/fs.h:38:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/ioprio.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioprio.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioprio.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioprio.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioprio.h:63:12: error: storage class specified for parameter 'set_task_ioprio' extern int set_task_ioprio(struct task_struct *task, int ioprio); ^ /kisskb/src/include/linux/ioprio.h:66:12: error: storage class specified for parameter 'ioprio_check_cap' extern int ioprio_check_cap(int ioprio); ^ In file included from /kisskb/src/include/linux/fs.h:39:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs_types.h:71:22: error: storage class specified for parameter 'fs_ftype_to_dtype' extern unsigned char fs_ftype_to_dtype(unsigned int filetype); ^ /kisskb/src/include/linux/fs_types.h:72:22: error: storage class specified for parameter 'fs_umode_to_ftype' extern unsigned char fs_umode_to_ftype(umode_t mode); ^ /kisskb/src/include/linux/fs_types.h:73:22: error: storage class specified for parameter 'fs_umode_to_dtype' extern unsigned char fs_umode_to_dtype(umode_t mode); ^ In file included from /kisskb/src/include/linux/fs.h:42:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mount.h:16:1: error: empty declaration [-Werror] struct super_block; ^ /kisskb/src/include/linux/mount.h:17:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/mount.h:18:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/mount.h:19:1: error: empty declaration [-Werror] struct file_system_type; ^ /kisskb/src/include/linux/mount.h:20:1: error: empty declaration [-Werror] struct fs_context; ^ /kisskb/src/include/linux/mount.h:21:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/mount.h:22:1: error: empty declaration [-Werror] struct path; ^ /kisskb/src/include/linux/mount.h:69:1: error: empty declaration [-Werror] struct vfsmount { ^ /kisskb/src/include/linux/mount.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mount.h:82:12: error: storage class specified for parameter 'mnt_want_write' extern int mnt_want_write(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:83:12: error: storage class specified for parameter 'mnt_want_write_file' extern int mnt_want_write_file(struct file *file); ^ /kisskb/src/include/linux/mount.h:84:13: error: storage class specified for parameter 'mnt_drop_write' extern void mnt_drop_write(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:85:13: error: storage class specified for parameter 'mnt_drop_write_file' extern void mnt_drop_write_file(struct file *file); ^ /kisskb/src/include/linux/mount.h:86:13: error: storage class specified for parameter 'mntput' extern void mntput(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:87:25: error: storage class specified for parameter 'mntget' extern struct vfsmount *mntget(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:88:25: error: storage class specified for parameter 'mnt_clone_internal' extern struct vfsmount *mnt_clone_internal(const struct path *path); ^ /kisskb/src/include/linux/mount.h:89:13: error: storage class specified for parameter '__mnt_is_readonly' extern bool __mnt_is_readonly(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:90:13: error: storage class specified for parameter 'mnt_may_suid' extern bool mnt_may_suid(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:92:25: error: storage class specified for parameter 'clone_private_mount' extern struct vfsmount *clone_private_mount(const struct path *path); ^ /kisskb/src/include/linux/mount.h:93:12: error: storage class specified for parameter '__mnt_want_write' extern int __mnt_want_write(struct vfsmount *); ^ /kisskb/src/include/linux/mount.h:94:13: error: storage class specified for parameter '__mnt_drop_write' extern void __mnt_drop_write(struct vfsmount *); ^ /kisskb/src/include/linux/mount.h:96:25: error: storage class specified for parameter 'fc_mount' extern struct vfsmount *fc_mount(struct fs_context *fc); ^ /kisskb/src/include/linux/mount.h:97:25: error: storage class specified for parameter 'vfs_create_mount' extern struct vfsmount *vfs_create_mount(struct fs_context *fc); ^ /kisskb/src/include/linux/mount.h:98:25: error: storage class specified for parameter 'vfs_kern_mount' extern struct vfsmount *vfs_kern_mount(struct file_system_type *type, ^ /kisskb/src/include/linux/mount.h:101:25: error: storage class specified for parameter 'vfs_submount' extern struct vfsmount *vfs_submount(const struct dentry *mountpoint, ^ /kisskb/src/include/linux/mount.h:105:13: error: storage class specified for parameter 'mnt_set_expiry' extern void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list); ^ /kisskb/src/include/linux/mount.h:106:13: error: storage class specified for parameter 'mark_mounts_for_expiry' extern void mark_mounts_for_expiry(struct list_head *mounts); ^ /kisskb/src/include/linux/mount.h:108:14: error: storage class specified for parameter 'name_to_dev_t' extern dev_t name_to_dev_t(const char *name); ^ /kisskb/src/include/linux/mount.h:109:13: error: storage class specified for parameter 'path_is_mountpoint' extern bool path_is_mountpoint(const struct path *path); ^ /kisskb/src/include/linux/mount.h:111:13: error: storage class specified for parameter 'our_mnt' extern bool our_mnt(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:113:25: error: storage class specified for parameter 'kern_mount' extern struct vfsmount *kern_mount(struct file_system_type *); ^ /kisskb/src/include/linux/mount.h:114:13: error: storage class specified for parameter 'kern_unmount' extern void kern_unmount(struct vfsmount *mnt); ^ /kisskb/src/include/linux/mount.h:115:12: error: storage class specified for parameter 'may_umount_tree' extern int may_umount_tree(struct vfsmount *); ^ /kisskb/src/include/linux/mount.h:116:12: error: storage class specified for parameter 'may_umount' extern int may_umount(struct vfsmount *); ^ /kisskb/src/include/linux/mount.h:117:13: error: storage class specified for parameter 'do_mount' extern long do_mount(const char *, const char __user *, ^ /kisskb/src/include/linux/mount.h:119:25: error: storage class specified for parameter 'collect_mounts' extern struct vfsmount *collect_mounts(const struct path *); ^ /kisskb/src/include/linux/mount.h:120:13: error: storage class specified for parameter 'drop_collected_mounts' extern void drop_collected_mounts(struct vfsmount *); ^ /kisskb/src/include/linux/mount.h:121:12: error: storage class specified for parameter 'iterate_mounts' extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *, ^ /kisskb/src/include/linux/mount.h:123:13: error: storage class specified for parameter 'kern_unmount_array' extern void kern_unmount_array(struct vfsmount *mnt[], unsigned int num); ^ In file included from /kisskb/src/include/linux/fs.h:44:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mnt_idmapping.h:8:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/mnt_idmapping.h:14:30: error: storage class specified for parameter 'init_user_ns' extern struct user_namespace init_user_ns; ^ /kisskb/src/include/linux/mnt_idmapping.h:14:30: error: redefinition of parameter 'init_user_ns' In file included from /kisskb/src/include/linux/sched/signal.h:10:0, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/cred.h:393:30: note: previous definition of 'init_user_ns' was here extern struct user_namespace init_user_ns; ^ In file included from /kisskb/src/include/linux/fs.h:44:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mnt_idmapping.h:18:3: error: storage class specified for parameter 'vfsuid_t' } vfsuid_t; ^ /kisskb/src/include/linux/mnt_idmapping.h:22:3: error: storage class specified for parameter 'vfsgid_t' } vfsgid_t; ^ In file included from /kisskb/src/include/linux/container_of.h:5:0, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:56, 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/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/mnt_idmapping.h:24:1: note: in expansion of macro 'static_assert' static_assert(sizeof(vfsuid_t) == sizeof(kuid_t)); ^ /kisskb/src/include/linux/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/mnt_idmapping.h:25:1: note: in expansion of macro 'static_assert' static_assert(sizeof(vfsgid_t) == sizeof(kgid_t)); ^ /kisskb/src/include/linux/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/mnt_idmapping.h:26:1: note: in expansion of macro 'static_assert' static_assert(offsetof(vfsuid_t, val) == offsetof(kuid_t, val)); ^ /kisskb/src/include/linux/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/mnt_idmapping.h:27:1: note: in expansion of macro 'static_assert' static_assert(offsetof(vfsgid_t, val) == offsetof(kgid_t, val)); ^ In file included from /kisskb/src/include/linux/fs.h:44:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mnt_idmapping.h:30:34: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline uid_t __vfsuid_val(vfsuid_t uid) ^ /kisskb/src/include/linux/mnt_idmapping.h:35:34: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline gid_t __vfsgid_val(vfsgid_t gid) ^ /kisskb/src/include/linux/mnt_idmapping.h:51:33: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline bool vfsuid_valid(vfsuid_t uid) ^ /kisskb/src/include/linux/mnt_idmapping.h:56:33: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline bool vfsgid_valid(vfsgid_t gid) ^ /kisskb/src/include/linux/mnt_idmapping.h:61:30: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline bool vfsuid_eq(vfsuid_t left, vfsuid_t right) ^ /kisskb/src/include/linux/mnt_idmapping.h:61:45: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline bool vfsuid_eq(vfsuid_t left, vfsuid_t right) ^ /kisskb/src/include/linux/mnt_idmapping.h:66:30: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline bool vfsgid_eq(vfsgid_t left, vfsgid_t right) ^ /kisskb/src/include/linux/mnt_idmapping.h:66:45: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline bool vfsgid_eq(vfsgid_t left, vfsgid_t right) ^ /kisskb/src/include/linux/mnt_idmapping.h:81:35: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline bool vfsuid_eq_kuid(vfsuid_t vfsuid, kuid_t kuid) ^ /kisskb/src/include/linux/mnt_idmapping.h:96:35: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline bool vfsgid_eq_kgid(vfsgid_t vfsgid, kgid_t kgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:128:37: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline int vfsgid_in_group_p(vfsgid_t vfsgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:194:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_vfsuid' static inline vfsuid_t make_vfsuid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:239:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_vfsgid' static inline vfsgid_t make_vfsgid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:276:6: error: expected declaration specifiers or '...' before 'vfsuid_t' vfsuid_t vfsuid) ^ /kisskb/src/include/linux/mnt_idmapping.h:313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:331:6: error: expected declaration specifiers or '...' before 'vfsuid_t' vfsuid_t vfsuid) ^ /kisskb/src/include/linux/mnt_idmapping.h:344:39: error: expected declaration specifiers or '...' before 'vfsuid_t' static inline kuid_t vfsuid_into_kuid(vfsuid_t vfsuid) ^ /kisskb/src/include/linux/mnt_idmapping.h:362:6: error: expected declaration specifiers or '...' before 'vfsgid_t' vfsgid_t vfsgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:417:6: error: expected declaration specifiers or '...' before 'vfsgid_t' vfsgid_t vfsgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:430:39: error: expected declaration specifiers or '...' before 'vfsgid_t' static inline kgid_t vfsgid_into_kgid(vfsgid_t vfsgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mnt_idmapping.h:470:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/slab.h:16:0, from /kisskb/src/include/linux/fs.h:45, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/overflow.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/overflow.h:141:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/overflow.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/overflow.h:183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/slab.h:19:0, from /kisskb/src/include/linux/fs.h:45, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/percpu-refcount.h:59:1: error: empty declaration [-Werror] struct percpu_ref; ^ /kisskb/src/include/linux/percpu-refcount.h:60:15: error: storage class specified for parameter 'percpu_ref_func_t' typedef void (percpu_ref_func_t)(struct percpu_ref *); ^ /kisskb/src/include/linux/percpu-refcount.h:63:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/percpu-refcount.h:72:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/percpu-refcount.h:97:2: error: expected specifier-qualifier-list before 'percpu_ref_func_t' percpu_ref_func_t *release; ^ /kisskb/src/include/linux/percpu-refcount.h:95:1: error: empty declaration [-Werror] struct percpu_ref_data { ^ /kisskb/src/include/linux/percpu-refcount.h:105:1: error: empty declaration [-Werror] struct percpu_ref { ^ /kisskb/src/include/linux/percpu-refcount.h:122:6: error: expected declaration specifiers or '...' before 'percpu_ref_func_t' percpu_ref_func_t *release, unsigned int flags, ^ /kisskb/src/include/linux/percpu-refcount.h:126:6: error: expected declaration specifiers or '...' before 'percpu_ref_func_t' percpu_ref_func_t *confirm_switch); ^ /kisskb/src/include/linux/percpu-refcount.h:130:6: error: expected declaration specifiers or '...' before 'percpu_ref_func_t' percpu_ref_func_t *confirm_kill); ^ /kisskb/src/include/linux/percpu-refcount.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:276:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:350:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/percpu-refcount.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kasan.h:6:0, from /kisskb/src/include/linux/slab.h:148, from /kisskb/src/include/linux/fs.h:45, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/kasan-enabled.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan-enabled.h:29:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/slab.h:148:0, from /kisskb/src/include/linux/fs.h:45, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/kasan.h:11:1: error: empty declaration [-Werror] struct kmem_cache; ^ /kisskb/src/include/linux/kasan.h:12:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/kasan.h:13:1: error: empty declaration [-Werror] struct slab; ^ /kisskb/src/include/linux/kasan.h:14:1: error: empty declaration [-Werror] struct vm_struct; ^ /kisskb/src/include/linux/kasan.h:15:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/kasan.h:24:32: error: storage class specified for parameter 'kasan_vmalloc_flags_t' typedef unsigned int __bitwise kasan_vmalloc_flags_t; ^ /kisskb/src/include/linux/kasan.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token {} ^ /kisskb/src/include/linux/kasan.h:82:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_enable_current(void) {} ^ /kisskb/src/include/linux/kasan.h:83:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_disable_current(void) {} ^ /kisskb/src/include/linux/kasan.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:249:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_unpoison_range(const void *address, size_t size) {} ^ /kisskb/src/include/linux/kasan.h:251:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token bool init) {} ^ /kisskb/src/include/linux/kasan.h:253:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token bool init) {} ^ /kisskb/src/include/linux/kasan.h:254:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} ^ /kisskb/src/include/linux/kasan.h:255:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_poison_slab(struct slab *slab) {} ^ /kisskb/src/include/linux/kasan.h:257:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token void *object) {} ^ /kisskb/src/include/linux/kasan.h:259:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token void *object) {} ^ /kisskb/src/include/linux/kasan.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:269:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_kfree_large(void *ptr) {} ^ /kisskb/src/include/linux/kasan.h:270:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_slab_free_mempool(void *ptr) {} ^ /kisskb/src/include/linux/kasan.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:300:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_unpoison_task_stack(struct task_struct *task) {} ^ /kisskb/src/include/linux/kasan.h:319:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:330:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token slab_flags_t *flags) {} ^ /kisskb/src/include/linux/kasan.h:332:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_cache_shrink(struct kmem_cache *cache) {} ^ /kisskb/src/include/linux/kasan.h:333:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} ^ /kisskb/src/include/linux/kasan.h:334:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_record_aux_stack(void *ptr) {} ^ /kisskb/src/include/linux/kasan.h:335:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_record_aux_stack_noalloc(void *ptr) {} ^ /kisskb/src/include/linux/kasan.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:374:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_init_sw_tags(void) { } ^ /kisskb/src/include/linux/kasan.h:381:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_init_hw_tags_cpu(void) { } ^ /kisskb/src/include/linux/kasan.h:382:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_init_hw_tags(void) { } ^ /kisskb/src/include/linux/kasan.h:434:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long size) { } ^ /kisskb/src/include/linux/kasan.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kasan.h:443:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long free_region_end) { } ^ /kisskb/src/include/linux/kasan.h:447:9: error: expected declaration specifiers or '...' before 'kasan_vmalloc_flags_t' kasan_vmalloc_flags_t flags) ^ /kisskb/src/include/linux/kasan.h:452:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { } ^ /kisskb/src/include/linux/kasan.h:469:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int kasan_alloc_module_shadow(void *addr, size_t size, gfp_t gfp_mask) { return 0; } ^ /kisskb/src/include/linux/kasan.h:470:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_free_module_shadow(const struct vm_struct *vm) {} ^ /kisskb/src/include/linux/kasan.h:477:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kasan_non_canonical_hook(unsigned long addr) { } ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:150:1: error: empty declaration [-Werror] struct list_lru; ^ /kisskb/src/include/linux/slab.h:151:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/slab.h:155:13: error: section attribute not allowed for 'kmem_cache_init' void __init kmem_cache_init(void); ^ /kisskb/src/include/linux/slab.h:155:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init kmem_cache_init(void); ^ /kisskb/src/include/linux/slab.h:155:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:280:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __realloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) ^ /kisskb/src/include/linux/slab.h:195:78: note: in expansion of macro '__realloc_size' void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2); ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/slab.h:332:1: error: empty declaration [-Werror] enum kmalloc_cache_type { ^ /kisskb/src/include/linux/slab.h:351:1: error: storage class specified for parameter 'kmalloc_caches' kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1]; ^ /kisskb/src/include/linux/slab.h:362:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/slab.h:400:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/container_of.h:5:0, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:56, 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/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/slab.h:439:1: note: in expansion of macro 'static_assert' static_assert(PAGE_SHIFT <= 20); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:443:70: note: in expansion of macro '__alloc_size' void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1); ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:444:31: error: '__malloc__' attribute ignored [-Werror=attributes] void *kmem_cache_alloc(struct kmem_cache *s, gfp_t flags) __assume_slab_alignment __malloc; ^ /kisskb/src/include/linux/slab.h:446:7: error: '__malloc__' attribute ignored [-Werror=attributes] gfp_t gfpflags) __assume_slab_alignment __malloc; ^ /kisskb/src/include/linux/slab.h:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:469:9: note: in expansion of macro '__alloc_size' __alloc_size(1); ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:471:11: error: '__malloc__' attribute ignored [-Werror=attributes] __malloc; ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:475:34: note: in expansion of macro '__alloc_size' __assume_kmalloc_alignment __alloc_size(3); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:479:7: note: in expansion of macro '__alloc_size' __alloc_size(4); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:503:12: note: in expansion of macro '__alloc_size' __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected ',' or ';' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:506:13: note: in expansion of macro '__alloc_size' __alloc_size(1); ^ /kisskb/src/include/linux/slab.h:562:37: error: expected declaration specifiers or '...' before numeric constant static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:585:37: error: expected declaration specifiers or '...' before numeric constant static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:620:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:620:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:638:30: error: expected declaration specifiers or '...' before numeric constant static inline __realloc_size(2, 3) void * __must_check krealloc_array(void *p, ^ /kisskb/src/include/linux/compiler_types.h:280:47: note: in definition of macro '__realloc_size' #define __realloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) ^ /kisskb/src/include/linux/slab.h:638:33: error: expected declaration specifiers or '...' before numeric constant static inline __realloc_size(2, 3) void * __must_check krealloc_array(void *p, ^ /kisskb/src/include/linux/compiler_types.h:280:53: note: in definition of macro '__realloc_size' #define __realloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) ^ /kisskb/src/include/linux/slab.h:657:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kcalloc(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:657:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kcalloc(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:663:29: note: in expansion of macro '__alloc_size' unsigned long caller) __alloc_size(1); ^ /kisskb/src/include/linux/slab.h:680:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kmalloc_array_node(size_t n, size_t size, gfp_t flags, ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:680:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kmalloc_array_node(size_t n, size_t size, gfp_t flags, ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:692:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:692:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:701:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from :0:0: /kisskb/src/include/linux/slab.h:710:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1) void *kzalloc(size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:721:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1) void *kzalloc_node(size_t size, gfp_t flags, int node) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:726:64: note: in expansion of macro '__alloc_size' extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __alloc_size(1); ^ /kisskb/src/include/linux/slab.h:727:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1) void *kvmalloc(size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:731:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1) void *kvzalloc_node(size_t size, gfp_t flags, int node) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:735:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1) void *kvzalloc(size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:740:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kvmalloc_array(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:740:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kvmalloc_array(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:750:28: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kvcalloc(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:45: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/slab.h:750:31: error: expected declaration specifiers or '...' before numeric constant static inline __alloc_size(1, 2) void *kvcalloc(size_t n, size_t size, gfp_t flags) ^ /kisskb/src/include/linux/compiler_types.h:279:51: note: in definition of macro '__alloc_size' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/compiler_types.h:280:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __realloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) ^ /kisskb/src/include/linux/slab.h:756:9: note: in expansion of macro '__realloc_size' __realloc_size(3); ^ In file included from /kisskb/src/include/linux/fs.h:45:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/slab.h:757:13: error: storage class specified for parameter 'kvfree' extern void kvfree(const void *addr); ^ /kisskb/src/include/linux/slab.h:758:13: error: storage class specified for parameter 'kvfree_sensitive' extern void kvfree_sensitive(const void *addr, size_t len); ^ /kisskb/src/include/linux/slab.h:778:13: error: section attribute not allowed for 'kmem_cache_init_late' void __init kmem_cache_init_late(void); ^ /kisskb/src/include/linux/slab.h:778:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init kmem_cache_init_late(void); ^ /kisskb/src/include/linux/slab.h:778:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/linux/fs.h:48:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/fs.h:54:1: error: empty declaration [-Werror] struct file_clone_range { ^ /kisskb/src/include/uapi/linux/fs.h:61:1: error: empty declaration [-Werror] struct fstrim_range { ^ /kisskb/src/include/uapi/linux/fs.h:72:1: error: empty declaration [-Werror] struct file_dedupe_range_info { ^ /kisskb/src/include/uapi/linux/fs.h:87:1: error: empty declaration [-Werror] struct file_dedupe_range { ^ /kisskb/src/include/uapi/linux/fs.h:97:1: error: empty declaration [-Werror] struct files_stat_struct { ^ /kisskb/src/include/uapi/linux/fs.h:103:1: error: empty declaration [-Werror] struct inodes_stat_t { ^ /kisskb/src/include/uapi/linux/fs.h:115:1: error: empty declaration [-Werror] struct fsxattr { ^ /kisskb/src/include/uapi/linux/fs.h:287:23: error: storage class specified for parameter '__kernel_rwf_t' typedef int __bitwise __kernel_rwf_t; ^ In file included from /kisskb/src/include/linux/compat.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:50:1: error: empty declaration [-Werror] struct backing_dev_info; ^ /kisskb/src/include/linux/fs.h:51:1: error: empty declaration [-Werror] struct bdi_writeback; ^ /kisskb/src/include/linux/fs.h:52:1: error: empty declaration [-Werror] struct bio; ^ /kisskb/src/include/linux/fs.h:53:1: error: empty declaration [-Werror] struct io_comp_batch; ^ /kisskb/src/include/linux/fs.h:54:1: error: empty declaration [-Werror] struct export_operations; ^ /kisskb/src/include/linux/fs.h:55:1: error: empty declaration [-Werror] struct fiemap_extent_info; ^ /kisskb/src/include/linux/fs.h:56:1: error: empty declaration [-Werror] struct hd_geometry; ^ /kisskb/src/include/linux/fs.h:57:1: error: empty declaration [-Werror] struct iovec; ^ /kisskb/src/include/linux/fs.h:58:1: error: empty declaration [-Werror] struct kiocb; ^ /kisskb/src/include/linux/fs.h:59:1: error: empty declaration [-Werror] struct kobject; ^ /kisskb/src/include/linux/fs.h:60:1: error: empty declaration [-Werror] struct pipe_inode_info; ^ /kisskb/src/include/linux/fs.h:61:1: error: empty declaration [-Werror] struct poll_table_struct; ^ /kisskb/src/include/linux/fs.h:62:1: error: empty declaration [-Werror] struct kstatfs; ^ /kisskb/src/include/linux/fs.h:63:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/fs.h:64:1: error: empty declaration [-Werror] struct vfsmount; ^ /kisskb/src/include/linux/fs.h:65:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/fs.h:66:1: error: empty declaration [-Werror] struct swap_info_struct; ^ /kisskb/src/include/linux/fs.h:67:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/fs.h:68:1: error: empty declaration [-Werror] struct workqueue_struct; ^ /kisskb/src/include/linux/fs.h:69:1: error: empty declaration [-Werror] struct iov_iter; ^ /kisskb/src/include/linux/fs.h:70:1: error: empty declaration [-Werror] struct fscrypt_info; ^ /kisskb/src/include/linux/fs.h:71:1: error: empty declaration [-Werror] struct fscrypt_operations; ^ /kisskb/src/include/linux/fs.h:72:1: error: empty declaration [-Werror] struct fsverity_info; ^ /kisskb/src/include/linux/fs.h:73:1: error: empty declaration [-Werror] struct fsverity_operations; ^ /kisskb/src/include/linux/fs.h:74:1: error: empty declaration [-Werror] struct fs_context; ^ /kisskb/src/include/linux/fs.h:75:1: error: empty declaration [-Werror] struct fs_parameter_spec; ^ /kisskb/src/include/linux/fs.h:76:1: error: empty declaration [-Werror] struct fileattr; ^ /kisskb/src/include/linux/fs.h:77:1: error: empty declaration [-Werror] struct iomap_ops; ^ /kisskb/src/include/linux/fs.h:79:20: error: storage class specified for parameter 'inode_init' extern void __init inode_init(void); ^ /kisskb/src/include/linux/fs.h:79:20: error: section attribute not allowed for 'inode_init' /kisskb/src/include/linux/fs.h:79:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init inode_init(void); ^ /kisskb/src/include/linux/fs.h:79:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:80:20: error: storage class specified for parameter 'inode_init_early' extern void __init inode_init_early(void); ^ /kisskb/src/include/linux/fs.h:80:20: error: section attribute not allowed for 'inode_init_early' /kisskb/src/include/linux/fs.h:80:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init inode_init_early(void); ^ /kisskb/src/include/linux/fs.h:80:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:81:20: error: storage class specified for parameter 'files_init' extern void __init files_init(void); ^ /kisskb/src/include/linux/fs.h:81:20: error: section attribute not allowed for 'files_init' /kisskb/src/include/linux/fs.h:81:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init files_init(void); ^ /kisskb/src/include/linux/fs.h:81:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:82:20: error: storage class specified for parameter 'files_maxfiles_init' extern void __init files_maxfiles_init(void); ^ /kisskb/src/include/linux/fs.h:82:20: error: section attribute not allowed for 'files_maxfiles_init' /kisskb/src/include/linux/fs.h:82:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init files_maxfiles_init(void); ^ /kisskb/src/include/linux/fs.h:82:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:84:22: error: storage class specified for parameter 'get_max_files' extern unsigned long get_max_files(void); ^ /kisskb/src/include/linux/fs.h:85:21: error: storage class specified for parameter 'sysctl_nr_open' extern unsigned int sysctl_nr_open; ^ /kisskb/src/include/linux/fs.h:87:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rwf_t' typedef __kernel_rwf_t rwf_t; ^ /kisskb/src/include/linux/fs.h:89:1: error: empty declaration [-Werror] struct buffer_head; ^ /kisskb/src/include/linux/fs.h:90:14: error: storage class specified for parameter 'get_block_t' typedef int (get_block_t)(struct inode *inode, sector_t iblock, ^ /kisskb/src/include/linux/fs.h:92:14: error: storage class specified for parameter 'dio_iodone_t' typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset, ^ /kisskb/src/include/linux/fs.h:242:3: error: expected specifier-qualifier-list before 'vfsuid_t' vfsuid_t ia_vfsuid; ^ /kisskb/src/include/linux/fs.h:246:3: error: expected specifier-qualifier-list before 'vfsgid_t' vfsgid_t ia_vfsgid; ^ /kisskb/src/include/linux/fs.h:225:1: error: empty declaration [-Werror] struct iattr { ^ In file included from /kisskb/src/include/linux/quota.h:42:0, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/dqblk_xfs.h:81:3: error: storage class specified for parameter 'fs_disk_quota_t' } fs_disk_quota_t; ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:163:3: error: storage class specified for parameter 'fs_qfilestat_t' } fs_qfilestat_t; ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:169:2: error: expected specifier-qualifier-list before 'fs_qfilestat_t' fs_qfilestat_t qs_uquota; /* user quota storage information */ ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:177:3: error: storage class specified for parameter 'fs_quota_stat_t' } fs_quota_stat_t; ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:202:1: error: empty declaration [-Werror] struct fs_qfilestatv { ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:209:1: error: empty declaration [-Werror] struct fs_quota_statv { ^ In file included from /kisskb/src/include/linux/dqblk_v2.h:9:0, from /kisskb/src/include/linux/quota.h:44, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/dqblk_qtree.h:18:1: error: empty declaration [-Werror] struct dquot; ^ /kisskb/src/include/linux/dqblk_qtree.h:19:1: error: empty declaration [-Werror] struct kqid; ^ /kisskb/src/include/linux/dqblk_qtree.h:22:1: error: empty declaration [-Werror] struct qtree_fmt_operations { ^ /kisskb/src/include/linux/dqblk_qtree.h:29:1: error: empty declaration [-Werror] struct qtree_mem_dqinfo { ^ /kisskb/src/include/linux/dqblk_qtree.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/quota.h:48:0, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/projid.h:17:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/projid.h:18:30: error: storage class specified for parameter 'init_user_ns' extern struct user_namespace init_user_ns; ^ /kisskb/src/include/linux/projid.h:18:30: error: redefinition of parameter 'init_user_ns' In file included from /kisskb/src/include/linux/fs.h:44:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/mnt_idmapping.h:14:30: note: previous definition of 'init_user_ns' was here extern struct user_namespace init_user_ns; ^ In file included from /kisskb/src/include/linux/quota.h:48:0, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/projid.h:20:26: error: storage class specified for parameter 'projid_t' typedef __kernel_uid32_t projid_t; ^ /kisskb/src/include/linux/projid.h:23:2: error: expected specifier-qualifier-list before 'projid_t' projid_t val; ^ /kisskb/src/include/linux/projid.h:24:3: error: storage class specified for parameter 'kprojid_t' } kprojid_t; ^ /kisskb/src/include/linux/projid.h:26:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kprojid_val' static inline projid_t __kprojid_val(kprojid_t projid) ^ /kisskb/src/include/linux/projid.h:36:30: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool projid_eq(kprojid_t left, kprojid_t right) ^ /kisskb/src/include/linux/projid.h:36:46: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool projid_eq(kprojid_t left, kprojid_t right) ^ /kisskb/src/include/linux/projid.h:41:30: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool projid_lt(kprojid_t left, kprojid_t right) ^ /kisskb/src/include/linux/projid.h:41:46: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool projid_lt(kprojid_t left, kprojid_t right) ^ /kisskb/src/include/linux/projid.h:46:33: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool projid_valid(kprojid_t projid) ^ /kisskb/src/include/linux/projid.h:53:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_kprojid' extern kprojid_t make_kprojid(struct user_namespace *from, projid_t projid); ^ /kisskb/src/include/linux/projid.h:55:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_kprojid' extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid); ^ /kisskb/src/include/linux/projid.h:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_kprojid_munged' extern projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t projid); ^ /kisskb/src/include/linux/projid.h:58:67: error: expected declaration specifiers or '...' before 'kprojid_t' static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) ^ In file included from /kisskb/src/include/linux/quota.h:49:0, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/quota.h:90:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/quota.h:110:1: error: empty declaration [-Werror] struct if_dqblk { ^ /kisskb/src/include/uapi/linux/quota.h:122:1: error: empty declaration [-Werror] struct if_nextdqblk { ^ /kisskb/src/include/uapi/linux/quota.h:144:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/quota.h:156:1: error: empty declaration [-Werror] struct if_dqinfo { ^ /kisskb/src/include/uapi/linux/quota.h:178:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/quota.h:185:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/fs.h:264:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/quota.h:54:1: error: empty declaration [-Werror] enum quota_type { ^ /kisskb/src/include/linux/quota.h:65:26: error: storage class specified for parameter 'qid_t' typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */ ^ /kisskb/src/include/linux/quota.h:66:19: error: storage class specified for parameter 'qsize_t' typedef long long qsize_t; /* Type in which we store sizes */ ^ /kisskb/src/include/linux/quota.h:72:3: error: expected specifier-qualifier-list before 'kprojid_t' kprojid_t projid; ^ /kisskb/src/include/linux/quota.h:68:1: error: empty declaration [-Werror] struct kqid { /* Type in which we store the quota identifier */ ^ /kisskb/src/include/linux/quota.h:77:13: error: storage class specified for parameter 'qid_eq' extern bool qid_eq(struct kqid left, struct kqid right); ^ /kisskb/src/include/linux/quota.h:78:13: error: storage class specified for parameter 'qid_lt' extern bool qid_lt(struct kqid left, struct kqid right); ^ /kisskb/src/include/linux/quota.h:79:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_kqid' extern qid_t from_kqid(struct user_namespace *to, struct kqid qid); ^ /kisskb/src/include/linux/quota.h:80:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_kqid_munged' extern qid_t from_kqid_munged(struct user_namespace *to, struct kqid qid); ^ /kisskb/src/include/linux/quota.h:81:13: error: storage class specified for parameter 'qid_valid' extern bool qid_valid(struct kqid qid); ^ /kisskb/src/include/linux/quota.h:98:31: error: expected declaration specifiers or '...' before 'qid_t' enum quota_type type, qid_t qid) ^ /kisskb/src/include/linux/quota.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:174:44: error: expected declaration specifiers or '...' before 'kprojid_t' static inline struct kqid make_kqid_projid(kprojid_t projid) ^ /kisskb/src/include/linux/quota.h:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:193:19: error: storage class specified for parameter 'dq_data_lock' extern spinlock_t dq_data_lock; ^ /kisskb/src/include/linux/quota.h:206:2: error: expected specifier-qualifier-list before 'qsize_t' qsize_t dqb_bhardlimit; /* absolute limit on disk blks alloc */ ^ /kisskb/src/include/linux/quota.h:205:1: error: empty declaration [-Werror] struct mem_dqblk { ^ /kisskb/src/include/linux/quota.h:220:1: error: empty declaration [-Werror] struct quota_format_type; ^ /kisskb/src/include/linux/quota.h:230:2: error: expected specifier-qualifier-list before 'qsize_t' qsize_t dqi_max_spc_limit; /* Maximum space limit [static] */ ^ /kisskb/src/include/linux/quota.h:222:1: error: empty declaration [-Werror] struct mem_dqinfo { ^ /kisskb/src/include/linux/quota.h:235:1: error: empty declaration [-Werror] struct super_block; ^ /kisskb/src/include/linux/quota.h:242:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/quota.h:247:13: error: storage class specified for parameter 'mark_info_dirty' extern void mark_info_dirty(struct super_block *sb, int type); ^ /kisskb/src/include/linux/quota.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:253:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/quota.h:265:1: error: empty declaration [-Werror] struct dqstats { ^ /kisskb/src/include/linux/quota.h:270:23: error: storage class specified for parameter 'dqstats' extern struct dqstats dqstats; ^ /kisskb/src/include/linux/quota.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:294:1: error: empty declaration [-Werror] struct dquot { ^ /kisskb/src/include/linux/quota.h:310:1: error: empty declaration [-Werror] struct quota_format_ops { ^ /kisskb/src/include/linux/quota.h:332:2: error: expected specifier-qualifier-list before 'qsize_t' qsize_t *(*get_reserved_space) (struct inode *); ^ /kisskb/src/include/linux/quota.h:322:1: error: empty declaration [-Werror] struct dquot_operations { ^ /kisskb/src/include/linux/quota.h:340:1: error: empty declaration [-Werror] struct path; ^ /kisskb/src/include/linux/quota.h:343:1: error: empty declaration [-Werror] struct qc_dqblk { ^ /kisskb/src/include/linux/quota.h:395:1: error: empty declaration [-Werror] struct qc_type_state { ^ /kisskb/src/include/linux/quota.h:409:1: error: empty declaration [-Werror] struct qc_state { ^ /kisskb/src/include/linux/quota.h:415:1: error: empty declaration [-Werror] struct qc_info { ^ /kisskb/src/include/linux/quota.h:428:1: error: empty declaration [-Werror] struct quotactl_ops { ^ /kisskb/src/include/linux/quota.h:443:1: error: empty declaration [-Werror] struct quota_format_type { ^ /kisskb/src/include/linux/quota.h:464:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/quota.h:492:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:497:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:509:13: error: storage class specified for parameter 'quota_send_warning' extern void quota_send_warning(struct kqid qid, dev_t dev, ^ /kisskb/src/include/linux/quota.h:519:1: error: empty declaration [-Werror] struct quota_info { ^ /kisskb/src/include/linux/quota.h:530:1: error: empty declaration [-Werror] struct quota_module_name { ^ In file included from /kisskb/src/include/linux/compat.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:298:1: error: empty declaration [-Werror] enum positive_aop_returns { ^ /kisskb/src/include/linux/fs.h:306:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/fs.h:307:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/linux/fs.h:308:1: error: empty declaration [-Werror] struct writeback_control; ^ /kisskb/src/include/linux/fs.h:309:1: error: empty declaration [-Werror] struct readahead_control; ^ /kisskb/src/include/linux/fs.h:315:1: error: empty declaration [-Werror] enum rw_hint { ^ /kisskb/src/include/linux/fs.h:341:1: error: empty declaration [-Werror] struct kiocb { ^ /kisskb/src/include/linux/fs.h:352:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:356:1: error: empty declaration [-Werror] struct address_space_operations { ^ /kisskb/src/include/linux/fs.h:400:46: error: storage class specified for parameter 'empty_aops' extern const struct address_space_operations empty_aops; ^ /kisskb/src/include/linux/fs.h:440:2: error: expected specifier-qualifier-list before 'errseq_t' errseq_t wb_err; ^ /kisskb/src/include/linux/fs.h:424:1: error: empty declaration [-Werror] struct address_space { ^ /kisskb/src/include/linux/fs.h:459:66: error: expected declaration specifiers or '...' before 'xa_mark_t' static inline bool mapping_tagged(struct address_space *mapping, xa_mark_t tag) ^ /kisskb/src/include/linux/fs.h:465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:470:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:475:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:485:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:500:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:508:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:522:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:527:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:533:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:538:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:544:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:559:1: error: empty declaration [-Werror] struct posix_acl; ^ /kisskb/src/include/linux/fs.h:570:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:576:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:586:1: error: empty declaration [-Werror] struct fsnotify_mark_connector; ^ /kisskb/src/include/linux/fs.h:593:1: error: empty declaration [-Werror] struct inode { ^ /kisskb/src/include/linux/fs.h:708:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:713:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:724:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:744:1: error: empty declaration [-Werror] enum inode_i_mutex_lock_class ^ /kisskb/src/include/linux/fs.h:755:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:760:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:765:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:775:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:780:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:790:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:795:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:800:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:805:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:810:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:816:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:822:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:846:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:874:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:891:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:896:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:900:1: error: empty declaration [-Werror] struct fown_struct { ^ /kisskb/src/include/linux/fs.h:922:1: error: empty declaration [-Werror] struct file_ra_state { ^ /kisskb/src/include/linux/fs.h:935:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:946:15: error: field 'f_path' has incomplete type struct path f_path; ^ /kisskb/src/include/linux/fs.h:976:2: error: expected specifier-qualifier-list before 'errseq_t' errseq_t f_wb_err; ^ /kisskb/src/include/linux/fs.h:940:1: error: empty declaration [-Werror] struct file { ^ /kisskb/src/include/linux/fs.h:981:1: error: empty declaration [-Werror] struct file_handle { ^ /kisskb/src/include/linux/fs.h:989:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1029:15: error: storage class specified for parameter 'fl_owner_t' typedef void *fl_owner_t; ^ /kisskb/src/include/linux/fs.h:1031:1: error: empty declaration [-Werror] struct file_lock; ^ /kisskb/src/include/linux/fs.h:1033:1: error: empty declaration [-Werror] struct file_lock_operations { ^ /kisskb/src/include/linux/fs.h:1040:2: error: expected specifier-qualifier-list before 'fl_owner_t' fl_owner_t (*lm_get_owner)(fl_owner_t); ^ /kisskb/src/include/linux/fs.h:1038:1: error: empty declaration [-Werror] struct lock_manager_operations { ^ /kisskb/src/include/linux/fs.h:1052:1: error: empty declaration [-Werror] struct lock_manager { ^ /kisskb/src/include/linux/fs.h:1061:1: error: empty declaration [-Werror] struct net; ^ In file included from /kisskb/src/include/linux/fs.h:1068:0, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/nfs_fs_i.h:5:1: error: empty declaration [-Werror] struct nlm_lockowner; ^ /kisskb/src/include/linux/nfs_fs_i.h:10:1: error: empty declaration [-Werror] struct nfs_lock_info { ^ /kisskb/src/include/linux/nfs_fs_i.h:16:1: error: empty declaration [-Werror] struct nfs4_lock_state; ^ /kisskb/src/include/linux/nfs_fs_i.h:17:1: error: empty declaration [-Werror] struct nfs4_lock_info { ^ In file included from /kisskb/src/include/linux/compat.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:1097:2: error: expected specifier-qualifier-list before 'fl_owner_t' fl_owner_t fl_owner; ^ /kisskb/src/include/linux/fs.h:1087:1: error: empty declaration [-Werror] struct file_lock { ^ /kisskb/src/include/linux/fs.h:1125:1: error: empty declaration [-Werror] struct file_lock_context { ^ /kisskb/src/include/linux/fs.h:1139:13: error: storage class specified for parameter 'send_sigio' extern void send_sigio(struct fown_struct *fown, int fd, int band); ^ /kisskb/src/include/linux/fs.h:1144:12: error: storage class specified for parameter 'fcntl_getlk' extern int fcntl_getlk(struct file *, unsigned int, struct flock *); ^ /kisskb/src/include/linux/fs.h:1145:12: error: storage class specified for parameter 'fcntl_setlk' extern int fcntl_setlk(unsigned int, struct file *, unsigned int, ^ /kisskb/src/include/linux/fs.h:1154:12: error: storage class specified for parameter 'fcntl_setlease' extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg); ^ /kisskb/src/include/linux/fs.h:1155:12: error: storage class specified for parameter 'fcntl_getlease' extern int fcntl_getlease(struct file *filp); ^ /kisskb/src/include/linux/fs.h:1160:13: error: storage class specified for parameter 'locks_init_lock' extern void locks_init_lock(struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1161:27: error: storage class specified for parameter 'locks_alloc_lock' extern struct file_lock * locks_alloc_lock(void); ^ /kisskb/src/include/linux/fs.h:1162:13: error: storage class specified for parameter 'locks_copy_lock' extern void locks_copy_lock(struct file_lock *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1163:13: error: storage class specified for parameter 'locks_copy_conflock' extern void locks_copy_conflock(struct file_lock *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1164:47: error: expected declaration specifiers or '...' before 'fl_owner_t' extern void locks_remove_posix(struct file *, fl_owner_t); ^ /kisskb/src/include/linux/fs.h:1165:13: error: storage class specified for parameter 'locks_remove_file' extern void locks_remove_file(struct file *); ^ /kisskb/src/include/linux/fs.h:1166:13: error: storage class specified for parameter 'locks_release_private' extern void locks_release_private(struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1167:13: error: storage class specified for parameter 'posix_test_lock' extern void posix_test_lock(struct file *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1168:12: error: storage class specified for parameter 'posix_lock_file' extern int posix_lock_file(struct file *, struct file_lock *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1169:12: error: storage class specified for parameter 'locks_delete_block' extern int locks_delete_block(struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1170:12: error: storage class specified for parameter 'vfs_test_lock' extern int vfs_test_lock(struct file *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1171:12: error: storage class specified for parameter 'vfs_lock_file' extern int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *); ^ /kisskb/src/include/linux/fs.h:1172:12: error: storage class specified for parameter 'vfs_cancel_lock' extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl); ^ /kisskb/src/include/linux/fs.h:1173:12: error: storage class specified for parameter 'locks_lock_inode_wait' extern int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl); ^ /kisskb/src/include/linux/fs.h:1174:12: error: storage class specified for parameter '__break_lease' extern int __break_lease(struct inode *inode, unsigned int flags, unsigned int type); ^ /kisskb/src/include/linux/fs.h:1175:13: error: storage class specified for parameter 'lease_get_mtime' extern void lease_get_mtime(struct inode *, struct timespec64 *time); ^ /kisskb/src/include/linux/fs.h:1176:12: error: storage class specified for parameter 'generic_setlease' extern int generic_setlease(struct file *, long, struct file_lock **, void **priv); ^ /kisskb/src/include/linux/fs.h:1177:12: error: storage class specified for parameter 'vfs_setlease' extern int vfs_setlease(struct file *, long, struct file_lock **, void **); ^ /kisskb/src/include/linux/fs.h:1178:12: error: storage class specified for parameter 'lease_modify' extern int lease_modify(struct file_lock *, int, struct list_head *); ^ /kisskb/src/include/linux/fs.h:1180:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/fs.h:1181:12: error: storage class specified for parameter 'lease_register_notifier' extern int lease_register_notifier(struct notifier_block *); ^ /kisskb/src/include/linux/fs.h:1182:13: error: storage class specified for parameter 'lease_unregister_notifier' extern void lease_unregister_notifier(struct notifier_block *); ^ /kisskb/src/include/linux/fs.h:1184:1: error: empty declaration [-Werror] struct files_struct; ^ /kisskb/src/include/linux/fs.h:1185:13: error: storage class specified for parameter 'show_fd_locks' extern void show_fd_locks(struct seq_file *f, ^ /kisskb/src/include/linux/fs.h:1188:4: error: expected declaration specifiers or '...' before 'fl_owner_t' fl_owner_t owner); ^ /kisskb/src/include/linux/fs.h:1332:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1337:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1346:1: error: empty declaration [-Werror] struct fasync_struct { ^ /kisskb/src/include/linux/fs.h:1358:12: error: storage class specified for parameter 'fasync_helper' extern int fasync_helper(int, struct file *, int, struct fasync_struct **); ^ /kisskb/src/include/linux/fs.h:1359:30: error: storage class specified for parameter 'fasync_insert_entry' extern struct fasync_struct *fasync_insert_entry(int, struct file *, struct fasync_struct **, struct fasync_struct *); ^ /kisskb/src/include/linux/fs.h:1360:12: error: storage class specified for parameter 'fasync_remove_entry' extern int fasync_remove_entry(struct file *, struct fasync_struct **); ^ /kisskb/src/include/linux/fs.h:1361:30: error: storage class specified for parameter 'fasync_alloc' extern struct fasync_struct *fasync_alloc(void); ^ /kisskb/src/include/linux/fs.h:1362:13: error: storage class specified for parameter 'fasync_free' extern void fasync_free(struct fasync_struct *); ^ /kisskb/src/include/linux/fs.h:1365:13: error: storage class specified for parameter 'kill_fasync' extern void kill_fasync(struct fasync_struct **, int, int); ^ /kisskb/src/include/linux/fs.h:1367:13: error: storage class specified for parameter '__f_setown' extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force); ^ /kisskb/src/include/linux/fs.h:1368:12: error: storage class specified for parameter 'f_setown' extern int f_setown(struct file *filp, unsigned long arg, int force); ^ /kisskb/src/include/linux/fs.h:1369:13: error: storage class specified for parameter 'f_delown' extern void f_delown(struct file *filp); ^ /kisskb/src/include/linux/fs.h:1370:14: error: storage class specified for parameter 'f_getown' extern pid_t f_getown(struct file *filp); ^ /kisskb/src/include/linux/fs.h:1371:12: error: storage class specified for parameter 'send_sigurg' extern int send_sigurg(struct fown_struct *fown); ^ /kisskb/src/include/linux/fs.h:1434:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/fs.h:1445:1: error: empty declaration [-Werror] struct sb_writers { ^ /kisskb/src/include/linux/fs.h:1513:2: error: expected specifier-qualifier-list before 'uuid_t' uuid_t s_uuid; /* UUID */ ^ /kisskb/src/include/linux/fs.h:1451:1: error: empty declaration [-Werror] struct super_block { ^ /kisskb/src/include/linux/fs.h:1586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1601:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1606:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1640:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i_uid_into_vfsuid' static inline vfsuid_t i_uid_into_vfsuid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/fs.h:1660:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1678:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1697:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1709:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i_gid_into_vfsgid' static inline vfsgid_t i_gid_into_vfsgid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/fs.h:1729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1747:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1763:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1777:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1794:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1809:26: error: storage class specified for parameter 'current_time' extern struct timespec64 current_time(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:1820:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1825:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1830:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1840:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1852:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1864:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1876:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1900:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1905:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1929:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1947:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1952:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:1987:1: error: empty declaration [-Werror] struct renamedata { ^ /kisskb/src/include/linux/fs.h:2002:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2019:13: error: storage class specified for parameter 'vfs_ioctl' extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); ^ /kisskb/src/include/linux/fs.h:2022:13: error: storage class specified for parameter 'compat_ptr_ioctl' extern long compat_ptr_ioctl(struct file *file, unsigned int cmd, ^ /kisskb/src/include/linux/fs.h:2033:13: error: storage class specified for parameter 'may_open_dev' extern bool may_open_dev(const struct path *path); ^ /kisskb/src/include/linux/fs.h:2044:1: error: empty declaration [-Werror] struct dir_context; ^ /kisskb/src/include/linux/fs.h:2045:16: error: storage class specified for parameter 'filldir_t' typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, ^ /kisskb/src/include/linux/fs.h:2049:2: error: expected specifier-qualifier-list before 'filldir_t' filldir_t actor; ^ /kisskb/src/include/linux/fs.h:2048:1: error: empty declaration [-Werror] struct dir_context { ^ /kisskb/src/include/linux/fs.h:2092:1: error: empty declaration [-Werror] struct iov_iter; ^ /kisskb/src/include/linux/fs.h:2093:1: error: empty declaration [-Werror] struct io_uring_cmd; ^ /kisskb/src/include/linux/fs.h:2112:31: error: expected declaration specifiers or '...' before 'fl_owner_t' int (*flush) (struct file *, fl_owner_t id); ^ /kisskb/src/include/linux/fs.h:2095:1: error: empty declaration [-Werror] struct file_operations { ^ /kisskb/src/include/linux/fs.h:2141:1: error: empty declaration [-Werror] struct inode_operations { ^ /kisskb/src/include/linux/fs.h:2184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2199:16: error: storage class specified for parameter 'vfs_read' extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:2200:16: error: storage class specified for parameter 'vfs_write' extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:2201:16: error: storage class specified for parameter 'vfs_copy_file_range' extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *, ^ /kisskb/src/include/linux/fs.h:2203:16: error: storage class specified for parameter 'generic_copy_file_range' extern ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, ^ /kisskb/src/include/linux/fs.h:2213:15: error: storage class specified for parameter 'do_clone_file_range' extern loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, ^ /kisskb/src/include/linux/fs.h:2216:15: error: storage class specified for parameter 'vfs_clone_file_range' extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, ^ /kisskb/src/include/linux/fs.h:2219:12: error: storage class specified for parameter 'vfs_dedupe_file_range' extern int vfs_dedupe_file_range(struct file *file, ^ /kisskb/src/include/linux/fs.h:2221:15: error: storage class specified for parameter 'vfs_dedupe_file_range_one' extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, ^ /kisskb/src/include/linux/fs.h:2226:1: error: empty declaration [-Werror] struct super_operations { ^ /kisskb/src/include/linux/fs.h:2301:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } ^ /kisskb/src/include/linux/fs.h:2333:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2463:13: error: storage class specified for parameter '__mark_inode_dirty' extern void __mark_inode_dirty(struct inode *, int); ^ /kisskb/src/include/linux/fs.h:2465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2470:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2484:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2489:13: error: storage class specified for parameter 'inc_nlink' extern void inc_nlink(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:2490:13: error: storage class specified for parameter 'drop_nlink' extern void drop_nlink(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:2491:13: error: storage class specified for parameter 'clear_nlink' extern void clear_nlink(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:2492:13: error: storage class specified for parameter 'set_nlink' extern void set_nlink(struct inode *inode, unsigned int nlink); ^ /kisskb/src/include/linux/fs.h:2495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2501:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2506:1: error: empty declaration [-Werror] enum file_time_flags { ^ /kisskb/src/include/linux/fs.h:2513:13: error: storage class specified for parameter 'atime_needs_update' extern bool atime_needs_update(const struct path *, struct inode *); ^ /kisskb/src/include/linux/fs.h:2514:13: error: storage class specified for parameter 'touch_atime' extern void touch_atime(const struct path *); ^ /kisskb/src/include/linux/fs.h:2518:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2523:12: error: storage class specified for parameter 'file_modified' extern int file_modified(struct file *file); ^ /kisskb/src/include/linux/fs.h:2528:1: error: empty declaration [-Werror] struct file_system_type { ^ /kisskb/src/include/linux/fs.h:2560:23: error: storage class specified for parameter 'mount_bdev' extern struct dentry *mount_bdev(struct file_system_type *fs_type, ^ /kisskb/src/include/linux/fs.h:2563:23: error: storage class specified for parameter 'mount_single' extern struct dentry *mount_single(struct file_system_type *fs_type, ^ /kisskb/src/include/linux/fs.h:2566:23: error: storage class specified for parameter 'mount_nodev' extern struct dentry *mount_nodev(struct file_system_type *fs_type, ^ /kisskb/src/include/linux/fs.h:2569:23: error: storage class specified for parameter 'mount_subtree' extern struct dentry *mount_subtree(struct vfsmount *mnt, const char *path); ^ /kisskb/src/include/linux/fs.h:2606:12: error: storage class specified for parameter 'register_filesystem' extern int register_filesystem(struct file_system_type *); ^ /kisskb/src/include/linux/fs.h:2607:12: error: storage class specified for parameter 'unregister_filesystem' extern int unregister_filesystem(struct file_system_type *); ^ /kisskb/src/include/linux/fs.h:2608:12: error: storage class specified for parameter 'vfs_statfs' extern int vfs_statfs(const struct path *, struct kstatfs *); ^ /kisskb/src/include/linux/fs.h:2609:12: error: storage class specified for parameter 'user_statfs' extern int user_statfs(const char __user *, struct kstatfs *); ^ /kisskb/src/include/linux/fs.h:2610:12: error: storage class specified for parameter 'fd_statfs' extern int fd_statfs(int, struct kstatfs *); ^ /kisskb/src/include/linux/fs.h:2611:12: error: storage class specified for parameter 'freeze_super' extern int freeze_super(struct super_block *super); ^ /kisskb/src/include/linux/fs.h:2612:12: error: storage class specified for parameter 'thaw_super' extern int thaw_super(struct super_block *super); ^ /kisskb/src/include/linux/fs.h:2614:5: error: storage class specified for parameter 'super_setup_bdi_name' int super_setup_bdi_name(struct super_block *sb, char *fmt, ...); ^ /kisskb/src/include/linux/fs.h:2615:12: error: storage class specified for parameter 'super_setup_bdi' extern int super_setup_bdi(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:2617:12: error: storage class specified for parameter 'current_umask' extern int current_umask(void); ^ /kisskb/src/include/linux/fs.h:2619:13: error: storage class specified for parameter 'ihold' extern void ihold(struct inode * inode); ^ /kisskb/src/include/linux/fs.h:2620:13: error: storage class specified for parameter 'iput' extern void iput(struct inode *); ^ /kisskb/src/include/linux/fs.h:2621:12: error: storage class specified for parameter 'generic_update_time' extern int generic_update_time(struct inode *, struct timespec64 *, int); ^ /kisskb/src/include/linux/fs.h:2624:24: error: storage class specified for parameter 'fs_kobj' extern struct kobject *fs_kobj; ^ /kisskb/src/include/linux/fs.h:2630:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2644:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2658:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2670:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2680:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2719:1: error: empty declaration [-Werror] struct audit_names; ^ /kisskb/src/include/linux/fs.h:2720:1: error: empty declaration [-Werror] struct filename { ^ In file included from /kisskb/src/include/linux/container_of.h:5:0, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:56, 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/build_bug.h:78:41: error: expected declaration specifiers before '_Static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^ /kisskb/src/include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ^ /kisskb/src/include/linux/fs.h:2727:1: note: in expansion of macro 'static_assert' static_assert(offsetof(struct filename, iname) % sizeof(long) == 0); ^ In file included from /kisskb/src/include/linux/compat.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:2730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2744:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2748:13: error: storage class specified for parameter 'vfs_truncate' extern long vfs_truncate(const struct path *, loff_t); ^ /kisskb/src/include/linux/fs.h:2751:12: error: storage class specified for parameter 'vfs_fallocate' extern int vfs_fallocate(struct file *file, int mode, loff_t offset, ^ /kisskb/src/include/linux/fs.h:2753:13: error: storage class specified for parameter 'do_sys_open' extern long do_sys_open(int dfd, const char __user *filename, int flags, ^ /kisskb/src/include/linux/fs.h:2755:21: error: storage class specified for parameter 'file_open_name' extern struct file *file_open_name(struct filename *, int, umode_t); ^ /kisskb/src/include/linux/fs.h:2756:21: error: storage class specified for parameter 'filp_open' extern struct file *filp_open(const char *, int, umode_t); ^ /kisskb/src/include/linux/fs.h:2757:21: error: storage class specified for parameter 'file_open_root' extern struct file *file_open_root(const struct path *, ^ /kisskb/src/include/linux/fs.h:2761:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2765:22: error: storage class specified for parameter 'dentry_open' extern struct file * dentry_open(const struct path *, int, const struct cred *); ^ /kisskb/src/include/linux/fs.h:2766:21: error: storage class specified for parameter 'dentry_create' extern struct file *dentry_create(const struct path *path, int flags, ^ /kisskb/src/include/linux/fs.h:2768:22: error: storage class specified for parameter 'open_with_fake_path' extern struct file * open_with_fake_path(const struct path *, int, ^ /kisskb/src/include/linux/fs.h:2771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2774:38: error: expected declaration specifiers or '...' before 'fl_owner_t' extern int filp_close(struct file *, fl_owner_t id); ^ /kisskb/src/include/linux/fs.h:2776:25: error: storage class specified for parameter 'getname_flags' extern struct filename *getname_flags(const char __user *, int, int *); ^ /kisskb/src/include/linux/fs.h:2777:25: error: storage class specified for parameter 'getname_uflags' extern struct filename *getname_uflags(const char __user *, int); ^ /kisskb/src/include/linux/fs.h:2778:25: error: storage class specified for parameter 'getname' extern struct filename *getname(const char __user *); ^ /kisskb/src/include/linux/fs.h:2779:25: error: storage class specified for parameter 'getname_kernel' extern struct filename *getname_kernel(const char *); ^ /kisskb/src/include/linux/fs.h:2780:13: error: storage class specified for parameter 'putname' extern void putname(struct filename *name); ^ /kisskb/src/include/linux/fs.h:2782:12: error: storage class specified for parameter 'finish_open' extern int finish_open(struct file *file, struct dentry *dentry, ^ /kisskb/src/include/linux/fs.h:2784:12: error: storage class specified for parameter 'finish_no_open' extern int finish_no_open(struct file *file, struct dentry *dentry); ^ /kisskb/src/include/linux/fs.h:2788:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2796:20: error: storage class specified for parameter 'vfs_caches_init_early' extern void __init vfs_caches_init_early(void); ^ /kisskb/src/include/linux/fs.h:2796:20: error: section attribute not allowed for 'vfs_caches_init_early' /kisskb/src/include/linux/fs.h:2796:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init vfs_caches_init_early(void); ^ /kisskb/src/include/linux/fs.h:2796:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:2797:20: error: storage class specified for parameter 'vfs_caches_init' extern void __init vfs_caches_init(void); ^ /kisskb/src/include/linux/fs.h:2797:20: error: section attribute not allowed for 'vfs_caches_init' /kisskb/src/include/linux/fs.h:2797:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init vfs_caches_init(void); ^ /kisskb/src/include/linux/fs.h:2797:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:2799:27: error: storage class specified for parameter 'names_cachep' extern struct kmem_cache *names_cachep; ^ /kisskb/src/include/linux/fs.h:2804:28: error: storage class specified for parameter 'blockdev_superblock' extern struct super_block *blockdev_superblock; ^ /kisskb/src/include/linux/fs.h:2806:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2811:12: error: storage class specified for parameter 'sync_filesystem' extern int sync_filesystem(struct super_block *); ^ /kisskb/src/include/linux/fs.h:2812:37: error: storage class specified for parameter 'def_blk_fops' extern const struct file_operations def_blk_fops; ^ /kisskb/src/include/linux/fs.h:2813:37: error: storage class specified for parameter 'def_chr_fops' extern const struct file_operations def_chr_fops; ^ /kisskb/src/include/linux/fs.h:2823:12: error: storage class specified for parameter 'alloc_chrdev_region' extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *); ^ /kisskb/src/include/linux/fs.h:2824:12: error: storage class specified for parameter 'register_chrdev_region' extern int register_chrdev_region(dev_t, unsigned, const char *); ^ /kisskb/src/include/linux/fs.h:2825:12: error: storage class specified for parameter '__register_chrdev' extern int __register_chrdev(unsigned int major, unsigned int baseminor, ^ /kisskb/src/include/linux/fs.h:2828:13: error: storage class specified for parameter '__unregister_chrdev' extern void __unregister_chrdev(unsigned int major, unsigned int baseminor, ^ /kisskb/src/include/linux/fs.h:2830:13: error: storage class specified for parameter 'unregister_chrdev_region' extern void unregister_chrdev_region(dev_t, unsigned); ^ /kisskb/src/include/linux/fs.h:2831:13: error: storage class specified for parameter 'chrdev_show' extern void chrdev_show(struct seq_file *,off_t); ^ /kisskb/src/include/linux/fs.h:2835:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2840:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2844:13: error: storage class specified for parameter 'init_special_inode' extern void init_special_inode(struct inode *, umode_t, dev_t); ^ /kisskb/src/include/linux/fs.h:2847:13: error: storage class specified for parameter 'make_bad_inode' extern void make_bad_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:2848:13: error: storage class specified for parameter 'is_bad_inode' extern bool is_bad_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:2850:25: error: storage class specified for parameter 'file_fdatawait_range' extern int __must_check file_fdatawait_range(struct file *file, loff_t lstart, ^ /kisskb/src/include/linux/fs.h:2852:25: error: storage class specified for parameter 'file_check_and_advance_wb_err' extern int __must_check file_check_and_advance_wb_err(struct file *file); ^ /kisskb/src/include/linux/fs.h:2853:25: error: storage class specified for parameter 'file_write_and_wait_range' extern int __must_check file_write_and_wait_range(struct file *file, ^ /kisskb/src/include/linux/fs.h:2857:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2861:12: error: storage class specified for parameter 'vfs_fsync_range' extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end, ^ /kisskb/src/include/linux/fs.h:2863:12: error: storage class specified for parameter 'vfs_fsync' extern int vfs_fsync(struct file *file, int datasync); ^ /kisskb/src/include/linux/fs.h:2865:12: error: storage class specified for parameter 'sync_file_range' extern int sync_file_range(struct file *file, loff_t offset, loff_t nbytes, ^ /kisskb/src/include/linux/fs.h:2869:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2892:13: error: storage class specified for parameter 'emergency_sync' extern void emergency_sync(void); ^ /kisskb/src/include/linux/fs.h:2893:13: error: storage class specified for parameter 'emergency_remount' extern void emergency_remount(void); ^ /kisskb/src/include/linux/fs.h:2896:12: error: storage class specified for parameter 'bmap' extern int bmap(struct inode *inode, sector_t *block); ^ /kisskb/src/include/linux/fs.h:2909:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2914:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2927:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2932:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2939:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2946:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2974:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2978:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2983:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2987:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2992:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:2998:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3003:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3016:12: error: storage class specified for parameter 'do_pipe_flags' extern int do_pipe_flags(int *, int); ^ /kisskb/src/include/linux/fs.h:3018:16: error: storage class specified for parameter 'kernel_read' extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:3020:16: error: storage class specified for parameter 'kernel_write' extern ssize_t kernel_write(struct file *, const void *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:3021:16: error: storage class specified for parameter '__kernel_write' extern ssize_t __kernel_write(struct file *, const void *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:3022:22: error: storage class specified for parameter 'open_exec' extern struct file * open_exec(const char *); ^ /kisskb/src/include/linux/fs.h:3025:13: error: storage class specified for parameter 'is_subdir' extern bool is_subdir(struct dentry *, struct dentry *); ^ /kisskb/src/include/linux/fs.h:3026:13: error: storage class specified for parameter 'path_is_under' extern bool path_is_under(const struct path *, const struct path *); ^ /kisskb/src/include/linux/fs.h:3028:14: error: storage class specified for parameter 'file_path' extern char *file_path(struct file *, char *, int); ^ /kisskb/src/include/linux/fs.h:3033:15: error: storage class specified for parameter 'default_llseek' extern loff_t default_llseek(struct file *file, loff_t offset, int whence); ^ /kisskb/src/include/linux/fs.h:3035:15: error: storage class specified for parameter 'vfs_llseek' extern loff_t vfs_llseek(struct file *file, loff_t offset, int whence); ^ /kisskb/src/include/linux/fs.h:3037:12: error: storage class specified for parameter 'inode_init_always' extern int inode_init_always(struct super_block *, struct inode *); ^ /kisskb/src/include/linux/fs.h:3038:13: error: storage class specified for parameter 'inode_init_once' extern void inode_init_once(struct inode *); ^ /kisskb/src/include/linux/fs.h:3039:13: error: storage class specified for parameter 'address_space_init_once' extern void address_space_init_once(struct address_space *mapping); ^ /kisskb/src/include/linux/fs.h:3040:23: error: storage class specified for parameter 'igrab' extern struct inode * igrab(struct inode *); ^ /kisskb/src/include/linux/fs.h:3041:14: error: storage class specified for parameter 'iunique' extern ino_t iunique(struct super_block *, ino_t); ^ /kisskb/src/include/linux/fs.h:3042:12: error: storage class specified for parameter 'inode_needs_sync' extern int inode_needs_sync(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3043:12: error: storage class specified for parameter 'generic_delete_inode' extern int generic_delete_inode(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3045:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3048:13: error: storage class specified for parameter 'd_mark_dontcache' extern void d_mark_dontcache(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3050:22: error: storage class specified for parameter 'ilookup5_nowait' extern struct inode *ilookup5_nowait(struct super_block *sb, ^ /kisskb/src/include/linux/fs.h:3053:22: error: storage class specified for parameter 'ilookup5' extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval, ^ /kisskb/src/include/linux/fs.h:3055:22: error: storage class specified for parameter 'ilookup' extern struct inode *ilookup(struct super_block *sb, unsigned long ino); ^ /kisskb/src/include/linux/fs.h:3057:22: error: storage class specified for parameter 'inode_insert5' extern struct inode *inode_insert5(struct inode *inode, unsigned long hashval, ^ /kisskb/src/include/linux/fs.h:3061:23: error: storage class specified for parameter 'iget5_locked' extern struct inode * iget5_locked(struct super_block *, unsigned long, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *); ^ In file included from /kisskb/src/include/linux/compat.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/fs.h:3062:23: error: storage class specified for parameter 'iget_locked' extern struct inode * iget_locked(struct super_block *, unsigned long); ^ /kisskb/src/include/linux/fs.h:3063:22: error: storage class specified for parameter 'find_inode_nowait' extern struct inode *find_inode_nowait(struct super_block *, ^ /kisskb/src/include/linux/fs.h:3068:22: error: storage class specified for parameter 'find_inode_rcu' extern struct inode *find_inode_rcu(struct super_block *, unsigned long, ^ /kisskb/src/include/linux/fs.h:3070:22: error: storage class specified for parameter 'find_inode_by_ino_rcu' extern struct inode *find_inode_by_ino_rcu(struct super_block *, unsigned long); ^ /kisskb/src/include/linux/fs.h:3071:12: error: storage class specified for parameter 'insert_inode_locked4' extern int insert_inode_locked4(struct inode *, unsigned long, int (*test)(struct inode *, void *), void *); ^ /kisskb/src/include/linux/fs.h:3072:12: error: storage class specified for parameter 'insert_inode_locked' extern int insert_inode_locked(struct inode *); ^ /kisskb/src/include/linux/fs.h:3074:13: error: storage class specified for parameter 'lockdep_annotate_inode_mutex_key' extern void lockdep_annotate_inode_mutex_key(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3078:13: error: storage class specified for parameter 'unlock_new_inode' extern void unlock_new_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:3079:13: error: storage class specified for parameter 'discard_new_inode' extern void discard_new_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:3080:21: error: storage class specified for parameter 'get_next_ino' extern unsigned int get_next_ino(void); ^ /kisskb/src/include/linux/fs.h:3081:13: error: storage class specified for parameter 'evict_inodes' extern void evict_inodes(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:3095:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3099:13: error: storage class specified for parameter '__iget' extern void __iget(struct inode * inode); ^ /kisskb/src/include/linux/fs.h:3100:13: error: storage class specified for parameter 'iget_failed' extern void iget_failed(struct inode *); ^ /kisskb/src/include/linux/fs.h:3101:13: error: storage class specified for parameter 'clear_inode' extern void clear_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:3102:13: error: storage class specified for parameter '__destroy_inode' extern void __destroy_inode(struct inode *); ^ /kisskb/src/include/linux/fs.h:3103:22: error: storage class specified for parameter 'new_inode_pseudo' extern struct inode *new_inode_pseudo(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:3104:22: error: storage class specified for parameter 'new_inode' extern struct inode *new_inode(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:3105:13: error: storage class specified for parameter 'free_inode_nonrcu' extern void free_inode_nonrcu(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3106:12: error: storage class specified for parameter 'should_remove_suid' extern int should_remove_suid(struct dentry *); ^ /kisskb/src/include/linux/fs.h:3107:12: error: storage class specified for parameter 'file_remove_privs' extern int file_remove_privs(struct file *); ^ /kisskb/src/include/linux/fs.h:3115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3119:13: error: storage class specified for parameter '__insert_inode_hash' extern void __insert_inode_hash(struct inode *, unsigned long hashval); ^ /kisskb/src/include/linux/fs.h:3121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3125:13: error: storage class specified for parameter '__remove_inode_hash' extern void __remove_inode_hash(struct inode *); ^ /kisskb/src/include/linux/fs.h:3127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3132:13: error: storage class specified for parameter 'inode_sb_list_add' extern void inode_sb_list_add(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3133:13: error: storage class specified for parameter 'inode_add_lru' extern void inode_add_lru(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3135:12: error: storage class specified for parameter 'sb_set_blocksize' extern int sb_set_blocksize(struct super_block *, int); ^ /kisskb/src/include/linux/fs.h:3136:12: error: storage class specified for parameter 'sb_min_blocksize' extern int sb_min_blocksize(struct super_block *, int); ^ /kisskb/src/include/linux/fs.h:3138:12: error: storage class specified for parameter 'generic_file_mmap' extern int generic_file_mmap(struct file *, struct vm_area_struct *); ^ /kisskb/src/include/linux/fs.h:3139:12: error: storage class specified for parameter 'generic_file_readonly_mmap' extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *); ^ /kisskb/src/include/linux/fs.h:3140:16: error: storage class specified for parameter 'generic_write_checks' extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *); ^ /kisskb/src/include/linux/fs.h:3142:12: error: storage class specified for parameter 'generic_write_check_limits' extern int generic_write_check_limits(struct file *file, loff_t pos, ^ /kisskb/src/include/linux/fs.h:3144:12: error: storage class specified for parameter 'generic_file_rw_checks' extern int generic_file_rw_checks(struct file *file_in, struct file *file_out); ^ /kisskb/src/include/linux/fs.h:3147:16: error: storage class specified for parameter 'generic_file_read_iter' extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *); ^ /kisskb/src/include/linux/fs.h:3148:16: error: storage class specified for parameter '__generic_file_write_iter' extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *); ^ /kisskb/src/include/linux/fs.h:3149:16: error: storage class specified for parameter 'generic_file_write_iter' extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *); ^ /kisskb/src/include/linux/fs.h:3150:16: error: storage class specified for parameter 'generic_file_direct_write' extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *); ^ /kisskb/src/include/linux/fs.h:3154:3: error: unknown type name 'rwf_t' rwf_t flags); ^ /kisskb/src/include/linux/fs.h:3156:3: error: unknown type name 'rwf_t' rwf_t flags); ^ /kisskb/src/include/linux/fs.h:3163:16: error: storage class specified for parameter 'generic_file_splice_read' extern ssize_t generic_file_splice_read(struct file *, loff_t *, ^ /kisskb/src/include/linux/fs.h:3165:16: error: storage class specified for parameter 'iter_file_splice_write' extern ssize_t iter_file_splice_write(struct pipe_inode_info *, ^ /kisskb/src/include/linux/fs.h:3167:16: error: storage class specified for parameter 'generic_splice_sendpage' extern ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, ^ /kisskb/src/include/linux/fs.h:3169:13: error: storage class specified for parameter 'do_splice_direct' extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, ^ /kisskb/src/include/linux/fs.h:3174:1: error: storage class specified for parameter 'file_ra_state_init' file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping); ^ /kisskb/src/include/linux/fs.h:3175:15: error: storage class specified for parameter 'noop_llseek' extern loff_t noop_llseek(struct file *file, loff_t offset, int whence); ^ /kisskb/src/include/linux/fs.h:3177:15: error: storage class specified for parameter 'vfs_setpos' extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize); ^ /kisskb/src/include/linux/fs.h:3178:15: error: storage class specified for parameter 'generic_file_llseek' extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); ^ /kisskb/src/include/linux/fs.h:3179:15: error: storage class specified for parameter 'generic_file_llseek_size' extern loff_t generic_file_llseek_size(struct file *file, loff_t offset, ^ /kisskb/src/include/linux/fs.h:3181:15: error: storage class specified for parameter 'fixed_size_llseek' extern loff_t fixed_size_llseek(struct file *file, loff_t offset, ^ /kisskb/src/include/linux/fs.h:3183:15: error: storage class specified for parameter 'no_seek_end_llseek_size' extern loff_t no_seek_end_llseek_size(struct file *, loff_t, int, loff_t); ^ /kisskb/src/include/linux/fs.h:3184:15: error: storage class specified for parameter 'no_seek_end_llseek' extern loff_t no_seek_end_llseek(struct file *, loff_t, int); ^ /kisskb/src/include/linux/fs.h:3186:12: error: storage class specified for parameter 'generic_file_open' extern int generic_file_open(struct inode * inode, struct file * filp); ^ /kisskb/src/include/linux/fs.h:3187:12: error: storage class specified for parameter 'nonseekable_open' extern int nonseekable_open(struct inode * inode, struct file * filp); ^ /kisskb/src/include/linux/fs.h:3188:12: error: storage class specified for parameter 'stream_open' extern int stream_open(struct inode * inode, struct file * filp); ^ /kisskb/src/include/linux/fs.h:3191:15: error: storage class specified for parameter 'dio_submit_t' typedef void (dio_submit_t)(struct bio *bio, struct inode *inode, ^ /kisskb/src/include/linux/fs.h:3194:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/fs.h:3204:9: error: expected declaration specifiers or '...' before 'get_block_t' get_block_t get_block, ^ /kisskb/src/include/linux/fs.h:3205:9: error: expected declaration specifiers or '...' before 'dio_iodone_t' dio_iodone_t end_io, dio_submit_t submit_io, ^ /kisskb/src/include/linux/fs.h:3205:30: error: expected declaration specifiers or '...' before 'dio_submit_t' dio_iodone_t end_io, dio_submit_t submit_io, ^ /kisskb/src/include/linux/fs.h:3211:7: error: expected declaration specifiers or '...' before 'get_block_t' get_block_t get_block) ^ /kisskb/src/include/linux/fs.h:3228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3250:13: error: storage class specified for parameter 'inode_set_flags' extern void inode_set_flags(struct inode *inode, unsigned int flags, ^ /kisskb/src/include/linux/fs.h:3253:37: error: storage class specified for parameter 'generic_ro_fops' extern const struct file_operations generic_ro_fops; ^ /kisskb/src/include/linux/fs.h:3257:12: error: storage class specified for parameter 'readlink_copy' extern int readlink_copy(char __user *, int, const char *); ^ /kisskb/src/include/linux/fs.h:3258:12: error: storage class specified for parameter 'page_readlink' extern int page_readlink(struct dentry *, char __user *, int); ^ /kisskb/src/include/linux/fs.h:3259:20: error: storage class specified for parameter 'page_get_link' extern const char *page_get_link(struct dentry *, struct inode *, ^ /kisskb/src/include/linux/fs.h:3261:13: error: storage class specified for parameter 'page_put_link' extern void page_put_link(void *); ^ /kisskb/src/include/linux/fs.h:3262:12: error: storage class specified for parameter 'page_symlink' extern int page_symlink(struct inode *inode, const char *symname, int len); ^ /kisskb/src/include/linux/fs.h:3263:38: error: storage class specified for parameter 'page_symlink_inode_operations' extern const struct inode_operations page_symlink_inode_operations; ^ /kisskb/src/include/linux/fs.h:3264:13: error: storage class specified for parameter 'kfree_link' extern void kfree_link(void *); ^ /kisskb/src/include/linux/fs.h:3267:12: error: storage class specified for parameter 'vfs_getattr_nosec' extern int vfs_getattr_nosec(const struct path *, struct kstat *, u32, unsigned int); ^ /kisskb/src/include/linux/fs.h:3268:12: error: storage class specified for parameter 'vfs_getattr' extern int vfs_getattr(const struct path *, struct kstat *, u32, unsigned int); ^ /kisskb/src/include/linux/fs.h:3274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3281:38: error: storage class specified for parameter 'simple_symlink_inode_operations' extern const struct inode_operations simple_symlink_inode_operations; ^ /kisskb/src/include/linux/fs.h:3283:12: error: storage class specified for parameter 'iterate_dir' extern int iterate_dir(struct file *, struct dir_context *); ^ /kisskb/src/include/linux/fs.h:3290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3298:20: error: storage class specified for parameter 'vfs_get_link' extern const char *vfs_get_link(struct dentry *, struct delayed_call *); ^ /kisskb/src/include/linux/fs.h:3299:12: error: storage class specified for parameter 'vfs_readlink' extern int vfs_readlink(struct dentry *, char __user *, int); ^ /kisskb/src/include/linux/fs.h:3301:33: error: storage class specified for parameter 'get_filesystem' extern struct file_system_type *get_filesystem(struct file_system_type *fs); ^ /kisskb/src/include/linux/fs.h:3302:13: error: storage class specified for parameter 'put_filesystem' extern void put_filesystem(struct file_system_type *fs); ^ /kisskb/src/include/linux/fs.h:3303:33: error: storage class specified for parameter 'get_fs_type' extern struct file_system_type *get_fs_type(const char *name); ^ /kisskb/src/include/linux/fs.h:3304:28: error: storage class specified for parameter 'get_super' extern struct super_block *get_super(struct block_device *); ^ /kisskb/src/include/linux/fs.h:3305:28: error: storage class specified for parameter 'get_active_super' extern struct super_block *get_active_super(struct block_device *bdev); ^ /kisskb/src/include/linux/fs.h:3306:13: error: storage class specified for parameter 'drop_super' extern void drop_super(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:3307:13: error: storage class specified for parameter 'drop_super_exclusive' extern void drop_super_exclusive(struct super_block *sb); ^ /kisskb/src/include/linux/fs.h:3308:13: error: storage class specified for parameter 'iterate_supers' extern void iterate_supers(void (*)(struct super_block *, void *), void *); ^ /kisskb/src/include/linux/fs.h:3309:13: error: storage class specified for parameter 'iterate_supers_type' extern void iterate_supers_type(struct file_system_type *, ^ /kisskb/src/include/linux/fs.h:3312:12: error: storage class specified for parameter 'dcache_dir_open' extern int dcache_dir_open(struct inode *, struct file *); ^ /kisskb/src/include/linux/fs.h:3313:12: error: storage class specified for parameter 'dcache_dir_close' extern int dcache_dir_close(struct inode *, struct file *); ^ /kisskb/src/include/linux/fs.h:3314:15: error: storage class specified for parameter 'dcache_dir_lseek' extern loff_t dcache_dir_lseek(struct file *, loff_t, int); ^ /kisskb/src/include/linux/fs.h:3315:12: error: storage class specified for parameter 'dcache_readdir' extern int dcache_readdir(struct file *, struct dir_context *); ^ /kisskb/src/include/linux/fs.h:3316:12: error: storage class specified for parameter 'simple_setattr' extern int simple_setattr(struct user_namespace *, struct dentry *, ^ /kisskb/src/include/linux/fs.h:3318:12: error: storage class specified for parameter 'simple_getattr' extern int simple_getattr(struct user_namespace *, const struct path *, ^ /kisskb/src/include/linux/fs.h:3320:12: error: storage class specified for parameter 'simple_statfs' extern int simple_statfs(struct dentry *, struct kstatfs *); ^ /kisskb/src/include/linux/fs.h:3321:12: error: storage class specified for parameter 'simple_open' extern int simple_open(struct inode *inode, struct file *file); ^ /kisskb/src/include/linux/fs.h:3322:12: error: storage class specified for parameter 'simple_link' extern int simple_link(struct dentry *, struct inode *, struct dentry *); ^ /kisskb/src/include/linux/fs.h:3323:12: error: storage class specified for parameter 'simple_unlink' extern int simple_unlink(struct inode *, struct dentry *); ^ /kisskb/src/include/linux/fs.h:3324:12: error: storage class specified for parameter 'simple_rmdir' extern int simple_rmdir(struct inode *, struct dentry *); ^ /kisskb/src/include/linux/fs.h:3325:12: error: storage class specified for parameter 'simple_rename_exchange' extern int simple_rename_exchange(struct inode *old_dir, struct dentry *old_dentry, ^ /kisskb/src/include/linux/fs.h:3327:12: error: storage class specified for parameter 'simple_rename' extern int simple_rename(struct user_namespace *, struct inode *, ^ /kisskb/src/include/linux/fs.h:3330:13: error: storage class specified for parameter 'simple_recursive_removal' extern void simple_recursive_removal(struct dentry *, ^ /kisskb/src/include/linux/fs.h:3332:12: error: storage class specified for parameter 'noop_fsync' extern int noop_fsync(struct file *, loff_t, loff_t, int); ^ /kisskb/src/include/linux/fs.h:3333:16: error: storage class specified for parameter 'noop_direct_IO' extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter); ^ /kisskb/src/include/linux/fs.h:3334:12: error: storage class specified for parameter 'simple_empty' extern int simple_empty(struct dentry *); ^ /kisskb/src/include/linux/fs.h:3335:12: error: storage class specified for parameter 'simple_write_begin' extern int simple_write_begin(struct file *file, struct address_space *mapping, ^ /kisskb/src/include/linux/fs.h:3338:46: error: storage class specified for parameter 'ram_aops' extern const struct address_space_operations ram_aops; ^ /kisskb/src/include/linux/fs.h:3339:12: error: storage class specified for parameter 'always_delete_dentry' extern int always_delete_dentry(const struct dentry *); ^ /kisskb/src/include/linux/fs.h:3340:22: error: storage class specified for parameter 'alloc_anon_inode' extern struct inode *alloc_anon_inode(struct super_block *); ^ /kisskb/src/include/linux/fs.h:3341:12: error: storage class specified for parameter 'simple_nosetlease' extern int simple_nosetlease(struct file *, long, struct file_lock **, void **); ^ /kisskb/src/include/linux/fs.h:3342:39: error: storage class specified for parameter 'simple_dentry_operations' extern const struct dentry_operations simple_dentry_operations; ^ /kisskb/src/include/linux/fs.h:3344:23: error: storage class specified for parameter 'simple_lookup' extern struct dentry *simple_lookup(struct inode *, struct dentry *, unsigned int flags); ^ /kisskb/src/include/linux/fs.h:3345:16: error: storage class specified for parameter 'generic_read_dir' extern ssize_t generic_read_dir(struct file *, char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/fs.h:3346:37: error: storage class specified for parameter 'simple_dir_operations' extern const struct file_operations simple_dir_operations; ^ /kisskb/src/include/linux/fs.h:3347:38: error: storage class specified for parameter 'simple_dir_inode_operations' extern const struct inode_operations simple_dir_inode_operations; ^ /kisskb/src/include/linux/fs.h:3348:13: error: storage class specified for parameter 'make_empty_dir_inode' extern void make_empty_dir_inode(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3349:13: error: storage class specified for parameter 'is_empty_dir_inode' extern bool is_empty_dir_inode(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3350:1: error: empty declaration [-Werror] struct tree_descr { const char *name; const struct file_operations *ops; int mode; }; ^ /kisskb/src/include/linux/fs.h:3352:12: error: storage class specified for parameter 'simple_fill_super' extern int simple_fill_super(struct super_block *, unsigned long, ^ /kisskb/src/include/linux/fs.h:3354:12: error: storage class specified for parameter 'simple_pin_fs' extern int simple_pin_fs(struct file_system_type *, struct vfsmount **mount, int *count); ^ /kisskb/src/include/linux/fs.h:3355:13: error: storage class specified for parameter 'simple_release_fs' extern void simple_release_fs(struct vfsmount **mount, int *count); ^ /kisskb/src/include/linux/fs.h:3357:16: error: storage class specified for parameter 'simple_read_from_buffer' extern ssize_t simple_read_from_buffer(void __user *to, size_t count, ^ /kisskb/src/include/linux/fs.h:3359:16: error: storage class specified for parameter 'simple_write_to_buffer' extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, ^ /kisskb/src/include/linux/fs.h:3362:12: error: storage class specified for parameter '__generic_file_fsync' extern int __generic_file_fsync(struct file *, loff_t, loff_t, int); ^ /kisskb/src/include/linux/fs.h:3363:12: error: storage class specified for parameter 'generic_file_fsync' extern int generic_file_fsync(struct file *, loff_t, loff_t, int); ^ /kisskb/src/include/linux/fs.h:3365:12: error: storage class specified for parameter 'generic_check_addressable' extern int generic_check_addressable(unsigned, u64); ^ /kisskb/src/include/linux/fs.h:3367:13: error: storage class specified for parameter 'generic_set_encrypted_ci_d_ops' extern void generic_set_encrypted_ci_d_ops(struct dentry *dentry); ^ /kisskb/src/include/linux/fs.h:3372:12: error: storage class specified for parameter 'inode_newsize_ok' extern int inode_newsize_ok(const struct inode *, loff_t offset); ^ /kisskb/src/include/linux/fs.h:3376:12: error: storage class specified for parameter 'file_update_time' extern int file_update_time(struct file *file); ^ /kisskb/src/include/linux/fs.h:3379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3384:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3411:56: error: unknown type name 'rwf_t' static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags) ^ /kisskb/src/include/linux/fs.h:3437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3456:1: error: empty declaration [-Werror] struct simple_transaction_argresp { ^ /kisskb/src/include/linux/fs.h:3510:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3525:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/include/linux/fs.h:3526:12: error: section attribute not allowed for 'list_bdev_fs_names' int __init list_bdev_fs_names(char *buf, size_t size); ^ /kisskb/src/include/linux/fs.h:3526:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init list_bdev_fs_names(char *buf, size_t size); ^ /kisskb/src/include/linux/fs.h:3526:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/fs.h:3536:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3550:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3567:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3572:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3577:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3598:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fs.h:3604:13: error: storage class specified for parameter 'path_noexec' extern bool path_noexec(const struct path *path); ^ /kisskb/src/include/linux/fs.h:3605:13: error: storage class specified for parameter 'inode_nohighmem' extern void inode_nohighmem(struct inode *inode); ^ /kisskb/src/include/linux/fs.h:3608:12: error: storage class specified for parameter 'vfs_fadvise' extern int vfs_fadvise(struct file *file, loff_t offset, loff_t len, ^ /kisskb/src/include/linux/fs.h:3610:12: error: storage class specified for parameter 'generic_fadvise' extern int generic_fadvise(struct file *file, loff_t offset, loff_t len, ^ In file included from /kisskb/src/include/linux/compat.h:18:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/aio_abi.h:34:26: error: storage class specified for parameter 'aio_context_t' typedef __kernel_ulong_t aio_context_t; ^ /kisskb/src/include/uapi/linux/aio_abi.h:36:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/aio_abi.h:60:1: error: empty declaration [-Werror] struct io_event { ^ /kisskb/src/include/uapi/linux/aio_abi.h:81:2: error: expected specifier-qualifier-list before '__kernel_rwf_t' __kernel_rwf_t aio_rw_flags; /* RWF_* flags */ ^ /kisskb/src/include/uapi/linux/aio_abi.h:73:1: error: empty declaration [-Werror] struct iocb { ^ In file included from /kisskb/src/include/linux/compat.h:22:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/compat.h:11:26: error: storage class specified for parameter 'compat_ipc_pid_t' #define compat_ipc_pid_t compat_ipc_pid_t ^ /kisskb/src/arch/powerpc/include/asm/compat.h:12:14: note: in expansion of macro 'compat_ipc_pid_t' typedef u16 compat_ipc_pid_t; ^ In file included from /kisskb/src/arch/powerpc/include/asm/compat.h:16:0, from /kisskb/src/include/linux/compat.h:22, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/asm-generic/compat.h:30:13: error: storage class specified for parameter 'compat_size_t' typedef u32 compat_size_t; ^ /kisskb/src/include/asm-generic/compat.h:31:13: error: storage class specified for parameter 'compat_ssize_t' typedef s32 compat_ssize_t; ^ /kisskb/src/include/asm-generic/compat.h:32:13: error: storage class specified for parameter 'compat_clock_t' typedef s32 compat_clock_t; ^ /kisskb/src/include/asm-generic/compat.h:33:13: error: storage class specified for parameter 'compat_pid_t' typedef s32 compat_pid_t; ^ /kisskb/src/include/asm-generic/compat.h:34:13: error: storage class specified for parameter 'compat_ino_t' typedef u32 compat_ino_t; ^ /kisskb/src/include/asm-generic/compat.h:35:13: error: storage class specified for parameter 'compat_off_t' typedef s32 compat_off_t; ^ /kisskb/src/include/asm-generic/compat.h:36:13: error: storage class specified for parameter 'compat_loff_t' typedef s64 compat_loff_t; ^ /kisskb/src/include/asm-generic/compat.h:37:13: error: storage class specified for parameter 'compat_daddr_t' typedef s32 compat_daddr_t; ^ /kisskb/src/include/asm-generic/compat.h:38:13: error: storage class specified for parameter 'compat_timer_t' typedef s32 compat_timer_t; ^ /kisskb/src/include/asm-generic/compat.h:39:13: error: storage class specified for parameter 'compat_key_t' typedef s32 compat_key_t; ^ /kisskb/src/include/asm-generic/compat.h:40:13: error: storage class specified for parameter 'compat_short_t' typedef s16 compat_short_t; ^ /kisskb/src/include/asm-generic/compat.h:41:13: error: storage class specified for parameter 'compat_int_t' typedef s32 compat_int_t; ^ /kisskb/src/include/asm-generic/compat.h:42:13: error: storage class specified for parameter 'compat_long_t' typedef s32 compat_long_t; ^ /kisskb/src/include/asm-generic/compat.h:43:13: error: storage class specified for parameter 'compat_ushort_t' typedef u16 compat_ushort_t; ^ /kisskb/src/include/asm-generic/compat.h:44:13: error: storage class specified for parameter 'compat_uint_t' typedef u32 compat_uint_t; ^ /kisskb/src/include/asm-generic/compat.h:45:13: error: storage class specified for parameter 'compat_ulong_t' typedef u32 compat_ulong_t; ^ /kisskb/src/include/asm-generic/compat.h:46:13: error: storage class specified for parameter 'compat_uptr_t' typedef u32 compat_uptr_t; ^ /kisskb/src/include/asm-generic/compat.h:47:13: error: storage class specified for parameter 'compat_caddr_t' typedef u32 compat_caddr_t; ^ /kisskb/src/include/asm-generic/compat.h:48:13: error: storage class specified for parameter 'compat_aio_context_t' typedef u32 compat_aio_context_t; ^ /kisskb/src/include/asm-generic/compat.h:49:13: error: storage class specified for parameter 'compat_old_sigset_t' typedef u32 compat_old_sigset_t; ^ /kisskb/src/include/asm-generic/compat.h:52:13: error: storage class specified for parameter '__compat_uid_t' typedef u32 __compat_uid_t; ^ /kisskb/src/include/asm-generic/compat.h:53:13: error: storage class specified for parameter '__compat_gid_t' typedef u32 __compat_gid_t; ^ /kisskb/src/include/asm-generic/compat.h:57:13: error: storage class specified for parameter '__compat_uid32_t' typedef u32 __compat_uid32_t; ^ /kisskb/src/include/asm-generic/compat.h:58:13: error: storage class specified for parameter '__compat_gid32_t' typedef u32 __compat_gid32_t; ^ /kisskb/src/include/asm-generic/compat.h:62:13: error: storage class specified for parameter 'compat_mode_t' typedef u32 compat_mode_t; ^ /kisskb/src/include/asm-generic/compat.h:69:13: error: storage class specified for parameter 'compat_s64' typedef s64 compat_s64; ^ /kisskb/src/include/asm-generic/compat.h:70:13: error: storage class specified for parameter 'compat_u64' typedef u64 compat_u64; ^ /kisskb/src/include/asm-generic/compat.h:74:13: error: storage class specified for parameter 'compat_sigset_word' typedef u32 compat_sigset_word; ^ /kisskb/src/include/asm-generic/compat.h:80:13: error: storage class specified for parameter 'compat_dev_t' typedef u32 compat_dev_t; ^ /kisskb/src/include/asm-generic/compat.h:88:25: error: storage class specified for parameter 'compat_fsid_t' typedef __kernel_fsid_t compat_fsid_t; ^ /kisskb/src/include/asm-generic/compat.h:93:2: error: expected specifier-qualifier-list before 'compat_int_t' compat_int_t f_type; ^ /kisskb/src/include/asm-generic/compat.h:92:1: error: empty declaration [-Werror] struct compat_statfs { ^ In file included from /kisskb/src/include/linux/compat.h:22:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/arch/powerpc/include/asm/compat.h:24:14: error: storage class specified for parameter 'compat_nlink_t' typedef s16 compat_nlink_t; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:27:2: error: expected specifier-qualifier-list before 'compat_dev_t' compat_dev_t st_dev; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:26:1: error: empty declaration [-Werror] struct compat_stat { ^ /kisskb/src/arch/powerpc/include/asm/compat.h:51:2: error: expected specifier-qualifier-list before 'compat_key_t' compat_key_t key; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:50:1: error: empty declaration [-Werror] struct compat_ipc64_perm { ^ /kisskb/src/arch/powerpc/include/asm/compat.h:69:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t sem_nsems; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:63:1: error: empty declaration [-Werror] struct compat_semid64_ds { ^ /kisskb/src/arch/powerpc/include/asm/compat.h:82:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t msg_cbytes; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:74:1: error: empty declaration [-Werror] struct compat_msqid64_ds { ^ /kisskb/src/arch/powerpc/include/asm/compat.h:100:2: error: expected specifier-qualifier-list before 'compat_size_t' compat_size_t shm_segsz; ^ /kisskb/src/arch/powerpc/include/asm/compat.h:91:1: error: empty declaration [-Werror] struct compat_shmid64_ds { ^ /kisskb/src/arch/powerpc/include/asm/compat.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:91:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t iov_base; ^ /kisskb/src/include/linux/compat.h:90:1: error: empty declaration [-Werror] struct compat_iovec { ^ /kisskb/src/include/linux/compat.h:100:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t ss_sp; ^ /kisskb/src/include/linux/compat.h:103:3: error: storage class specified for parameter 'compat_stack_t' } compat_stack_t; ^ /kisskb/src/include/linux/compat.h:112:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compat_uid_t' typedef __compat_uid32_t compat_uid_t; ^ /kisskb/src/include/linux/compat.h:113:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compat_gid_t' typedef __compat_gid32_t compat_gid_t; ^ /kisskb/src/include/linux/compat.h:115:1: error: empty declaration [-Werror] struct compat_sel_arg_struct; ^ /kisskb/src/include/linux/compat.h:116:1: error: empty declaration [-Werror] struct rusage; ^ /kisskb/src/include/linux/compat.h:118:1: error: empty declaration [-Werror] struct old_itimerval32; ^ /kisskb/src/include/linux/compat.h:121:2: error: expected specifier-qualifier-list before 'compat_clock_t' compat_clock_t tms_utime; ^ /kisskb/src/include/linux/compat.h:120:1: error: empty declaration [-Werror] struct compat_tms { ^ /kisskb/src/include/linux/compat.h:131:2: error: expected specifier-qualifier-list before 'compat_sigset_word' compat_sigset_word sig[_COMPAT_NSIG_WORDS]; ^ /kisskb/src/include/linux/compat.h:132:3: error: storage class specified for parameter 'compat_sigset_t' } compat_sigset_t; ^ /kisskb/src/include/linux/compat.h:135:35: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] int set_compat_user_sigmask(const compat_sigset_t __user *umask, ^ /kisskb/src/include/linux/compat.h:135:58: error: expected ';', ',' or ')' before '*' token int set_compat_user_sigmask(const compat_sigset_t __user *umask, ^ /kisskb/src/include/linux/compat.h:140:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t sa_handler; ^ /kisskb/src/include/linux/compat.h:138:1: error: empty declaration [-Werror] struct compat_sigaction { ^ /kisskb/src/include/linux/compat.h:153:2: error: expected specifier-qualifier-list before 'compat_int_t' compat_int_t sival_int; ^ /kisskb/src/include/linux/compat.h:155:3: error: storage class specified for parameter 'compat_sigval_t' } compat_sigval_t; ^ /kisskb/src/include/linux/compat.h:172:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* sender's pid */ ^ /kisskb/src/include/linux/compat.h:178:4: error: expected specifier-qualifier-list before 'compat_timer_t' compat_timer_t _tid; /* timer id */ ^ /kisskb/src/include/linux/compat.h:185:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* sender's pid */ ^ /kisskb/src/include/linux/compat.h:192:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* which child */ ^ /kisskb/src/include/linux/compat.h:212:4: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t _addr; /* faulting insn/memory ref. */ ^ /kisskb/src/include/linux/compat.h:245:4: error: expected specifier-qualifier-list before 'compat_long_t' compat_long_t _band; /* POLL_IN, POLL_OUT, POLL_MSG */ ^ /kisskb/src/include/linux/compat.h:250:4: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t _call_addr; /* calling user insn */ ^ /kisskb/src/include/linux/compat.h:255:3: error: storage class specified for parameter 'compat_siginfo_t' } compat_siginfo_t; ^ /kisskb/src/include/linux/compat.h:258:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t rlim_cur; ^ /kisskb/src/include/linux/compat.h:257:1: error: empty declaration [-Werror] struct compat_rlimit { ^ /kisskb/src/include/linux/compat.h:271:2: error: expected specifier-qualifier-list before 'compat_off_t' compat_off_t l_start; ^ /kisskb/src/include/linux/compat.h:268:1: error: empty declaration [-Werror] struct compat_flock { ^ /kisskb/src/include/linux/compat.h:285:2: error: expected specifier-qualifier-list before 'compat_loff_t' compat_loff_t l_start; ^ /kisskb/src/include/linux/compat.h:282:1: error: empty declaration [-Werror] struct compat_flock64 { ^ /kisskb/src/include/linux/compat.h:296:2: error: expected specifier-qualifier-list before 'compat_long_t' compat_long_t ru_maxrss; ^ /kisskb/src/include/linux/compat.h:293:1: error: empty declaration [-Werror] struct compat_rusage { ^ /kisskb/src/include/linux/compat.h:312:12: error: storage class specified for parameter 'put_compat_rusage' extern int put_compat_rusage(const struct rusage *, ^ /kisskb/src/include/linux/compat.h:315:1: error: empty declaration [-Werror] struct compat_siginfo; ^ /kisskb/src/include/linux/compat.h:316:1: error: empty declaration [-Werror] struct __compat_aio_sigset; ^ /kisskb/src/include/linux/compat.h:320:2: error: expected specifier-qualifier-list before 'compat_off_t' compat_off_t d_off; ^ /kisskb/src/include/linux/compat.h:318:1: error: empty declaration [-Werror] struct compat_dirent { ^ /kisskb/src/include/linux/compat.h:326:2: error: expected specifier-qualifier-list before 'compat_daddr_t' compat_daddr_t f_tfree; ^ /kisskb/src/include/linux/compat.h:325:1: error: empty declaration [-Werror] struct compat_ustat { ^ /kisskb/src/include/linux/compat.h:335:2: error: expected specifier-qualifier-list before 'compat_sigval_t' compat_sigval_t sigev_value; ^ /kisskb/src/include/linux/compat.h:347:3: error: storage class specified for parameter 'compat_sigevent_t' } compat_sigevent_t; ^ /kisskb/src/include/linux/compat.h:350:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t mem_start; ^ /kisskb/src/include/linux/compat.h:349:1: error: empty declaration [-Werror] struct compat_ifmap { ^ /kisskb/src/include/linux/compat.h:361:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t ifs_ifsu; /* union of pointers */ ^ /kisskb/src/include/linux/compat.h:358:1: error: empty declaration [-Werror] struct compat_if_settings { ^ /kisskb/src/include/linux/compat.h:375:3: error: expected specifier-qualifier-list before 'compat_int_t' compat_int_t ifru_ivalue; ^ /kisskb/src/include/linux/compat.h:364:1: error: empty declaration [-Werror] struct compat_ifreq { ^ /kisskb/src/include/linux/compat.h:386:2: error: expected specifier-qualifier-list before 'compat_int_t' compat_int_t ifc_len; /* size of buffer */ ^ /kisskb/src/include/linux/compat.h:385:1: error: empty declaration [-Werror] struct compat_ifconf { ^ /kisskb/src/include/linux/compat.h:391:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t next; ^ /kisskb/src/include/linux/compat.h:390:1: error: empty declaration [-Werror] struct compat_robust_list { ^ /kisskb/src/include/linux/compat.h:396:2: error: expected specifier-qualifier-list before 'compat_long_t' compat_long_t futex_offset; ^ /kisskb/src/include/linux/compat.h:394:1: error: empty declaration [-Werror] struct compat_robust_list_head { ^ /kisskb/src/include/linux/compat.h:402:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t sa_handler; ^ /kisskb/src/include/linux/compat.h:401:1: error: empty declaration [-Werror] struct compat_old_sigaction { ^ /kisskb/src/include/linux/compat.h:410:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t hashname; ^ /kisskb/src/include/linux/compat.h:409:1: error: empty declaration [-Werror] struct compat_keyctl_kdf_params { ^ /kisskb/src/include/linux/compat.h:416:1: error: empty declaration [-Werror] struct compat_stat; ^ /kisskb/src/include/linux/compat.h:417:1: error: empty declaration [-Werror] struct compat_statfs; ^ /kisskb/src/include/linux/compat.h:418:1: error: empty declaration [-Werror] struct compat_statfs64; ^ /kisskb/src/include/linux/compat.h:419:1: error: empty declaration [-Werror] struct compat_old_linux_dirent; ^ /kisskb/src/include/linux/compat.h:420:1: error: empty declaration [-Werror] struct compat_linux_dirent; ^ /kisskb/src/include/linux/compat.h:421:1: error: empty declaration [-Werror] struct linux_dirent64; ^ /kisskb/src/include/linux/compat.h:422:1: error: empty declaration [-Werror] struct compat_msghdr; ^ /kisskb/src/include/linux/compat.h:423:1: error: empty declaration [-Werror] struct compat_mmsghdr; ^ /kisskb/src/include/linux/compat.h:424:1: error: empty declaration [-Werror] struct compat_sysinfo; ^ /kisskb/src/include/linux/compat.h:425:1: error: empty declaration [-Werror] struct compat_sysctl_args; ^ /kisskb/src/include/linux/compat.h:426:1: error: empty declaration [-Werror] struct compat_kexec_segment; ^ /kisskb/src/include/linux/compat.h:427:1: error: empty declaration [-Werror] struct compat_mq_attr; ^ /kisskb/src/include/linux/compat.h:428:1: error: empty declaration [-Werror] struct compat_msgbuf; ^ /kisskb/src/include/linux/compat.h:432:30: error: expected declaration specifiers or '...' before 'kernel_siginfo_t' int copy_siginfo_from_user32(kernel_siginfo_t *to, ^ /kisskb/src/include/linux/compat.h:435:9: error: type defaults to 'int' in declaration of 'kernel_siginfo_t' [-Werror=implicit-int] const kernel_siginfo_t *from); ^ /kisskb/src/include/linux/compat.h:435:26: error: expected ';', ',' or ')' before '*' token const kernel_siginfo_t *from); ^ /kisskb/src/include/linux/compat.h:442:30: error: expected declaration specifiers or '...' before 'sigset_t' extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat); ^ /kisskb/src/include/linux/compat.h:442:51: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat); ^ /kisskb/src/include/linux/compat.h:442:74: error: expected ';', ',' or ')' before '*' token extern int get_compat_sigset(sigset_t *set, const compat_sigset_t __user *compat); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:449:35: note: in expansion of macro '__user' put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:538:6: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t request, ^ /kisskb/src/include/linux/compat.h:539:6: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t addr, compat_ulong_t data); ^ /kisskb/src/include/linux/compat.h:539:27: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t addr, compat_ulong_t data); ^ /kisskb/src/include/linux/compat.h:541:59: error: expected declaration specifiers or '...' before 'compat_long_t' extern long compat_arch_ptrace(struct task_struct *child, compat_long_t request, ^ /kisskb/src/include/linux/compat.h:542:11: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t addr, compat_ulong_t data); ^ /kisskb/src/include/linux/compat.h:542:32: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t addr, compat_ulong_t data); ^ /kisskb/src/include/linux/compat.h:544:1: error: empty declaration [-Werror] struct epoll_event; /* fortunately, this one is fixed-layout */ ^ /kisskb/src/include/linux/compat.h:546:35: error: type defaults to 'int' in declaration of 'compat_stack_t' [-Werror=implicit-int] int compat_restore_altstack(const compat_stack_t __user *uss); ^ /kisskb/src/include/linux/compat.h:546:57: error: expected ';', ',' or ')' before '*' token int compat_restore_altstack(const compat_stack_t __user *uss); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:547:43: note: in expansion of macro '__user' int __compat_save_altstack(compat_stack_t __user *, unsigned long); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:572:38: error: expected declaration specifiers or '...' before 'compat_aio_context_t' asmlinkage long compat_sys_io_submit(compat_aio_context_t ctx_id, int nr, ^ /kisskb/src/include/linux/compat.h:574:42: error: expected declaration specifiers or '...' before 'compat_aio_context_t' asmlinkage long compat_sys_io_pgetevents(compat_aio_context_t ctx_id, ^ /kisskb/src/include/linux/compat.h:575:6: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t min_nr, ^ /kisskb/src/include/linux/compat.h:576:6: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t nr, ^ /kisskb/src/include/linux/compat.h:580:49: error: expected declaration specifiers or '...' before 'compat_aio_context_t' asmlinkage long compat_sys_io_pgetevents_time64(compat_aio_context_t ctx_id, ^ /kisskb/src/include/linux/compat.h:581:6: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t min_nr, ^ /kisskb/src/include/linux/compat.h:582:6: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t nr, ^ /kisskb/src/include/linux/compat.h:588:68: error: expected declaration specifiers or '...' before 'compat_size_t' asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, compat_size_t); ^ /kisskb/src/include/linux/compat.h:594:10: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:594:33: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:600:10: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:600:33: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:605:6: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t arg); ^ /kisskb/src/include/linux/compat.h:607:8: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t arg); ^ /kisskb/src/include/linux/compat.h:611:6: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t arg); ^ /kisskb/src/include/linux/compat.h:617:9: error: expected declaration specifiers or '...' before 'compat_size_t' compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:621:55: error: expected declaration specifiers or '...' before 'compat_size_t' asmlinkage long compat_sys_fstatfs64(unsigned int fd, compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:623:58: error: expected declaration specifiers or '...' before 'compat_off_t' asmlinkage long compat_sys_truncate(const char __user *, compat_off_t); ^ /kisskb/src/include/linux/compat.h:624:52: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage long compat_sys_ftruncate(unsigned int, compat_ulong_t); ^ /kisskb/src/include/linux/compat.h:635:48: error: expected declaration specifiers or '...' before 'compat_off_t' asmlinkage long compat_sys_lseek(unsigned int, compat_off_t, unsigned int); ^ /kisskb/src/include/linux/compat.h:637:38: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage ssize_t compat_sys_preadv(compat_ulong_t fd, ^ /kisskb/src/include/linux/compat.h:639:3: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high); ^ /kisskb/src/include/linux/compat.h:640:39: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage ssize_t compat_sys_pwritev(compat_ulong_t fd, ^ /kisskb/src/include/linux/compat.h:642:3: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high); ^ /kisskb/src/include/linux/compat.h:657:9: error: expected declaration specifiers or '...' before 'compat_off_t' compat_off_t __user *offset, compat_size_t count); ^ /kisskb/src/include/linux/compat.h:657:38: error: expected declaration specifiers or '...' before 'compat_size_t' compat_off_t __user *offset, compat_size_t count); ^ /kisskb/src/include/linux/compat.h:659:9: error: expected declaration specifiers or '...' before 'compat_loff_t' compat_loff_t __user *offset, compat_size_t count); ^ /kisskb/src/include/linux/compat.h:659:39: error: expected declaration specifiers or '...' before 'compat_size_t' compat_loff_t __user *offset, compat_size_t count); ^ /kisskb/src/include/linux/compat.h:662:51: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage long compat_sys_pselect6_time32(int n, compat_ulong_t __user *inp, ^ /kisskb/src/include/linux/compat.h:663:9: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *outp, ^ /kisskb/src/include/linux/compat.h:664:9: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *exp, ^ /kisskb/src/include/linux/compat.h:667:51: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage long compat_sys_pselect6_time64(int n, compat_ulong_t __user *inp, ^ /kisskb/src/include/linux/compat.h:668:9: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *outp, ^ /kisskb/src/include/linux/compat.h:669:9: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *exp, ^ /kisskb/src/include/linux/compat.h:675:12: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:675:35: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:680:12: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:680:35: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:685:16: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:685:39: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:699:40: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_waitid(int, compat_pid_t, ^ /kisskb/src/include/linux/compat.h:708:7: error: expected declaration specifiers or '...' before 'compat_size_t' compat_size_t len); ^ /kisskb/src/include/linux/compat.h:710:37: error: expected declaration specifiers or '...' before 'compat_uptr_t' compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, ^ /kisskb/src/include/linux/compat.h:711:7: error: expected declaration specifiers or '...' before 'compat_size_t' compat_size_t __user *len_ptr); ^ /kisskb/src/include/linux/compat.h:721:39: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage long compat_sys_kexec_load(compat_ulong_t entry, ^ /kisskb/src/include/linux/compat.h:722:11: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t nr_segments, ^ /kisskb/src/include/linux/compat.h:724:11: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t flags); ^ /kisskb/src/include/linux/compat.h:732:35: error: expected declaration specifiers or '...' before 'compat_long_t' asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, ^ /kisskb/src/include/linux/compat.h:732:58: error: expected declaration specifiers or '...' before 'compat_long_t' asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, ^ /kisskb/src/include/linux/compat.h:733:7: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t addr, compat_long_t data); ^ /kisskb/src/include/linux/compat.h:733:27: error: expected declaration specifiers or '...' before 'compat_long_t' compat_long_t addr, compat_long_t data); ^ /kisskb/src/include/linux/compat.h:736:46: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_sched_setaffinity(compat_pid_t pid, ^ /kisskb/src/include/linux/compat.h:738:10: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *user_mask_ptr); ^ /kisskb/src/include/linux/compat.h:739:46: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_sched_getaffinity(compat_pid_t pid, ^ /kisskb/src/include/linux/compat.h:741:10: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *user_mask_ptr); ^ /kisskb/src/include/linux/compat.h:744:46: error: type defaults to 'int' in declaration of 'compat_stack_t' [-Werror=implicit-int] asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, ^ /kisskb/src/include/linux/compat.h:744:68: error: expected ';', ',' or ')' before '*' token asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:746:58: note: in expansion of macro '__user' asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:752:6: error: expected declaration specifiers or '...' before 'compat_size_t' compat_size_t); ^ /kisskb/src/include/linux/compat.h:754:52: error: expected declaration specifiers or '...' before 'compat_sigset_t' asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, ^ /kisskb/src/include/linux/compat.h:755:8: error: expected declaration specifiers or '...' before 'compat_sigset_t' compat_sigset_t __user *oset, ^ /kisskb/src/include/linux/compat.h:756:8: error: expected declaration specifiers or '...' before 'compat_size_t' compat_size_t sigsetsize); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:757:58: note: in expansion of macro '__user' asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset, ^ /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:759:67: note: in expansion of macro '__user' asmlinkage long compat_sys_rt_sigtimedwait_time32(compat_sigset_t __user *uthese, ^ /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:762:67: note: in expansion of macro '__user' asmlinkage long compat_sys_rt_sigtimedwait_time64(compat_sigset_t __user *uthese, ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:765:44: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig, ^ /kisskb/src/include/linux/compat.h:788:15: error: expected declaration specifiers or '...' before 'compat_mode_t' int oflag, compat_mode_t mode, ^ /kisskb/src/include/linux/compat.h:798:46: error: expected declaration specifiers or '...' before 'compat_uptr_t' asmlinkage long compat_sys_msgrcv(int msqid, compat_uptr_t msgp, ^ /kisskb/src/include/linux/compat.h:799:3: error: expected declaration specifiers or '...' before 'compat_ssize_t' compat_ssize_t msgsz, compat_long_t msgtyp, int msgflg); ^ /kisskb/src/include/linux/compat.h:799:25: error: expected declaration specifiers or '...' before 'compat_long_t' compat_ssize_t msgsz, compat_long_t msgtyp, int msgflg); ^ /kisskb/src/include/linux/compat.h:800:46: error: expected declaration specifiers or '...' before 'compat_uptr_t' asmlinkage long compat_sys_msgsnd(int msqid, compat_uptr_t msgp, ^ /kisskb/src/include/linux/compat.h:801:3: error: expected declaration specifiers or '...' before 'compat_ssize_t' compat_ssize_t msgsz, int msgflg); ^ /kisskb/src/include/linux/compat.h:808:45: error: expected declaration specifiers or '...' before 'compat_uptr_t' asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg); ^ /kisskb/src/include/linux/compat.h:811:63: error: expected declaration specifiers or '...' before 'compat_size_t' asmlinkage long compat_sys_recvfrom(int fd, void __user *buf, compat_size_t len, ^ /kisskb/src/include/linux/compat.h:826:70: error: type defaults to 'int' in declaration of 'compat_uptr_t' [-Werror=implicit-int] asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, ^ /kisskb/src/include/linux/compat.h:826:91: error: expected ';', ',' or ')' before '*' token asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, ^ /kisskb/src/include/linux/compat.h:832:46: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, ^ /kisskb/src/include/linux/compat.h:833:6: error: expected declaration specifiers or '...' before 'compat_pid_t' compat_pid_t pid, int sig, ^ /kisskb/src/include/linux/compat.h:841:34: error: expected declaration specifiers or '...' before 'compat_pid_t' asmlinkage long compat_sys_wait4(compat_pid_t pid, ^ /kisskb/src/include/linux/compat.h:842:6: error: expected declaration specifiers or '...' before 'compat_uint_t' compat_uint_t __user *stat_addr, int options, ^ /kisskb/src/include/linux/compat.h:852:14: error: type defaults to 'int' in declaration of 'compat_uptr_t' [-Werror=implicit-int] const compat_uptr_t __user *argv, ^ /kisskb/src/include/linux/compat.h:852:35: error: expected ';', ',' or ')' before '*' token const compat_uptr_t __user *argv, ^ /kisskb/src/include/linux/compat.h:854:39: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage ssize_t compat_sys_preadv2(compat_ulong_t fd, ^ /kisskb/src/include/linux/compat.h:856:3: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); ^ /kisskb/src/include/linux/compat.h:856:51: error: unknown type name 'rwf_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); ^ /kisskb/src/include/linux/compat.h:857:40: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage ssize_t compat_sys_pwritev2(compat_ulong_t fd, ^ /kisskb/src/include/linux/compat.h:859:3: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); ^ /kisskb/src/include/linux/compat.h:859:51: error: unknown type name 'rwf_t' compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); ^ /kisskb/src/include/linux/compat.h:884:15: error: type defaults to 'int' in declaration of 'compat_sigset_t' [-Werror=implicit-int] const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:884:38: error: expected ';', ',' or ')' before '*' token const compat_sigset_t __user *sigmask, ^ /kisskb/src/include/linux/compat.h:894:42: error: expected declaration specifiers or '...' before 'compat_ulong_t' asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp, ^ /kisskb/src/include/linux/compat.h:895:3: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *outp, compat_ulong_t __user *exp, ^ /kisskb/src/include/linux/compat.h:895:32: error: expected declaration specifiers or '...' before 'compat_ulong_t' compat_ulong_t __user *outp, compat_ulong_t __user *exp, ^ /kisskb/src/include/linux/compat.h:898:59: error: expected declaration specifiers or '...' before 'compat_size_t' asmlinkage long compat_sys_recv(int fd, void __user *buf, compat_size_t len, ^ /kisskb/src/include/linux/compat.h:910:52: error: expected declaration specifiers or '...' before 'compat_uptr_t' asmlinkage long compat_sys_ipc(u32, int, int, u32, compat_uptr_t, u32); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:914:59: note: in expansion of macro '__user' asmlinkage long compat_sys_sigpending(compat_old_sigset_t __user *set); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:918:49: error: expected declaration specifiers or '...' before 'compat_old_sigset_t' asmlinkage long compat_sys_sigprocmask(int how, compat_old_sigset_t __user *nset, ^ /kisskb/src/include/linux/compat.h:919:12: error: expected declaration specifiers or '...' before 'compat_old_sigset_t' compat_old_sigset_t __user *oset); ^ /kisskb/src/include/linux/compat.h:976:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/compat.h:993:56: error: expected declaration specifiers or '...' before 'compat_size_t' int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:995:44: error: expected declaration specifiers or '...' before 'compat_size_t' int kcompat_sys_fstatfs64(unsigned int fd, compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:1006:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool in_compat_syscall(void) { return is_compat_task(); } ^ /kisskb/src/include/linux/compat.h:1022:51: error: type defaults to 'int' in declaration of 'compat_ulong_t' [-Werror=implicit-int] long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, ^ /kisskb/src/include/linux/compat.h:1022:73: error: expected ';', ',' or ')' before '*' token long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:46:18: error: expected ')' before '__attribute__' # define __user __attribute__((user)) ^ /kisskb/src/include/linux/compat.h:1024:39: note: in expansion of macro '__user' long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/compat.h:1043:39: error: expected declaration specifiers or '...' before 'compat_uptr_t' static inline void __user *compat_ptr(compat_uptr_t uptr) ^ /kisskb/src/include/linux/compat.h:1049:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptr_to_compat' static inline compat_uptr_t ptr_to_compat(void __user *uptr) ^ In file included from /kisskb/src/include/linux/mmap_lock.h:8:0, from /kisskb/src/include/linux/mm.h:15, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/tracepoint-defs.h:14:1: error: empty declaration [-Werror] struct static_call_key; ^ /kisskb/src/include/linux/tracepoint-defs.h:16:1: error: empty declaration [-Werror] struct trace_print_flags { ^ /kisskb/src/include/linux/tracepoint-defs.h:21:1: error: empty declaration [-Werror] struct trace_print_flags_u64 { ^ /kisskb/src/include/linux/tracepoint-defs.h:26:1: error: empty declaration [-Werror] struct tracepoint_func { ^ /kisskb/src/include/linux/tracepoint-defs.h:32:1: error: empty declaration [-Werror] struct tracepoint { ^ /kisskb/src/include/linux/tracepoint-defs.h:46:35: error: storage class specified for parameter 'tracepoint_ptr_t' typedef struct tracepoint * const tracepoint_ptr_t; ^ /kisskb/src/include/linux/tracepoint-defs.h:49:1: error: empty declaration [-Werror] struct bpf_raw_event_map { ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_mmap_lock_start_locking' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/mmap_lock.h:14:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(mmap_lock_start_locking); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_mmap_lock_acquire_returned' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/mmap_lock.h:15:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(mmap_lock_acquire_returned); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_mmap_lock_released' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/mmap_lock.h:16:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(mmap_lock_released); ^ In file included from /kisskb/src/include/linux/mm.h:15:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mmap_lock.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm.h:16:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/range.h:6:1: error: empty declaration [-Werror] struct range { ^ /kisskb/src/include/linux/range.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/range.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/page_ext.h:7:0, from /kisskb/src/include/linux/mm.h:22, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/stackdepot.h:16:13: error: storage class specified for parameter 'depot_stack_handle_t' typedef u32 depot_stack_handle_t; ^ /kisskb/src/include/linux/stackdepot.h:23:1: error: expected declaration specifiers before 'depot_stack_handle_t' depot_stack_handle_t __stack_depot_save(unsigned long *entries, ^ /kisskb/src/include/linux/stackdepot.h:50:13: error: section attribute not allowed for 'stack_depot_want_early_init' void __init stack_depot_want_early_init(void); ^ /kisskb/src/include/linux/stackdepot.h:50:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init stack_depot_want_early_init(void); ^ /kisskb/src/include/linux/stackdepot.h:50:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/stackdepot.h:53:12: error: section attribute not allowed for 'stack_depot_early_init' int __init stack_depot_early_init(void); ^ /kisskb/src/include/linux/stackdepot.h:53:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init stack_depot_early_init(void); ^ /kisskb/src/include/linux/stackdepot.h:53:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/stackdepot.h:62:1: error: expected declaration specifiers before 'depot_stack_handle_t' depot_stack_handle_t stack_depot_save(unsigned long *entries, ^ /kisskb/src/include/linux/stackdepot.h:65:32: error: expected declaration specifiers or '...' before 'depot_stack_handle_t' unsigned int stack_depot_fetch(depot_stack_handle_t handle, ^ /kisskb/src/include/linux/stackdepot.h:68:41: error: expected declaration specifiers or '...' before 'depot_stack_handle_t' unsigned int stack_depot_get_extra_bits(depot_stack_handle_t handle); ^ /kisskb/src/include/linux/stackdepot.h:70:25: error: expected declaration specifiers or '...' before 'depot_stack_handle_t' int stack_depot_snprint(depot_stack_handle_t handle, char *buf, size_t size, ^ /kisskb/src/include/linux/stackdepot.h:73:24: error: expected declaration specifiers or '...' before 'depot_stack_handle_t' void stack_depot_print(depot_stack_handle_t stack); ^ In file included from /kisskb/src/include/linux/mm.h:22:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/page_ext.h:9:1: error: empty declaration [-Werror] struct pglist_data; ^ /kisskb/src/include/linux/page_ext.h:10:1: error: empty declaration [-Werror] struct page_ext_operations { ^ /kisskb/src/include/linux/page_ext.h:19:1: error: empty declaration [-Werror] enum page_ext_flags { ^ /kisskb/src/include/linux/page_ext.h:35:1: error: empty declaration [-Werror] struct page_ext { ^ /kisskb/src/include/linux/page_ext.h:39:13: error: storage class specified for parameter 'early_page_ext' extern bool early_page_ext; ^ /kisskb/src/include/linux/page_ext.h:40:22: error: storage class specified for parameter 'page_ext_size' extern unsigned long page_ext_size; ^ /kisskb/src/include/linux/page_ext.h:41:13: error: storage class specified for parameter 'pgdat_page_ext_init' extern void pgdat_page_ext_init(struct pglist_data *pgdat); ^ /kisskb/src/include/linux/page_ext.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:52:13: error: storage class specified for parameter 'page_ext_init' extern void page_ext_init(void); ^ /kisskb/src/include/linux/page_ext.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:64:25: error: storage class specified for parameter 'page_ext_get' extern struct page_ext *page_ext_get(struct page *page); ^ /kisskb/src/include/linux/page_ext.h:65:13: error: storage class specified for parameter 'page_ext_put' extern void page_ext_put(struct page_ext *page_ext); ^ /kisskb/src/include/linux/page_ext.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mmap_lock.h:8:0, from /kisskb/src/include/linux/mm.h:15, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_set' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:10:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_set); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_mod' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:11:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_mod); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_mod_and_test' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:12:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_mod_and_test); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_mod_and_return' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:13:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_mod_and_return); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_mod_unless' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:14:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_mod_unless); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_freeze' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:15:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_freeze); ^ /kisskb/src/include/linux/tracepoint-defs.h:81:27: error: storage class specified for parameter '__tracepoint_page_ref_unfreeze' extern struct tracepoint __tracepoint_##tp ^ /kisskb/src/include/linux/page_ref.h:16:1: note: in expansion of macro 'DECLARE_TRACEPOINT' DECLARE_TRACEPOINT(page_ref_unfreeze); ^ In file included from /kisskb/src/include/linux/mm.h:25:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/page_ref.h:29:13: error: storage class specified for parameter '__page_ref_set' extern void __page_ref_set(struct page *page, int v); ^ /kisskb/src/include/linux/page_ref.h:30:13: error: storage class specified for parameter '__page_ref_mod' extern void __page_ref_mod(struct page *page, int v); ^ /kisskb/src/include/linux/page_ref.h:31:13: error: storage class specified for parameter '__page_ref_mod_and_test' extern void __page_ref_mod_and_test(struct page *page, int v, int ret); ^ /kisskb/src/include/linux/page_ref.h:32:13: error: storage class specified for parameter '__page_ref_mod_and_return' extern void __page_ref_mod_and_return(struct page *page, int v, int ret); ^ /kisskb/src/include/linux/page_ref.h:33:13: error: storage class specified for parameter '__page_ref_mod_unless' extern void __page_ref_mod_unless(struct page *page, int v, int u); ^ /kisskb/src/include/linux/page_ref.h:34:13: error: storage class specified for parameter '__page_ref_freeze' extern void __page_ref_freeze(struct page *page, int v, int ret); ^ /kisskb/src/include/linux/page_ref.h:35:13: error: storage class specified for parameter '__page_ref_unfreeze' extern void __page_ref_unfreeze(struct page *page, int v); ^ /kisskb/src/include/linux/page_ref.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memremap.h:7:0, from /kisskb/src/include/linux/mm.h:31, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/ioport.h:21:1: error: empty declaration [-Werror] struct resource { ^ /kisskb/src/include/linux/ioport.h:134:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ioport.h:150:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ioport.h:191:24: error: storage class specified for parameter 'ioport_resource' extern struct resource ioport_resource; ^ /kisskb/src/include/linux/ioport.h:192:24: error: storage class specified for parameter 'iomem_resource' extern struct resource iomem_resource; ^ /kisskb/src/include/linux/ioport.h:194:25: error: storage class specified for parameter 'request_resource_conflict' extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:195:12: error: storage class specified for parameter 'request_resource' extern int request_resource(struct resource *root, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:196:12: error: storage class specified for parameter 'release_resource' extern int release_resource(struct resource *new); ^ /kisskb/src/include/linux/ioport.h:198:13: error: storage class specified for parameter 'reserve_region_with_split' extern void reserve_region_with_split(struct resource *root, ^ /kisskb/src/include/linux/ioport.h:201:25: error: storage class specified for parameter 'insert_resource_conflict' extern struct resource *insert_resource_conflict(struct resource *parent, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:202:12: error: storage class specified for parameter 'insert_resource' extern int insert_resource(struct resource *parent, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:203:13: error: storage class specified for parameter 'insert_resource_expand_to_fit' extern void insert_resource_expand_to_fit(struct resource *root, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:204:12: error: storage class specified for parameter 'remove_resource' extern int remove_resource(struct resource *old); ^ /kisskb/src/include/linux/ioport.h:205:13: error: storage class specified for parameter 'arch_remove_reservations' extern void arch_remove_reservations(struct resource *avail); ^ /kisskb/src/include/linux/ioport.h:206:12: error: storage class specified for parameter 'allocate_resource' extern int allocate_resource(struct resource *root, struct resource *new, ^ /kisskb/src/include/linux/ioport.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:242:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:277:26: error: storage class specified for parameter '__request_region' extern struct resource * __request_region(struct resource *, ^ /kisskb/src/include/linux/ioport.h:286:13: error: storage class specified for parameter '__release_region' extern void __release_region(struct resource *, resource_size_t, ^ /kisskb/src/include/linux/ioport.h:289:13: error: storage class specified for parameter 'release_mem_region_adjustable' extern void release_mem_region_adjustable(resource_size_t, resource_size_t); ^ /kisskb/src/include/linux/ioport.h:292:13: error: storage class specified for parameter 'merge_system_ram_resource' extern void merge_system_ram_resource(struct resource *res); ^ /kisskb/src/include/linux/ioport.h:296:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/ioport.h:298:12: error: storage class specified for parameter 'devm_request_resource' extern int devm_request_resource(struct device *dev, struct resource *root, ^ /kisskb/src/include/linux/ioport.h:300:13: error: storage class specified for parameter 'devm_release_resource' extern void devm_release_resource(struct device *dev, struct resource *new); ^ /kisskb/src/include/linux/ioport.h:307:26: error: storage class specified for parameter '__devm_request_region' extern struct resource * __devm_request_region(struct device *dev, ^ /kisskb/src/include/linux/ioport.h:316:13: error: storage class specified for parameter '__devm_release_region' extern void __devm_release_region(struct device *dev, struct resource *parent, ^ /kisskb/src/include/linux/ioport.h:318:12: error: storage class specified for parameter 'iomem_map_sanity_check' extern int iomem_map_sanity_check(resource_size_t addr, unsigned long size); ^ /kisskb/src/include/linux/ioport.h:319:13: error: storage class specified for parameter 'iomem_is_exclusive' extern bool iomem_is_exclusive(u64 addr); ^ /kisskb/src/include/linux/ioport.h:322:1: error: storage class specified for parameter 'walk_system_ram_range' walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, ^ /kisskb/src/include/linux/ioport.h:325:1: error: storage class specified for parameter 'walk_mem_res' walk_mem_res(u64 start, u64 end, void *arg, ^ /kisskb/src/include/linux/ioport.h:328:1: error: storage class specified for parameter 'walk_system_ram_res' walk_system_ram_res(u64 start, u64 end, void *arg, ^ /kisskb/src/include/linux/ioport.h:331:1: error: storage class specified for parameter 'walk_iomem_res_desc' walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end, ^ /kisskb/src/include/linux/ioport.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioport.h:348:30: error: storage class specified for parameter 'iomem_get_mapping' extern struct address_space *iomem_get_mapping(void); ^ In file included from /kisskb/src/include/linux/mm.h:31:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/memremap.h:10:1: error: empty declaration [-Werror] struct resource; ^ /kisskb/src/include/linux/memremap.h:11:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/memremap.h:21:1: error: empty declaration [-Werror] struct vmem_altmap { ^ /kisskb/src/include/linux/memremap.h:68:1: error: empty declaration [-Werror] enum memory_type { ^ /kisskb/src/include/linux/memremap.h:77:1: error: empty declaration [-Werror] struct dev_pagemap_ops { ^ /kisskb/src/include/linux/memremap.h:129:20: error: field 'done' has incomplete type struct completion done; ^ /kisskb/src/include/linux/memremap.h:126:1: error: empty declaration [-Werror] struct dev_pagemap { ^ /kisskb/src/include/linux/memremap.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:185:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:33:1: error: empty declaration [-Werror] struct mempolicy; ^ /kisskb/src/include/linux/mm.h:34:1: error: empty declaration [-Werror] struct anon_vma; ^ /kisskb/src/include/linux/mm.h:35:1: error: empty declaration [-Werror] struct anon_vma_chain; ^ /kisskb/src/include/linux/mm.h:36:1: error: empty declaration [-Werror] struct user_struct; ^ /kisskb/src/include/linux/mm.h:37:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/include/linux/mm.h:39:12: error: storage class specified for parameter 'sysctl_page_lock_unfairness' extern int sysctl_page_lock_unfairness; ^ /kisskb/src/include/linux/mm.h:51:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void set_max_mapnr(unsigned long limit) { } ^ /kisskb/src/include/linux/mm.h:54:22: error: storage class specified for parameter '_totalram_pages' extern atomic_long_t _totalram_pages; ^ /kisskb/src/include/linux/mm.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:75:15: error: storage class specified for parameter 'high_memory' extern void * high_memory; ^ /kisskb/src/include/linux/mm.h:76:12: error: storage class specified for parameter 'page_cluster' extern int page_cluster; ^ /kisskb/src/include/linux/mm.h:79:12: error: storage class specified for parameter 'sysctl_legacy_va_layout' extern int sysctl_legacy_va_layout; ^ /kisskb/src/include/linux/mm.h:85:18: error: storage class specified for parameter 'mmap_rnd_bits_min' extern const int mmap_rnd_bits_min; ^ /kisskb/src/include/linux/mm.h:86:18: error: storage class specified for parameter 'mmap_rnd_bits_max' extern const int mmap_rnd_bits_max; ^ /kisskb/src/include/linux/mm.h:87:12: error: storage class specified for parameter 'mmap_rnd_bits' extern int mmap_rnd_bits __read_mostly; ^ /kisskb/src/include/linux/mm.h:87:12: error: section attribute not allowed for 'mmap_rnd_bits' /kisskb/src/include/linux/mm.h:90:18: error: storage class specified for parameter 'mmap_rnd_compat_bits_min' extern const int mmap_rnd_compat_bits_min; ^ /kisskb/src/include/linux/mm.h:91:18: error: storage class specified for parameter 'mmap_rnd_compat_bits_max' extern const int mmap_rnd_compat_bits_max; ^ /kisskb/src/include/linux/mm.h:92:12: error: storage class specified for parameter 'mmap_rnd_compat_bits' extern int mmap_rnd_compat_bits __read_mostly; ^ /kisskb/src/include/linux/mm.h:92:12: error: section attribute not allowed for 'mmap_rnd_compat_bits' /kisskb/src/include/linux/mm.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:198:12: error: storage class specified for parameter 'sysctl_max_map_count' extern int sysctl_max_map_count; ^ /kisskb/src/include/linux/mm.h:200:22: error: storage class specified for parameter 'sysctl_user_reserve_kbytes' extern unsigned long sysctl_user_reserve_kbytes; ^ /kisskb/src/include/linux/mm.h:201:22: error: storage class specified for parameter 'sysctl_admin_reserve_kbytes' extern unsigned long sysctl_admin_reserve_kbytes; ^ /kisskb/src/include/linux/mm.h:203:12: error: storage class specified for parameter 'sysctl_overcommit_memory' extern int sysctl_overcommit_memory; ^ /kisskb/src/include/linux/mm.h:204:12: error: storage class specified for parameter 'sysctl_overcommit_ratio' extern int sysctl_overcommit_ratio; ^ /kisskb/src/include/linux/mm.h:205:22: error: storage class specified for parameter 'sysctl_overcommit_kbytes' extern unsigned long sysctl_overcommit_kbytes; ^ /kisskb/src/include/linux/mm.h:233:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:454:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:481:1: error: empty declaration [-Werror] struct vm_fault { ^ /kisskb/src/include/linux/mm.h:528:1: error: empty declaration [-Werror] enum page_entry_size { ^ /kisskb/src/include/linux/mm.h:539:1: error: empty declaration [-Werror] struct vm_operations_struct { ^ /kisskb/src/include/linux/mm.h:615:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:630:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:635:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:649:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:660:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:671:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:680:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:685:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:711:1: error: empty declaration [-Werror] struct mmu_gather; ^ /kisskb/src/include/linux/mm.h:712:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/mm.h:715:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:731:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/huge_mm.h:5:0, from /kisskb/src/include/linux/mm.h:737, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/sched/coredump.h:17:13: error: storage class specified for parameter 'set_dumpable' extern void set_dumpable(struct mm_struct *mm, int value); ^ /kisskb/src/include/linux/sched/coredump.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/coredump.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm.h:737:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/huge_mm.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:81:1: error: empty declaration [-Werror] enum transparent_hugepage_flag { ^ /kisskb/src/include/linux/huge_mm.h:93:1: error: empty declaration [-Werror] struct kobject; ^ /kisskb/src/include/linux/huge_mm.h:94:1: error: empty declaration [-Werror] struct kobj_attribute; ^ /kisskb/src/include/linux/huge_mm.h:103:30: error: storage class specified for parameter 'shmem_enabled_attr' extern struct kobj_attribute shmem_enabled_attr; ^ /kisskb/src/include/linux/huge_mm.h:117:22: error: storage class specified for parameter 'transparent_hugepage_flags' extern unsigned long transparent_hugepage_flags; ^ /kisskb/src/include/linux/huge_mm.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:257:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:268:21: error: storage class specified for parameter 'huge_zero_page' extern struct page *huge_zero_page; ^ /kisskb/src/include/linux/huge_mm.h:269:22: error: storage class specified for parameter 'huge_zero_pfn' extern unsigned long huge_zero_pfn; ^ /kisskb/src/include/linux/huge_mm.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:443:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/huge_mm.h:459:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:762:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:773:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:777:12: error: storage class specified for parameter 'page_is_ram' extern int page_is_ram(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:779:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mm.h:804:13: error: storage class specified for parameter 'is_vmalloc_addr' extern bool is_vmalloc_addr(const void *x); ^ /kisskb/src/include/linux/mm.h:805:12: error: storage class specified for parameter 'is_vmalloc_or_module_addr' extern int is_vmalloc_or_module_addr(const void *x); ^ /kisskb/src/include/linux/mm.h:824:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:835:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:845:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:860:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:870:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:882:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:889:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:909:14: error: storage class specified for parameter 'compound_page_dtor' typedef void compound_page_dtor(struct page *); ^ /kisskb/src/include/linux/mm.h:912:1: error: empty declaration [-Werror] enum compound_dtor_id { ^ /kisskb/src/include/linux/mm.h:923:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern compound_page_dtor * const compound_page_dtors[NR_COMPOUND_DTORS]; ^ /kisskb/src/include/linux/mm.h:927:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:935:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:940:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:949:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:961:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:967:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:976:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:986:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:998:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1012:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/mm.h:1086:26: error: storage class specified for parameter 'devmap_managed_key' DECLARE_STATIC_KEY_FALSE(devmap_managed_key); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:1090:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1310:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1315:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1335:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1360:12: error: storage class specified for parameter 'page_cpupid_xchg_last' extern int page_cpupid_xchg_last(struct page *page, int cpupid); ^ /kisskb/src/include/linux/mm.h:1363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1471:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1475:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void page_kasan_tag_set(struct page *page, u8 tag) { } ^ /kisskb/src/include/linux/mm.h:1476:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void page_kasan_tag_reset(struct page *page) { } ^ /kisskb/src/include/linux/mm.h:1481:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1485:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline pg_data_t *page_pgdat(const struct page *page) ^ /kisskb/src/include/linux/mm.h:1491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1495:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline pg_data_t *folio_pgdat(const struct folio *folio) ^ /kisskb/src/include/linux/mm.h:1523:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1528:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1533:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1580:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1592:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1604:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1630:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1635:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1641:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1648:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1705:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1718:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1724:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1731:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/vmstat.h:8:0, from /kisskb/src/include/linux/mm.h:1748, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/vm_event_item.h:32:1: error: empty declaration [-Werror] enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT, ^ In file included from /kisskb/src/include/linux/mm.h:1748:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/vmstat.h:13:12: error: storage class specified for parameter 'sysctl_stat_interval' extern int sysctl_stat_interval; ^ /kisskb/src/include/linux/vmstat.h:18:12: error: storage class specified for parameter 'sysctl_vm_numa_stat' extern int sysctl_vm_numa_stat; ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/vmstat.h:19:25: error: storage class specified for parameter 'vm_numa_stat_key' DECLARE_STATIC_KEY_TRUE(vm_numa_stat_key); ^ /kisskb/src/include/linux/jump_label.h:364:32: note: in definition of macro 'DECLARE_STATIC_KEY_TRUE' extern struct static_key_true name ^ In file included from /kisskb/src/include/linux/mm.h:1748:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/vmstat.h:24:1: error: empty declaration [-Werror] struct reclaim_stat { ^ /kisskb/src/include/linux/vmstat.h:37:1: error: empty declaration [-Werror] enum writeback_stat_item { ^ /kisskb/src/include/linux/vmstat.h:54:1: error: empty declaration [-Werror] struct vm_event_state { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_vm_event_states' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/vmstat.h:58:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_vm_event_states' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/vmstat.h:58:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ /kisskb/src/include/linux/vmstat.h:58:40: error: storage class specified for parameter 'vm_event_states' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/vmstat.h:58:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ /kisskb/src/include/linux/vmstat.h:58:40: error: section attribute not allowed for 'vm_event_states' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/vmstat.h:58:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vm_event_state, vm_event_states); ^ In file included from /kisskb/src/include/linux/mm.h:1748:0, from /kisskb/src/include/linux/mman.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/vmstat.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:84:13: error: storage class specified for parameter 'all_vm_events' extern void all_vm_events(unsigned long *); ^ /kisskb/src/include/linux/vmstat.h:86:13: error: storage class specified for parameter 'vm_events_fold_cpu' extern void vm_events_fold_cpu(int cpu); ^ /kisskb/src/include/linux/vmstat.h:134:22: error: storage class specified for parameter 'vm_zone_stat' extern atomic_long_t vm_zone_stat[NR_VM_ZONE_STAT_ITEMS]; ^ /kisskb/src/include/linux/vmstat.h:135:22: error: storage class specified for parameter 'vm_node_stat' extern atomic_long_t vm_node_stat[NR_VM_NODE_STAT_ITEMS]; ^ /kisskb/src/include/linux/vmstat.h:136:22: error: storage class specified for parameter 'vm_numa_event' extern atomic_long_t vm_numa_event[NR_VM_NUMA_EVENT_ITEMS]; ^ /kisskb/src/include/linux/vmstat.h:141:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:185:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:203:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:252:22: error: storage class specified for parameter 'sum_zone_node_page_state' extern unsigned long sum_zone_node_page_state(int node, ^ /kisskb/src/include/linux/vmstat.h:254:22: error: storage class specified for parameter 'sum_zone_numa_event_state' extern unsigned long sum_zone_numa_event_state(int node, enum numa_stat_item item); ^ /kisskb/src/include/linux/vmstat.h:255:22: error: storage class specified for parameter 'node_page_state' extern unsigned long node_page_state(struct pglist_data *pgdat, ^ /kisskb/src/include/linux/vmstat.h:257:22: error: storage class specified for parameter 'node_page_state_pages' extern unsigned long node_page_state_pages(struct pglist_data *pgdat, ^ /kisskb/src/include/linux/vmstat.h:259:13: error: storage class specified for parameter 'fold_vm_numa_events' extern void fold_vm_numa_events(void); ^ /kisskb/src/include/linux/vmstat.h:286:13: error: storage class specified for parameter 'inc_node_state' extern void inc_node_state(struct pglist_data *, enum node_stat_item); ^ /kisskb/src/include/linux/vmstat.h:287:13: error: storage class specified for parameter '__inc_zone_state' extern void __inc_zone_state(struct zone *, enum zone_stat_item); ^ /kisskb/src/include/linux/vmstat.h:288:13: error: storage class specified for parameter '__inc_node_state' extern void __inc_node_state(struct pglist_data *, enum node_stat_item); ^ /kisskb/src/include/linux/vmstat.h:289:13: error: storage class specified for parameter 'dec_zone_state' extern void dec_zone_state(struct zone *, enum zone_stat_item); ^ /kisskb/src/include/linux/vmstat.h:290:13: error: storage class specified for parameter '__dec_zone_state' extern void __dec_zone_state(struct zone *, enum zone_stat_item); ^ /kisskb/src/include/linux/vmstat.h:291:13: error: storage class specified for parameter '__dec_node_state' extern void __dec_node_state(struct pglist_data *, enum node_stat_item); ^ /kisskb/src/include/linux/vmstat.h:297:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/include/linux/vmstat.h:305:33: error: expected declaration specifiers or '...' before 'pg_data_t' void set_pgdat_percpu_threshold(pg_data_t *pgdat, ^ /kisskb/src/include/linux/vmstat.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:420:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:462:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:468:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:492:27: error: storage class specified for parameter 'vmstat_text' extern const char * const vmstat_text[]; ^ /kisskb/src/include/linux/vmstat.h:495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:501:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:508:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:520:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:529:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:558:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:602:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:614:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:620:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:632:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:638:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:644:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmstat.h:650:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:1751:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1784:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1788:14: error: storage class specified for parameter 'page_rmapping' extern void *page_rmapping(struct page *page); ^ /kisskb/src/include/linux/mm.h:1789:16: error: storage class specified for parameter '__page_file_index' extern pgoff_t __page_file_index(struct page *page); ^ /kisskb/src/include/linux/mm.h:1796:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1811:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1825:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1830:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1837:13: error: storage class specified for parameter 'pagefault_out_of_memory' extern void pagefault_out_of_memory(void); ^ /kisskb/src/include/linux/mm.h:1849:51: error: expected declaration specifiers or '...' before 'nodemask_t' extern void __show_free_areas(unsigned int flags, nodemask_t *nodemask, int max_zone_idx); ^ /kisskb/src/include/linux/mm.h:1850:64: error: expected declaration specifiers or '...' before 'nodemask_t' static void __maybe_unused show_free_areas(unsigned int flags, nodemask_t *nodemask) ^ /kisskb/src/include/linux/mm.h:1856:13: error: storage class specified for parameter 'can_do_mlock' extern bool can_do_mlock(void); ^ /kisskb/src/include/linux/mm.h:1860:12: error: storage class specified for parameter 'user_shm_lock' extern int user_shm_lock(size_t, struct ucounts *); ^ /kisskb/src/include/linux/mm.h:1861:13: error: storage class specified for parameter 'user_shm_unlock' extern void user_shm_unlock(size_t, struct ucounts *); ^ /kisskb/src/include/linux/mm.h:1876:1: error: empty declaration [-Werror] struct mmu_notifier_range; ^ /kisskb/src/include/linux/mm.h:1891:13: error: storage class specified for parameter 'truncate_pagecache' extern void truncate_pagecache(struct inode *inode, loff_t new); ^ /kisskb/src/include/linux/mm.h:1892:13: error: storage class specified for parameter 'truncate_setsize' extern void truncate_setsize(struct inode *inode, loff_t newsize); ^ /kisskb/src/include/linux/mm.h:1898:19: error: storage class specified for parameter 'handle_mm_fault' extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:1901:12: error: storage class specified for parameter 'fixup_user_fault' extern int fixup_user_fault(struct mm_struct *mm, ^ /kisskb/src/include/linux/mm.h:1932:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:1936:12: error: storage class specified for parameter 'access_process_vm' extern int access_process_vm(struct task_struct *tsk, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:1938:12: error: storage class specified for parameter 'access_remote_vm' extern int access_remote_vm(struct mm_struct *mm, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:1940:12: error: storage class specified for parameter '__access_remote_vm' extern int __access_remote_vm(struct mm_struct *mm, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:1971:1: error: empty declaration [-Werror] struct kvec; ^ /kisskb/src/include/linux/mm.h:1982:22: error: storage class specified for parameter 'move_page_tables' extern unsigned long move_page_tables(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2007:22: error: storage class specified for parameter 'change_protection' extern unsigned long change_protection(struct mmu_gather *tlb, ^ /kisskb/src/include/linux/mm.h:2011:12: error: storage class specified for parameter 'mprotect_fixup' extern int mprotect_fixup(struct mmu_gather *tlb, struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2025:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2032:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2049:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2056:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2063:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2071:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2078:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2085:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2092:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2097:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2158:15: error: storage class specified for parameter '__get_locked_pte' extern pte_t *__get_locked_pte(struct mm_struct *mm, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2250:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2293:13: error: section attribute not allowed for 'ptlock_cache_init' void __init ptlock_cache_init(void); ^ /kisskb/src/include/linux/mm.h:2293:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init ptlock_cache_init(void); ^ /kisskb/src/include/linux/mm.h:2293:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2294:13: error: storage class specified for parameter 'ptlock_alloc' extern bool ptlock_alloc(struct page *page); ^ /kisskb/src/include/linux/mm.h:2295:13: error: storage class specified for parameter 'ptlock_free' extern void ptlock_free(struct page *page); ^ /kisskb/src/include/linux/mm.h:2298:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2322:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2362:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2407:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2457:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2479:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2484:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2491:20: error: storage class specified for parameter 'pagecache_init' extern void __init pagecache_init(void); ^ /kisskb/src/include/linux/mm.h:2491:20: error: section attribute not allowed for 'pagecache_init' /kisskb/src/include/linux/mm.h:2491:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init pagecache_init(void); ^ /kisskb/src/include/linux/mm.h:2491:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2492:13: error: storage class specified for parameter 'free_initmem' extern void free_initmem(void); ^ /kisskb/src/include/linux/mm.h:2500:22: error: storage class specified for parameter 'free_reserved_area' extern unsigned long free_reserved_area(void *start, void *end, ^ /kisskb/src/include/linux/mm.h:2503:13: error: storage class specified for parameter 'adjust_managed_page_count' extern void adjust_managed_page_count(struct page *page, long count); ^ /kisskb/src/include/linux/mm.h:2504:13: error: storage class specified for parameter 'mem_init_print_info' extern void mem_init_print_info(void); ^ /kisskb/src/include/linux/mm.h:2506:13: error: storage class specified for parameter 'reserve_bootmem_region' extern void reserve_bootmem_region(phys_addr_t start, phys_addr_t end); ^ /kisskb/src/include/linux/mm.h:2510:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2531:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2539:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2569:22: error: storage class specified for parameter 'absent_pages_in_range' extern unsigned long absent_pages_in_range(unsigned long start_pfn, ^ /kisskb/src/include/linux/mm.h:2571:13: error: storage class specified for parameter 'get_pfn_range_for_nid' extern void get_pfn_range_for_nid(unsigned int nid, ^ /kisskb/src/include/linux/mm.h:2581:22: error: storage class specified for parameter 'early_pfn_to_nid' extern int __meminit early_pfn_to_nid(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:2581:22: error: section attribute not allowed for 'early_pfn_to_nid' /kisskb/src/include/linux/mm.h:2581:1: error: '__cold__' attribute ignored [-Werror=attributes] extern int __meminit early_pfn_to_nid(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:2581:22: error: '__no_instrument_function__' attribute applies only to functions extern int __meminit early_pfn_to_nid(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:2581:1: error: 'latent_entropy' attribute only applies to functions and variables extern int __meminit early_pfn_to_nid(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:2584:13: error: storage class specified for parameter 'set_dma_reserve' extern void set_dma_reserve(unsigned long new_dma_reserve); ^ /kisskb/src/include/linux/mm.h:2585:13: error: storage class specified for parameter 'memmap_init_range' extern void memmap_init_range(unsigned long, int, unsigned long, ^ /kisskb/src/include/linux/mm.h:2588:13: error: storage class specified for parameter 'setup_per_zone_wmarks' extern void setup_per_zone_wmarks(void); ^ /kisskb/src/include/linux/mm.h:2589:13: error: storage class specified for parameter 'calculate_min_free_kbytes' extern void calculate_min_free_kbytes(void); ^ /kisskb/src/include/linux/mm.h:2590:22: error: storage class specified for parameter 'init_per_zone_wmark_min' extern int __meminit init_per_zone_wmark_min(void); ^ /kisskb/src/include/linux/mm.h:2590:22: error: section attribute not allowed for 'init_per_zone_wmark_min' /kisskb/src/include/linux/mm.h:2590:1: error: '__cold__' attribute ignored [-Werror=attributes] extern int __meminit init_per_zone_wmark_min(void); ^ /kisskb/src/include/linux/mm.h:2590:22: error: '__no_instrument_function__' attribute applies only to functions extern int __meminit init_per_zone_wmark_min(void); ^ /kisskb/src/include/linux/mm.h:2590:1: error: 'latent_entropy' attribute only applies to functions and variables extern int __meminit init_per_zone_wmark_min(void); ^ /kisskb/src/include/linux/mm.h:2591:13: error: storage class specified for parameter 'mem_init' extern void mem_init(void); ^ /kisskb/src/include/linux/mm.h:2592:20: error: storage class specified for parameter 'mmap_init' extern void __init mmap_init(void); ^ /kisskb/src/include/linux/mm.h:2592:20: error: section attribute not allowed for 'mmap_init' /kisskb/src/include/linux/mm.h:2592:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init mmap_init(void); ^ /kisskb/src/include/linux/mm.h:2592:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2594:44: error: expected declaration specifiers or '...' before 'nodemask_t' extern void __show_mem(unsigned int flags, nodemask_t *nodemask, int max_zone_idx); ^ /kisskb/src/include/linux/mm.h:2595:49: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void show_mem(unsigned int flags, nodemask_t *nodemask) ^ /kisskb/src/include/linux/mm.h:2599:13: error: storage class specified for parameter 'si_mem_available' extern long si_mem_available(void); ^ /kisskb/src/include/linux/mm.h:2600:13: error: storage class specified for parameter 'si_meminfo' extern void si_meminfo(struct sysinfo * val); ^ /kisskb/src/include/linux/mm.h:2601:13: error: storage class specified for parameter 'si_meminfo_node' extern void si_meminfo_node(struct sysinfo *val, int nid); ^ /kisskb/src/include/linux/mm.h:2603:22: error: storage class specified for parameter 'arch_reserved_kernel_pages' extern unsigned long arch_reserved_kernel_pages(void); ^ /kisskb/src/include/linux/mm.h:2607:33: error: expected declaration specifiers or '...' before 'nodemask_t' void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...); ^ /kisskb/src/include/linux/mm.h:2609:13: error: storage class specified for parameter 'setup_per_cpu_pageset' extern void setup_per_cpu_pageset(void); ^ /kisskb/src/include/linux/mm.h:2612:12: error: storage class specified for parameter 'min_free_kbytes' extern int min_free_kbytes; ^ /kisskb/src/include/linux/mm.h:2613:12: error: storage class specified for parameter 'watermark_boost_factor' extern int watermark_boost_factor; ^ /kisskb/src/include/linux/mm.h:2614:12: error: storage class specified for parameter 'watermark_scale_factor' extern int watermark_scale_factor; ^ /kisskb/src/include/linux/mm.h:2615:13: error: storage class specified for parameter 'arch_has_descending_max_zone_pfns' extern bool arch_has_descending_max_zone_pfns(void); ^ /kisskb/src/include/linux/mm.h:2618:22: error: storage class specified for parameter 'mmap_pages_allocated' extern atomic_long_t mmap_pages_allocated; ^ /kisskb/src/include/linux/mm.h:2619:12: error: storage class specified for parameter 'nommu_shrink_inode_mappings' extern int nommu_shrink_inode_mappings(struct inode *, size_t, size_t); ^ /kisskb/src/include/linux/mm.h:2656:12: error: storage class specified for parameter '__vm_enough_memory' extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin); ^ /kisskb/src/include/linux/mm.h:2657:12: error: storage class specified for parameter '__vma_adjust' extern int __vma_adjust(struct vm_area_struct *vma, unsigned long start, ^ /kisskb/src/include/linux/mm.h:2662:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2665:31: error: storage class specified for parameter 'vma_merge' extern struct vm_area_struct *vma_merge(struct mm_struct *, ^ /kisskb/src/include/linux/mm.h:2669:25: error: storage class specified for parameter 'find_mergeable_anon_vma' extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *); ^ /kisskb/src/include/linux/mm.h:2670:12: error: storage class specified for parameter '__split_vma' extern int __split_vma(struct mm_struct *, struct vm_area_struct *, ^ /kisskb/src/include/linux/mm.h:2672:12: error: storage class specified for parameter 'split_vma' extern int split_vma(struct mm_struct *, struct vm_area_struct *, ^ /kisskb/src/include/linux/mm.h:2674:12: error: storage class specified for parameter 'insert_vm_struct' extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *); ^ /kisskb/src/include/linux/mm.h:2675:13: error: storage class specified for parameter 'unlink_file_vma' extern void unlink_file_vma(struct vm_area_struct *); ^ /kisskb/src/include/linux/mm.h:2676:31: error: storage class specified for parameter 'copy_vma' extern struct vm_area_struct *copy_vma(struct vm_area_struct **, ^ /kisskb/src/include/linux/mm.h:2679:13: error: storage class specified for parameter 'exit_mmap' extern void exit_mmap(struct mm_struct *); ^ /kisskb/src/include/linux/mm.h:2689:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2698:12: error: storage class specified for parameter 'mm_take_all_locks' extern int mm_take_all_locks(struct mm_struct *mm); ^ /kisskb/src/include/linux/mm.h:2699:13: error: storage class specified for parameter 'mm_drop_all_locks' extern void mm_drop_all_locks(struct mm_struct *mm); ^ /kisskb/src/include/linux/mm.h:2701:12: error: storage class specified for parameter 'set_mm_exe_file' extern int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file); ^ /kisskb/src/include/linux/mm.h:2702:12: error: storage class specified for parameter 'replace_mm_exe_file' extern int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file); ^ /kisskb/src/include/linux/mm.h:2703:21: error: storage class specified for parameter 'get_mm_exe_file' extern struct file *get_mm_exe_file(struct mm_struct *mm); ^ /kisskb/src/include/linux/mm.h:2704:21: error: storage class specified for parameter 'get_task_exe_file' extern struct file *get_task_exe_file(struct task_struct *task); ^ /kisskb/src/include/linux/mm.h:2706:13: error: storage class specified for parameter 'may_expand_vm' extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages); ^ /kisskb/src/include/linux/mm.h:2707:13: error: storage class specified for parameter 'vm_stat_account' extern void vm_stat_account(struct mm_struct *, vm_flags_t, long npages); ^ /kisskb/src/include/linux/mm.h:2709:13: error: storage class specified for parameter 'vma_is_special_mapping' extern bool vma_is_special_mapping(const struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2711:31: error: storage class specified for parameter '_install_special_mapping' extern struct vm_area_struct *_install_special_mapping(struct mm_struct *mm, ^ /kisskb/src/include/linux/mm.h:2716:12: error: storage class specified for parameter 'install_special_mapping' extern int install_special_mapping(struct mm_struct *mm, ^ /kisskb/src/include/linux/mm.h:2723:22: error: storage class specified for parameter 'get_unmapped_area' extern unsigned long get_unmapped_area(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); ^ /kisskb/src/include/linux/mm.h:2725:22: error: storage class specified for parameter 'mmap_region' extern unsigned long mmap_region(struct file *file, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2728:22: error: storage class specified for parameter 'do_mmap' extern unsigned long do_mmap(struct file *file, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2731:12: error: storage class specified for parameter 'do_mas_munmap' extern int do_mas_munmap(struct ma_state *mas, struct mm_struct *mm, ^ /kisskb/src/include/linux/mm.h:2734:12: error: storage class specified for parameter 'do_munmap' extern int do_munmap(struct mm_struct *, unsigned long, size_t, ^ /kisskb/src/include/linux/mm.h:2736:12: error: storage class specified for parameter 'do_madvise' extern int do_madvise(struct mm_struct *mm, unsigned long start, size_t len_in, int behavior); ^ /kisskb/src/include/linux/mm.h:2739:12: error: storage class specified for parameter '__mm_populate' extern int __mm_populate(unsigned long addr, unsigned long len, ^ /kisskb/src/include/linux/mm.h:2742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2751:25: error: storage class specified for parameter 'vm_brk' extern int __must_check vm_brk(unsigned long, unsigned long); ^ /kisskb/src/include/linux/mm.h:2752:25: error: storage class specified for parameter 'vm_brk_flags' extern int __must_check vm_brk_flags(unsigned long, unsigned long, unsigned long); ^ /kisskb/src/include/linux/mm.h:2753:12: error: storage class specified for parameter 'vm_munmap' extern int vm_munmap(unsigned long, size_t); ^ /kisskb/src/include/linux/mm.h:2754:35: error: storage class specified for parameter 'vm_mmap' extern unsigned long __must_check vm_mmap(struct file *, unsigned long, ^ /kisskb/src/include/linux/mm.h:2758:1: error: empty declaration [-Werror] struct vm_unmapped_area_info { ^ /kisskb/src/include/linux/mm.h:2768:22: error: storage class specified for parameter 'vm_unmapped_area' extern unsigned long vm_unmapped_area(struct vm_unmapped_area_info *info); ^ /kisskb/src/include/linux/mm.h:2771:13: error: storage class specified for parameter 'truncate_inode_pages' extern void truncate_inode_pages(struct address_space *, loff_t); ^ /kisskb/src/include/linux/mm.h:2772:13: error: storage class specified for parameter 'truncate_inode_pages_range' extern void truncate_inode_pages_range(struct address_space *, ^ /kisskb/src/include/linux/mm.h:2774:13: error: storage class specified for parameter 'truncate_inode_pages_final' extern void truncate_inode_pages_final(struct address_space *); ^ /kisskb/src/include/linux/mm.h:2777:19: error: storage class specified for parameter 'filemap_fault' extern vm_fault_t filemap_fault(struct vm_fault *vmf); ^ /kisskb/src/include/linux/mm.h:2778:19: error: storage class specified for parameter 'filemap_map_pages' extern vm_fault_t filemap_map_pages(struct vm_fault *vmf, ^ /kisskb/src/include/linux/mm.h:2780:19: error: storage class specified for parameter 'filemap_page_mkwrite' extern vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf); ^ /kisskb/src/include/linux/mm.h:2782:22: error: storage class specified for parameter 'stack_guard_gap' extern unsigned long stack_guard_gap; ^ /kisskb/src/include/linux/mm.h:2784:12: error: storage class specified for parameter 'expand_stack' extern int expand_stack(struct vm_area_struct *vma, unsigned long address); ^ /kisskb/src/include/linux/mm.h:2787:12: error: storage class specified for parameter 'expand_downwards' extern int expand_downwards(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2796:32: error: storage class specified for parameter 'find_vma' extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr); ^ /kisskb/src/include/linux/mm.h:2797:32: error: storage class specified for parameter 'find_vma_prev' extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2816:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2821:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2833:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2845:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2852:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2863:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2914:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2929:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2935:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3047:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3078:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3088:15: error: storage class specified for parameter 'pte_fn_t' typedef int (*pte_fn_t)(pte_t *pte, unsigned long addr, void *data); ^ /kisskb/src/include/linux/mm.h:3090:31: error: expected declaration specifiers or '...' before 'pte_fn_t' unsigned long size, pte_fn_t fn, void *data); ^ /kisskb/src/include/linux/mm.h:3093:8: error: expected declaration specifiers or '...' before 'pte_fn_t' pte_fn_t fn, void *data); ^ /kisskb/src/include/linux/mm.h:3095:20: error: storage class specified for parameter 'init_mem_debugging_and_hardening' extern void __init init_mem_debugging_and_hardening(void); ^ /kisskb/src/include/linux/mm.h:3095:20: error: section attribute not allowed for 'init_mem_debugging_and_hardening' /kisskb/src/include/linux/mm.h:3095:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init init_mem_debugging_and_hardening(void); ^ /kisskb/src/include/linux/mm.h:3095:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:3097:13: error: storage class specified for parameter '__kernel_poison_pages' extern void __kernel_poison_pages(struct page *page, int numpages); ^ /kisskb/src/include/linux/mm.h:3098:13: error: storage class specified for parameter '__kernel_unpoison_pages' extern void __kernel_unpoison_pages(struct page *page, int numpages); ^ /kisskb/src/include/linux/mm.h:3099:13: error: storage class specified for parameter '_page_poisoning_enabled_early' extern bool _page_poisoning_enabled_early; ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/mm.h:3100:26: error: storage class specified for parameter '_page_poisoning_enabled' DECLARE_STATIC_KEY_FALSE(_page_poisoning_enabled); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:3102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/mm.h:3131:59: error: storage class specified for parameter 'init_on_alloc' DECLARE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_ALLOC_DEFAULT_ON, init_on_alloc); ^ /kisskb/src/include/linux/jump_label.h:364:32: note: in definition of macro 'DECLARE_STATIC_KEY_TRUE' extern struct static_key_true name ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in expansion of macro '_DECLARE_STATIC_KEY_1' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/mm.h:3131:1: note: in expansion of macro 'DECLARE_STATIC_KEY_MAYBE' DECLARE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_ALLOC_DEFAULT_ON, init_on_alloc); ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:3133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/mm.h:3140:58: error: storage class specified for parameter 'init_on_free' DECLARE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_FREE_DEFAULT_ON, init_on_free); ^ /kisskb/src/include/linux/jump_label.h:364:32: note: in definition of macro 'DECLARE_STATIC_KEY_TRUE' extern struct static_key_true name ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in expansion of macro '_DECLARE_STATIC_KEY_1' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/mm.h:3140:1: note: in expansion of macro 'DECLARE_STATIC_KEY_MAYBE' DECLARE_STATIC_KEY_MAYBE(CONFIG_INIT_ON_FREE_DEFAULT_ON, init_on_free); ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:3142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3147:13: error: storage class specified for parameter '_debug_pagealloc_enabled_early' extern bool _debug_pagealloc_enabled_early; ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/mm.h:3148:26: error: storage class specified for parameter '_debug_pagealloc_enabled' DECLARE_STATIC_KEY_FALSE(_debug_pagealloc_enabled); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:3151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3187:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_pagealloc_map_pages(struct page *page, int numpages) {} ^ /kisskb/src/include/linux/mm.h:3188:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) {} ^ /kisskb/src/include/linux/mm.h:3197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3200:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int in_gate_area_no_mm(unsigned long addr) { return 0; } ^ /kisskb/src/include/linux/mm.h:3202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3207:13: error: storage class specified for parameter 'process_shares_mm' extern bool process_shares_mm(struct task_struct *p, struct mm_struct *mm); ^ /kisskb/src/include/linux/mm.h:3210:12: error: storage class specified for parameter 'sysctl_drop_caches' extern int sysctl_drop_caches; ^ /kisskb/src/include/linux/mm.h:3220:12: error: storage class specified for parameter 'randomize_va_space' extern int randomize_va_space; ^ /kisskb/src/include/linux/mm.h:3243:1: error: empty declaration [-Werror] struct vmem_altmap; ^ /kisskb/src/include/linux/mm.h:3259:1: error: empty declaration [-Werror] enum mf_flags { ^ /kisskb/src/include/linux/mm.h:3270:12: error: storage class specified for parameter 'memory_failure' extern int memory_failure(unsigned long pfn, int flags); ^ /kisskb/src/include/linux/mm.h:3271:13: error: storage class specified for parameter 'memory_failure_queue' extern void memory_failure_queue(unsigned long pfn, int flags); ^ /kisskb/src/include/linux/mm.h:3272:13: error: storage class specified for parameter 'memory_failure_queue_kick' extern void memory_failure_queue_kick(int cpu); ^ /kisskb/src/include/linux/mm.h:3273:12: error: storage class specified for parameter 'unpoison_memory' extern int unpoison_memory(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:3274:12: error: storage class specified for parameter 'sysctl_memory_failure_early_kill' extern int sysctl_memory_failure_early_kill; ^ /kisskb/src/include/linux/mm.h:3275:12: error: storage class specified for parameter 'sysctl_memory_failure_recovery' extern int sysctl_memory_failure_recovery; ^ /kisskb/src/include/linux/mm.h:3276:13: error: storage class specified for parameter 'shake_page' extern void shake_page(struct page *p); ^ /kisskb/src/include/linux/mm.h:3277:22: error: storage class specified for parameter 'num_poisoned_pages' extern atomic_long_t num_poisoned_pages __read_mostly; ^ /kisskb/src/include/linux/mm.h:3277:22: error: section attribute not allowed for 'num_poisoned_pages' /kisskb/src/include/linux/mm.h:3278:12: error: storage class specified for parameter 'soft_offline_page' extern int soft_offline_page(unsigned long pfn, int flags); ^ /kisskb/src/include/linux/mm.h:3280:12: error: storage class specified for parameter '__get_huge_page_for_hwpoison' extern int __get_huge_page_for_hwpoison(unsigned long pfn, int flags); ^ /kisskb/src/include/linux/mm.h:3290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3305:1: error: empty declaration [-Werror] enum mf_result { ^ /kisskb/src/include/linux/mm.h:3312:1: error: empty declaration [-Werror] enum mf_action_page_type { ^ /kisskb/src/include/linux/mm.h:3336:13: error: storage class specified for parameter 'clear_huge_page' extern void clear_huge_page(struct page *page, ^ /kisskb/src/include/linux/mm.h:3339:13: error: storage class specified for parameter 'copy_user_huge_page' extern void copy_user_huge_page(struct page *dst, struct page *src, ^ /kisskb/src/include/linux/mm.h:3343:13: error: storage class specified for parameter 'copy_huge_page_from_user' extern long copy_huge_page_from_user(struct page *dst_page, ^ /kisskb/src/include/linux/mm.h:3359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3388:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned int debug_guardpage_minorder(void) { return 0; } ^ /kisskb/src/include/linux/mm.h:3389:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool debug_guardpage_enabled(void) { return false; } ^ /kisskb/src/include/linux/mm.h:3390:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool page_is_guard(struct page *page) { return false; } ^ /kisskb/src/include/linux/mm.h:3394:13: error: section attribute not allowed for 'setup_nr_node_ids' void __init setup_nr_node_ids(void); ^ /kisskb/src/include/linux/mm.h:3394:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init setup_nr_node_ids(void); ^ /kisskb/src/include/linux/mm.h:3394:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:3399:12: error: storage class specified for parameter 'memcmp_pages' extern int memcmp_pages(struct page *page1, struct page *page2); ^ /kisskb/src/include/linux/mm.h:3402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3418:12: error: storage class specified for parameter 'sysctl_nr_trim_pages' extern int sysctl_nr_trim_pages; ^ /kisskb/src/include/linux/mm.h:3435:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pkeys.h:10:0, from /kisskb/src/arch/powerpc/include/asm/mman.h:13, from /kisskb/src/include/uapi/linux/mman.h:5, from /kisskb/src/include/linux/mman.h:9, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/arch/powerpc/include/asm/pkeys.h:14:12: error: storage class specified for parameter 'num_pkey' extern int num_pkey; ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:15:12: error: storage class specified for parameter 'reserved_allocation_mask' extern u32 reserved_allocation_mask; /* bits set for reserved keys */ ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pkeys.h:6:0, from /kisskb/src/arch/powerpc/include/asm/pkeys.h:27, from /kisskb/src/include/linux/pkeys.h:10, from /kisskb/src/arch/powerpc/include/asm/mman.h:13, from /kisskb/src/include/uapi/linux/mman.h:5, from /kisskb/src/include/linux/mman.h:9, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-pkey.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-pkey.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-pkey.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/pkeys.h:27:0, from /kisskb/src/include/linux/pkeys.h:10, from /kisskb/src/arch/powerpc/include/asm/mman.h:13, from /kisskb/src/include/uapi/linux/mman.h:5, from /kisskb/src/include/linux/mman.h:9, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/arch/powerpc/include/asm/book3s/64/pkeys.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pkeys.h:19:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pkeys.h:10:0, from /kisskb/src/arch/powerpc/include/asm/mman.h:13, from /kisskb/src/include/uapi/linux/mman.h:5, from /kisskb/src/include/linux/mman.h:9, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/arch/powerpc/include/asm/pkeys.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:127:12: error: storage class specified for parameter 'execute_only_pkey' extern int execute_only_pkey(struct mm_struct *mm); ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:128:12: error: storage class specified for parameter '__arch_override_mprotect_pkey' extern int __arch_override_mprotect_pkey(struct vm_area_struct *vma, ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:146:12: error: storage class specified for parameter '__arch_set_user_pkey_access' extern int __arch_set_user_pkey_access(struct task_struct *tsk, int pkey, ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pkeys.h:171:13: error: storage class specified for parameter 'pkey_mm_init' extern void pkey_mm_init(struct mm_struct *mm); ^ In file included from /kisskb/src/include/uapi/linux/mman.h:5:0, from /kisskb/src/include/linux/mman.h:9, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/arch/powerpc/include/asm/mman.h:19:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/mman.h:29:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19:0: /kisskb/src/include/linux/mman.h:56:12: error: storage class specified for parameter 'sysctl_overcommit_memory' extern int sysctl_overcommit_memory; ^ /kisskb/src/include/linux/mman.h:56:12: error: redefinition of parameter 'sysctl_overcommit_memory' In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:203:12: note: previous definition of 'sysctl_overcommit_memory' was here extern int sysctl_overcommit_memory; ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19:0: /kisskb/src/include/linux/mman.h:57:12: error: storage class specified for parameter 'sysctl_overcommit_ratio' extern int sysctl_overcommit_ratio; ^ /kisskb/src/include/linux/mman.h:57:12: error: redefinition of parameter 'sysctl_overcommit_ratio' In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:204:12: note: previous definition of 'sysctl_overcommit_ratio' was here extern int sysctl_overcommit_ratio; ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19:0: /kisskb/src/include/linux/mman.h:58:22: error: storage class specified for parameter 'sysctl_overcommit_kbytes' extern unsigned long sysctl_overcommit_kbytes; ^ /kisskb/src/include/linux/mman.h:58:22: error: redefinition of parameter 'sysctl_overcommit_kbytes' In file included from /kisskb/src/include/linux/mman.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19: /kisskb/src/include/linux/mm.h:205:22: note: previous definition of 'sysctl_overcommit_kbytes' was here extern unsigned long sysctl_overcommit_kbytes; ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:19:0: /kisskb/src/include/linux/mman.h:59:30: error: storage class specified for parameter 'vm_committed_as' extern struct percpu_counter vm_committed_as; ^ /kisskb/src/include/linux/mman.h:62:12: error: storage class specified for parameter 'vm_committed_as_batch' extern s32 vm_committed_as_batch; ^ /kisskb/src/include/linux/mman.h:63:13: error: storage class specified for parameter 'mm_compute_batch' extern void mm_compute_batch(int overcommit_policy); ^ /kisskb/src/include/linux/mman.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mman.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mman.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mman.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mman.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/uapi/linux/cgroupstats.h:20:0, from /kisskb/src/include/linux/cgroup.h:16, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/uapi/linux/taskstats.h:41:1: error: empty declaration [-Werror] struct taskstats { ^ /kisskb/src/include/uapi/linux/taskstats.h:210:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/taskstats.h:219:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/taskstats.h:232:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/cgroup.h:16:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/uapi/linux/cgroupstats.h:32:1: error: empty declaration [-Werror] struct cgroupstats { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:47:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:56:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:64:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/string_helpers.h:6:0, from /kisskb/src/include/linux/seq_file.h:7, from /kisskb/src/include/linux/cgroup.h:18, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/ctype.h:21:28: error: storage class specified for parameter '_ctype' extern const unsigned char _ctype[]; ^ /kisskb/src/include/linux/ctype.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ctype.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ctype.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ctype.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ctype.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/seq_file.h:7:0, from /kisskb/src/include/linux/cgroup.h:18, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/string_helpers.h:10:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/string_helpers.h:11:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/string_helpers.h:12:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/string_helpers.h:16:1: error: empty declaration [-Werror] enum string_size_units { ^ /kisskb/src/include/linux/string_helpers.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/string_helpers.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cgroup.h:18:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/seq_file.h:15:1: error: empty declaration [-Werror] struct seq_operations; ^ /kisskb/src/include/linux/seq_file.h:17:1: error: empty declaration [-Werror] struct seq_file { ^ /kisskb/src/include/linux/seq_file.h:32:1: error: empty declaration [-Werror] struct seq_operations { ^ /kisskb/src/include/linux/seq_file.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/seq_file.h:116:1: note: in expansion of macro '__printf' __printf(2, 0) ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/seq_file.h:118:1: note: in expansion of macro '__printf' __printf(2, 3) ^ In file included from /kisskb/src/include/linux/cgroup.h:18:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/seq_file.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_file.h:273:26: error: storage class specified for parameter 'seq_list_start' extern struct list_head *seq_list_start(struct list_head *head, ^ /kisskb/src/include/linux/seq_file.h:275:26: error: storage class specified for parameter 'seq_list_start_head' extern struct list_head *seq_list_start_head(struct list_head *head, ^ /kisskb/src/include/linux/seq_file.h:277:26: error: storage class specified for parameter 'seq_list_next' extern struct list_head *seq_list_next(void *v, struct list_head *head, ^ /kisskb/src/include/linux/seq_file.h:280:26: error: storage class specified for parameter 'seq_list_start_rcu' extern struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos); ^ /kisskb/src/include/linux/seq_file.h:281:26: error: storage class specified for parameter 'seq_list_start_head_rcu' extern struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos); ^ /kisskb/src/include/linux/seq_file.h:282:26: error: storage class specified for parameter 'seq_list_next_rcu' extern struct list_head *seq_list_next_rcu(void *v, struct list_head *head, loff_t *ppos); ^ /kisskb/src/include/linux/seq_file.h:288:27: error: storage class specified for parameter 'seq_hlist_start' extern struct hlist_node *seq_hlist_start(struct hlist_head *head, ^ /kisskb/src/include/linux/seq_file.h:290:27: error: storage class specified for parameter 'seq_hlist_start_head' extern struct hlist_node *seq_hlist_start_head(struct hlist_head *head, ^ /kisskb/src/include/linux/seq_file.h:292:27: error: storage class specified for parameter 'seq_hlist_next' extern struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, ^ /kisskb/src/include/linux/seq_file.h:295:27: error: storage class specified for parameter 'seq_hlist_start_rcu' extern struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, ^ /kisskb/src/include/linux/seq_file.h:297:27: error: storage class specified for parameter 'seq_hlist_start_head_rcu' extern struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, ^ /kisskb/src/include/linux/seq_file.h:299:27: error: storage class specified for parameter 'seq_hlist_next_rcu' extern struct hlist_node *seq_hlist_next_rcu(void *v, ^ /kisskb/src/include/linux/seq_file.h:304:27: error: storage class specified for parameter 'seq_hlist_start_percpu' extern struct hlist_node *seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos); ^ /kisskb/src/include/linux/seq_file.h:306:27: error: storage class specified for parameter 'seq_hlist_next_percpu' extern struct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos); ^ In file included from /kisskb/src/include/linux/kernfs.h:12:0, from /kisskb/src/include/linux/cgroup.h:19, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/idr.h:19:1: error: empty declaration [-Werror] struct idr { ^ /kisskb/src/include/linux/idr.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:240:1: error: empty declaration [-Werror] struct ida_bitmap { ^ /kisskb/src/include/linux/idr.h:244:1: error: empty declaration [-Werror] struct ida { ^ /kisskb/src/include/linux/idr.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:308:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/idr.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cgroup.h:19:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kernfs.h:23:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/kernfs.h:24:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/kernfs.h:25:1: error: empty declaration [-Werror] struct iattr; ^ /kisskb/src/include/linux/kernfs.h:26:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/kernfs.h:27:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/kernfs.h:28:1: error: empty declaration [-Werror] struct vm_operations_struct; ^ /kisskb/src/include/linux/kernfs.h:29:1: error: empty declaration [-Werror] struct super_block; ^ /kisskb/src/include/linux/kernfs.h:30:1: error: empty declaration [-Werror] struct file_system_type; ^ /kisskb/src/include/linux/kernfs.h:31:1: error: empty declaration [-Werror] struct poll_table_struct; ^ /kisskb/src/include/linux/kernfs.h:32:1: error: empty declaration [-Werror] struct fs_context; ^ /kisskb/src/include/linux/kernfs.h:34:1: error: empty declaration [-Werror] struct kernfs_fs_context; ^ /kisskb/src/include/linux/kernfs.h:35:1: error: empty declaration [-Werror] struct kernfs_open_node; ^ /kisskb/src/include/linux/kernfs.h:36:1: error: empty declaration [-Werror] struct kernfs_iattrs; ^ /kisskb/src/include/linux/kernfs.h:90:1: error: empty declaration [-Werror] struct kernfs_global_locks { ^ /kisskb/src/include/linux/kernfs.h:94:1: error: empty declaration [-Werror] enum kernfs_node_type { ^ /kisskb/src/include/linux/kernfs.h:105:1: error: empty declaration [-Werror] enum kernfs_node_flag { ^ /kisskb/src/include/linux/kernfs.h:120:1: error: empty declaration [-Werror] enum kernfs_root_flag { ^ /kisskb/src/include/linux/kernfs.h:153:1: error: empty declaration [-Werror] struct kernfs_elem_dir { ^ /kisskb/src/include/linux/kernfs.h:170:1: error: empty declaration [-Werror] struct kernfs_elem_symlink { ^ /kisskb/src/include/linux/kernfs.h:174:1: error: empty declaration [-Werror] struct kernfs_elem_attr { ^ /kisskb/src/include/linux/kernfs.h:190:1: error: empty declaration [-Werror] struct kernfs_node { ^ /kisskb/src/include/linux/kernfs.h:235:1: error: empty declaration [-Werror] struct kernfs_syscall_ops { ^ /kisskb/src/include/linux/kernfs.h:249:1: error: empty declaration [-Werror] struct kernfs_open_file { ^ /kisskb/src/include/linux/kernfs.h:269:1: error: empty declaration [-Werror] struct kernfs_ops { ^ /kisskb/src/include/linux/kernfs.h:324:1: error: empty declaration [-Werror] struct kernfs_fs_context { ^ /kisskb/src/include/linux/kernfs.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:350:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:590:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:602:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:609:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:617:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernfs.h:624:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cgroup.h:22:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/ns_common.h:7:1: error: empty declaration [-Werror] struct proc_ns_operations; ^ /kisskb/src/include/linux/ns_common.h:9:1: error: empty declaration [-Werror] struct ns_common { ^ In file included from /kisskb/src/include/linux/cgroup.h:23:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/nsproxy.h:8:1: error: empty declaration [-Werror] struct mnt_namespace; ^ /kisskb/src/include/linux/nsproxy.h:9:1: error: empty declaration [-Werror] struct uts_namespace; ^ /kisskb/src/include/linux/nsproxy.h:10:1: error: empty declaration [-Werror] struct ipc_namespace; ^ /kisskb/src/include/linux/nsproxy.h:11:1: error: empty declaration [-Werror] struct pid_namespace; ^ /kisskb/src/include/linux/nsproxy.h:12:1: error: empty declaration [-Werror] struct cgroup_namespace; ^ /kisskb/src/include/linux/nsproxy.h:13:1: error: empty declaration [-Werror] struct fs_struct; ^ /kisskb/src/include/linux/nsproxy.h:31:1: error: empty declaration [-Werror] struct nsproxy { ^ /kisskb/src/include/linux/nsproxy.h:42:23: error: storage class specified for parameter 'init_nsproxy' extern struct nsproxy init_nsproxy; ^ /kisskb/src/include/linux/nsproxy.h:53:1: error: empty declaration [-Werror] struct nsset { ^ /kisskb/src/include/linux/nsproxy.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nsproxy.h:100:12: error: section attribute not allowed for 'nsproxy_cache_init' int __init nsproxy_cache_init(void); ^ /kisskb/src/include/linux/nsproxy.h:100:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init nsproxy_cache_init(void); ^ /kisskb/src/include/linux/nsproxy.h:100:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/nsproxy.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nsproxy.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cgroup.h:24:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/user_namespace.h:17:1: error: empty declaration [-Werror] struct uid_gid_extent { ^ /kisskb/src/include/linux/user_namespace.h:23:1: error: empty declaration [-Werror] struct uid_gid_map { /* 64 bytes -- 1 cache line */ ^ /kisskb/src/include/linux/user_namespace.h:38:1: error: empty declaration [-Werror] struct ucounts; ^ /kisskb/src/include/linux/user_namespace.h:40:1: error: empty declaration [-Werror] enum ucount_type { ^ /kisskb/src/include/linux/user_namespace.h:60:1: error: empty declaration [-Werror] enum rlimit_type { ^ /kisskb/src/include/linux/user_namespace.h:68:1: error: empty declaration [-Werror] struct user_namespace { ^ /kisskb/src/include/linux/user_namespace.h:107:1: error: empty declaration [-Werror] struct ucounts { ^ /kisskb/src/include/linux/user_namespace.h:116:30: error: storage class specified for parameter 'init_user_ns' extern struct user_namespace init_user_ns; ^ /kisskb/src/include/linux/user_namespace.h:116:30: error: redefinition of parameter 'init_user_ns' In file included from /kisskb/src/include/linux/quota.h:48:0, from /kisskb/src/include/linux/fs.h:264, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:12: /kisskb/src/include/linux/projid.h:18:30: note: previous definition of 'init_user_ns' was here extern struct user_namespace init_user_ns; ^ In file included from /kisskb/src/include/linux/cgroup.h:24:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/user_namespace.h:117:23: error: storage class specified for parameter 'init_ucounts' extern struct ucounts init_ucounts; ^ /kisskb/src/include/linux/user_namespace.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/user_namespace.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/user_namespace.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/user_namespace.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/user_namespace.h:158:12: error: storage class specified for parameter 'create_user_ns' extern int create_user_ns(struct cred *new); ^ /kisskb/src/include/linux/user_namespace.h:159:12: error: storage class specified for parameter 'unshare_userns' extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred); ^ /kisskb/src/include/linux/user_namespace.h:160:13: error: storage class specified for parameter '__put_user_ns' extern void __put_user_ns(struct user_namespace *ns); ^ /kisskb/src/include/linux/user_namespace.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/user_namespace.h:168:1: error: empty declaration [-Werror] struct seq_operations; ^ /kisskb/src/include/linux/user_namespace.h:169:36: error: storage class specified for parameter 'proc_uid_seq_operations' extern const struct seq_operations proc_uid_seq_operations; ^ /kisskb/src/include/linux/user_namespace.h:170:36: error: storage class specified for parameter 'proc_gid_seq_operations' extern const struct seq_operations proc_gid_seq_operations; ^ /kisskb/src/include/linux/user_namespace.h:171:36: error: storage class specified for parameter 'proc_projid_seq_operations' extern const struct seq_operations proc_projid_seq_operations; ^ /kisskb/src/include/linux/user_namespace.h:172:16: error: storage class specified for parameter 'proc_uid_map_write' extern ssize_t proc_uid_map_write(struct file *, const char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/user_namespace.h:173:16: error: storage class specified for parameter 'proc_gid_map_write' extern ssize_t proc_gid_map_write(struct file *, const char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/user_namespace.h:174:16: error: storage class specified for parameter 'proc_projid_map_write' extern ssize_t proc_projid_map_write(struct file *, const char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/user_namespace.h:175:16: error: storage class specified for parameter 'proc_setgroups_write' extern ssize_t proc_setgroups_write(struct file *, const char __user *, size_t, loff_t *); ^ /kisskb/src/include/linux/user_namespace.h:176:12: error: storage class specified for parameter 'proc_setgroups_show' extern int proc_setgroups_show(struct seq_file *m, void *v); ^ /kisskb/src/include/linux/user_namespace.h:177:13: error: storage class specified for parameter 'userns_may_setgroups' extern bool userns_may_setgroups(const struct user_namespace *ns); ^ /kisskb/src/include/linux/user_namespace.h:178:13: error: storage class specified for parameter 'in_userns' extern bool in_userns(const struct user_namespace *ancestor, ^ /kisskb/src/include/linux/user_namespace.h:180:13: error: storage class specified for parameter 'current_in_userns' extern bool current_in_userns(const struct user_namespace *target_ns); ^ In file included from /kisskb/src/include/linux/hardirq.h:5:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/context_tracking_state.h:12:1: error: empty declaration [-Werror] enum ctx_state { ^ /kisskb/src/include/linux/context_tracking_state.h:27:1: error: empty declaration [-Werror] struct context_tracking { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_context_tracking' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/context_tracking_state.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_context_tracking' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/context_tracking_state.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ /kisskb/src/include/linux/context_tracking_state.h:48:42: error: storage class specified for parameter 'context_tracking' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/context_tracking_state.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ /kisskb/src/include/linux/context_tracking_state.h:48:42: error: section attribute not allowed for 'context_tracking' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/context_tracking_state.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ In file included from /kisskb/src/include/linux/hardirq.h:5:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/context_tracking_state.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:141:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled(void) { return false; } ^ /kisskb/src/include/linux/context_tracking_state.h:142:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled_cpu(int cpu) { return false; } ^ /kisskb/src/include/linux/context_tracking_state.h:143:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled_this_cpu(void) { return false; } ^ In file included from /kisskb/src/include/linux/hardirq.h:8:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/ftrace_irq.h:6:13: error: storage class specified for parameter 'trace_hwlat_callback_enabled' extern bool trace_hwlat_callback_enabled; ^ /kisskb/src/include/linux/ftrace_irq.h:7:13: error: storage class specified for parameter 'trace_hwlat_callback' extern void trace_hwlat_callback(bool enter); ^ /kisskb/src/include/linux/ftrace_irq.h:11:13: error: storage class specified for parameter 'trace_osnoise_callback_enabled' extern bool trace_osnoise_callback_enabled; ^ /kisskb/src/include/linux/ftrace_irq.h:12:13: error: storage class specified for parameter 'trace_osnoise_callback' extern void trace_osnoise_callback(bool enter); ^ /kisskb/src/include/linux/ftrace_irq.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace_irq.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/hardirq.h:10:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/vtime.h:28:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_user_enter(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:29:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_user_exit(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:30:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_guest_enter(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:31:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_guest_exit(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:32:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } ^ /kisskb/src/include/linux/vtime.h:41:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_account_irq(struct task_struct *tsk, unsigned int offset) { } ^ /kisskb/src/include/linux/vtime.h:42:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_account_softirq(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:43:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_account_hardirq(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:44:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_flush(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/vtime.h:116:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool vtime_accounting_enabled_this_cpu(void) { return false; } ^ /kisskb/src/include/linux/vtime.h:117:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void vtime_task_switch(struct task_struct *prev) { } ^ /kisskb/src/include/linux/vtime.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vtime.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vtime.h:133:13: error: storage class specified for parameter 'irqtime_account_irq' extern void irqtime_account_irq(struct task_struct *tsk, unsigned int offset); ^ /kisskb/src/include/linux/vtime.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vtime.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vtime.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vtime.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/irq.h:16:0, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/irqhandler.h:10:1: error: empty declaration [-Werror] struct irq_desc; ^ /kisskb/src/include/linux/irqhandler.h:11:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/include/linux/irqhandler.h:12:16: error: storage class specified for parameter 'irq_flow_handler_t' typedef void (*irq_flow_handler_t)(struct irq_desc *desc); ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/io.h:15:12: error: storage class specified for parameter 'check_legacy_ioport' extern int check_legacy_ioport(unsigned long base_port); ^ /kisskb/src/arch/powerpc/include/asm/io.h:20:24: error: storage class specified for parameter 'isa_bridge_pcidev' extern struct pci_dev *isa_bridge_pcidev; ^ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/dev_printk.h:22:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/dev_printk.h:27:1: error: empty declaration [-Werror] struct dev_printk_info { ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:34:1: note: in expansion of macro '__printf' __printf(3, 0) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:37:1: note: in expansion of macro '__printf' __printf(3, 4) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:40:1: note: in expansion of macro '__printf' __printf(3, 4) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:43:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:45:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:47:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:49:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:51:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:53:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/dev_printk.h:55:1: note: in expansion of macro '__printf' __printf(2, 3) __cold ^ In file included from /kisskb/src/include/linux/sysfs.h:21:0, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kobject_ns.h:19:1: error: empty declaration [-Werror] struct sock; ^ /kisskb/src/include/linux/kobject_ns.h:20:1: error: empty declaration [-Werror] struct kobject; ^ /kisskb/src/include/linux/kobject_ns.h:26:1: error: empty declaration [-Werror] enum kobj_ns_type { ^ /kisskb/src/include/linux/kobject_ns.h:39:1: error: empty declaration [-Werror] struct kobj_ns_type_operations { ^ In file included from /kisskb/src/include/linux/kobject.h:20:0, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sysfs.h:25:1: error: empty declaration [-Werror] struct kobject; ^ /kisskb/src/include/linux/sysfs.h:26:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/sysfs.h:27:1: error: empty declaration [-Werror] struct bin_attribute; ^ /kisskb/src/include/linux/sysfs.h:28:1: error: empty declaration [-Werror] enum kobj_ns_type; ^ /kisskb/src/include/linux/sysfs.h:30:1: error: empty declaration [-Werror] struct attribute { ^ /kisskb/src/include/linux/sysfs.h:84:1: error: empty declaration [-Werror] struct attribute_group { ^ /kisskb/src/include/linux/sysfs.h:171:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/sysfs.h:172:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/sysfs.h:173:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/linux/sysfs.h:175:1: error: empty declaration [-Werror] struct bin_attribute { ^ /kisskb/src/include/linux/sysfs.h:254:1: error: empty declaration [-Werror] struct sysfs_ops { ^ /kisskb/src/include/linux/sysfs.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/sysfs.h:356:1: note: in expansion of macro '__printf' __printf(2, 3) ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/sysfs.h:358:1: note: in expansion of macro '__printf' __printf(3, 4) ^ In file included from /kisskb/src/include/linux/kobject.h:20:0, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sysfs.h:622:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:634:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:639:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:645:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:650:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sysfs.h:656:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/energy_model.h:7:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kobject.h:37:13: error: storage class specified for parameter 'uevent_helper' extern char uevent_helper[]; ^ /kisskb/src/include/linux/kobject.h:41:12: error: storage class specified for parameter 'uevent_seqnum' extern u64 uevent_seqnum; ^ /kisskb/src/include/linux/kobject.h:53:1: error: empty declaration [-Werror] enum kobject_action { ^ /kisskb/src/include/linux/kobject.h:64:1: error: empty declaration [-Werror] struct kobject { ^ /kisskb/src/include/linux/kobject.h:83:5: error: storage class specified for parameter 'kobject_set_name' int kobject_set_name(struct kobject *kobj, const char *name, ...); ^ /kisskb/src/include/linux/kobject.h:85:5: error: storage class specified for parameter 'kobject_set_name_vargs' int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, ^ /kisskb/src/include/linux/kobject.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kobject.h:93:13: error: storage class specified for parameter 'kobject_init' extern void kobject_init(struct kobject *kobj, const struct kobj_type *ktype); ^ /kisskb/src/include/linux/kobject.h:95:5: error: storage class specified for parameter 'kobject_add' int kobject_add(struct kobject *kobj, struct kobject *parent, ^ /kisskb/src/include/linux/kobject.h:98:5: error: storage class specified for parameter 'kobject_init_and_add' int kobject_init_and_add(struct kobject *kobj, ^ /kisskb/src/include/linux/kobject.h:102:13: error: storage class specified for parameter 'kobject_del' extern void kobject_del(struct kobject *kobj); ^ /kisskb/src/include/linux/kobject.h:104:38: error: storage class specified for parameter 'kobject_create_and_add' extern struct kobject * __must_check kobject_create_and_add(const char *name, ^ /kisskb/src/include/linux/kobject.h:107:25: error: storage class specified for parameter 'kobject_rename' extern int __must_check kobject_rename(struct kobject *, const char *new_name); ^ /kisskb/src/include/linux/kobject.h:108:25: error: storage class specified for parameter 'kobject_move' extern int __must_check kobject_move(struct kobject *, struct kobject *); ^ /kisskb/src/include/linux/kobject.h:110:24: error: storage class specified for parameter 'kobject_get' extern struct kobject *kobject_get(struct kobject *kobj); ^ /kisskb/src/include/linux/kobject.h:111:38: error: storage class specified for parameter 'kobject_get_unless_zero' extern struct kobject * __must_check kobject_get_unless_zero( ^ /kisskb/src/include/linux/kobject.h:113:13: error: storage class specified for parameter 'kobject_put' extern void kobject_put(struct kobject *kobj); ^ /kisskb/src/include/linux/kobject.h:115:20: error: storage class specified for parameter 'kobject_namespace' extern const void *kobject_namespace(struct kobject *kobj); ^ /kisskb/src/include/linux/kobject.h:116:13: error: storage class specified for parameter 'kobject_get_ownership' extern void kobject_get_ownership(struct kobject *kobj, ^ /kisskb/src/include/linux/kobject.h:118:14: error: storage class specified for parameter 'kobject_get_path' extern char *kobject_get_path(struct kobject *kobj, gfp_t flag); ^ /kisskb/src/include/linux/kobject.h:120:1: error: empty declaration [-Werror] struct kobj_type { ^ /kisskb/src/include/linux/kobject.h:129:1: error: empty declaration [-Werror] struct kobj_uevent_env { ^ /kisskb/src/include/linux/kobject.h:137:1: error: empty declaration [-Werror] struct kset_uevent_ops { ^ /kisskb/src/include/linux/kobject.h:143:1: error: empty declaration [-Werror] struct kobj_attribute { ^ /kisskb/src/include/linux/kobject.h:151:31: error: storage class specified for parameter 'kobj_sysfs_ops' extern const struct sysfs_ops kobj_sysfs_ops; ^ /kisskb/src/include/linux/kobject.h:153:1: error: empty declaration [-Werror] struct sock; ^ /kisskb/src/include/linux/kobject.h:172:1: error: empty declaration [-Werror] struct kset { ^ /kisskb/src/include/linux/kobject.h:179:13: error: storage class specified for parameter 'kset_init' extern void kset_init(struct kset *kset); ^ /kisskb/src/include/linux/kobject.h:180:25: error: storage class specified for parameter 'kset_register' extern int __must_check kset_register(struct kset *kset); ^ /kisskb/src/include/linux/kobject.h:181:13: error: storage class specified for parameter 'kset_unregister' extern void kset_unregister(struct kset *kset); ^ /kisskb/src/include/linux/kobject.h:182:35: error: storage class specified for parameter 'kset_create_and_add' extern struct kset * __must_check kset_create_and_add(const char *name, ^ /kisskb/src/include/linux/kobject.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kobject.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kobject.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kobject.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kobject.h:206:24: error: storage class specified for parameter 'kset_find_obj' extern struct kobject *kset_find_obj(struct kset *, const char *); ^ /kisskb/src/include/linux/kobject.h:209:24: error: storage class specified for parameter 'kernel_kobj' extern struct kobject *kernel_kobj; ^ /kisskb/src/include/linux/kobject.h:211:24: error: storage class specified for parameter 'mm_kobj' extern struct kobject *mm_kobj; ^ /kisskb/src/include/linux/kobject.h:213:24: error: storage class specified for parameter 'hypervisor_kobj' extern struct kobject *hypervisor_kobj; ^ /kisskb/src/include/linux/kobject.h:215:24: error: storage class specified for parameter 'power_kobj' extern struct kobject *power_kobj; ^ /kisskb/src/include/linux/kobject.h:217:24: error: storage class specified for parameter 'firmware_kobj' extern struct kobject *firmware_kobj; ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/kobject.h:224:1: note: in expansion of macro '__printf' __printf(2, 3) ^ In file included from /kisskb/src/include/linux/energy_model.h:9:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sched/cpufreq.h:14:1: error: empty declaration [-Werror] struct cpufreq_policy; ^ /kisskb/src/include/linux/sched/cpufreq.h:16:1: error: empty declaration [-Werror] struct update_util_data { ^ /kisskb/src/include/linux/sched/cpufreq.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/cpufreq.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/topology.h:7:0, from /kisskb/src/include/linux/energy_model.h:10, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sched/idle.h:7:1: error: empty declaration [-Werror] enum cpu_idle_type { ^ /kisskb/src/include/linux/sched/idle.h:15:13: error: storage class specified for parameter 'wake_up_if_idle' extern void wake_up_if_idle(int cpu); ^ /kisskb/src/include/linux/sched/idle.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/idle.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/idle.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/idle.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/idle.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/energy_model.h:10:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sched/topology.h:16:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/energy_model.h:10:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sched/topology.h:23:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/energy_model.h:10:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/sched/topology.h:30:1: error: empty declaration [-Werror] struct sd_flag_debug { ^ /kisskb/src/include/linux/sched/topology.h:34:35: error: storage class specified for parameter 'sd_flag_debug' extern const struct sd_flag_debug sd_flag_debug[]; ^ /kisskb/src/include/linux/sched/topology.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:66:12: error: storage class specified for parameter 'arch_asym_cpu_priority' extern int arch_asym_cpu_priority(int cpu); ^ /kisskb/src/include/linux/sched/topology.h:68:1: error: empty declaration [-Werror] struct sched_domain_attr { ^ /kisskb/src/include/linux/sched/topology.h:76:12: error: storage class specified for parameter 'sched_domain_level_max' extern int sched_domain_level_max; ^ /kisskb/src/include/linux/sched/topology.h:78:1: error: empty declaration [-Werror] struct sched_group; ^ /kisskb/src/include/linux/sched/topology.h:80:1: error: empty declaration [-Werror] struct sched_domain_shared { ^ /kisskb/src/include/linux/sched/topology.h:87:1: error: empty declaration [-Werror] struct sched_domain { ^ /kisskb/src/include/linux/sched/topology.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:170:13: error: storage class specified for parameter 'partition_sched_domains_locked' extern void partition_sched_domains_locked(int ndoms_new, ^ /kisskb/src/include/linux/sched/topology.h:174:13: error: storage class specified for parameter 'partition_sched_domains' extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], ^ /kisskb/src/include/linux/sched/topology.h:183:33: error: storage class specified for parameter 'sched_domain_mask_f' typedef const struct cpumask *(*sched_domain_mask_f)(int cpu); ^ /kisskb/src/include/linux/sched/topology.h:184:15: error: storage class specified for parameter 'sched_domain_flags_f' typedef int (*sched_domain_flags_f)(void); ^ /kisskb/src/include/linux/sched/topology.h:188:1: error: empty declaration [-Werror] struct sd_data { ^ /kisskb/src/include/linux/sched/topology.h:196:2: error: expected specifier-qualifier-list before 'sched_domain_mask_f' sched_domain_mask_f mask; ^ /kisskb/src/include/linux/sched/topology.h:195:1: error: empty declaration [-Werror] struct sched_domain_topology_level { ^ /kisskb/src/include/linux/sched/topology.h:206:13: error: storage class specified for parameter 'set_sched_topology' extern void set_sched_topology(struct sched_domain_topology_level *tl); ^ /kisskb/src/include/linux/sched/topology.h:238:13: error: storage class specified for parameter 'rebuild_sched_domains_energy' extern void rebuild_sched_domains_energy(void); ^ /kisskb/src/include/linux/sched/topology.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:275:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { } ^ /kisskb/src/include/linux/sched/topology.h:279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/device.h:16:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/energy_model.h:22:1: error: empty declaration [-Werror] struct em_perf_state { ^ /kisskb/src/include/linux/energy_model.h:55:1: error: empty declaration [-Werror] struct em_perf_domain { ^ /kisskb/src/include/linux/energy_model.h:122:1: error: empty declaration [-Werror] struct em_data_callback { ^ /kisskb/src/include/linux/energy_model.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/energy_model.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/energy_model.h:309:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/device.h:19:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/klist.h:17:1: error: empty declaration [-Werror] struct klist_node; ^ /kisskb/src/include/linux/klist.h:18:1: error: empty declaration [-Werror] struct klist { ^ /kisskb/src/include/linux/klist.h:34:13: error: storage class specified for parameter 'klist_init' extern void klist_init(struct klist *k, void (*get)(struct klist_node *), ^ /kisskb/src/include/linux/klist.h:37:1: error: empty declaration [-Werror] struct klist_node { ^ /kisskb/src/include/linux/klist.h:43:13: error: storage class specified for parameter 'klist_add_tail' extern void klist_add_tail(struct klist_node *n, struct klist *k); ^ /kisskb/src/include/linux/klist.h:44:13: error: storage class specified for parameter 'klist_add_head' extern void klist_add_head(struct klist_node *n, struct klist *k); ^ /kisskb/src/include/linux/klist.h:45:13: error: storage class specified for parameter 'klist_add_behind' extern void klist_add_behind(struct klist_node *n, struct klist_node *pos); ^ /kisskb/src/include/linux/klist.h:46:13: error: storage class specified for parameter 'klist_add_before' extern void klist_add_before(struct klist_node *n, struct klist_node *pos); ^ /kisskb/src/include/linux/klist.h:48:13: error: storage class specified for parameter 'klist_del' extern void klist_del(struct klist_node *n); ^ /kisskb/src/include/linux/klist.h:49:13: error: storage class specified for parameter 'klist_remove' extern void klist_remove(struct klist_node *n); ^ /kisskb/src/include/linux/klist.h:51:12: error: storage class specified for parameter 'klist_node_attached' extern int klist_node_attached(struct klist_node *n); ^ /kisskb/src/include/linux/klist.h:54:1: error: empty declaration [-Werror] struct klist_iter { ^ /kisskb/src/include/linux/klist.h:60:13: error: storage class specified for parameter 'klist_iter_init' extern void klist_iter_init(struct klist *k, struct klist_iter *i); ^ /kisskb/src/include/linux/klist.h:61:13: error: storage class specified for parameter 'klist_iter_init_node' extern void klist_iter_init_node(struct klist *k, struct klist_iter *i, ^ /kisskb/src/include/linux/klist.h:63:13: error: storage class specified for parameter 'klist_iter_exit' extern void klist_iter_exit(struct klist_iter *i); ^ /kisskb/src/include/linux/klist.h:64:27: error: storage class specified for parameter 'klist_prev' extern struct klist_node *klist_prev(struct klist_iter *i); ^ /kisskb/src/include/linux/klist.h:65:27: error: storage class specified for parameter 'klist_next' extern struct klist_node *klist_next(struct klist_iter *i); ^ In file included from /kisskb/src/include/linux/device.h:25:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/pm.h:23:15: error: storage class specified for parameter 'pm_power_off' extern void (*pm_power_off)(void); ^ /kisskb/src/include/linux/pm.h:25:1: error: empty declaration [-Werror] struct device; /* we have a circular dep with device.h */ ^ /kisskb/src/include/linux/pm.h:27:13: error: storage class specified for parameter 'pm_vt_switch_required' extern void pm_vt_switch_required(struct device *dev, bool required); ^ /kisskb/src/include/linux/pm.h:28:13: error: storage class specified for parameter 'pm_vt_switch_unregister' extern void pm_vt_switch_unregister(struct device *dev); ^ /kisskb/src/include/linux/pm.h:53:19: error: storage class specified for parameter 'power_group_name' extern const char power_group_name[]; /* = "power" */ ^ /kisskb/src/include/linux/pm.h:60:3: error: storage class specified for parameter 'pm_message_t' } pm_message_t; ^ /kisskb/src/include/linux/pm.h:286:1: error: empty declaration [-Werror] struct dev_pm_ops { ^ /kisskb/src/include/linux/pm.h:560:1: error: empty declaration [-Werror] enum rpm_status { ^ /kisskb/src/include/linux/pm.h:583:1: error: empty declaration [-Werror] enum rpm_request { ^ /kisskb/src/include/linux/pm.h:591:1: error: empty declaration [-Werror] struct wakeup_source; ^ /kisskb/src/include/linux/pm.h:592:1: error: empty declaration [-Werror] struct wake_irq; ^ /kisskb/src/include/linux/pm.h:593:1: error: empty declaration [-Werror] struct pm_domain_data; ^ /kisskb/src/include/linux/pm.h:595:1: error: empty declaration [-Werror] struct pm_subsys_data { ^ /kisskb/src/include/linux/pm.h:627:2: error: expected specifier-qualifier-list before 'pm_message_t' pm_message_t power_state; ^ /kisskb/src/include/linux/pm.h:626:1: error: empty declaration [-Werror] struct dev_pm_info { ^ /kisskb/src/include/linux/pm.h:688:12: error: storage class specified for parameter 'dev_pm_get_subsys_data' extern int dev_pm_get_subsys_data(struct device *dev); ^ /kisskb/src/include/linux/pm.h:689:13: error: storage class specified for parameter 'dev_pm_put_subsys_data' extern void dev_pm_put_subsys_data(struct device *dev); ^ /kisskb/src/include/linux/pm.h:705:1: error: empty declaration [-Werror] struct dev_pm_domain { ^ /kisskb/src/include/linux/pm.h:769:13: error: storage class specified for parameter 'device_pm_lock' extern void device_pm_lock(void); ^ /kisskb/src/include/linux/pm.h:770:30: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_resume_start(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:771:28: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_resume_end(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:772:30: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_resume_noirq(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:773:30: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_resume_early(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:774:24: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_resume(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:775:26: error: expected declaration specifiers or '...' before 'pm_message_t' extern void dpm_complete(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:777:13: error: storage class specified for parameter 'device_pm_unlock' extern void device_pm_unlock(void); ^ /kisskb/src/include/linux/pm.h:778:28: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_suspend_end(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:779:30: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_suspend_start(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:780:30: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_suspend_noirq(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:781:29: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_suspend_late(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:782:24: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_suspend(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:783:24: error: expected declaration specifiers or '...' before 'pm_message_t' extern int dpm_prepare(pm_message_t state); ^ /kisskb/src/include/linux/pm.h:785:13: error: storage class specified for parameter '__suspend_report_result' extern void __suspend_report_result(const char *function, struct device *dev, void *fn, int ret); ^ /kisskb/src/include/linux/pm.h:792:12: error: storage class specified for parameter 'device_pm_wait_for_dev' extern int device_pm_wait_for_dev(struct device *sub, struct device *dev); ^ /kisskb/src/include/linux/pm.h:793:13: error: storage class specified for parameter 'dpm_for_each_dev' extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)); ^ /kisskb/src/include/linux/pm.h:795:12: error: storage class specified for parameter 'pm_generic_prepare' extern int pm_generic_prepare(struct device *dev); ^ /kisskb/src/include/linux/pm.h:796:12: error: storage class specified for parameter 'pm_generic_suspend_late' extern int pm_generic_suspend_late(struct device *dev); ^ /kisskb/src/include/linux/pm.h:797:12: error: storage class specified for parameter 'pm_generic_suspend_noirq' extern int pm_generic_suspend_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:798:12: error: storage class specified for parameter 'pm_generic_suspend' extern int pm_generic_suspend(struct device *dev); ^ /kisskb/src/include/linux/pm.h:799:12: error: storage class specified for parameter 'pm_generic_resume_early' extern int pm_generic_resume_early(struct device *dev); ^ /kisskb/src/include/linux/pm.h:800:12: error: storage class specified for parameter 'pm_generic_resume_noirq' extern int pm_generic_resume_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:801:12: error: storage class specified for parameter 'pm_generic_resume' extern int pm_generic_resume(struct device *dev); ^ /kisskb/src/include/linux/pm.h:802:12: error: storage class specified for parameter 'pm_generic_freeze_noirq' extern int pm_generic_freeze_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:803:12: error: storage class specified for parameter 'pm_generic_freeze_late' extern int pm_generic_freeze_late(struct device *dev); ^ /kisskb/src/include/linux/pm.h:804:12: error: storage class specified for parameter 'pm_generic_freeze' extern int pm_generic_freeze(struct device *dev); ^ /kisskb/src/include/linux/pm.h:805:12: error: storage class specified for parameter 'pm_generic_thaw_noirq' extern int pm_generic_thaw_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:806:12: error: storage class specified for parameter 'pm_generic_thaw_early' extern int pm_generic_thaw_early(struct device *dev); ^ /kisskb/src/include/linux/pm.h:807:12: error: storage class specified for parameter 'pm_generic_thaw' extern int pm_generic_thaw(struct device *dev); ^ /kisskb/src/include/linux/pm.h:808:12: error: storage class specified for parameter 'pm_generic_restore_noirq' extern int pm_generic_restore_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:809:12: error: storage class specified for parameter 'pm_generic_restore_early' extern int pm_generic_restore_early(struct device *dev); ^ /kisskb/src/include/linux/pm.h:810:12: error: storage class specified for parameter 'pm_generic_restore' extern int pm_generic_restore(struct device *dev); ^ /kisskb/src/include/linux/pm.h:811:12: error: storage class specified for parameter 'pm_generic_poweroff_noirq' extern int pm_generic_poweroff_noirq(struct device *dev); ^ /kisskb/src/include/linux/pm.h:812:12: error: storage class specified for parameter 'pm_generic_poweroff_late' extern int pm_generic_poweroff_late(struct device *dev); ^ /kisskb/src/include/linux/pm.h:813:12: error: storage class specified for parameter 'pm_generic_poweroff' extern int pm_generic_poweroff(struct device *dev); ^ /kisskb/src/include/linux/pm.h:814:13: error: storage class specified for parameter 'pm_generic_complete' extern void pm_generic_complete(struct device *dev); ^ /kisskb/src/include/linux/pm.h:816:13: error: storage class specified for parameter 'dev_pm_skip_resume' extern bool dev_pm_skip_resume(struct device *dev); ^ /kisskb/src/include/linux/pm.h:817:13: error: storage class specified for parameter 'dev_pm_skip_suspend' extern bool dev_pm_skip_suspend(struct device *dev); ^ /kisskb/src/include/linux/pm.h:863:1: error: empty declaration [-Werror] enum dpm_order { ^ In file included from /kisskb/src/include/linux/device.h:30:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device/bus.h:21:1: error: empty declaration [-Werror] struct device_driver; ^ /kisskb/src/include/linux/device/bus.h:22:1: error: empty declaration [-Werror] struct fwnode_handle; ^ /kisskb/src/include/linux/device/bus.h:102:37: error: expected declaration specifiers or '...' before 'pm_message_t' int (*suspend)(struct device *dev, pm_message_t state); ^ /kisskb/src/include/linux/device/bus.h:84:1: error: empty declaration [-Werror] struct bus_type { ^ /kisskb/src/include/linux/device/bus.h:120:25: error: storage class specified for parameter 'bus_register' extern int __must_check bus_register(struct bus_type *bus); ^ /kisskb/src/include/linux/device/bus.h:122:13: error: storage class specified for parameter 'bus_unregister' extern void bus_unregister(struct bus_type *bus); ^ /kisskb/src/include/linux/device/bus.h:124:25: error: storage class specified for parameter 'bus_rescan_devices' extern int __must_check bus_rescan_devices(struct bus_type *bus); ^ /kisskb/src/include/linux/device/bus.h:126:1: error: empty declaration [-Werror] struct bus_attribute { ^ /kisskb/src/include/linux/device/bus.h:139:25: error: storage class specified for parameter 'bus_create_file' extern int __must_check bus_create_file(struct bus_type *, ^ /kisskb/src/include/linux/device/bus.h:141:13: error: storage class specified for parameter 'bus_remove_file' extern void bus_remove_file(struct bus_type *, struct bus_attribute *); ^ /kisskb/src/include/linux/device/bus.h:153:1: error: empty declaration [-Werror] struct subsys_dev_iter { ^ /kisskb/src/include/linux/device/bus.h:179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:203:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/bus.h:266:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/device/bus.h:268:12: error: storage class specified for parameter 'bus_register_notifier' extern int bus_register_notifier(struct bus_type *bus, ^ /kisskb/src/include/linux/device/bus.h:270:12: error: storage class specified for parameter 'bus_unregister_notifier' extern int bus_unregister_notifier(struct bus_type *bus, ^ /kisskb/src/include/linux/device/bus.h:289:21: error: storage class specified for parameter 'bus_get_kset' extern struct kset *bus_get_kset(struct bus_type *bus); ^ /kisskb/src/include/linux/device/bus.h:290:22: error: storage class specified for parameter 'bus_get_device_klist' extern struct klist *bus_get_device_klist(struct bus_type *bus); ^ In file included from /kisskb/src/include/linux/device.h:31:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device/class.h:22:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/device/class.h:23:1: error: empty declaration [-Werror] struct fwnode_handle; ^ /kisskb/src/include/linux/device/class.h:54:1: error: empty declaration [-Werror] struct class { ^ /kisskb/src/include/linux/device/class.h:80:1: error: empty declaration [-Werror] struct class_dev_iter { ^ /kisskb/src/include/linux/device/class.h:85:24: error: storage class specified for parameter 'sysfs_dev_block_kobj' extern struct kobject *sysfs_dev_block_kobj; ^ /kisskb/src/include/linux/device/class.h:86:24: error: storage class specified for parameter 'sysfs_dev_char_kobj' extern struct kobject *sysfs_dev_char_kobj; ^ /kisskb/src/include/linux/device/class.h:87:25: error: storage class specified for parameter '__class_register' extern int __must_check __class_register(struct class *class, ^ /kisskb/src/include/linux/device/class.h:89:13: error: storage class specified for parameter 'class_unregister' extern void class_unregister(struct class *class); ^ /kisskb/src/include/linux/device/class.h:99:1: error: empty declaration [-Werror] struct class_compat; ^ /kisskb/src/include/linux/device/class.h:107:13: error: storage class specified for parameter 'class_dev_iter_init' extern void class_dev_iter_init(struct class_dev_iter *iter, ^ /kisskb/src/include/linux/device/class.h:111:23: error: storage class specified for parameter 'class_dev_iter_next' extern struct device *class_dev_iter_next(struct class_dev_iter *iter); ^ /kisskb/src/include/linux/device/class.h:112:13: error: storage class specified for parameter 'class_dev_iter_exit' extern void class_dev_iter_exit(struct class_dev_iter *iter); ^ /kisskb/src/include/linux/device/class.h:114:12: error: storage class specified for parameter 'class_for_each_device' extern int class_for_each_device(struct class *class, struct device *start, ^ /kisskb/src/include/linux/device/class.h:117:23: error: storage class specified for parameter 'class_find_device' extern struct device *class_find_device(struct class *class, ^ /kisskb/src/include/linux/device/class.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:141:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:191:1: error: empty declaration [-Werror] struct class_attribute { ^ /kisskb/src/include/linux/device/class.h:206:25: error: storage class specified for parameter 'class_create_file_ns' extern int __must_check class_create_file_ns(struct class *class, ^ /kisskb/src/include/linux/device/class.h:209:13: error: storage class specified for parameter 'class_remove_file_ns' extern void class_remove_file_ns(struct class *class, ^ /kisskb/src/include/linux/device/class.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/class.h:226:1: error: empty declaration [-Werror] struct class_attribute_string { ^ /kisskb/src/include/linux/device/class.h:238:16: error: storage class specified for parameter 'show_class_attr_string' extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr, ^ /kisskb/src/include/linux/device/class.h:241:1: error: empty declaration [-Werror] struct class_interface { ^ /kisskb/src/include/linux/device/class.h:249:25: error: storage class specified for parameter 'class_interface_register' extern int __must_check class_interface_register(struct class_interface *); ^ /kisskb/src/include/linux/device/class.h:250:13: error: storage class specified for parameter 'class_interface_unregister' extern void class_interface_unregister(struct class_interface *); ^ /kisskb/src/include/linux/device/class.h:252:36: error: storage class specified for parameter '__class_create' extern struct class * __must_check __class_create(struct module *owner, ^ /kisskb/src/include/linux/device/class.h:255:13: error: storage class specified for parameter 'class_destroy' extern void class_destroy(struct class *cls); ^ In file included from /kisskb/src/include/linux/module.h:14:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/buildid.h:14:22: error: storage class specified for parameter 'vmlinux_build_id' extern unsigned char vmlinux_build_id[BUILD_ID_SIZE_MAX]; ^ In file included from /kisskb/src/include/linux/kmod.h:9:0, from /kisskb/src/include/linux/module.h:17, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/umh.h:11:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/umh.h:12:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/umh.h:20:1: error: empty declaration [-Werror] struct subprocess_info { ^ /kisskb/src/include/linux/umh.h:34:1: error: storage class specified for parameter 'call_usermodehelper' call_usermodehelper(const char *path, char **argv, char **envp, int wait); ^ /kisskb/src/include/linux/umh.h:37:1: error: storage class specified for parameter 'call_usermodehelper_setup' call_usermodehelper_setup(const char *path, char **argv, char **envp, ^ /kisskb/src/include/linux/umh.h:43:1: error: storage class specified for parameter 'call_usermodehelper_exec' call_usermodehelper_exec(struct subprocess_info *info, int wait); ^ /kisskb/src/include/linux/umh.h:45:25: error: storage class specified for parameter 'usermodehelper_table' extern struct ctl_table usermodehelper_table[]; ^ /kisskb/src/include/linux/umh.h:47:1: error: empty declaration [-Werror] enum umh_disable_depth { ^ /kisskb/src/include/linux/umh.h:53:12: error: storage class specified for parameter '__usermodehelper_disable' extern int __usermodehelper_disable(enum umh_disable_depth depth); ^ /kisskb/src/include/linux/umh.h:54:13: error: storage class specified for parameter '__usermodehelper_set_disable_depth' extern void __usermodehelper_set_disable_depth(enum umh_disable_depth depth); ^ /kisskb/src/include/linux/umh.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/umh.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/umh.h:66:12: error: storage class specified for parameter 'usermodehelper_read_trylock' extern int usermodehelper_read_trylock(void); ^ /kisskb/src/include/linux/umh.h:67:13: error: storage class specified for parameter 'usermodehelper_read_lock_wait' extern long usermodehelper_read_lock_wait(long timeout); ^ /kisskb/src/include/linux/umh.h:68:13: error: storage class specified for parameter 'usermodehelper_read_unlock' extern void usermodehelper_read_unlock(void); ^ In file included from /kisskb/src/include/linux/module.h:17:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kmod.h:20:13: error: storage class specified for parameter 'modprobe_path' extern char modprobe_path[]; /* for sysctl */ ^ /kisskb/src/include/linux/kmod.h:24:5: error: storage class specified for parameter '__request_module' int __request_module(bool wait, const char *name, ...); ^ In file included from /kisskb/src/arch/powerpc/include/asm/elf.h:11:0, from /kisskb/src/include/linux/elf.h:6, from /kisskb/src/include/linux/module.h:19, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:102:23: error: storage class specified for parameter 'elf_greg_t64' typedef unsigned long elf_greg_t64; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:103:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_gregset_t64' typedef elf_greg_t64 elf_gregset_t64[ELF_NGREG]; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:105:22: error: storage class specified for parameter 'elf_greg_t32' typedef unsigned int elf_greg_t32; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:106:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_gregset_t32' typedef elf_greg_t32 elf_gregset_t32[ELF_NGREG]; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:107:9: error: unknown type name 'elf_gregset_t32' typedef elf_gregset_t32 compat_elf_gregset_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:107:25: error: storage class specified for parameter 'compat_elf_gregset_t' typedef elf_gregset_t32 compat_elf_gregset_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:119:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_greg_t' typedef elf_greg_t64 elf_greg_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:120:9: error: unknown type name 'elf_gregset_t64' typedef elf_gregset_t64 elf_gregset_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:120:25: error: storage class specified for parameter 'elf_gregset_t' typedef elf_gregset_t64 elf_gregset_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:138:16: error: storage class specified for parameter 'elf_fpreg_t' typedef double elf_fpreg_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:139:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_fpregset_t' typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:160:21: error: storage class specified for parameter 'elf_vrreg_t' typedef __vector128 elf_vrreg_t; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:161:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t' typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG]; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:163:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t32' typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32]; ^ /kisskb/src/arch/powerpc/include/uapi/asm/elf.h:164:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vsrreghalf_t32' typedef elf_fpreg_t elf_vsrreghalf_t32[ELF_NVSRHALFREG]; ^ In file included from /kisskb/src/include/linux/elf.h:6:0, from /kisskb/src/include/linux/module.h:19, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/elf.h:49:43: error: expected declaration specifiers or '...' before 'elf_gregset_t' static inline void ppc_elf_core_copy_regs(elf_gregset_t elf_regs, ^ /kisskb/src/arch/powerpc/include/asm/elf.h:110:12: error: storage class specified for parameter 'dcache_bsize' extern int dcache_bsize; ^ /kisskb/src/arch/powerpc/include/asm/elf.h:111:12: error: storage class specified for parameter 'icache_bsize' extern int icache_bsize; ^ /kisskb/src/arch/powerpc/include/asm/elf.h:112:12: error: storage class specified for parameter 'ucache_bsize' extern int ucache_bsize; ^ /kisskb/src/arch/powerpc/include/asm/elf.h:116:1: error: empty declaration [-Werror] struct linux_binprm; ^ /kisskb/src/arch/powerpc/include/asm/elf.h:117:12: error: storage class specified for parameter 'arch_setup_additional_pages' extern int arch_setup_additional_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/powerpc/include/asm/elf.h:191:1: error: empty declaration [-Werror] struct func_desc { ^ In file included from /kisskb/src/include/linux/elf.h:7:0, from /kisskb/src/include/linux/module.h:19, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/uapi/linux/elf.h:9:15: error: storage class specified for parameter 'Elf32_Addr' typedef __u32 Elf32_Addr; ^ /kisskb/src/include/uapi/linux/elf.h:10:15: error: storage class specified for parameter 'Elf32_Half' typedef __u16 Elf32_Half; ^ /kisskb/src/include/uapi/linux/elf.h:11:15: error: storage class specified for parameter 'Elf32_Off' typedef __u32 Elf32_Off; ^ /kisskb/src/include/uapi/linux/elf.h:12:15: error: storage class specified for parameter 'Elf32_Sword' typedef __s32 Elf32_Sword; ^ /kisskb/src/include/uapi/linux/elf.h:13:15: error: storage class specified for parameter 'Elf32_Word' typedef __u32 Elf32_Word; ^ /kisskb/src/include/uapi/linux/elf.h:16:15: error: storage class specified for parameter 'Elf64_Addr' typedef __u64 Elf64_Addr; ^ /kisskb/src/include/uapi/linux/elf.h:17:15: error: storage class specified for parameter 'Elf64_Half' typedef __u16 Elf64_Half; ^ /kisskb/src/include/uapi/linux/elf.h:18:15: error: storage class specified for parameter 'Elf64_SHalf' typedef __s16 Elf64_SHalf; ^ /kisskb/src/include/uapi/linux/elf.h:19:15: error: storage class specified for parameter 'Elf64_Off' typedef __u64 Elf64_Off; ^ /kisskb/src/include/uapi/linux/elf.h:20:15: error: storage class specified for parameter 'Elf64_Sword' typedef __s32 Elf64_Sword; ^ /kisskb/src/include/uapi/linux/elf.h:21:15: error: storage class specified for parameter 'Elf64_Word' typedef __u32 Elf64_Word; ^ /kisskb/src/include/uapi/linux/elf.h:22:15: error: storage class specified for parameter 'Elf64_Xword' typedef __u64 Elf64_Xword; ^ /kisskb/src/include/uapi/linux/elf.h:23:15: error: storage class specified for parameter 'Elf64_Sxword' typedef __s64 Elf64_Sxword; ^ /kisskb/src/include/uapi/linux/elf.h:144:3: error: expected specifier-qualifier-list before 'Elf32_Sword' Elf32_Sword d_tag; ^ /kisskb/src/include/uapi/linux/elf.h:149:3: error: storage class specified for parameter 'Elf32_Dyn' } Elf32_Dyn; ^ /kisskb/src/include/uapi/linux/elf.h:152:3: error: expected specifier-qualifier-list before 'Elf64_Sxword' Elf64_Sxword d_tag; /* entry tag value */ ^ /kisskb/src/include/uapi/linux/elf.h:157:3: error: storage class specified for parameter 'Elf64_Dyn' } Elf64_Dyn; ^ /kisskb/src/include/uapi/linux/elf.h:167:3: error: expected specifier-qualifier-list before 'Elf32_Addr' Elf32_Addr r_offset; ^ /kisskb/src/include/uapi/linux/elf.h:169:3: error: storage class specified for parameter 'Elf32_Rel' } Elf32_Rel; ^ /kisskb/src/include/uapi/linux/elf.h:172:3: error: expected specifier-qualifier-list before 'Elf64_Addr' Elf64_Addr r_offset; /* Location at which to apply the action */ ^ /kisskb/src/include/uapi/linux/elf.h:174:3: error: storage class specified for parameter 'Elf64_Rel' } Elf64_Rel; ^ /kisskb/src/include/uapi/linux/elf.h:177:3: error: expected specifier-qualifier-list before 'Elf32_Addr' Elf32_Addr r_offset; ^ /kisskb/src/include/uapi/linux/elf.h:180:3: error: storage class specified for parameter 'Elf32_Rela' } Elf32_Rela; ^ /kisskb/src/include/uapi/linux/elf.h:183:3: error: expected specifier-qualifier-list before 'Elf64_Addr' Elf64_Addr r_offset; /* Location at which to apply the action */ ^ /kisskb/src/include/uapi/linux/elf.h:186:3: error: storage class specified for parameter 'Elf64_Rela' } Elf64_Rela; ^ /kisskb/src/include/uapi/linux/elf.h:189:3: error: expected specifier-qualifier-list before 'Elf32_Word' Elf32_Word st_name; ^ /kisskb/src/include/uapi/linux/elf.h:195:3: error: storage class specified for parameter 'Elf32_Sym' } Elf32_Sym; ^ /kisskb/src/include/uapi/linux/elf.h:198:3: error: expected specifier-qualifier-list before 'Elf64_Word' Elf64_Word st_name; /* Symbol name, index in string tbl */ ^ /kisskb/src/include/uapi/linux/elf.h:204:3: error: storage class specified for parameter 'Elf64_Sym' } Elf64_Sym; ^ /kisskb/src/include/uapi/linux/elf.h:211:3: error: expected specifier-qualifier-list before 'Elf32_Half' Elf32_Half e_type; ^ /kisskb/src/include/uapi/linux/elf.h:224:3: error: storage class specified for parameter 'Elf32_Ehdr' } Elf32_Ehdr; ^ /kisskb/src/include/uapi/linux/elf.h:228:3: error: expected specifier-qualifier-list before 'Elf64_Half' Elf64_Half e_type; ^ /kisskb/src/include/uapi/linux/elf.h:241:3: error: storage class specified for parameter 'Elf64_Ehdr' } Elf64_Ehdr; ^ /kisskb/src/include/uapi/linux/elf.h:250:3: error: expected specifier-qualifier-list before 'Elf32_Word' Elf32_Word p_type; ^ /kisskb/src/include/uapi/linux/elf.h:258:3: error: storage class specified for parameter 'Elf32_Phdr' } Elf32_Phdr; ^ /kisskb/src/include/uapi/linux/elf.h:261:3: error: expected specifier-qualifier-list before 'Elf64_Word' Elf64_Word p_type; ^ /kisskb/src/include/uapi/linux/elf.h:269:3: error: storage class specified for parameter 'Elf64_Phdr' } Elf64_Phdr; ^ /kisskb/src/include/uapi/linux/elf.h:309:3: error: expected specifier-qualifier-list before 'Elf32_Word' Elf32_Word sh_name; ^ /kisskb/src/include/uapi/linux/elf.h:319:3: error: storage class specified for parameter 'Elf32_Shdr' } Elf32_Shdr; ^ /kisskb/src/include/uapi/linux/elf.h:322:3: error: expected specifier-qualifier-list before 'Elf64_Word' Elf64_Word sh_name; /* Section name, index in string tbl */ ^ /kisskb/src/include/uapi/linux/elf.h:332:3: error: storage class specified for parameter 'Elf64_Shdr' } Elf64_Shdr; ^ /kisskb/src/include/uapi/linux/elf.h:453:3: error: expected specifier-qualifier-list before 'Elf32_Word' Elf32_Word n_namesz; /* Name size */ ^ /kisskb/src/include/uapi/linux/elf.h:456:3: error: storage class specified for parameter 'Elf32_Nhdr' } Elf32_Nhdr; ^ /kisskb/src/include/uapi/linux/elf.h:460:3: error: expected specifier-qualifier-list before 'Elf64_Word' Elf64_Word n_namesz; /* Name size */ ^ /kisskb/src/include/uapi/linux/elf.h:463:3: error: storage class specified for parameter 'Elf64_Nhdr' } Elf64_Nhdr; ^ In file included from /kisskb/src/include/linux/module.h:19:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/elf.h:52:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DYNAMIC' extern Elf64_Dyn _DYNAMIC []; ^ /kisskb/src/include/linux/elf.h:65:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/elf.h:66:1: error: empty declaration [-Werror] struct coredump_params; ^ /kisskb/src/include/linux/elf.h:72:12: error: storage class specified for parameter 'elf_coredump_extra_notes_size' extern int elf_coredump_extra_notes_size(void); ^ /kisskb/src/include/linux/elf.h:73:12: error: storage class specified for parameter 'elf_coredump_extra_notes_write' extern int elf_coredump_extra_notes_write(struct coredump_params *cprm); ^ /kisskb/src/include/linux/elf.h:81:1: error: empty declaration [-Werror] struct gnu_property { ^ /kisskb/src/include/linux/elf.h:86:1: error: empty declaration [-Werror] struct arch_elf_state; ^ /kisskb/src/include/linux/elf.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/elf.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/module.h:22:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/moduleparam.h:36:1: error: empty declaration [-Werror] struct kernel_param; ^ /kisskb/src/include/linux/moduleparam.h:43:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/moduleparam.h:47:1: error: empty declaration [-Werror] struct kernel_param_ops { ^ /kisskb/src/include/linux/moduleparam.h:64:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/moduleparam.h:69:1: error: empty declaration [-Werror] struct kernel_param { ^ /kisskb/src/include/linux/moduleparam.h:83:34: error: storage class specified for parameter '__start___param' extern const struct kernel_param __start___param[], __stop___param[]; ^ /kisskb/src/include/linux/moduleparam.h:83:53: error: storage class specified for parameter '__stop___param' extern const struct kernel_param __start___param[], __stop___param[]; ^ /kisskb/src/include/linux/moduleparam.h:86:1: error: empty declaration [-Werror] struct kparam_string { ^ /kisskb/src/include/linux/moduleparam.h:92:1: error: empty declaration [-Werror] struct kparam_array ^ /kisskb/src/include/linux/moduleparam.h:304:13: error: storage class specified for parameter 'kernel_param_lock' extern void kernel_param_lock(struct module *mod); ^ /kisskb/src/include/linux/moduleparam.h:305:13: error: storage class specified for parameter 'kernel_param_unlock' extern void kernel_param_unlock(struct module *mod); ^ /kisskb/src/include/linux/moduleparam.h:372:13: error: storage class specified for parameter 'parameq' extern bool parameq(const char *name1, const char *name2); ^ /kisskb/src/include/linux/moduleparam.h:382:13: error: storage class specified for parameter 'parameqn' extern bool parameqn(const char *name1, const char *name2, size_t n); ^ /kisskb/src/include/linux/moduleparam.h:385:14: error: storage class specified for parameter 'parse_args' extern char *parse_args(const char *name, ^ /kisskb/src/include/linux/moduleparam.h:397:13: error: storage class specified for parameter 'destroy_params' extern void destroy_params(const struct kernel_param *params, unsigned num); ^ /kisskb/src/include/linux/moduleparam.h:411:38: error: storage class specified for parameter 'param_ops_byte' extern const struct kernel_param_ops param_ops_byte; ^ /kisskb/src/include/linux/moduleparam.h:412:12: error: storage class specified for parameter 'param_set_byte' extern int param_set_byte(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:413:12: error: storage class specified for parameter 'param_get_byte' extern int param_get_byte(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:416:38: error: storage class specified for parameter 'param_ops_short' extern const struct kernel_param_ops param_ops_short; ^ /kisskb/src/include/linux/moduleparam.h:417:12: error: storage class specified for parameter 'param_set_short' extern int param_set_short(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:418:12: error: storage class specified for parameter 'param_get_short' extern int param_get_short(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:421:38: error: storage class specified for parameter 'param_ops_ushort' extern const struct kernel_param_ops param_ops_ushort; ^ /kisskb/src/include/linux/moduleparam.h:422:12: error: storage class specified for parameter 'param_set_ushort' extern int param_set_ushort(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:423:12: error: storage class specified for parameter 'param_get_ushort' extern int param_get_ushort(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:426:38: error: storage class specified for parameter 'param_ops_int' extern const struct kernel_param_ops param_ops_int; ^ /kisskb/src/include/linux/moduleparam.h:427:12: error: storage class specified for parameter 'param_set_int' extern int param_set_int(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:428:12: error: storage class specified for parameter 'param_get_int' extern int param_get_int(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:431:38: error: storage class specified for parameter 'param_ops_uint' extern const struct kernel_param_ops param_ops_uint; ^ /kisskb/src/include/linux/moduleparam.h:432:12: error: storage class specified for parameter 'param_set_uint' extern int param_set_uint(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:433:12: error: storage class specified for parameter 'param_get_uint' extern int param_get_uint(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:438:38: error: storage class specified for parameter 'param_ops_long' extern const struct kernel_param_ops param_ops_long; ^ /kisskb/src/include/linux/moduleparam.h:439:12: error: storage class specified for parameter 'param_set_long' extern int param_set_long(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:440:12: error: storage class specified for parameter 'param_get_long' extern int param_get_long(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:443:38: error: storage class specified for parameter 'param_ops_ulong' extern const struct kernel_param_ops param_ops_ulong; ^ /kisskb/src/include/linux/moduleparam.h:444:12: error: storage class specified for parameter 'param_set_ulong' extern int param_set_ulong(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:445:12: error: storage class specified for parameter 'param_get_ulong' extern int param_get_ulong(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:448:38: error: storage class specified for parameter 'param_ops_ullong' extern const struct kernel_param_ops param_ops_ullong; ^ /kisskb/src/include/linux/moduleparam.h:449:12: error: storage class specified for parameter 'param_set_ullong' extern int param_set_ullong(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:450:12: error: storage class specified for parameter 'param_get_ullong' extern int param_get_ullong(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:453:38: error: storage class specified for parameter 'param_ops_hexint' extern const struct kernel_param_ops param_ops_hexint; ^ /kisskb/src/include/linux/moduleparam.h:454:12: error: storage class specified for parameter 'param_set_hexint' extern int param_set_hexint(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:455:12: error: storage class specified for parameter 'param_get_hexint' extern int param_get_hexint(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:458:38: error: storage class specified for parameter 'param_ops_charp' extern const struct kernel_param_ops param_ops_charp; ^ /kisskb/src/include/linux/moduleparam.h:459:12: error: storage class specified for parameter 'param_set_charp' extern int param_set_charp(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:460:12: error: storage class specified for parameter 'param_get_charp' extern int param_get_charp(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:461:13: error: storage class specified for parameter 'param_free_charp' extern void param_free_charp(void *arg); ^ /kisskb/src/include/linux/moduleparam.h:465:38: error: storage class specified for parameter 'param_ops_bool' extern const struct kernel_param_ops param_ops_bool; ^ /kisskb/src/include/linux/moduleparam.h:466:12: error: storage class specified for parameter 'param_set_bool' extern int param_set_bool(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:467:12: error: storage class specified for parameter 'param_get_bool' extern int param_get_bool(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:470:38: error: storage class specified for parameter 'param_ops_bool_enable_only' extern const struct kernel_param_ops param_ops_bool_enable_only; ^ /kisskb/src/include/linux/moduleparam.h:471:12: error: storage class specified for parameter 'param_set_bool_enable_only' extern int param_set_bool_enable_only(const char *val, ^ /kisskb/src/include/linux/moduleparam.h:476:38: error: storage class specified for parameter 'param_ops_invbool' extern const struct kernel_param_ops param_ops_invbool; ^ /kisskb/src/include/linux/moduleparam.h:477:12: error: storage class specified for parameter 'param_set_invbool' extern int param_set_invbool(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:478:12: error: storage class specified for parameter 'param_get_invbool' extern int param_get_invbool(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:482:38: error: storage class specified for parameter 'param_ops_bint' extern const struct kernel_param_ops param_ops_bint; ^ /kisskb/src/include/linux/moduleparam.h:483:12: error: storage class specified for parameter 'param_set_bint' extern int param_set_bint(const char *val, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:526:1: error: empty declaration [-Werror] enum hwparam_type { ^ /kisskb/src/include/linux/moduleparam.h:587:38: error: storage class specified for parameter 'param_array_ops' extern const struct kernel_param_ops param_array_ops; ^ /kisskb/src/include/linux/moduleparam.h:589:38: error: storage class specified for parameter 'param_ops_string' extern const struct kernel_param_ops param_ops_string; ^ /kisskb/src/include/linux/moduleparam.h:590:12: error: storage class specified for parameter 'param_set_copystring' extern int param_set_copystring(const char *val, const struct kernel_param *); ^ /kisskb/src/include/linux/moduleparam.h:591:12: error: storage class specified for parameter 'param_get_string' extern int param_get_string(char *buffer, const struct kernel_param *kp); ^ /kisskb/src/include/linux/moduleparam.h:595:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/moduleparam.h:598:12: error: storage class specified for parameter 'module_param_sysfs_setup' extern int module_param_sysfs_setup(struct module *mod, ^ /kisskb/src/include/linux/moduleparam.h:602:13: error: storage class specified for parameter 'module_param_sysfs_remove' extern void module_param_sysfs_remove(struct module *mod); ^ In file included from /kisskb/src/include/linux/module.h:25:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/rbtree_latch.h:40:1: error: empty declaration [-Werror] struct latch_tree_node { ^ /kisskb/src/include/linux/rbtree_latch.h:44:1: error: empty declaration [-Werror] struct latch_tree_root { ^ /kisskb/src/include/linux/rbtree_latch.h:64:1: error: empty declaration [-Werror] struct latch_tree_ops { ^ /kisskb/src/include/linux/rbtree_latch.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree_latch.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/error-injection.h:6:0, from /kisskb/src/include/linux/module.h:26, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/error-injection.h:6:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/asm-generic/error-injection.h:14:1: error: empty declaration [-Werror] struct error_injection_entry { ^ /kisskb/src/include/asm-generic/error-injection.h:19:1: error: empty declaration [-Werror] struct pt_regs; ^ In file included from /kisskb/src/include/linux/module.h:26:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/error-injection.h:10:13: error: storage class specified for parameter 'within_error_injection_list' extern bool within_error_injection_list(unsigned long addr); ^ /kisskb/src/include/linux/error-injection.h:11:12: error: storage class specified for parameter 'get_injectable_error_type' extern int get_injectable_error_type(unsigned long addr); ^ In file included from /kisskb/src/include/linux/module.h:32:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/module.h:27:1: error: empty declaration [-Werror] struct mod_arch_specific { ^ In file included from /kisskb/src/arch/powerpc/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/module.h:16:18: error: type defaults to 'int' in declaration of 'Elf64_Shdr' [-Werror=implicit-int] #define Elf_Shdr Elf64_Shdr ^ /kisskb/src/arch/powerpc/include/asm/module.h:76:54: note: in expansion of macro 'Elf_Shdr' int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); ^ In file included from /kisskb/src/include/linux/module.h:32:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/module.h:76:63: error: expected ';', ',' or ')' before '*' token int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/module.h:36:1: error: empty declaration [-Werror] struct modversion_info { ^ /kisskb/src/include/linux/module.h:41:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/module.h:42:1: error: empty declaration [-Werror] struct exception_table_entry; ^ /kisskb/src/include/linux/module.h:44:1: error: empty declaration [-Werror] struct module_kobject { ^ /kisskb/src/include/linux/module.h:52:1: error: empty declaration [-Werror] struct module_attribute { ^ /kisskb/src/include/linux/module.h:63:1: error: empty declaration [-Werror] struct module_version_attribute { ^ /kisskb/src/include/linux/module.h:69:16: error: storage class specified for parameter '__modver_version_show' extern ssize_t __modver_version_show(struct module_attribute *, ^ /kisskb/src/include/linux/module.h:72:32: error: storage class specified for parameter 'module_uevent' extern struct module_attribute module_uevent; ^ /kisskb/src/include/linux/module.h:75:12: error: storage class specified for parameter 'init_module' extern int init_module(void); ^ /kisskb/src/include/linux/module.h:76:13: error: storage class specified for parameter 'cleanup_module' extern void cleanup_module(void); ^ /kisskb/src/include/linux/module.h:294:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/module.h:298:12: error: storage class specified for parameter 'modules_disabled' extern int modules_disabled; /* for sysctl */ ^ /kisskb/src/include/linux/module.h:305:1: error: empty declaration [-Werror] struct module_use { ^ /kisskb/src/include/linux/module.h:311:1: error: empty declaration [-Werror] enum module_state { ^ /kisskb/src/include/linux/module.h:318:1: error: empty declaration [-Werror] struct mod_tree_node { ^ /kisskb/src/include/linux/module.h:323:1: error: empty declaration [-Werror] struct module_layout { ^ In file included from /kisskb/src/arch/powerpc/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/module.h:18:18: error: expected specifier-qualifier-list before 'Elf64_Sym' #define Elf_Sym Elf64_Sym ^ /kisskb/src/include/linux/module.h:348:2: note: in expansion of macro 'Elf_Sym' Elf_Sym *symtab; ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/module.h:347:1: error: empty declaration [-Werror] struct mod_kallsyms { ^ /kisskb/src/include/linux/module.h:466:2: error: expected specifier-qualifier-list before 'tracepoint_ptr_t' tracepoint_ptr_t *tracepoints_ptrs; ^ /kisskb/src/include/linux/module.h:363:1: error: empty declaration [-Werror] struct module { ^ In file included from /kisskb/src/arch/powerpc/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/module.h:18:18: error: type defaults to 'int' in declaration of 'Elf64_Sym' [-Werror=implicit-int] #define Elf_Sym Elf64_Sym ^ /kisskb/src/include/linux/module.h:555:57: note: in expansion of macro 'Elf_Sym' static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/module.h:555:65: error: expected ';', ',' or ')' before '*' token static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) ^ /kisskb/src/include/linux/module.h:565:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:578:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:590:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:611:24: error: storage class specified for parameter '__module_put_and_kthread_exit' extern void __noreturn __module_put_and_kthread_exit(struct module *mod, ^ /kisskb/src/include/linux/module.h:623:13: error: storage class specified for parameter '__module_get' extern void __module_get(struct module *module); ^ /kisskb/src/include/linux/module.h:627:13: error: storage class specified for parameter 'try_module_get' extern bool try_module_get(struct module *module); ^ /kisskb/src/include/linux/module.h:629:13: error: storage class specified for parameter 'module_put' extern void module_put(struct module *module); ^ /kisskb/src/include/linux/module.h:671:13: error: storage class specified for parameter 'print_modules' extern void print_modules(void); ^ /kisskb/src/include/linux/module.h:674:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:679:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/module.h:828:21: error: storage class specified for parameter 'module_kset' extern struct kset *module_kset; ^ /kisskb/src/include/linux/module.h:829:25: error: storage class specified for parameter 'module_ktype' extern struct kobj_type module_ktype; ^ /kisskb/src/include/linux/module.h:830:12: error: storage class specified for parameter 'module_sysfs_initialized' extern int module_sysfs_initialized; ^ In file included from /kisskb/src/arch/powerpc/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/module.h:20:18: error: type defaults to 'int' in declaration of 'Elf64_Ehdr' [-Werror=implicit-int] #define Elf_Ehdr Elf64_Ehdr ^ /kisskb/src/include/linux/module.h:840:32: note: in expansion of macro 'Elf_Ehdr' void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/module.h:840:41: error: expected ';', ',' or ')' before '*' token void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, ^ /kisskb/src/include/linux/module.h:858:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:867:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/device.h:32:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device/driver.h:45:1: error: empty declaration [-Werror] enum probe_type { ^ /kisskb/src/include/linux/device/driver.h:113:38: error: expected declaration specifiers or '...' before 'pm_message_t' int (*suspend) (struct device *dev, pm_message_t state); ^ /kisskb/src/include/linux/device/driver.h:96:1: error: empty declaration [-Werror] struct device_driver { ^ /kisskb/src/include/linux/device/driver.h:125:25: error: storage class specified for parameter 'driver_register' extern int __must_check driver_register(struct device_driver *drv); ^ /kisskb/src/include/linux/device/driver.h:126:13: error: storage class specified for parameter 'driver_unregister' extern void driver_unregister(struct device_driver *drv); ^ /kisskb/src/include/linux/device/driver.h:128:30: error: storage class specified for parameter 'driver_find' extern struct device_driver *driver_find(const char *name, ^ /kisskb/src/include/linux/device/driver.h:130:12: error: storage class specified for parameter 'driver_probe_done' extern int driver_probe_done(void); ^ /kisskb/src/include/linux/device/driver.h:131:13: error: storage class specified for parameter 'wait_for_device_probe' extern void wait_for_device_probe(void); ^ /kisskb/src/include/linux/device/driver.h:132:13: error: section attribute not allowed for 'wait_for_init_devices_probe' void __init wait_for_init_devices_probe(void); ^ /kisskb/src/include/linux/device/driver.h:132:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init wait_for_init_devices_probe(void); ^ /kisskb/src/include/linux/device/driver.h:132:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/device/driver.h:136:1: error: empty declaration [-Werror] struct driver_attribute { ^ /kisskb/src/include/linux/device/driver.h:150:25: error: storage class specified for parameter 'driver_create_file' extern int __must_check driver_create_file(struct device_driver *driver, ^ /kisskb/src/include/linux/device/driver.h:152:13: error: storage class specified for parameter 'driver_remove_file' extern void driver_remove_file(struct device_driver *driver, ^ /kisskb/src/include/linux/device/driver.h:157:25: error: storage class specified for parameter 'driver_for_each_device' extern int __must_check driver_for_each_device(struct device_driver *drv, ^ /kisskb/src/include/linux/device/driver.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:212:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device/driver.h:243:12: error: storage class specified for parameter 'driver_deferred_probe_timeout' extern int driver_deferred_probe_timeout; ^ In file included from /kisskb/src/include/linux/device.h:33:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/device.h:8:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/arch/powerpc/include/asm/device.h:10:1: error: empty declaration [-Werror] struct pci_dn; ^ /kisskb/src/arch/powerpc/include/asm/device.h:11:1: error: empty declaration [-Werror] struct iommu_table; ^ /kisskb/src/arch/powerpc/include/asm/device.h:20:1: error: empty declaration [-Werror] struct dev_archdata { ^ /kisskb/src/arch/powerpc/include/asm/device.h:49:1: error: empty declaration [-Werror] struct pdev_archdata { ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:27:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device.h:35:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/device.h:36:1: error: empty declaration [-Werror] struct device_private; ^ /kisskb/src/include/linux/device.h:37:1: error: empty declaration [-Werror] struct device_driver; ^ /kisskb/src/include/linux/device.h:38:1: error: empty declaration [-Werror] struct driver_private; ^ /kisskb/src/include/linux/device.h:39:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/device.h:40:1: error: empty declaration [-Werror] struct class; ^ /kisskb/src/include/linux/device.h:41:1: error: empty declaration [-Werror] struct subsys_private; ^ /kisskb/src/include/linux/device.h:42:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/include/linux/device.h:43:1: error: empty declaration [-Werror] struct fwnode_handle; ^ /kisskb/src/include/linux/device.h:44:1: error: empty declaration [-Werror] struct iommu_ops; ^ /kisskb/src/include/linux/device.h:45:1: error: empty declaration [-Werror] struct iommu_group; ^ /kisskb/src/include/linux/device.h:46:1: error: empty declaration [-Werror] struct dev_pin_info; ^ /kisskb/src/include/linux/device.h:47:1: error: empty declaration [-Werror] struct dev_iommu; ^ /kisskb/src/include/linux/device.h:48:1: error: empty declaration [-Werror] struct msi_device_data; ^ /kisskb/src/include/linux/device.h:63:1: error: empty declaration [-Werror] struct subsys_interface { ^ /kisskb/src/include/linux/device.h:88:1: error: empty declaration [-Werror] struct device_type { ^ /kisskb/src/include/linux/device.h:100:1: error: empty declaration [-Werror] struct device_attribute { ^ /kisskb/src/include/linux/device.h:108:1: error: empty declaration [-Werror] struct dev_ext_attribute { ^ /kisskb/src/include/linux/device.h:166:16: error: storage class specified for parameter 'dr_release_t' typedef void (*dr_release_t)(struct device *dev, void *res); ^ /kisskb/src/include/linux/device.h:167:15: error: storage class specified for parameter 'dr_match_t' typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data); ^ /kisskb/src/include/linux/device.h:169:27: error: expected declaration specifiers or '...' before 'dr_release_t' void *__devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, ^ /kisskb/src/include/linux/device.h:176:46: error: expected declaration specifiers or '...' before 'dr_release_t' void devres_for_each_res(struct device *dev, dr_release_t release, ^ /kisskb/src/include/linux/device.h:177:5: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data, ^ /kisskb/src/include/linux/device.h:182:39: error: expected declaration specifiers or '...' before 'dr_release_t' void *devres_find(struct device *dev, dr_release_t release, ^ /kisskb/src/include/linux/device.h:183:5: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data); ^ /kisskb/src/include/linux/device.h:185:4: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data); ^ /kisskb/src/include/linux/device.h:186:41: error: expected declaration specifiers or '...' before 'dr_release_t' void *devres_remove(struct device *dev, dr_release_t release, ^ /kisskb/src/include/linux/device.h:187:7: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data); ^ /kisskb/src/include/linux/device.h:188:40: error: expected declaration specifiers or '...' before 'dr_release_t' int devres_destroy(struct device *dev, dr_release_t release, ^ /kisskb/src/include/linux/device.h:189:6: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data); ^ /kisskb/src/include/linux/device.h:190:40: error: expected declaration specifiers or '...' before 'dr_release_t' int devres_release(struct device *dev, dr_release_t release, ^ /kisskb/src/include/linux/device.h:191:6: error: expected declaration specifiers or '...' before 'dr_match_t' dr_match_t match, void *match_data); ^ /kisskb/src/include/linux/device.h:200:27: error: '__malloc__' attribute ignored [-Werror=attributes] void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) __malloc; ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/device.h:203:1: note: in expansion of macro '__printf' __printf(3, 0) char *devm_kvasprintf(struct device *dev, gfp_t gfp, ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/device.h:205:1: note: in expansion of macro '__printf' __printf(3, 4) char *devm_kasprintf(struct device *dev, gfp_t gfp, ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:27:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:227:27: error: '__malloc__' attribute ignored [-Werror=attributes] char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) __malloc; ^ /kisskb/src/include/linux/device.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:280:1: error: empty declaration [-Werror] struct device_dma_parameters { ^ /kisskb/src/include/linux/device.h:299:1: error: empty declaration [-Werror] enum device_link_state { ^ /kisskb/src/include/linux/device.h:338:1: error: empty declaration [-Werror] enum dl_dev_state { ^ /kisskb/src/include/linux/device.h:354:1: error: empty declaration [-Werror] enum device_removable { ^ /kisskb/src/include/linux/device.h:368:1: error: empty declaration [-Werror] struct dev_links_info { ^ /kisskb/src/include/linux/device.h:380:1: error: empty declaration [-Werror] struct dev_msi_info { ^ /kisskb/src/include/linux/device.h:400:1: error: empty declaration [-Werror] enum device_physical_location_panel { ^ /kisskb/src/include/linux/device.h:417:1: error: empty declaration [-Werror] enum device_physical_location_vertical_position { ^ /kisskb/src/include/linux/device.h:430:1: error: empty declaration [-Werror] enum device_physical_location_horizontal_position { ^ /kisskb/src/include/linux/device.h:450:1: error: empty declaration [-Werror] struct device_physical_location { ^ /kisskb/src/include/linux/device.h:555:1: error: empty declaration [-Werror] struct device { ^ /kisskb/src/include/linux/device.h:669:1: error: empty declaration [-Werror] struct device_link { ^ /kisskb/src/include/linux/device.h:684:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:694:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/device.h:699:0, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/pm_wakeup.h:18:1: error: empty declaration [-Werror] struct wake_irq; ^ /kisskb/src/include/linux/pm_wakeup.h:43:1: error: empty declaration [-Werror] struct wakeup_source { ^ /kisskb/src/include/linux/pm_wakeup.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:98:30: error: storage class specified for parameter 'wakeup_source_create' extern struct wakeup_source *wakeup_source_create(const char *name); ^ /kisskb/src/include/linux/pm_wakeup.h:99:13: error: storage class specified for parameter 'wakeup_source_destroy' extern void wakeup_source_destroy(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:100:13: error: storage class specified for parameter 'wakeup_source_add' extern void wakeup_source_add(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:101:13: error: storage class specified for parameter 'wakeup_source_remove' extern void wakeup_source_remove(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:102:30: error: storage class specified for parameter 'wakeup_source_register' extern struct wakeup_source *wakeup_source_register(struct device *dev, ^ /kisskb/src/include/linux/pm_wakeup.h:104:13: error: storage class specified for parameter 'wakeup_source_unregister' extern void wakeup_source_unregister(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:105:12: error: storage class specified for parameter 'wakeup_sources_read_lock' extern int wakeup_sources_read_lock(void); ^ /kisskb/src/include/linux/pm_wakeup.h:106:13: error: storage class specified for parameter 'wakeup_sources_read_unlock' extern void wakeup_sources_read_unlock(int idx); ^ /kisskb/src/include/linux/pm_wakeup.h:107:30: error: storage class specified for parameter 'wakeup_sources_walk_start' extern struct wakeup_source *wakeup_sources_walk_start(void); ^ /kisskb/src/include/linux/pm_wakeup.h:108:30: error: storage class specified for parameter 'wakeup_sources_walk_next' extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:109:12: error: storage class specified for parameter 'device_wakeup_enable' extern int device_wakeup_enable(struct device *dev); ^ /kisskb/src/include/linux/pm_wakeup.h:110:12: error: storage class specified for parameter 'device_wakeup_disable' extern int device_wakeup_disable(struct device *dev); ^ /kisskb/src/include/linux/pm_wakeup.h:111:13: error: storage class specified for parameter 'device_set_wakeup_capable' extern void device_set_wakeup_capable(struct device *dev, bool capable); ^ /kisskb/src/include/linux/pm_wakeup.h:112:12: error: storage class specified for parameter 'device_set_wakeup_enable' extern int device_set_wakeup_enable(struct device *dev, bool enable); ^ /kisskb/src/include/linux/pm_wakeup.h:113:13: error: storage class specified for parameter '__pm_stay_awake' extern void __pm_stay_awake(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:114:13: error: storage class specified for parameter 'pm_stay_awake' extern void pm_stay_awake(struct device *dev); ^ /kisskb/src/include/linux/pm_wakeup.h:115:13: error: storage class specified for parameter '__pm_relax' extern void __pm_relax(struct wakeup_source *ws); ^ /kisskb/src/include/linux/pm_wakeup.h:116:13: error: storage class specified for parameter 'pm_relax' extern void pm_relax(struct device *dev); ^ /kisskb/src/include/linux/pm_wakeup.h:117:13: error: storage class specified for parameter 'pm_wakeup_ws_event' extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard); ^ /kisskb/src/include/linux/pm_wakeup.h:118:13: error: storage class specified for parameter 'pm_wakeup_dev_event' extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard); ^ /kisskb/src/include/linux/pm_wakeup.h:198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:203:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pm_wakeup.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:27:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device.h:702:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:718:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/device.h:722:1: note: in expansion of macro '__printf' __printf(2, 3) int dev_set_name(struct device *dev, const char *name, ...); ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:27:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device.h:726:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:744:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:753:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:760:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:765:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:775:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:780:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:790:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:796:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:802:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:807:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:812:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:817:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:824:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:829:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:834:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:839:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:844:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:849:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:859:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:866:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:878:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:883:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:888:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:977:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:995:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/device.h:1017:1: note: in expansion of macro '__printf' __printf(5, 6) struct device * ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/device.h:1020:1: note: in expansion of macro '__printf' __printf(6, 7) struct device * ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:27:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/device.h:1033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:1041:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/device.h:1062:14: error: storage class specified for parameter 'platform_notify' extern int (*platform_notify)(struct device *dev); ^ /kisskb/src/include/linux/device.h:1064:14: error: storage class specified for parameter 'platform_notify_remove' extern int (*platform_notify_remove)(struct device *dev); ^ /kisskb/src/include/linux/device.h:1096:5: error: storage class specified for parameter 'dev_err_probe' int dev_err_probe(const struct device *dev, int err, const char *fmt, ...); ^ /kisskb/src/include/linux/device.h:1105:13: error: storage class specified for parameter 'sysfs_deprecated' extern long sysfs_deprecated; ^ In file included from /kisskb/src/arch/powerpc/include/asm/delay.h:7:0, from /kisskb/src/arch/powerpc/include/asm/io.h:33, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/time.h:21:12: error: storage class specified for parameter 'decrementer_max' extern u64 decrementer_max; ^ /kisskb/src/arch/powerpc/include/asm/time.h:23:22: error: storage class specified for parameter 'tb_ticks_per_jiffy' extern unsigned long tb_ticks_per_jiffy; ^ /kisskb/src/arch/powerpc/include/asm/time.h:24:22: error: storage class specified for parameter 'tb_ticks_per_usec' extern unsigned long tb_ticks_per_usec; ^ /kisskb/src/arch/powerpc/include/asm/time.h:25:22: error: storage class specified for parameter 'tb_ticks_per_sec' extern unsigned long tb_ticks_per_sec; ^ /kisskb/src/arch/powerpc/include/asm/time.h:26:34: error: storage class specified for parameter 'decrementer_clockevent' extern struct clock_event_device decrementer_clockevent; ^ /kisskb/src/arch/powerpc/include/asm/time.h:27:12: error: storage class specified for parameter 'decrementer_max' extern u64 decrementer_max; ^ /kisskb/src/arch/powerpc/include/asm/time.h:27:12: error: redefinition of parameter 'decrementer_max' /kisskb/src/arch/powerpc/include/asm/time.h:21:12: note: previous definition of 'decrementer_max' was here extern u64 decrementer_max; ^ /kisskb/src/arch/powerpc/include/asm/time.h:30:13: error: storage class specified for parameter 'generic_calibrate_decr' extern void generic_calibrate_decr(void); ^ /kisskb/src/arch/powerpc/include/asm/time.h:33:22: error: storage class specified for parameter 'ppc_proc_freq' extern unsigned long ppc_proc_freq; ^ /kisskb/src/arch/powerpc/include/asm/time.h:35:22: error: storage class specified for parameter 'ppc_tb_freq' extern unsigned long ppc_tb_freq; ^ /kisskb/src/arch/powerpc/include/asm/time.h:38:13: error: storage class specified for parameter 'tb_invalid' extern bool tb_invalid; ^ /kisskb/src/arch/powerpc/include/asm/time.h:40:1: error: empty declaration [-Werror] struct div_result { ^ /kisskb/src/arch/powerpc/include/asm/time.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/time.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/time.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/time.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/time.h:97:13: error: storage class specified for parameter 'div128_by_32' extern void div128_by_32(u64 dividend_high, u64 dividend_low, ^ /kisskb/src/arch/powerpc/include/asm/time.h:100:13: error: storage class specified for parameter 'secondary_cpu_time_init' extern void secondary_cpu_time_init(void); ^ /kisskb/src/arch/powerpc/include/asm/time.h:101:20: error: storage class specified for parameter 'time_init' extern void __init time_init(void); ^ /kisskb/src/arch/powerpc/include/asm/time.h:101:20: error: section attribute not allowed for 'time_init' /kisskb/src/arch/powerpc/include/asm/time.h:101:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init time_init(void); ^ /kisskb/src/arch/powerpc/include/asm/time.h:101:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_decrementers_next_tb' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_decrementers_next_tb' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:22: error: storage class specified for parameter 'decrementers_next_tb' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:22: error: section attribute not allowed for 'decrementers_next_tb' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/time.h:103:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(u64, decrementers_next_tb); ^ In file included from /kisskb/src/arch/powerpc/include/asm/delay.h:7:0, from /kisskb/src/arch/powerpc/include/asm/io.h:33, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/time.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:33:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/delay.h:17:13: error: storage class specified for parameter '__delay' extern void __delay(unsigned long loops); ^ /kisskb/src/arch/powerpc/include/asm/delay.h:18:13: error: storage class specified for parameter 'udelay' extern void udelay(unsigned long usecs); ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/io.h:58:22: error: storage class specified for parameter 'isa_io_base' extern unsigned long isa_io_base; ^ /kisskb/src/arch/powerpc/include/asm/io.h:59:22: error: storage class specified for parameter 'pci_io_base' extern unsigned long pci_io_base; ^ /kisskb/src/arch/powerpc/include/asm/io.h:60:22: error: storage class specified for parameter 'pci_dram_offset' extern unsigned long pci_dram_offset; ^ /kisskb/src/arch/powerpc/include/asm/io.h:62:24: error: storage class specified for parameter 'isa_mem_base' extern resource_size_t isa_mem_base; ^ /kisskb/src/arch/powerpc/include/asm/io.h:70:13: error: storage class specified for parameter 'isa_io_special' extern bool isa_io_special; ^ /kisskb/src/arch/powerpc/include/asm/io.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:134:1: note: in expansion of macro 'DEF_MMIO_IN_D' DEF_MMIO_IN_D(in_8, 8, lbz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:134:32: error: expected declaration specifiers before ';' token DEF_MMIO_IN_D(in_8, 8, lbz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:135:1: note: in expansion of macro 'DEF_MMIO_OUT_D' DEF_MMIO_OUT_D(out_8, 8, stb); ^ /kisskb/src/arch/powerpc/include/asm/io.h:135:32: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_D(out_8, 8, stb); ^ /kisskb/src/arch/powerpc/include/asm/io.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:138:1: note: in expansion of macro 'DEF_MMIO_IN_D' DEF_MMIO_IN_D(in_be16, 16, lhz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:138:32: error: expected declaration specifiers before ';' token DEF_MMIO_IN_D(in_be16, 16, lhz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:139:1: note: in expansion of macro 'DEF_MMIO_IN_D' DEF_MMIO_IN_D(in_be32, 32, lwz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:139:32: error: expected declaration specifiers before ';' token DEF_MMIO_IN_D(in_be32, 32, lwz); ^ /kisskb/src/arch/powerpc/include/asm/io.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:140:1: note: in expansion of macro 'DEF_MMIO_IN_X' DEF_MMIO_IN_X(in_le16, 16, lhbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:140:34: error: expected declaration specifiers before ';' token DEF_MMIO_IN_X(in_le16, 16, lhbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:141:1: note: in expansion of macro 'DEF_MMIO_IN_X' DEF_MMIO_IN_X(in_le32, 32, lwbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:141:34: error: expected declaration specifiers before ';' token DEF_MMIO_IN_X(in_le32, 32, lwbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:143:1: note: in expansion of macro 'DEF_MMIO_OUT_D' DEF_MMIO_OUT_D(out_be16, 16, sth); ^ /kisskb/src/arch/powerpc/include/asm/io.h:143:34: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_D(out_be16, 16, sth); ^ /kisskb/src/arch/powerpc/include/asm/io.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:144:1: note: in expansion of macro 'DEF_MMIO_OUT_D' DEF_MMIO_OUT_D(out_be32, 32, stw); ^ /kisskb/src/arch/powerpc/include/asm/io.h:144:34: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_D(out_be32, 32, stw); ^ /kisskb/src/arch/powerpc/include/asm/io.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:145:1: note: in expansion of macro 'DEF_MMIO_OUT_X' DEF_MMIO_OUT_X(out_le16, 16, sthbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:145:37: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_X(out_le16, 16, sthbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:146:1: note: in expansion of macro 'DEF_MMIO_OUT_X' DEF_MMIO_OUT_X(out_le32, 32, stwbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:146:37: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_X(out_le32, 32, stwbrx); ^ /kisskb/src/arch/powerpc/include/asm/io.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:163:1: note: in expansion of macro 'DEF_MMIO_OUT_D' DEF_MMIO_OUT_D(out_be64, 64, std); ^ /kisskb/src/arch/powerpc/include/asm/io.h:163:34: error: expected declaration specifiers before ';' token DEF_MMIO_OUT_D(out_be64, 64, std); ^ /kisskb/src/arch/powerpc/include/asm/io.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io.h:164:1: note: in expansion of macro 'DEF_MMIO_IN_D' DEF_MMIO_IN_D(in_be64, 64, ld); ^ /kisskb/src/arch/powerpc/include/asm/io.h:164:31: error: expected declaration specifiers before ';' token DEF_MMIO_IN_D(in_be64, 64, ld); ^ /kisskb/src/arch/powerpc/include/asm/io.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:197:13: error: storage class specified for parameter '_insb' extern void _insb(const volatile u8 __iomem *addr, void *buf, long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:198:13: error: storage class specified for parameter '_outsb' extern void _outsb(volatile u8 __iomem *addr,const void *buf,long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:199:13: error: storage class specified for parameter '_insw_ns' extern void _insw_ns(const volatile u16 __iomem *addr, void *buf, long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:200:13: error: storage class specified for parameter '_outsw_ns' extern void _outsw_ns(volatile u16 __iomem *addr, const void *buf, long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:201:13: error: storage class specified for parameter '_insl_ns' extern void _insl_ns(const volatile u32 __iomem *addr, void *buf, long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:202:13: error: storage class specified for parameter '_outsl_ns' extern void _outsl_ns(volatile u32 __iomem *addr, const void *buf, long count); ^ /kisskb/src/arch/powerpc/include/asm/io.h:217:13: error: storage class specified for parameter '_memset_io' extern void _memset_io(volatile void __iomem *addr, int c, unsigned long n); ^ /kisskb/src/arch/powerpc/include/asm/io.h:218:13: error: storage class specified for parameter '_memcpy_fromio' extern void _memcpy_fromio(void *dest, const volatile void __iomem *src, ^ /kisskb/src/arch/powerpc/include/asm/io.h:220:13: error: storage class specified for parameter '_memcpy_toio' extern void _memcpy_toio(volatile void __iomem *dest, const void *src, ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:242:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/eeh.h:19:1: error: empty declaration [-Werror] struct pci_dev; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:20:1: error: empty declaration [-Werror] struct pci_bus; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:21:1: error: empty declaration [-Werror] struct pci_dn; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:73:1: error: empty declaration [-Werror] struct eeh_pe { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:132:1: error: empty declaration [-Werror] struct eeh_dev { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:181:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:215:1: error: empty declaration [-Werror] struct eeh_ops { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:232:12: error: storage class specified for parameter 'eeh_subsystem_flags' extern int eeh_subsystem_flags; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:233:12: error: storage class specified for parameter 'eeh_max_freezes' extern u32 eeh_max_freezes; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:234:13: error: storage class specified for parameter 'eeh_debugfs_no_recover' extern bool eeh_debugfs_no_recover; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:235:24: error: storage class specified for parameter 'eeh_ops' extern struct eeh_ops *eeh_ops; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:236:23: error: storage class specified for parameter 'confirm_error_lock' extern raw_spinlock_t confirm_error_lock; ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:269:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:274:16: error: storage class specified for parameter 'eeh_edev_traverse_func' typedef void (*eeh_edev_traverse_func)(struct eeh_dev *edev, void *flag); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:275:17: error: storage class specified for parameter 'eeh_pe_traverse_func' typedef void *(*eeh_pe_traverse_func)(struct eeh_pe *pe, void *flag); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:286:9: error: expected declaration specifiers or '...' before 'eeh_pe_traverse_func' eeh_pe_traverse_func fn, void *flag); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:288:5: error: expected declaration specifiers or '...' before 'eeh_edev_traverse_func' eeh_edev_traverse_func fn, void *flag); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:294:12: error: section attribute not allowed for 'eeh_init' int __init eeh_init(struct eeh_ops *ops); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:294:28: error: '__cold__' attribute ignored [-Werror=attributes] int __init eeh_init(struct eeh_ops *ops); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:294:28: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/eeh.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:403:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:434:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:457:13: error: section attribute not allowed for 'eeh_cache_debugfs_init' void __init eeh_cache_debugfs_init(void); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:457:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init eeh_cache_debugfs_init(void); ^ /kisskb/src/arch/powerpc/include/asm/eeh.h:457:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/io.h:299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:348:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:358:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:367:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:385:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:394:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/io.h:620:3: error: storage class specified for parameter 'ppc_pci_io' } ppc_pci_io; ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:5:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readb, u8, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:6:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readw, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:7:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readl, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:8:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readw_be, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:9:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readl_be, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:10:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writeb, (u8 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:11:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writew, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:12:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writel, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:13:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writew_be, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:14:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writel_be, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:17:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readq, u64, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:18:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(readq_be, u64, (const PCI_IO_ADDR addr), (addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:19:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writeq, (u64 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:20:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writeq_be, (u64 val, PCI_IO_ADDR addr), (val, addr), mem, addr) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:23:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(inb, u8, (unsigned long port), (port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:24:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(inw, u16, (unsigned long port), (port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:25:1: note: in expansion of macro 'DEF_PCI_AC_RET' DEF_PCI_AC_RET(inl, u32, (unsigned long port), (port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:26:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outb, (u8 val, unsigned long port), (val, port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:27:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outw, (u16 val, unsigned long port), (val, port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:28:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outl, (u32 val, unsigned long port), (val, port), pio, port) ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:30:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(readsb, (const PCI_IO_ADDR a, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:32:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(readsw, (const PCI_IO_ADDR a, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:34:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(readsl, (const PCI_IO_ADDR a, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:36:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writesb, (PCI_IO_ADDR a, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:38:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writesw, (PCI_IO_ADDR a, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:40:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(writesl, (PCI_IO_ADDR a, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:43:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:45:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:47:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:49:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:51:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:53:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:56:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(memset_io, (PCI_IO_ADDR a, int c, unsigned long n), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:58:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(memcpy_fromio, (void *d, const PCI_IO_ADDR s, unsigned long n), ^ /kisskb/src/arch/powerpc/include/asm/io.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/io-defs.h:60:1: note: in expansion of macro 'DEF_PCI_AC_NORET' DEF_PCI_AC_NORET(memcpy_toio, (PCI_IO_ADDR d, const void *s, unsigned long n), ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:699:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/iomap.h:29:21: error: storage class specified for parameter 'ioread8' extern unsigned int ioread8(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:30:21: error: storage class specified for parameter 'ioread16' extern unsigned int ioread16(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:31:21: error: storage class specified for parameter 'ioread16be' extern unsigned int ioread16be(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:32:21: error: storage class specified for parameter 'ioread32' extern unsigned int ioread32(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:33:21: error: storage class specified for parameter 'ioread32be' extern unsigned int ioread32be(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:35:12: error: storage class specified for parameter 'ioread64' extern u64 ioread64(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:36:12: error: storage class specified for parameter 'ioread64be' extern u64 ioread64be(const void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:40:24: error: storage class specified for parameter 'ioread64_lo_hi' #define ioread64_lo_hi ioread64_lo_hi ^ /kisskb/src/include/asm-generic/iomap.h:44:12: note: in expansion of macro 'ioread64_lo_hi' extern u64 ioread64_lo_hi(const void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:41:24: error: storage class specified for parameter 'ioread64_hi_lo' #define ioread64_hi_lo ioread64_hi_lo ^ /kisskb/src/include/asm-generic/iomap.h:45:12: note: in expansion of macro 'ioread64_hi_lo' extern u64 ioread64_hi_lo(const void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:42:26: error: storage class specified for parameter 'ioread64be_lo_hi' #define ioread64be_lo_hi ioread64be_lo_hi ^ /kisskb/src/include/asm-generic/iomap.h:46:12: note: in expansion of macro 'ioread64be_lo_hi' extern u64 ioread64be_lo_hi(const void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:43:26: error: storage class specified for parameter 'ioread64be_hi_lo' #define ioread64be_hi_lo ioread64be_hi_lo ^ /kisskb/src/include/asm-generic/iomap.h:47:12: note: in expansion of macro 'ioread64be_hi_lo' extern u64 ioread64be_hi_lo(const void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:50:13: error: storage class specified for parameter 'iowrite8' extern void iowrite8(u8, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:51:13: error: storage class specified for parameter 'iowrite16' extern void iowrite16(u16, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:52:13: error: storage class specified for parameter 'iowrite16be' extern void iowrite16be(u16, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:53:13: error: storage class specified for parameter 'iowrite32' extern void iowrite32(u32, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:54:13: error: storage class specified for parameter 'iowrite32be' extern void iowrite32be(u32, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:56:13: error: storage class specified for parameter 'iowrite64' extern void iowrite64(u64, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:57:13: error: storage class specified for parameter 'iowrite64be' extern void iowrite64be(u64, void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:61:25: error: storage class specified for parameter 'iowrite64_lo_hi' #define iowrite64_lo_hi iowrite64_lo_hi ^ /kisskb/src/include/asm-generic/iomap.h:65:13: note: in expansion of macro 'iowrite64_lo_hi' extern void iowrite64_lo_hi(u64 val, void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:62:25: error: storage class specified for parameter 'iowrite64_hi_lo' #define iowrite64_hi_lo iowrite64_hi_lo ^ /kisskb/src/include/asm-generic/iomap.h:66:13: note: in expansion of macro 'iowrite64_hi_lo' extern void iowrite64_hi_lo(u64 val, void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:63:27: error: storage class specified for parameter 'iowrite64be_lo_hi' #define iowrite64be_lo_hi iowrite64be_lo_hi ^ /kisskb/src/include/asm-generic/iomap.h:67:13: note: in expansion of macro 'iowrite64be_lo_hi' extern void iowrite64be_lo_hi(u64 val, void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:64:27: error: storage class specified for parameter 'iowrite64be_hi_lo' #define iowrite64be_hi_lo iowrite64be_hi_lo ^ /kisskb/src/include/asm-generic/iomap.h:68:13: note: in expansion of macro 'iowrite64be_hi_lo' extern void iowrite64be_hi_lo(u64 val, void __iomem *addr); ^ /kisskb/src/include/asm-generic/iomap.h:82:13: error: storage class specified for parameter 'ioread8_rep' extern void ioread8_rep(const void __iomem *port, void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:83:13: error: storage class specified for parameter 'ioread16_rep' extern void ioread16_rep(const void __iomem *port, void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:84:13: error: storage class specified for parameter 'ioread32_rep' extern void ioread32_rep(const void __iomem *port, void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:86:13: error: storage class specified for parameter 'iowrite8_rep' extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:87:13: error: storage class specified for parameter 'iowrite16_rep' extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:88:13: error: storage class specified for parameter 'iowrite32_rep' extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count); ^ /kisskb/src/include/asm-generic/iomap.h:92:22: error: storage class specified for parameter 'ioport_map' extern void __iomem *ioport_map(unsigned long port, unsigned int nr); ^ /kisskb/src/include/asm-generic/iomap.h:93:13: error: storage class specified for parameter 'ioport_unmap' extern void ioport_unmap(void __iomem *); ^ /kisskb/src/include/asm-generic/iomap.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/iomap.h:113:0, from /kisskb/src/arch/powerpc/include/asm/io.h:699, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/pci_iomap.h:10:1: error: empty declaration [-Werror] struct pci_dev; ^ /kisskb/src/include/asm-generic/pci_iomap.h:13:22: error: storage class specified for parameter 'pci_iomap' extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max); ^ /kisskb/src/include/asm-generic/pci_iomap.h:14:22: error: storage class specified for parameter 'pci_iomap_wc' extern void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max); ^ /kisskb/src/include/asm-generic/pci_iomap.h:15:22: error: storage class specified for parameter 'pci_iomap_range' extern void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, ^ /kisskb/src/include/asm-generic/pci_iomap.h:18:22: error: storage class specified for parameter 'pci_iomap_wc_range' extern void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, ^ /kisskb/src/include/asm-generic/pci_iomap.h:21:13: error: storage class specified for parameter 'pci_iounmap' extern void pci_iounmap(struct pci_dev *dev, void __iomem *); ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/io.h:800:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:861:22: error: storage class specified for parameter 'ioremap' extern void __iomem *ioremap(phys_addr_t address, unsigned long size); ^ /kisskb/src/arch/powerpc/include/asm/io.h:862:22: error: storage class specified for parameter 'ioremap_prot' extern void __iomem *ioremap_prot(phys_addr_t address, unsigned long size, ^ /kisskb/src/arch/powerpc/include/asm/io.h:864:22: error: storage class specified for parameter 'ioremap_wc' extern void __iomem *ioremap_wc(phys_addr_t address, unsigned long size); ^ /kisskb/src/arch/powerpc/include/asm/io.h:877:13: error: storage class specified for parameter 'iounmap' extern void iounmap(volatile void __iomem *addr); ^ /kisskb/src/arch/powerpc/include/asm/io.h:886:22: error: storage class specified for parameter '__ioremap_caller' extern void __iomem *__ioremap_caller(phys_addr_t, unsigned long size, ^ /kisskb/src/arch/powerpc/include/asm/io.h:926:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:946:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/io.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:1022:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/io.h:94:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long caller_addr) {} ^ /kisskb/src/include/asm-generic/io.h:96:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long caller_addr) {} ^ /kisskb/src/include/asm-generic/io.h:98:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long caller_addr) {} ^ /kisskb/src/include/asm-generic/io.h:100:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long caller_addr) {} ^ /kisskb/src/include/asm-generic/io.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:514:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/logic_pio.h:11:0, from /kisskb/src/include/asm-generic/io.h:609, from /kisskb/src/arch/powerpc/include/asm/io.h:1022, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/fwnode.h:17:1: error: empty declaration [-Werror] struct fwnode_operations; ^ /kisskb/src/include/linux/fwnode.h:18:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/fwnode.h:40:1: error: empty declaration [-Werror] struct fwnode_handle { ^ /kisskb/src/include/linux/fwnode.h:49:1: error: empty declaration [-Werror] struct fwnode_link { ^ /kisskb/src/include/linux/fwnode.h:62:1: error: empty declaration [-Werror] struct fwnode_endpoint { ^ /kisskb/src/include/linux/fwnode.h:83:1: error: empty declaration [-Werror] struct fwnode_reference_args { ^ /kisskb/src/include/linux/fwnode.h:114:1: error: empty declaration [-Werror] struct fwnode_operations { ^ /kisskb/src/include/linux/fwnode.h:183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fwnode.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/fwnode.h:201:12: error: storage class specified for parameter 'fw_devlink_get_flags' extern u32 fw_devlink_get_flags(void); ^ /kisskb/src/include/linux/fwnode.h:202:13: error: storage class specified for parameter 'fw_devlink_is_strict' extern bool fw_devlink_is_strict(void); ^ In file included from /kisskb/src/include/asm-generic/io.h:609:0, from /kisskb/src/arch/powerpc/include/asm/io.h:1022, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/logic_pio.h:13:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/logic_pio.h:18:1: error: empty declaration [-Werror] struct logic_pio_hwaddr { ^ /kisskb/src/include/linux/logic_pio.h:30:1: error: empty declaration [-Werror] struct logic_pio_host_ops { ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:1022:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/io.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:750:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:758:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:767:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/vmalloc.h:13:0, from /kisskb/src/include/asm-generic/io.h:994, from /kisskb/src/arch/powerpc/include/asm/io.h:1022, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/vmalloc.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vmalloc.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/io.h:994:0, from /kisskb/src/arch/powerpc/include/asm/io.h:1022, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/vmalloc.h:15:1: error: empty declaration [-Werror] struct vm_area_struct; /* vma defining user mapping in mm_types.h */ ^ /kisskb/src/include/linux/vmalloc.h:16:1: error: empty declaration [-Werror] struct notifier_block; /* in notifier.h */ ^ /kisskb/src/include/linux/vmalloc.h:48:1: error: empty declaration [-Werror] struct vm_struct { ^ /kisskb/src/include/linux/vmalloc.h:62:1: error: empty declaration [-Werror] struct vmap_area { ^ /kisskb/src/include/linux/vmalloc.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:128:13: error: storage class specified for parameter 'vm_unmap_ram' extern void vm_unmap_ram(const void *mem, unsigned int count); ^ /kisskb/src/include/linux/vmalloc.h:129:14: error: storage class specified for parameter 'vm_map_ram' extern void *vm_map_ram(struct page **pages, unsigned int count, int node); ^ /kisskb/src/include/linux/vmalloc.h:130:13: error: storage class specified for parameter 'vm_unmap_aliases' extern void vm_unmap_aliases(void); ^ /kisskb/src/include/linux/vmalloc.h:133:20: error: storage class specified for parameter 'vmalloc_init' extern void __init vmalloc_init(void); ^ /kisskb/src/include/linux/vmalloc.h:133:20: error: section attribute not allowed for 'vmalloc_init' /kisskb/src/include/linux/vmalloc.h:133:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init vmalloc_init(void); ^ /kisskb/src/include/linux/vmalloc.h:133:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/vmalloc.h:134:22: error: storage class specified for parameter 'vmalloc_nr_pages' extern unsigned long vmalloc_nr_pages(void); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:142:42: note: in expansion of macro '__alloc_size' extern void *vmalloc(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:143:42: note: in expansion of macro '__alloc_size' extern void *vzalloc(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:144:47: note: in expansion of macro '__alloc_size' extern void *vmalloc_user(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:145:57: note: in expansion of macro '__alloc_size' extern void *vmalloc_node(unsigned long size, int node) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:146:57: note: in expansion of macro '__alloc_size' extern void *vzalloc_node(unsigned long size, int node) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:147:45: note: in expansion of macro '__alloc_size' extern void *vmalloc_32(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:148:50: note: in expansion of macro '__alloc_size' extern void *vmalloc_32_user(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:149:60: note: in expansion of macro '__alloc_size' extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:153:24: note: in expansion of macro '__alloc_size' const void *caller) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:155:33: note: in expansion of macro '__alloc_size' int node, const void *caller) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:156:56: note: in expansion of macro '__alloc_size' void *vmalloc_huge(unsigned long size, gfp_t gfp_mask) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:158:66: note: in expansion of macro '__alloc_size' extern void *__vmalloc_array(size_t n, size_t size, gfp_t flags) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:159:51: note: in expansion of macro '__alloc_size' extern void *vmalloc_array(size_t n, size_t size) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:160:60: note: in expansion of macro '__alloc_size' extern void *__vcalloc(size_t n, size_t size, gfp_t flags) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:161:45: note: in expansion of macro '__alloc_size' extern void *vcalloc(size_t n, size_t size) __alloc_size(1, 2); ^ In file included from /kisskb/src/include/asm-generic/io.h:994:0, from /kisskb/src/arch/powerpc/include/asm/io.h:1022, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/vmalloc.h:163:13: error: storage class specified for parameter 'vfree' extern void vfree(const void *addr); ^ /kisskb/src/include/linux/vmalloc.h:164:13: error: storage class specified for parameter 'vfree_atomic' extern void vfree_atomic(const void *addr); ^ /kisskb/src/include/linux/vmalloc.h:166:14: error: storage class specified for parameter 'vmap' extern void *vmap(struct page **pages, unsigned int count, ^ /kisskb/src/include/linux/vmalloc.h:169:13: error: storage class specified for parameter 'vunmap' extern void vunmap(const void *addr); ^ /kisskb/src/include/linux/vmalloc.h:171:12: error: storage class specified for parameter 'remap_vmalloc_range_partial' extern int remap_vmalloc_range_partial(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/vmalloc.h:175:12: error: storage class specified for parameter 'remap_vmalloc_range' extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr, ^ /kisskb/src/include/linux/vmalloc.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:208:26: error: storage class specified for parameter 'get_vm_area' extern struct vm_struct *get_vm_area(unsigned long size, unsigned long flags); ^ /kisskb/src/include/linux/vmalloc.h:209:26: error: storage class specified for parameter 'get_vm_area_caller' extern struct vm_struct *get_vm_area_caller(unsigned long size, ^ /kisskb/src/include/linux/vmalloc.h:211:26: error: storage class specified for parameter '__get_vm_area_caller' extern struct vm_struct *__get_vm_area_caller(unsigned long size, ^ /kisskb/src/include/linux/vmalloc.h:216:26: error: storage class specified for parameter 'remove_vm_area' extern struct vm_struct *remove_vm_area(const void *addr); ^ /kisskb/src/include/linux/vmalloc.h:217:26: error: storage class specified for parameter 'find_vm_area' extern struct vm_struct *find_vm_area(const void *addr); ^ /kisskb/src/include/linux/vmalloc.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/vmalloc.h:253:13: error: storage class specified for parameter 'vread' extern long vread(char *buf, char *addr, unsigned long count); ^ /kisskb/src/include/linux/vmalloc.h:258:25: error: storage class specified for parameter 'vmap_area_list' extern struct list_head vmap_area_list; ^ /kisskb/src/include/linux/vmalloc.h:259:20: error: storage class specified for parameter 'vm_area_add_early' extern __init void vm_area_add_early(struct vm_struct *vm); ^ /kisskb/src/include/linux/vmalloc.h:259:20: error: section attribute not allowed for 'vm_area_add_early' /kisskb/src/include/linux/vmalloc.h:259:45: error: '__cold__' attribute ignored [-Werror=attributes] extern __init void vm_area_add_early(struct vm_struct *vm); ^ /kisskb/src/include/linux/vmalloc.h:259:45: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/vmalloc.h:260:20: error: storage class specified for parameter 'vm_area_register_early' extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); ^ /kisskb/src/include/linux/vmalloc.h:260:20: error: section attribute not allowed for 'vm_area_register_early' /kisskb/src/include/linux/vmalloc.h:260:50: error: '__cold__' attribute ignored [-Werror=attributes] extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); ^ /kisskb/src/include/linux/vmalloc.h:260:50: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/arch/powerpc/include/asm/io.h:1022:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/io.h:1146:22: error: storage class specified for parameter 'ioport_map' extern void __iomem *ioport_map(unsigned long port, unsigned int nr); ^ /kisskb/src/include/asm-generic/io.h:1146:22: error: redefinition of parameter 'ioport_map' In file included from /kisskb/src/arch/powerpc/include/asm/io.h:699:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/iomap.h:92:22: note: previous definition of 'ioport_map' was here extern void __iomem *ioport_map(unsigned long port, unsigned int nr); ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:1022:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/io.h:1147:13: error: storage class specified for parameter 'ioport_unmap' extern void ioport_unmap(void __iomem *p); ^ /kisskb/src/include/asm-generic/io.h:1147:13: error: redefinition of parameter 'ioport_unmap' In file included from /kisskb/src/arch/powerpc/include/asm/io.h:699:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/iomap.h:93:13: note: previous definition of 'ioport_unmap' was here extern void ioport_unmap(void __iomem *); ^ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:1022:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/io.h:1168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1224:12: error: storage class specified for parameter 'devmem_is_allowed' extern int devmem_is_allowed(unsigned long pfn); ^ In file included from /kisskb/src/include/linux/irq.h:20:0, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/io.h:16:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/io.h:17:1: error: empty declaration [-Werror] struct resource; ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:157:41: error: expected declaration specifiers before '__attribute__' # define __visible __attribute__((__externally_visible__)) ^ /kisskb/src/include/linux/io.h:19:1: note: in expansion of macro '__visible' __visible void __iowrite32_copy(void __iomem *to, const void *from, size_t count); ^ In file included from /kisskb/src/include/linux/irq.h:20:0, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/io.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:135:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/io.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/irq.h:23:0, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/irq.h:17:17: error: storage class specified for parameter 'ppc_n_lost_interrupts' extern atomic_t ppc_n_lost_interrupts; ^ /kisskb/src/arch/powerpc/include/asm/irq.h:28:24: error: storage class specified for parameter 'virq_to_hw' extern irq_hw_number_t virq_to_hw(unsigned int virq); ^ /kisskb/src/arch/powerpc/include/asm/irq.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/irq.h:35:12: error: storage class specified for parameter 'distribute_irqs' extern int distribute_irqs; ^ /kisskb/src/arch/powerpc/include/asm/irq.h:37:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/powerpc/include/asm/irq.h:52:14: error: storage class specified for parameter 'hardirq_ctx' extern void *hardirq_ctx[NR_CPUS]; ^ /kisskb/src/arch/powerpc/include/asm/irq.h:53:14: error: storage class specified for parameter 'softirq_ctx' extern void *softirq_ctx[NR_CPUS]; ^ /kisskb/src/arch/powerpc/include/asm/irq.h:56:20: error: storage class specified for parameter 'init_IRQ' extern void __init init_IRQ(void); ^ /kisskb/src/arch/powerpc/include/asm/irq.h:56:20: error: section attribute not allowed for 'init_IRQ' /kisskb/src/arch/powerpc/include/asm/irq.h:56:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init init_IRQ(void); ^ /kisskb/src/arch/powerpc/include/asm/irq.h:56:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope___irq_regs' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/asm-generic/irq_regs.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope___irq_regs' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/asm-generic/irq_regs.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ /kisskb/src/include/asm-generic/irq_regs.h:17:35: error: storage class specified for parameter '__irq_regs' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/asm-generic/irq_regs.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ /kisskb/src/include/asm-generic/irq_regs.h:17:35: error: section attribute not allowed for '__irq_regs' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/asm-generic/irq_regs.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs *, __irq_regs); ^ In file included from ./arch/powerpc/include/generated/asm/irq_regs.h:1:0, from /kisskb/src/include/linux/irq.h:25, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/irq_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/irq_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6:0, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/irq.h:27:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/irq.h:28:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/irq.h:29:1: error: empty declaration [-Werror] struct msi_msg; ^ /kisskb/src/include/linux/irq.h:30:1: error: empty declaration [-Werror] struct irq_affinity_desc; ^ /kisskb/src/include/linux/irq.h:31:1: error: empty declaration [-Werror] enum irqchip_irq_state; ^ /kisskb/src/include/linux/irq.h:77:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/irq.h:123:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/irq.h:129:1: error: empty declaration [-Werror] struct msi_desc; ^ /kisskb/src/include/linux/irq.h:130:1: error: empty declaration [-Werror] struct irq_domain; ^ /kisskb/src/include/linux/irq.h:147:1: error: empty declaration [-Werror] struct irq_common_data { ^ /kisskb/src/include/linux/irq.h:179:1: error: empty declaration [-Werror] struct irq_data { ^ /kisskb/src/include/linux/irq.h:227:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/irq.h:257:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:322:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:332:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:337:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:347:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:352:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:362:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:367:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:372:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:392:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:407:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:412:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:454:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:506:1: error: empty declaration [-Werror] struct irq_chip { ^ /kisskb/src/include/linux/irq.h:576:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/irq.h:591:0, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/irqdesc.h:13:1: error: empty declaration [-Werror] struct irq_affinity_notify; ^ /kisskb/src/include/linux/irqdesc.h:14:1: error: empty declaration [-Werror] struct proc_dir_entry; ^ /kisskb/src/include/linux/irqdesc.h:15:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/irqdesc.h:16:1: error: empty declaration [-Werror] struct irq_desc; ^ /kisskb/src/include/linux/irqdesc.h:17:1: error: empty declaration [-Werror] struct irq_domain; ^ /kisskb/src/include/linux/irqdesc.h:18:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/include/linux/irqdesc.h:59:2: error: expected specifier-qualifier-list before 'irq_flow_handler_t' irq_flow_handler_t handle_irq; ^ /kisskb/src/include/linux/irqdesc.h:55:1: error: empty declaration [-Werror] struct irq_desc { ^ /kisskb/src/include/linux/irqdesc.h:108:13: error: storage class specified for parameter 'irq_lock_sparse' extern void irq_lock_sparse(void); ^ /kisskb/src/include/linux/irqdesc.h:109:13: error: storage class specified for parameter 'irq_unlock_sparse' extern void irq_unlock_sparse(void); ^ /kisskb/src/include/linux/irqdesc.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:193:8: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handler) ^ /kisskb/src/include/linux/irqdesc.h:215:6: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handler, const char *name) ^ /kisskb/src/include/linux/irqdesc.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6:0, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/irq.h:608:1: error: empty declaration [-Werror] struct irqaction; ^ /kisskb/src/include/linux/irq.h:609:12: error: storage class specified for parameter 'setup_percpu_irq' extern int setup_percpu_irq(unsigned int irq, struct irqaction *new); ^ /kisskb/src/include/linux/irq.h:610:13: error: storage class specified for parameter 'remove_percpu_irq' extern void remove_percpu_irq(unsigned int irq, struct irqaction *act); ^ /kisskb/src/include/linux/irq.h:616:12: error: storage class specified for parameter 'irq_set_affinity_locked' extern int irq_set_affinity_locked(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:618:12: error: storage class specified for parameter 'irq_set_vcpu_affinity' extern int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info); ^ /kisskb/src/include/linux/irq.h:621:13: error: storage class specified for parameter 'irq_migrate_all_off_this_cpu' extern void irq_migrate_all_off_this_cpu(void); ^ /kisskb/src/include/linux/irq.h:622:12: error: storage class specified for parameter 'irq_affinity_online_cpu' extern int irq_affinity_online_cpu(unsigned int cpu); ^ /kisskb/src/include/linux/irq.h:637:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_move_irq(struct irq_data *data) { } ^ /kisskb/src/include/linux/irq.h:638:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_move_masked_irq(struct irq_data *data) { } ^ /kisskb/src/include/linux/irq.h:639:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_force_complete_move(struct irq_desc *desc) { } ^ /kisskb/src/include/linux/irq.h:642:12: error: storage class specified for parameter 'no_irq_affinity' extern int no_irq_affinity; ^ /kisskb/src/include/linux/irq.h:657:13: error: storage class specified for parameter 'handle_level_irq' extern void handle_level_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:658:13: error: storage class specified for parameter 'handle_fasteoi_irq' extern void handle_fasteoi_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:659:13: error: storage class specified for parameter 'handle_edge_irq' extern void handle_edge_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:660:13: error: storage class specified for parameter 'handle_edge_eoi_irq' extern void handle_edge_eoi_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:661:13: error: storage class specified for parameter 'handle_simple_irq' extern void handle_simple_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:662:13: error: storage class specified for parameter 'handle_untracked_irq' extern void handle_untracked_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:663:13: error: storage class specified for parameter 'handle_percpu_irq' extern void handle_percpu_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:664:13: error: storage class specified for parameter 'handle_percpu_devid_irq' extern void handle_percpu_devid_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:665:13: error: storage class specified for parameter 'handle_bad_irq' extern void handle_bad_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:666:13: error: storage class specified for parameter 'handle_nested_irq' extern void handle_nested_irq(unsigned int irq); ^ /kisskb/src/include/linux/irq.h:668:13: error: storage class specified for parameter 'handle_fasteoi_nmi' extern void handle_fasteoi_nmi(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:669:13: error: storage class specified for parameter 'handle_percpu_devid_fasteoi_nmi' extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:671:12: error: storage class specified for parameter 'irq_chip_compose_msi_msg' extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg); ^ /kisskb/src/include/linux/irq.h:672:12: error: storage class specified for parameter 'irq_chip_pm_get' extern int irq_chip_pm_get(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:673:12: error: storage class specified for parameter 'irq_chip_pm_put' extern int irq_chip_pm_put(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:675:13: error: storage class specified for parameter 'handle_fasteoi_ack_irq' extern void handle_fasteoi_ack_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:676:13: error: storage class specified for parameter 'handle_fasteoi_mask_irq' extern void handle_fasteoi_mask_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:677:12: error: storage class specified for parameter 'irq_chip_set_parent_state' extern int irq_chip_set_parent_state(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:680:12: error: storage class specified for parameter 'irq_chip_get_parent_state' extern int irq_chip_get_parent_state(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:683:13: error: storage class specified for parameter 'irq_chip_enable_parent' extern void irq_chip_enable_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:684:13: error: storage class specified for parameter 'irq_chip_disable_parent' extern void irq_chip_disable_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:685:13: error: storage class specified for parameter 'irq_chip_ack_parent' extern void irq_chip_ack_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:686:12: error: storage class specified for parameter 'irq_chip_retrigger_hierarchy' extern int irq_chip_retrigger_hierarchy(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:687:13: error: storage class specified for parameter 'irq_chip_mask_parent' extern void irq_chip_mask_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:688:13: error: storage class specified for parameter 'irq_chip_mask_ack_parent' extern void irq_chip_mask_ack_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:689:13: error: storage class specified for parameter 'irq_chip_unmask_parent' extern void irq_chip_unmask_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:690:13: error: storage class specified for parameter 'irq_chip_eoi_parent' extern void irq_chip_eoi_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:691:12: error: storage class specified for parameter 'irq_chip_set_affinity_parent' extern int irq_chip_set_affinity_parent(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:694:12: error: storage class specified for parameter 'irq_chip_set_wake_parent' extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on); ^ /kisskb/src/include/linux/irq.h:695:12: error: storage class specified for parameter 'irq_chip_set_vcpu_affinity_parent' extern int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:697:12: error: storage class specified for parameter 'irq_chip_set_type_parent' extern int irq_chip_set_type_parent(struct irq_data *data, unsigned int type); ^ /kisskb/src/include/linux/irq.h:698:12: error: storage class specified for parameter 'irq_chip_request_resources_parent' extern int irq_chip_request_resources_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:699:13: error: storage class specified for parameter 'irq_chip_release_resources_parent' extern void irq_chip_release_resources_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:703:13: error: storage class specified for parameter 'note_interrupt' extern void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret); ^ /kisskb/src/include/linux/irq.h:707:12: error: storage class specified for parameter 'noirqdebug_setup' extern int noirqdebug_setup(char *str); ^ /kisskb/src/include/linux/irq.h:710:12: error: storage class specified for parameter 'can_request_irq' extern int can_request_irq(unsigned int irq, unsigned long irqflags); ^ /kisskb/src/include/linux/irq.h:713:24: error: storage class specified for parameter 'no_irq_chip' extern struct irq_chip no_irq_chip; ^ /kisskb/src/include/linux/irq.h:714:24: error: storage class specified for parameter 'dummy_irq_chip' extern struct irq_chip dummy_irq_chip; ^ /kisskb/src/include/linux/irq.h:718:10: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handle, const char *name); ^ /kisskb/src/include/linux/irq.h:722:10: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handle) ^ /kisskb/src/include/linux/irq.h:727:12: error: storage class specified for parameter 'irq_set_percpu_devid' extern int irq_set_percpu_devid(unsigned int irq); ^ /kisskb/src/include/linux/irq.h:728:12: error: storage class specified for parameter 'irq_set_percpu_devid_partition' extern int irq_set_percpu_devid_partition(unsigned int irq, ^ /kisskb/src/include/linux/irq.h:730:12: error: storage class specified for parameter 'irq_get_percpu_devid_partition' extern int irq_get_percpu_devid_partition(unsigned int irq, ^ /kisskb/src/include/linux/irq.h:734:37: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' __irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, ^ /kisskb/src/include/linux/irq.h:738:35: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_set_handler(unsigned int irq, irq_flow_handler_t handle) ^ /kisskb/src/include/linux/irq.h:749:43: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_set_chained_handler(unsigned int irq, irq_flow_handler_t handle) ^ /kisskb/src/include/linux/irq.h:760:52: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_set_chained_handler_and_data(unsigned int irq, irq_flow_handler_t handle, ^ /kisskb/src/include/linux/irq.h:766:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:781:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:791:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:796:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:804:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:811:12: error: storage class specified for parameter 'irq_set_chip' extern int irq_set_chip(unsigned int irq, const struct irq_chip *chip); ^ /kisskb/src/include/linux/irq.h:812:12: error: storage class specified for parameter 'irq_set_handler_data' extern int irq_set_handler_data(unsigned int irq, void *data); ^ /kisskb/src/include/linux/irq.h:813:12: error: storage class specified for parameter 'irq_set_chip_data' extern int irq_set_chip_data(unsigned int irq, void *data); ^ /kisskb/src/include/linux/irq.h:814:12: error: storage class specified for parameter 'irq_set_irq_type' extern int irq_set_irq_type(unsigned int irq, unsigned int type); ^ /kisskb/src/include/linux/irq.h:815:12: error: storage class specified for parameter 'irq_set_msi_desc' extern int irq_set_msi_desc(unsigned int irq, struct msi_desc *entry); ^ /kisskb/src/include/linux/irq.h:816:12: error: storage class specified for parameter 'irq_set_msi_desc_off' extern int irq_set_msi_desc_off(unsigned int irq_base, unsigned int irq_offset, ^ /kisskb/src/include/linux/irq.h:818:25: error: storage class specified for parameter 'irq_get_irq_data' extern struct irq_data *irq_get_irq_data(unsigned int irq); ^ /kisskb/src/include/linux/irq.h:821:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:827:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:832:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:838:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:843:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:849:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:860:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:865:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:871:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:886:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:896:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:903:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:923:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:927:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:934:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:983:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1001:1: error: empty declaration [-Werror] struct irq_chip_regs { ^ /kisskb/src/include/linux/irq.h:1027:2: error: expected specifier-qualifier-list before 'irq_flow_handler_t' irq_flow_handler_t handler; ^ /kisskb/src/include/linux/irq.h:1024:1: error: empty declaration [-Werror] struct irq_chip_type { ^ /kisskb/src/include/linux/irq.h:1066:1: error: empty declaration [-Werror] struct irq_chip_generic { ^ /kisskb/src/include/linux/irq.h:1099:1: error: empty declaration [-Werror] enum irq_gc_flags { ^ /kisskb/src/include/linux/irq.h:1116:1: error: empty declaration [-Werror] struct irq_domain_chip_generic { ^ /kisskb/src/include/linux/irq.h:1143:34: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' void __iomem *reg_base, irq_flow_handler_t handler); ^ /kisskb/src/include/linux/irq.h:1154:8: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handler); ^ /kisskb/src/include/linux/irq.h:1163:10: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' irq_flow_handler_t handler, ^ /kisskb/src/include/linux/irq.h:1176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:1238:1: error: empty declaration [-Werror] struct irq_matrix; ^ In file included from /kisskb/src/include/linux/hardirq.h:11:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/hardirq.h:23:25: error: storage class specified for parameter 'irq_cpustat_t' } ____cacheline_aligned irq_cpustat_t; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_irq_stat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:139:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_SHARED_ALIGNED_SECTION) \ ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_irq_stat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:139:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_SHARED_ALIGNED_SECTION) \ ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:47: error: storage class specified for parameter 'irq_stat' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:47: error: alignment may not be specified for 'irq_stat' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:47: error: section attribute not allowed for 'irq_stat' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:25:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ In file included from /kisskb/src/include/linux/hardirq.h:11:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/hardirq.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/hardirq.h:35:12: error: storage class specified for parameter 'arch_irq_stat_cpu' extern u64 arch_irq_stat_cpu(unsigned int cpu); ^ In file included from /kisskb/src/include/linux/interrupt.h:11:0, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/hardirq.h:13:13: error: storage class specified for parameter 'synchronize_irq' extern void synchronize_irq(unsigned int irq); ^ /kisskb/src/include/linux/hardirq.h:14:13: error: storage class specified for parameter 'synchronize_hardirq' extern bool synchronize_hardirq(unsigned int irq); ^ /kisskb/src/include/linux/hardirq.h:19:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __rcu_irq_enter_check_tick(void) { } ^ /kisskb/src/include/linux/hardirq.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/interrupt.h:21:0, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/sections.h:10:26: error: storage class specified for parameter 'func_desc_t' typedef struct func_desc func_desc_t; ^ In file included from /kisskb/src/arch/powerpc/include/asm/sections.h:13:0, from /kisskb/src/include/linux/interrupt.h:21, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/sections.h:35:13: error: storage class specified for parameter '_text' extern char _text[], _stext[], _etext[]; ^ /kisskb/src/include/asm-generic/sections.h:35:22: error: storage class specified for parameter '_stext' extern char _text[], _stext[], _etext[]; ^ /kisskb/src/include/asm-generic/sections.h:35:32: error: storage class specified for parameter '_etext' extern char _text[], _stext[], _etext[]; ^ /kisskb/src/include/asm-generic/sections.h:36:13: error: storage class specified for parameter '_data' extern char _data[], _sdata[], _edata[]; ^ /kisskb/src/include/asm-generic/sections.h:36:22: error: storage class specified for parameter '_sdata' extern char _data[], _sdata[], _edata[]; ^ /kisskb/src/include/asm-generic/sections.h:36:32: error: storage class specified for parameter '_edata' extern char _data[], _sdata[], _edata[]; ^ /kisskb/src/include/asm-generic/sections.h:37:13: error: storage class specified for parameter '__bss_start' extern char __bss_start[], __bss_stop[]; ^ /kisskb/src/include/asm-generic/sections.h:37:28: error: storage class specified for parameter '__bss_stop' extern char __bss_start[], __bss_stop[]; ^ /kisskb/src/include/asm-generic/sections.h:38:13: error: storage class specified for parameter '__init_begin' extern char __init_begin[], __init_end[]; ^ /kisskb/src/include/asm-generic/sections.h:38:29: error: storage class specified for parameter '__init_end' extern char __init_begin[], __init_end[]; ^ /kisskb/src/include/asm-generic/sections.h:39:13: error: storage class specified for parameter '_sinittext' extern char _sinittext[], _einittext[]; ^ /kisskb/src/include/asm-generic/sections.h:39:27: error: storage class specified for parameter '_einittext' extern char _sinittext[], _einittext[]; ^ /kisskb/src/include/asm-generic/sections.h:40:13: error: storage class specified for parameter '__start_ro_after_init' extern char __start_ro_after_init[], __end_ro_after_init[]; ^ /kisskb/src/include/asm-generic/sections.h:40:38: error: storage class specified for parameter '__end_ro_after_init' extern char __start_ro_after_init[], __end_ro_after_init[]; ^ /kisskb/src/include/asm-generic/sections.h:41:13: error: storage class specified for parameter '_end' extern char _end[]; ^ /kisskb/src/include/asm-generic/sections.h:42:13: error: storage class specified for parameter '__per_cpu_load' extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[]; ^ /kisskb/src/include/asm-generic/sections.h:42:31: error: storage class specified for parameter '__per_cpu_start' extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[]; ^ /kisskb/src/include/asm-generic/sections.h:42:50: error: storage class specified for parameter '__per_cpu_end' extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[]; ^ /kisskb/src/include/asm-generic/sections.h:43:13: error: storage class specified for parameter '__kprobes_text_start' extern char __kprobes_text_start[], __kprobes_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:43:37: error: storage class specified for parameter '__kprobes_text_end' extern char __kprobes_text_start[], __kprobes_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:44:13: error: storage class specified for parameter '__entry_text_start' extern char __entry_text_start[], __entry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:44:35: error: storage class specified for parameter '__entry_text_end' extern char __entry_text_start[], __entry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:45:13: error: storage class specified for parameter '__start_rodata' extern char __start_rodata[], __end_rodata[]; ^ /kisskb/src/include/asm-generic/sections.h:45:31: error: storage class specified for parameter '__end_rodata' extern char __start_rodata[], __end_rodata[]; ^ /kisskb/src/include/asm-generic/sections.h:46:13: error: storage class specified for parameter '__irqentry_text_start' extern char __irqentry_text_start[], __irqentry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:46:38: error: storage class specified for parameter '__irqentry_text_end' extern char __irqentry_text_start[], __irqentry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:47:13: error: storage class specified for parameter '__softirqentry_text_start' extern char __softirqentry_text_start[], __softirqentry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:47:42: error: storage class specified for parameter '__softirqentry_text_end' extern char __softirqentry_text_start[], __softirqentry_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:48:13: error: storage class specified for parameter '__start_once' extern char __start_once[], __end_once[]; ^ /kisskb/src/include/asm-generic/sections.h:48:29: error: storage class specified for parameter '__end_once' extern char __start_once[], __end_once[]; ^ /kisskb/src/include/asm-generic/sections.h:51:13: error: storage class specified for parameter '__ctors_start' extern char __ctors_start[], __ctors_end[]; ^ /kisskb/src/include/asm-generic/sections.h:51:30: error: storage class specified for parameter '__ctors_end' extern char __ctors_start[], __ctors_end[]; ^ /kisskb/src/include/asm-generic/sections.h:54:13: error: storage class specified for parameter '__start_opd' extern char __start_opd[], __end_opd[]; ^ /kisskb/src/include/asm-generic/sections.h:54:28: error: storage class specified for parameter '__end_opd' extern char __start_opd[], __end_opd[]; ^ /kisskb/src/include/asm-generic/sections.h:57:13: error: storage class specified for parameter '__noinstr_text_start' extern char __noinstr_text_start[], __noinstr_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:57:37: error: storage class specified for parameter '__noinstr_text_end' extern char __noinstr_text_start[], __noinstr_text_end[]; ^ /kisskb/src/include/asm-generic/sections.h:59:29: error: storage class specified for parameter '__nosave_begin' extern __visible const void __nosave_begin, __nosave_end; ^ /kisskb/src/include/asm-generic/sections.h:59:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern __visible const void __nosave_begin, __nosave_end; ^ /kisskb/src/include/asm-generic/sections.h:59:45: error: storage class specified for parameter '__nosave_end' extern __visible const void __nosave_begin, __nosave_end; ^ /kisskb/src/include/asm-generic/sections.h:59:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern __visible const void __nosave_begin, __nosave_end; ^ /kisskb/src/include/asm-generic/sections.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/sections.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/interrupt.h:21:0, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/sections.h:15:13: error: storage class specified for parameter '__head_end' extern char __head_end[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:16:13: error: storage class specified for parameter '__srwx_boundary' extern char __srwx_boundary[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:19:12: error: storage class specified for parameter 'patch__call_flush_branch_caches1' extern s32 patch__call_flush_branch_caches1; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:20:12: error: storage class specified for parameter 'patch__call_flush_branch_caches2' extern s32 patch__call_flush_branch_caches2; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:21:12: error: storage class specified for parameter 'patch__call_flush_branch_caches3' extern s32 patch__call_flush_branch_caches3; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:22:12: error: storage class specified for parameter 'patch__flush_count_cache_return' extern s32 patch__flush_count_cache_return; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:23:12: error: storage class specified for parameter 'patch__flush_link_stack_return' extern s32 patch__flush_link_stack_return; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:24:12: error: storage class specified for parameter 'patch__call_kvm_flush_link_stack' extern s32 patch__call_kvm_flush_link_stack; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:25:12: error: storage class specified for parameter 'patch__call_kvm_flush_link_stack_p9' extern s32 patch__call_kvm_flush_link_stack_p9; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:26:12: error: storage class specified for parameter 'patch__memset_nocache' extern s32 patch__memset_nocache, patch__memcpy_nocache; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:26:35: error: storage class specified for parameter 'patch__memcpy_nocache' extern s32 patch__memset_nocache, patch__memcpy_nocache; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:28:13: error: storage class specified for parameter 'flush_branch_caches' extern long flush_branch_caches; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:29:13: error: storage class specified for parameter 'kvm_flush_link_stack' extern long kvm_flush_link_stack; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:33:13: error: storage class specified for parameter '__start_interrupts' extern char __start_interrupts[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:34:13: error: storage class specified for parameter '__end_interrupts' extern char __end_interrupts[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:37:13: error: storage class specified for parameter 'start_real_trampolines' extern char start_real_trampolines[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:38:13: error: storage class specified for parameter 'end_real_trampolines' extern char end_real_trampolines[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:39:13: error: storage class specified for parameter 'start_virt_trampolines' extern char start_virt_trampolines[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:40:13: error: storage class specified for parameter 'end_virt_trampolines' extern char end_virt_trampolines[]; ^ /kisskb/src/arch/powerpc/include/asm/sections.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/sections.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/sections.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kernel_stat.h:9:0, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/interrupt.h:95:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/interrupt.h:100:23: error: storage class specified for parameter 'irq_handler_t' typedef irqreturn_t (*irq_handler_t)(int, void *); ^ /kisskb/src/include/linux/interrupt.h:119:2: error: expected specifier-qualifier-list before 'irq_handler_t' irq_handler_t handler; ^ /kisskb/src/include/linux/interrupt.h:118:1: error: empty declaration [-Werror] struct irqaction { ^ /kisskb/src/include/linux/interrupt.h:134:20: error: storage class specified for parameter 'no_action' extern irqreturn_t no_action(int cpl, void *dev_id); ^ /kisskb/src/include/linux/interrupt.h:147:40: error: expected declaration specifiers or '...' before 'irq_handler_t' request_threaded_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:148:8: error: expected declaration specifiers or '...' before 'irq_handler_t' irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:165:31: error: expected declaration specifiers or '...' before 'irq_handler_t' request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, ^ /kisskb/src/include/linux/interrupt.h:172:43: error: expected declaration specifiers or '...' before 'irq_handler_t' request_any_context_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:176:40: error: expected declaration specifiers or '...' before 'irq_handler_t' __request_percpu_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:181:31: error: expected declaration specifiers or '...' before 'irq_handler_t' request_nmi(unsigned int irq, irq_handler_t handler, unsigned long flags, ^ /kisskb/src/include/linux/interrupt.h:185:38: error: expected declaration specifiers or '...' before 'irq_handler_t' request_percpu_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:193:38: error: expected declaration specifiers or '...' before 'irq_handler_t' request_percpu_nmi(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:196:20: error: storage class specified for parameter 'free_irq' extern const void *free_irq(unsigned int, void *); ^ /kisskb/src/include/linux/interrupt.h:197:13: error: storage class specified for parameter 'free_percpu_irq' extern void free_percpu_irq(unsigned int, void __percpu *); ^ /kisskb/src/include/linux/interrupt.h:199:20: error: storage class specified for parameter 'free_nmi' extern const void *free_nmi(unsigned int irq, void *dev_id); ^ /kisskb/src/include/linux/interrupt.h:200:13: error: storage class specified for parameter 'free_percpu_nmi' extern void free_percpu_nmi(unsigned int irq, void __percpu *percpu_dev_id); ^ /kisskb/src/include/linux/interrupt.h:202:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/interrupt.h:206:6: error: expected declaration specifiers or '...' before 'irq_handler_t' irq_handler_t handler, irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:206:29: error: expected declaration specifiers or '...' before 'irq_handler_t' irq_handler_t handler, irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:211:56: error: expected declaration specifiers or '...' before 'irq_handler_t' devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:220:4: error: expected declaration specifiers or '...' before 'irq_handler_t' irq_handler_t handler, unsigned long irqflags, ^ /kisskb/src/include/linux/interrupt.h:223:13: error: storage class specified for parameter 'devm_free_irq' extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id); ^ /kisskb/src/include/linux/interrupt.h:226:13: error: storage class specified for parameter 'disable_irq_nosync' extern void disable_irq_nosync(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:227:13: error: storage class specified for parameter 'disable_hardirq' extern bool disable_hardirq(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:228:13: error: storage class specified for parameter 'disable_irq' extern void disable_irq(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:229:13: error: storage class specified for parameter 'disable_percpu_irq' extern void disable_percpu_irq(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:230:13: error: storage class specified for parameter 'enable_irq' extern void enable_irq(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:231:13: error: storage class specified for parameter 'enable_percpu_irq' extern void enable_percpu_irq(unsigned int irq, unsigned int type); ^ /kisskb/src/include/linux/interrupt.h:232:13: error: storage class specified for parameter 'irq_percpu_is_enabled' extern bool irq_percpu_is_enabled(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:233:13: error: storage class specified for parameter 'irq_wake_thread' extern void irq_wake_thread(unsigned int irq, void *dev_id); ^ /kisskb/src/include/linux/interrupt.h:235:13: error: storage class specified for parameter 'disable_nmi_nosync' extern void disable_nmi_nosync(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:236:13: error: storage class specified for parameter 'disable_percpu_nmi' extern void disable_percpu_nmi(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:237:13: error: storage class specified for parameter 'enable_nmi' extern void enable_nmi(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:238:13: error: storage class specified for parameter 'enable_percpu_nmi' extern void enable_percpu_nmi(unsigned int irq, unsigned int type); ^ /kisskb/src/include/linux/interrupt.h:239:12: error: storage class specified for parameter 'prepare_percpu_nmi' extern int prepare_percpu_nmi(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:240:13: error: storage class specified for parameter 'teardown_percpu_nmi' extern void teardown_percpu_nmi(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:242:12: error: storage class specified for parameter 'irq_inject_interrupt' extern int irq_inject_interrupt(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:245:13: error: storage class specified for parameter 'suspend_device_irqs' extern void suspend_device_irqs(void); ^ /kisskb/src/include/linux/interrupt.h:246:13: error: storage class specified for parameter 'resume_device_irqs' extern void resume_device_irqs(void); ^ /kisskb/src/include/linux/interrupt.h:247:13: error: storage class specified for parameter 'rearm_wake_irq' extern void rearm_wake_irq(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:261:1: error: empty declaration [-Werror] struct irq_affinity_notify { ^ /kisskb/src/include/linux/interrupt.h:285:1: error: empty declaration [-Werror] struct irq_affinity { ^ /kisskb/src/include/linux/interrupt.h:299:1: error: empty declaration [-Werror] struct irq_affinity_desc { ^ /kisskb/src/include/linux/interrupt.h:306:22: error: storage class specified for parameter 'irq_default_affinity' extern cpumask_var_t irq_default_affinity; ^ /kisskb/src/include/linux/interrupt.h:308:12: error: storage class specified for parameter 'irq_set_affinity' extern int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask); ^ /kisskb/src/include/linux/interrupt.h:309:12: error: storage class specified for parameter 'irq_force_affinity' extern int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask); ^ /kisskb/src/include/linux/interrupt.h:311:12: error: storage class specified for parameter 'irq_can_set_affinity' extern int irq_can_set_affinity(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:312:12: error: storage class specified for parameter 'irq_select_affinity' extern int irq_select_affinity(unsigned int irq); ^ /kisskb/src/include/linux/interrupt.h:314:12: error: storage class specified for parameter '__irq_apply_affinity_hint' extern int __irq_apply_affinity_hint(unsigned int irq, const struct cpumask *m, ^ /kisskb/src/include/linux/interrupt.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:350:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:354:12: error: storage class specified for parameter 'irq_update_affinity_desc' extern int irq_update_affinity_desc(unsigned int irq, ^ /kisskb/src/include/linux/interrupt.h:358:1: error: storage class specified for parameter 'irq_set_affinity_notifier' irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify); ^ /kisskb/src/include/linux/interrupt.h:442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:482:12: error: storage class specified for parameter 'irq_set_irq_wake' extern int irq_set_irq_wake(unsigned int irq, unsigned int on); ^ /kisskb/src/include/linux/interrupt.h:485:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:497:1: error: empty declaration [-Werror] enum irqchip_irq_state { ^ /kisskb/src/include/linux/interrupt.h:504:12: error: storage class specified for parameter 'irq_get_irqchip_state' extern int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which, ^ /kisskb/src/include/linux/interrupt.h:506:12: error: storage class specified for parameter 'irq_set_irqchip_state' extern int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/interrupt.h:513:26: error: storage class specified for parameter 'force_irqthreads_key' DECLARE_STATIC_KEY_FALSE(force_irqthreads_key); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/kernel_stat.h:9:0, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/interrupt.h:548:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/linux/interrupt.h:578:27: error: storage class specified for parameter 'softirq_to_name' extern const char * const softirq_to_name[NR_SOFTIRQS]; ^ /kisskb/src/include/linux/interrupt.h:584:1: error: empty declaration [-Werror] struct softirq_action ^ /kisskb/src/include/linux/interrupt.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:601:13: error: storage class specified for parameter 'open_softirq' extern void open_softirq(int nr, void (*action)(struct softirq_action *)); ^ /kisskb/src/include/linux/interrupt.h:602:13: error: storage class specified for parameter 'softirq_init' extern void softirq_init(void); ^ /kisskb/src/include/linux/interrupt.h:603:13: error: storage class specified for parameter '__raise_softirq_irqoff' extern void __raise_softirq_irqoff(unsigned int nr); ^ /kisskb/src/include/linux/interrupt.h:605:13: error: storage class specified for parameter 'raise_softirq_irqoff' extern void raise_softirq_irqoff(unsigned int nr); ^ /kisskb/src/include/linux/interrupt.h:606:13: error: storage class specified for parameter 'raise_softirq' extern void raise_softirq(unsigned int nr); ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_ksoftirqd' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/interrupt.h:608:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_ksoftirqd' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/interrupt.h:608:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ /kisskb/src/include/linux/interrupt.h:608:39: error: storage class specified for parameter 'ksoftirqd' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/interrupt.h:608:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ /kisskb/src/include/linux/interrupt.h:608:39: error: section attribute not allowed for 'ksoftirqd' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/interrupt.h:608:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct task_struct *, ksoftirqd); ^ In file included from /kisskb/src/include/linux/kernel_stat.h:9:0, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/interrupt.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:638:1: error: empty declaration [-Werror] struct tasklet_struct ^ /kisskb/src/include/linux/interrupt.h:680:1: error: empty declaration [-Werror] enum ^ /kisskb/src/include/linux/interrupt.h:688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:703:13: error: storage class specified for parameter '__tasklet_schedule' extern void __tasklet_schedule(struct tasklet_struct *t); ^ /kisskb/src/include/linux/interrupt.h:706:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:711:13: error: storage class specified for parameter '__tasklet_hi_schedule' extern void __tasklet_hi_schedule(struct tasklet_struct *t); ^ /kisskb/src/include/linux/interrupt.h:714:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:720:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:737:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:744:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:749:13: error: storage class specified for parameter 'tasklet_kill' extern void tasklet_kill(struct tasklet_struct *t); ^ /kisskb/src/include/linux/interrupt.h:750:13: error: storage class specified for parameter 'tasklet_init' extern void tasklet_init(struct tasklet_struct *t, ^ /kisskb/src/include/linux/interrupt.h:752:13: error: storage class specified for parameter 'tasklet_setup' extern void tasklet_setup(struct tasklet_struct *t, ^ /kisskb/src/include/linux/interrupt.h:785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:789:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:793:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:804:13: error: storage class specified for parameter 'init_irq_proc' extern void init_irq_proc(void); ^ /kisskb/src/include/linux/interrupt.h:817:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/interrupt.h:821:12: error: storage class specified for parameter 'early_irq_init' extern int early_irq_init(void); ^ /kisskb/src/include/linux/interrupt.h:822:12: error: storage class specified for parameter 'arch_probe_nr_irqs' extern int arch_probe_nr_irqs(void); ^ /kisskb/src/include/linux/interrupt.h:823:12: error: storage class specified for parameter 'arch_early_irq_init' extern int arch_early_irq_init(void); ^ In file included from /kisskb/src/include/linux/cgroup.h:26:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kernel_stat.h:20:1: error: empty declaration [-Werror] enum cpu_usage_stat { ^ /kisskb/src/include/linux/kernel_stat.h:37:1: error: empty declaration [-Werror] struct kernel_cpustat { ^ /kisskb/src/include/linux/kernel_stat.h:41:1: error: empty declaration [-Werror] struct kernel_stat { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_kstat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/kernel_stat.h:46:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_kstat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/kernel_stat.h:46:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/kernel_stat.h:46:37: error: storage class specified for parameter 'kstat' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/kernel_stat.h:46:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/kernel_stat.h:46:37: error: section attribute not allowed for 'kstat' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/kernel_stat.h:46:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_stat, kstat); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_kernel_cpustat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/kernel_stat.h:47:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_kernel_cpustat' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/kernel_stat.h:47:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ /kisskb/src/include/linux/kernel_stat.h:47:40: error: storage class specified for parameter 'kernel_cpustat' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/kernel_stat.h:47:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ /kisskb/src/include/linux/kernel_stat.h:47:40: error: section attribute not allowed for 'kernel_cpustat' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/kernel_stat.h:47:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); ^ In file included from /kisskb/src/include/linux/cgroup.h:26:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kernel_stat.h:55:27: error: storage class specified for parameter 'nr_context_switches' extern unsigned long long nr_context_switches(void); ^ /kisskb/src/include/linux/kernel_stat.h:57:21: error: storage class specified for parameter 'kstat_irqs_cpu' extern unsigned int kstat_irqs_cpu(unsigned int irq, int cpu); ^ /kisskb/src/include/linux/kernel_stat.h:58:13: error: storage class specified for parameter 'kstat_incr_irq_this_cpu' extern void kstat_incr_irq_this_cpu(unsigned int irq); ^ /kisskb/src/include/linux/kernel_stat.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernel_stat.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernel_stat.h:73:21: error: storage class specified for parameter 'kstat_irqs_usr' extern unsigned int kstat_irqs_usr(unsigned int irq); ^ /kisskb/src/include/linux/kernel_stat.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernel_stat.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernel_stat.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kernel_stat.h:101:13: error: storage class specified for parameter 'account_user_time' extern void account_user_time(struct task_struct *, u64); ^ /kisskb/src/include/linux/kernel_stat.h:102:13: error: storage class specified for parameter 'account_guest_time' extern void account_guest_time(struct task_struct *, u64); ^ /kisskb/src/include/linux/kernel_stat.h:103:13: error: storage class specified for parameter 'account_system_time' extern void account_system_time(struct task_struct *, int, u64); ^ /kisskb/src/include/linux/kernel_stat.h:104:13: error: storage class specified for parameter 'account_system_index_time' extern void account_system_index_time(struct task_struct *, u64, ^ /kisskb/src/include/linux/kernel_stat.h:106:13: error: storage class specified for parameter 'account_steal_time' extern void account_steal_time(u64); ^ /kisskb/src/include/linux/kernel_stat.h:107:13: error: storage class specified for parameter 'account_idle_time' extern void account_idle_time(u64); ^ /kisskb/src/include/linux/kernel_stat.h:108:12: error: storage class specified for parameter 'get_idle_time' extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu); ^ /kisskb/src/include/linux/kernel_stat.h:116:13: error: storage class specified for parameter 'account_process_tick' extern void account_process_tick(struct task_struct *, int user); ^ /kisskb/src/include/linux/kernel_stat.h:119:13: error: storage class specified for parameter 'account_idle_ticks' extern void account_idle_ticks(unsigned long ticks); ^ /kisskb/src/include/linux/kernel_stat.h:122:13: error: storage class specified for parameter '__account_forceidle_time' extern void __account_forceidle_time(struct task_struct *tsk, u64 delta); ^ In file included from /kisskb/src/include/linux/cgroup-defs.h:20:0, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/u64_stats_sync.h:64:1: error: empty declaration [-Werror] struct u64_stats_sync { ^ In file included from /kisskb/src/include/asm-generic/local64.h:22:0, from ./arch/powerpc/include/generated/asm/local64.h:1, from /kisskb/src/include/linux/u64_stats_sync.h:71, from /kisskb/src/include/linux/cgroup-defs.h:20, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/local.h:16:3: error: storage class specified for parameter 'local_t' } local_t; ^ /kisskb/src/arch/powerpc/include/asm/local.h:20:41: error: type defaults to 'int' in declaration of 'local_t' [-Werror=implicit-int] static __inline__ long local_read(const local_t *l) ^ /kisskb/src/arch/powerpc/include/asm/local.h:20:49: error: expected ';', ',' or ')' before '*' token static __inline__ long local_read(const local_t *l) ^ /kisskb/src/arch/powerpc/include/asm/local.h:25:34: error: expected declaration specifiers or '...' before 'local_t' static __inline__ void local_set(local_t *l, long i) ^ /kisskb/src/arch/powerpc/include/asm/local.h:31:43: error: expected declaration specifiers or '...' before 'local_t' static __inline__ void local_##op(long i, local_t *l) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:54:2: note: in expansion of macro 'LOCAL_OP' LOCAL_OP(op, c_op) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:57:1: note: in expansion of macro 'LOCAL_OPS' LOCAL_OPS(add, +=) ^ /kisskb/src/arch/powerpc/include/asm/local.h:41:52: error: expected declaration specifiers or '...' before 'local_t' static __inline__ long local_##op##_return(long a, local_t *l) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:55:2: note: in expansion of macro 'LOCAL_OP_RETURN' LOCAL_OP_RETURN(op, c_op) ^ /kisskb/src/arch/powerpc/include/asm/local.h:57:1: note: in expansion of macro 'LOCAL_OPS' LOCAL_OPS(add, +=) ^ /kisskb/src/arch/powerpc/include/asm/local.h:31:43: error: expected declaration specifiers or '...' before 'local_t' static __inline__ void local_##op(long i, local_t *l) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:54:2: note: in expansion of macro 'LOCAL_OP' LOCAL_OP(op, c_op) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:58:1: note: in expansion of macro 'LOCAL_OPS' LOCAL_OPS(sub, -=) ^ /kisskb/src/arch/powerpc/include/asm/local.h:41:52: error: expected declaration specifiers or '...' before 'local_t' static __inline__ long local_##op##_return(long a, local_t *l) \ ^ /kisskb/src/arch/powerpc/include/asm/local.h:55:2: note: in expansion of macro 'LOCAL_OP_RETURN' LOCAL_OP_RETURN(op, c_op) ^ /kisskb/src/arch/powerpc/include/asm/local.h:58:1: note: in expansion of macro 'LOCAL_OPS' LOCAL_OPS(sub, -=) ^ /kisskb/src/arch/powerpc/include/asm/local.h:79:38: error: expected declaration specifiers or '...' before 'local_t' static __inline__ long local_cmpxchg(local_t *l, long o, long n) ^ /kisskb/src/arch/powerpc/include/asm/local.h:93:35: error: expected declaration specifiers or '...' before 'local_t' static __inline__ long local_xchg(local_t *l, long n) ^ /kisskb/src/arch/powerpc/include/asm/local.h:115:40: error: expected declaration specifiers or '...' before 'local_t' static __inline__ int local_add_unless(local_t *l, long a, long u) ^ In file included from ./arch/powerpc/include/generated/asm/local64.h:1:0, from /kisskb/src/include/linux/u64_stats_sync.h:71, from /kisskb/src/include/linux/cgroup-defs.h:20, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/local64.h:25:2: error: expected specifier-qualifier-list before 'local_t' local_t a; ^ /kisskb/src/include/asm-generic/local64.h:26:3: error: storage class specified for parameter 'local64_t' } local64_t; ^ In file included from /kisskb/src/include/linux/cgroup-defs.h:20:0, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/u64_stats_sync.h:74:2: error: expected specifier-qualifier-list before 'local64_t' local64_t v; ^ /kisskb/src/include/linux/u64_stats_sync.h:75:3: error: storage class specified for parameter 'u64_stats_t' } u64_stats_t ; ^ /kisskb/src/include/linux/u64_stats_sync.h:77:40: error: type defaults to 'int' in declaration of 'u64_stats_t' [-Werror=implicit-int] static inline u64 u64_stats_read(const u64_stats_t *p) ^ /kisskb/src/include/linux/u64_stats_sync.h:77:52: error: expected ';', ',' or ')' before '*' token static inline u64 u64_stats_read(const u64_stats_t *p) ^ /kisskb/src/include/linux/u64_stats_sync.h:82:34: error: expected declaration specifiers or '...' before 'u64_stats_t' static inline void u64_stats_set(u64_stats_t *p, u64 val) ^ /kisskb/src/include/linux/u64_stats_sync.h:87:34: error: expected declaration specifiers or '...' before 'u64_stats_t' static inline void u64_stats_add(u64_stats_t *p, unsigned long val) ^ /kisskb/src/include/linux/u64_stats_sync.h:92:34: error: expected declaration specifiers or '...' before 'u64_stats_t' static inline void u64_stats_inc(u64_stats_t *p) ^ /kisskb/src/include/linux/u64_stats_sync.h:97:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void u64_stats_init(struct u64_stats_sync *syncp) { } ^ /kisskb/src/include/linux/u64_stats_sync.h:98:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __u64_stats_update_begin(struct u64_stats_sync *syncp) { } ^ /kisskb/src/include/linux/u64_stats_sync.h:99:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __u64_stats_update_end(struct u64_stats_sync *syncp) { } ^ /kisskb/src/include/linux/u64_stats_sync.h:100:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned long __u64_stats_irqsave(void) { return 0; } ^ /kisskb/src/include/linux/u64_stats_sync.h:101:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __u64_stats_irqrestore(unsigned long flags) { } ^ /kisskb/src/include/linux/u64_stats_sync.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:212:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/u64_stats_sync.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cgroup-defs.h:22:0, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/bpf-cgroup-defs.h:11:1: error: empty declaration [-Werror] struct bpf_prog_array; ^ /kisskb/src/include/linux/bpf-cgroup-defs.h:20:1: error: empty declaration [-Werror] enum cgroup_bpf_attach_type { ^ /kisskb/src/include/linux/bpf-cgroup-defs.h:50:1: error: empty declaration [-Werror] struct cgroup_bpf { ^ In file included from /kisskb/src/include/linux/psi_types.h:5:0, from /kisskb/src/include/linux/cgroup-defs.h:23, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kthread.h:8:1: error: empty declaration [-Werror] struct mm_struct; ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/kthread.h:10:1: note: in expansion of macro '__printf' __printf(4, 5) ^ In file included from /kisskb/src/include/linux/psi_types.h:5:0, from /kisskb/src/include/linux/cgroup-defs.h:23, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kthread.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kthread.h:103:28: error: storage class specified for parameter 'kthreadd_task' extern struct task_struct *kthreadd_task; ^ /kisskb/src/include/linux/kthread.h:104:12: error: storage class specified for parameter 'tsk_fork_get_node' extern int tsk_fork_get_node(struct task_struct *tsk); ^ /kisskb/src/include/linux/kthread.h:114:1: error: empty declaration [-Werror] struct kthread_work; ^ /kisskb/src/include/linux/kthread.h:115:16: error: storage class specified for parameter 'kthread_work_func_t' typedef void (*kthread_work_func_t)(struct kthread_work *work); ^ /kisskb/src/include/linux/kthread.h:118:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/kthread.h:122:1: error: empty declaration [-Werror] struct kthread_worker { ^ /kisskb/src/include/linux/kthread.h:133:2: error: expected specifier-qualifier-list before 'kthread_work_func_t' kthread_work_func_t func; ^ /kisskb/src/include/linux/kthread.h:131:1: error: empty declaration [-Werror] struct kthread_work { ^ /kisskb/src/include/linux/kthread.h:139:1: error: empty declaration [-Werror] struct kthread_delayed_work { ^ /kisskb/src/include/linux/kthread.h:162:13: error: storage class specified for parameter '__kthread_init_worker' extern void __kthread_init_worker(struct kthread_worker *worker, ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/kthread.h:188:1: note: in expansion of macro '__printf' __printf(2, 3) ^ /kisskb/src/include/linux/compiler_attributes.h:166:41: error: expected declaration specifiers before '__attribute__' #define __printf(a, b) __attribute__((__format__(printf, a, b))) ^ /kisskb/src/include/linux/kthread.h:192:1: note: in expansion of macro '__printf' __printf(3, 4) struct kthread_worker * ^ In file included from /kisskb/src/include/linux/psi_types.h:5:0, from /kisskb/src/include/linux/cgroup-defs.h:23, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kthread.h:218:1: error: empty declaration [-Werror] struct cgroup_subsys_state; ^ In file included from /kisskb/src/include/linux/cgroup-defs.h:23:0, from /kisskb/src/include/linux/cgroup.h:28, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/psi_types.h:14:1: error: empty declaration [-Werror] enum psi_task_count { ^ /kisskb/src/include/linux/psi_types.h:41:1: error: empty declaration [-Werror] enum psi_res { ^ /kisskb/src/include/linux/psi_types.h:57:1: error: empty declaration [-Werror] enum psi_states { ^ /kisskb/src/include/linux/psi_types.h:75:1: error: empty declaration [-Werror] enum psi_aggregators { ^ /kisskb/src/include/linux/psi_types.h:81:1: error: empty declaration [-Werror] struct psi_group_cpu { ^ /kisskb/src/include/linux/psi_types.h:107:1: error: empty declaration [-Werror] struct psi_window { ^ /kisskb/src/include/linux/psi_types.h:121:1: error: empty declaration [-Werror] struct psi_trigger { ^ /kisskb/src/include/linux/psi_types.h:153:1: error: empty declaration [-Werror] struct psi_group { ^ In file included from /kisskb/src/include/linux/cgroup.h:28:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cgroup-defs.h:27:1: error: empty declaration [-Werror] struct cgroup; ^ /kisskb/src/include/linux/cgroup-defs.h:28:1: error: empty declaration [-Werror] struct cgroup_root; ^ /kisskb/src/include/linux/cgroup-defs.h:29:1: error: empty declaration [-Werror] struct cgroup_subsys; ^ /kisskb/src/include/linux/cgroup-defs.h:30:1: error: empty declaration [-Werror] struct cgroup_taskset; ^ /kisskb/src/include/linux/cgroup-defs.h:31:1: error: empty declaration [-Werror] struct kernfs_node; ^ /kisskb/src/include/linux/cgroup-defs.h:32:1: error: empty declaration [-Werror] struct kernfs_ops; ^ /kisskb/src/include/linux/cgroup-defs.h:33:1: error: empty declaration [-Werror] struct kernfs_open_file; ^ /kisskb/src/include/linux/cgroup-defs.h:34:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/cgroup-defs.h:35:1: error: empty declaration [-Werror] struct poll_table_struct; ^ /kisskb/src/include/linux/cgroup-defs.h:43:1: error: empty declaration [-Werror] enum cgroup_subsys_id { ^ In file included from /kisskb/src/include/linux/cgroup.h:28:0, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cgroup-defs.h:50:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/cgroup-defs.h:59:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/cgroup-defs.h:80:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/cgroup-defs.h:121:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/cgroup-defs.h:141:1: error: empty declaration [-Werror] struct cgroup_file { ^ /kisskb/src/include/linux/cgroup-defs.h:155:1: error: empty declaration [-Werror] struct cgroup_subsys_state { ^ /kisskb/src/include/linux/cgroup-defs.h:212:1: error: empty declaration [-Werror] struct css_set { ^ /kisskb/src/include/linux/cgroup-defs.h:302:1: error: empty declaration [-Werror] struct cgroup_base_stat { ^ /kisskb/src/include/linux/cgroup-defs.h:330:1: error: empty declaration [-Werror] struct cgroup_rstat_cpu { ^ /kisskb/src/include/linux/cgroup-defs.h:359:1: error: empty declaration [-Werror] struct cgroup_freezer_state { ^ /kisskb/src/include/linux/cgroup-defs.h:378:1: error: empty declaration [-Werror] struct cgroup { ^ /kisskb/src/include/linux/cgroup-defs.h:519:1: error: empty declaration [-Werror] struct cgroup_root { ^ /kisskb/src/include/linux/cgroup-defs.h:561:1: error: empty declaration [-Werror] struct cftype { ^ /kisskb/src/include/linux/cgroup-defs.h:650:1: error: empty declaration [-Werror] struct cgroup_subsys { ^ /kisskb/src/include/linux/cgroup-defs.h:736:35: error: storage class specified for parameter 'cgroup_threadgroup_rwsem' extern struct percpu_rw_semaphore cgroup_threadgroup_rwsem; ^ /kisskb/src/include/linux/cgroup-defs.h:746:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup-defs.h:757:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup-defs.h:786:1: error: empty declaration [-Werror] struct sock_cgroup_data { ^ /kisskb/src/include/linux/cgroup-defs.h:797:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup-defs.h:806:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup-defs.h:816:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup-defs.h:824:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memcontrol.h:13:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cgroup.h:30:1: error: empty declaration [-Werror] struct kernel_clone_args; ^ /kisskb/src/include/linux/cgroup.h:52:1: error: empty declaration [-Werror] struct css_task_iter { ^ /kisskb/src/include/linux/cgroup.h:71:27: error: storage class specified for parameter 'cgrp_dfl_root' extern struct cgroup_root cgrp_dfl_root; ^ /kisskb/src/include/linux/cgroup.h:72:23: error: storage class specified for parameter 'init_css_set' extern struct css_set init_css_set; ^ /kisskb/src/include/linux/cgroup_subsys.h:13:8: error: storage class specified for parameter 'cpuset_cgrp_subsys' SUBSYS(cpuset) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:17:8: error: storage class specified for parameter 'cpu_cgrp_subsys' SUBSYS(cpu) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:21:8: error: storage class specified for parameter 'cpuacct_cgrp_subsys' SUBSYS(cpuacct) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:25:8: error: storage class specified for parameter 'io_cgrp_subsys' SUBSYS(io) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:29:8: error: storage class specified for parameter 'memory_cgrp_subsys' SUBSYS(memory) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:33:8: error: storage class specified for parameter 'devices_cgrp_subsys' SUBSYS(devices) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:37:8: error: storage class specified for parameter 'freezer_cgrp_subsys' SUBSYS(freezer) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:41:8: error: storage class specified for parameter 'net_cls_cgrp_subsys' SUBSYS(net_cls) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:45:8: error: storage class specified for parameter 'perf_event_cgrp_subsys' SUBSYS(perf_event) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:49:8: error: storage class specified for parameter 'net_prio_cgrp_subsys' SUBSYS(net_prio) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:53:8: error: storage class specified for parameter 'hugetlb_cgrp_subsys' SUBSYS(hugetlb) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:57:8: error: storage class specified for parameter 'pids_cgrp_subsys' SUBSYS(pids) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:61:8: error: storage class specified for parameter 'rdma_cgrp_subsys' SUBSYS(rdma) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:65:8: error: storage class specified for parameter 'misc_cgrp_subsys' SUBSYS(misc) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ /kisskb/src/include/linux/cgroup_subsys.h:72:8: error: storage class specified for parameter 'debug_cgrp_subsys' SUBSYS(debug) ^ /kisskb/src/include/linux/cgroup.h:74:48: note: in definition of macro 'SUBSYS' #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; ^ In file included from /kisskb/src/include/linux/memcontrol.h:13:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cgroup_subsys.h:13:8: error: storage class specified for parameter 'cpuset_cgrp_subsys_enabled_key' SUBSYS(cpuset) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:13:8: error: storage class specified for parameter 'cpuset_cgrp_subsys_on_dfl_key' SUBSYS(cpuset) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:17:8: error: storage class specified for parameter 'cpu_cgrp_subsys_enabled_key' SUBSYS(cpu) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:17:8: error: storage class specified for parameter 'cpu_cgrp_subsys_on_dfl_key' SUBSYS(cpu) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:21:8: error: storage class specified for parameter 'cpuacct_cgrp_subsys_enabled_key' SUBSYS(cpuacct) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:21:8: error: storage class specified for parameter 'cpuacct_cgrp_subsys_on_dfl_key' SUBSYS(cpuacct) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:25:8: error: storage class specified for parameter 'io_cgrp_subsys_enabled_key' SUBSYS(io) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:25:8: error: storage class specified for parameter 'io_cgrp_subsys_on_dfl_key' SUBSYS(io) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:29:8: error: storage class specified for parameter 'memory_cgrp_subsys_enabled_key' SUBSYS(memory) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:29:8: error: storage class specified for parameter 'memory_cgrp_subsys_on_dfl_key' SUBSYS(memory) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:33:8: error: storage class specified for parameter 'devices_cgrp_subsys_enabled_key' SUBSYS(devices) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:33:8: error: storage class specified for parameter 'devices_cgrp_subsys_on_dfl_key' SUBSYS(devices) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:37:8: error: storage class specified for parameter 'freezer_cgrp_subsys_enabled_key' SUBSYS(freezer) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:37:8: error: storage class specified for parameter 'freezer_cgrp_subsys_on_dfl_key' SUBSYS(freezer) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:41:8: error: storage class specified for parameter 'net_cls_cgrp_subsys_enabled_key' SUBSYS(net_cls) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:41:8: error: storage class specified for parameter 'net_cls_cgrp_subsys_on_dfl_key' SUBSYS(net_cls) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:45:8: error: storage class specified for parameter 'perf_event_cgrp_subsys_enabled_key' SUBSYS(perf_event) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:45:8: error: storage class specified for parameter 'perf_event_cgrp_subsys_on_dfl_key' SUBSYS(perf_event) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:49:8: error: storage class specified for parameter 'net_prio_cgrp_subsys_enabled_key' SUBSYS(net_prio) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:49:8: error: storage class specified for parameter 'net_prio_cgrp_subsys_on_dfl_key' SUBSYS(net_prio) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:53:8: error: storage class specified for parameter 'hugetlb_cgrp_subsys_enabled_key' SUBSYS(hugetlb) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:53:8: error: storage class specified for parameter 'hugetlb_cgrp_subsys_on_dfl_key' SUBSYS(hugetlb) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:57:8: error: storage class specified for parameter 'pids_cgrp_subsys_enabled_key' SUBSYS(pids) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:57:8: error: storage class specified for parameter 'pids_cgrp_subsys_on_dfl_key' SUBSYS(pids) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:61:8: error: storage class specified for parameter 'rdma_cgrp_subsys_enabled_key' SUBSYS(rdma) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:61:8: error: storage class specified for parameter 'rdma_cgrp_subsys_on_dfl_key' SUBSYS(rdma) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:65:8: error: storage class specified for parameter 'misc_cgrp_subsys_enabled_key' SUBSYS(misc) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:65:8: error: storage class specified for parameter 'misc_cgrp_subsys_on_dfl_key' SUBSYS(misc) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ /kisskb/src/include/linux/cgroup_subsys.h:72:8: error: storage class specified for parameter 'debug_cgrp_subsys_enabled_key' SUBSYS(debug) ^ /kisskb/src/include/linux/cgroup.h:79:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ ^ /kisskb/src/include/linux/cgroup_subsys.h:72:8: error: storage class specified for parameter 'debug_cgrp_subsys_on_dfl_key' SUBSYS(debug) ^ /kisskb/src/include/linux/cgroup.h:80:32: note: in definition of macro 'SUBSYS' extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; ^ In file included from /kisskb/src/include/linux/memcontrol.h:13:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cgroup.h:125:12: error: storage class specified for parameter 'cgroup_can_fork' extern int cgroup_can_fork(struct task_struct *p, ^ /kisskb/src/include/linux/cgroup.h:127:13: error: storage class specified for parameter 'cgroup_cancel_fork' extern void cgroup_cancel_fork(struct task_struct *p, ^ /kisskb/src/include/linux/cgroup.h:129:13: error: storage class specified for parameter 'cgroup_post_fork' extern void cgroup_post_fork(struct task_struct *p, ^ /kisskb/src/include/linux/cgroup.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:370:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:392:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:403:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:436:21: error: storage class specified for parameter 'cgroup_mutex' extern struct mutex cgroup_mutex; ^ /kisskb/src/include/linux/cgroup.h:439:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:462:19: error: storage class specified for parameter 'css_set_lock' extern spinlock_t css_set_lock; ^ /kisskb/src/include/linux/cgroup.h:493:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:506:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:521:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:550:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:557:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:562:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:567:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:605:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:622:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:630:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:637:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:643:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:651:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:656:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:671:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:676:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:681:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:698:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:787:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:800:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:831:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:843:1: error: empty declaration [-Werror] struct cgroup_namespace { ^ /kisskb/src/include/linux/cgroup.h:850:32: error: storage class specified for parameter 'init_cgroup_ns' extern struct cgroup_namespace init_cgroup_ns; ^ /kisskb/src/include/linux/cgroup.h:876:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:882:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:897:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:914:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cgroup.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memcontrol.h:17:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/page_counter.h:10:1: error: empty declaration [-Werror] struct page_counter { ^ /kisskb/src/include/linux/page_counter.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_counter.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_counter.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_counter.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/vmpressure.h:11:0, from /kisskb/src/include/linux/memcontrol.h:18, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/eventfd.h:33:1: error: empty declaration [-Werror] struct eventfd_ctx; ^ /kisskb/src/include/linux/eventfd.h:34:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/eventfd.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memcontrol.h:18:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/vmpressure.h:13:1: error: empty declaration [-Werror] struct vmpressure { ^ /kisskb/src/include/linux/vmpressure.h:30:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/vmpressure.h:33:13: error: storage class specified for parameter 'vmpressure' extern void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, ^ /kisskb/src/include/linux/vmpressure.h:35:13: error: storage class specified for parameter 'vmpressure_prio' extern void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio); ^ /kisskb/src/include/linux/vmpressure.h:37:13: error: storage class specified for parameter 'vmpressure_init' extern void vmpressure_init(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:38:13: error: storage class specified for parameter 'vmpressure_cleanup' extern void vmpressure_cleanup(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:39:27: error: storage class specified for parameter 'memcg_to_vmpressure' extern struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg); ^ /kisskb/src/include/linux/vmpressure.h:40:27: error: storage class specified for parameter 'vmpressure_to_memcg' extern struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:41:12: error: storage class specified for parameter 'vmpressure_register_event' extern int vmpressure_register_event(struct mem_cgroup *memcg, ^ /kisskb/src/include/linux/vmpressure.h:44:13: error: storage class specified for parameter 'vmpressure_unregister_event' extern void vmpressure_unregister_event(struct mem_cgroup *memcg, ^ In file included from /kisskb/src/include/linux/writeback.h:11:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/flex_proportions.h:28:1: error: empty declaration [-Werror] struct fprop_global { ^ /kisskb/src/include/linux/flex_proportions.h:44:1: error: empty declaration [-Werror] struct fprop_local_single { ^ /kisskb/src/include/linux/flex_proportions.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/flex_proportions.h:76:1: error: empty declaration [-Werror] struct fprop_local_percpu { ^ /kisskb/src/include/linux/flex_proportions.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/writeback.h:12:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/backing-dev-defs.h:17:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/backing-dev-defs.h:18:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/backing-dev-defs.h:19:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/backing-dev-defs.h:24:1: error: empty declaration [-Werror] enum wb_state { ^ /kisskb/src/include/linux/backing-dev-defs.h:31:1: error: empty declaration [-Werror] enum wb_stat_item { ^ /kisskb/src/include/linux/backing-dev-defs.h:44:1: error: empty declaration [-Werror] enum wb_reason { ^ /kisskb/src/include/linux/backing-dev-defs.h:63:1: error: empty declaration [-Werror] struct wb_completion { ^ /kisskb/src/include/linux/backing-dev-defs.h:105:1: error: empty declaration [-Werror] struct bdi_writeback { ^ /kisskb/src/include/linux/backing-dev-defs.h:165:1: error: empty declaration [-Werror] struct backing_dev_info { ^ /kisskb/src/include/linux/backing-dev-defs.h:203:1: error: empty declaration [-Werror] struct wb_lock_cookie { ^ /kisskb/src/include/linux/backing-dev-defs.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/cacheflush.h:5:0, from /kisskb/src/include/linux/highmem.h:8, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/arch/powerpc/include/asm/cacheflush.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/cacheflush.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/cacheflush.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/cacheflush.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/cacheflush.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/cacheflush.h:128:0, from /kisskb/src/include/linux/cacheflush.h:5, from /kisskb/src/include/linux/highmem.h:8, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/asm-generic/cacheflush.h:7:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/include/asm-generic/cacheflush.h:8:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/asm-generic/cacheflush.h:9:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/asm-generic/cacheflush.h:10:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/asm-generic/cacheflush.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/highmem.h:8:0, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/cacheflush.h:7:1: error: empty declaration [-Werror] struct folio; ^ In file included from /kisskb/src/include/linux/kmsan.h:12:0, from /kisskb/src/include/linux/highmem.h:9, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/dma-direction.h:5:1: error: empty declaration [-Werror] enum dma_data_direction { ^ /kisskb/src/include/linux/dma-direction.h:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/highmem.h:9:0, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/kmsan.h:17:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/kmsan.h:18:1: error: empty declaration [-Werror] struct kmem_cache; ^ /kisskb/src/include/linux/kmsan.h:19:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/kmsan.h:20:1: error: empty declaration [-Werror] struct scatterlist; ^ /kisskb/src/include/linux/kmsan.h:21:1: error: empty declaration [-Werror] struct urb; ^ /kisskb/src/include/linux/kmsan.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:268:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:289:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:302:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kmsan.h:325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/highmem.h:14:0, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/highmem-internal.h:20:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kmap_local_fork(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/highmem-internal.h:21:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kmap_assert_nomap(void) { } ^ /kisskb/src/include/linux/highmem-internal.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:170:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kunmap_high(struct page *page) { } ^ /kisskb/src/include/linux/highmem-internal.h:171:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kmap_flush_unused(void) { } ^ /kisskb/src/include/linux/highmem-internal.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem-internal.h:239:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned int nr_free_highpages(void) { return 0; } ^ /kisskb/src/include/linux/highmem-internal.h:240:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned long totalhigh_pages(void) { return 0UL; } ^ /kisskb/src/include/linux/highmem-internal.h:243:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/bvec.h:10:0, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/highmem.h:37:21: error: storage class specified for parameter 'kmap' static inline void *kmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:37:21: error: parameter 'kmap' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:37:33: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void *kmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:37:21: error: '__no_instrument_function__' attribute applies only to functions static inline void *kmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:46:20: error: storage class specified for parameter 'kunmap' static inline void kunmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:46:20: error: parameter 'kunmap' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:46:34: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void kunmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:46:20: error: '__no_instrument_function__' attribute applies only to functions static inline void kunmap(struct page *page); ^ /kisskb/src/include/linux/highmem.h:54:28: error: storage class specified for parameter 'kmap_to_page' static inline struct page *kmap_to_page(void *addr); ^ /kisskb/src/include/linux/highmem.h:54:28: error: parameter 'kmap_to_page' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:54:22: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline struct page *kmap_to_page(void *addr); ^ /kisskb/src/include/linux/highmem.h:54:28: error: '__no_instrument_function__' attribute applies only to functions static inline struct page *kmap_to_page(void *addr); ^ /kisskb/src/include/linux/highmem.h:60:20: error: storage class specified for parameter 'kmap_flush_unused' static inline void kmap_flush_unused(void); ^ /kisskb/src/include/linux/highmem.h:60:20: error: parameter 'kmap_flush_unused' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:60:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void kmap_flush_unused(void); ^ /kisskb/src/include/linux/highmem.h:60:20: error: '__no_instrument_function__' attribute applies only to functions static inline void kmap_flush_unused(void); ^ /kisskb/src/include/linux/highmem.h:96:21: error: storage class specified for parameter 'kmap_local_page' static inline void *kmap_local_page(struct page *page); ^ /kisskb/src/include/linux/highmem.h:96:21: error: parameter 'kmap_local_page' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:96:44: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void *kmap_local_page(struct page *page); ^ /kisskb/src/include/linux/highmem.h:96:21: error: '__no_instrument_function__' attribute applies only to functions static inline void *kmap_local_page(struct page *page); ^ /kisskb/src/include/linux/highmem.h:133:21: error: storage class specified for parameter 'kmap_local_folio' static inline void *kmap_local_folio(struct folio *folio, size_t offset); ^ /kisskb/src/include/linux/highmem.h:133:21: error: parameter 'kmap_local_folio' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:133:45: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void *kmap_local_folio(struct folio *folio, size_t offset); ^ /kisskb/src/include/linux/highmem.h:133:21: error: '__no_instrument_function__' attribute applies only to functions static inline void *kmap_local_folio(struct folio *folio, size_t offset); ^ /kisskb/src/include/linux/highmem.h:180:21: error: storage class specified for parameter 'kmap_atomic' static inline void *kmap_atomic(struct page *page); ^ /kisskb/src/include/linux/highmem.h:180:21: error: parameter 'kmap_atomic' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:180:40: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline void *kmap_atomic(struct page *page); ^ /kisskb/src/include/linux/highmem.h:180:21: error: '__no_instrument_function__' attribute applies only to functions static inline void *kmap_atomic(struct page *page); ^ /kisskb/src/include/linux/highmem.h:183:28: error: storage class specified for parameter 'nr_free_highpages' static inline unsigned int nr_free_highpages(void); ^ /kisskb/src/include/linux/highmem.h:183:28: error: parameter 'nr_free_highpages' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:183:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline unsigned int nr_free_highpages(void); ^ /kisskb/src/include/linux/highmem.h:183:28: error: '__no_instrument_function__' attribute applies only to functions static inline unsigned int nr_free_highpages(void); ^ /kisskb/src/include/linux/highmem.h:184:29: error: storage class specified for parameter 'totalhigh_pages' static inline unsigned long totalhigh_pages(void); ^ /kisskb/src/include/linux/highmem.h:184:29: error: parameter 'totalhigh_pages' declared 'inline' [-Werror] /kisskb/src/include/linux/highmem.h:184:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline unsigned long totalhigh_pages(void); ^ /kisskb/src/include/linux/highmem.h:184:29: error: '__no_instrument_function__' attribute applies only to functions static inline unsigned long totalhigh_pages(void); ^ /kisskb/src/include/linux/highmem.h:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:275:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:295:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:309:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/highmem.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/blk_types.h:10:0, from /kisskb/src/include/linux/writeback.h:13, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/bvec.h:18:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/bvec.h:32:1: error: empty declaration [-Werror] struct bio_vec { ^ /kisskb/src/include/linux/bvec.h:38:1: error: empty declaration [-Werror] struct bvec_iter { ^ /kisskb/src/include/linux/bvec.h:49:1: error: empty declaration [-Werror] struct bvec_iter_all { ^ /kisskb/src/include/linux/bvec.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:217:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/writeback.h:13:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/blk_types.h:14:1: error: empty declaration [-Werror] struct bio_set; ^ /kisskb/src/include/linux/blk_types.h:15:1: error: empty declaration [-Werror] struct bio; ^ /kisskb/src/include/linux/blk_types.h:16:1: error: empty declaration [-Werror] struct bio_integrity_payload; ^ /kisskb/src/include/linux/blk_types.h:17:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/blk_types.h:18:1: error: empty declaration [-Werror] struct io_context; ^ /kisskb/src/include/linux/blk_types.h:19:1: error: empty declaration [-Werror] struct cgroup_subsys_state; ^ /kisskb/src/include/linux/blk_types.h:20:15: error: storage class specified for parameter 'bio_end_io_t' typedef void (bio_end_io_t) (struct bio *); ^ /kisskb/src/include/linux/blk_types.h:21:1: error: empty declaration [-Werror] struct bio_crypt_ctx; ^ /kisskb/src/include/linux/blk_types.h:40:1: error: empty declaration [-Werror] struct block_device { ^ /kisskb/src/include/linux/blk_types.h:90:22: error: storage class specified for parameter 'blk_status_t' typedef u8 __bitwise blk_status_t; ^ /kisskb/src/include/linux/blk_types.h:91:13: error: storage class specified for parameter 'blk_short_t' typedef u16 blk_short_t; ^ /kisskb/src/include/linux/blk_types.h:181:35: error: expected declaration specifiers or '...' before 'blk_status_t' static inline bool blk_path_error(blk_status_t error) ^ /kisskb/src/include/linux/blk_types.h:215:1: error: empty declaration [-Werror] struct bio_issue { ^ /kisskb/src/include/linux/blk_types.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:236:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:243:25: error: storage class specified for parameter 'blk_opf_t' typedef __u32 __bitwise blk_opf_t; ^ /kisskb/src/include/linux/blk_types.h:245:22: error: storage class specified for parameter 'blk_qc_t' typedef unsigned int blk_qc_t; ^ /kisskb/src/include/linux/blk_types.h:255:2: error: expected specifier-qualifier-list before 'blk_opf_t' blk_opf_t bi_opf; /* bottom bits REQ_OP, top bits ^ /kisskb/src/include/linux/blk_types.h:252:1: error: empty declaration [-Werror] struct bio { ^ /kisskb/src/include/linux/blk_types.h:320:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/blk_types.h:339:25: error: storage class specified for parameter 'blk_mq_req_flags_t' typedef __u32 __bitwise blk_mq_req_flags_t; ^ /kisskb/src/include/linux/blk_types.h:360:2: error: enumerator value for 'REQ_OP_READ' is not an integer constant REQ_OP_READ = (__force blk_opf_t)0, ^ /kisskb/src/include/linux/blk_types.h:360:36: error: expected ',' or '}' before numeric constant REQ_OP_READ = (__force blk_opf_t)0, ^ /kisskb/src/include/linux/blk_types.h:358:1: error: empty declaration [-Werror] enum req_op { ^ /kisskb/src/include/linux/blk_types.h:391:1: error: empty declaration [-Werror] enum req_flag_bits { ^ /kisskb/src/include/linux/blk_types.h:461:1: error: empty declaration [-Werror] enum stat_group { ^ /kisskb/src/include/linux/blk_types.h:471:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:477:9: error: expected declaration specifiers or '...' before 'blk_opf_t' blk_opf_t op_flags) ^ /kisskb/src/include/linux/blk_types.h:482:32: error: expected declaration specifiers or '...' before 'blk_opf_t' static inline bool op_is_write(blk_opf_t op) ^ /kisskb/src/include/linux/blk_types.h:491:32: error: expected declaration specifiers or '...' before 'blk_opf_t' static inline bool op_is_flush(blk_opf_t op) ^ /kisskb/src/include/linux/blk_types.h:501:31: error: expected declaration specifiers or '...' before 'blk_opf_t' static inline bool op_is_sync(blk_opf_t op) ^ /kisskb/src/include/linux/blk_types.h:507:34: error: expected declaration specifiers or '...' before 'blk_opf_t' static inline bool op_is_discard(blk_opf_t op) ^ /kisskb/src/include/linux/blk_types.h:519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/blk_types.h:538:1: error: empty declaration [-Werror] struct blk_rq_stat { ^ In file included from /kisskb/src/include/linux/memcontrol.h:22:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/writeback.h:15:1: error: empty declaration [-Werror] struct bio; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_dirty_throttle_leaks' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/writeback.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_dirty_throttle_leaks' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/writeback.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ /kisskb/src/include/linux/writeback.h:17:22: error: storage class specified for parameter 'dirty_throttle_leaks' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/writeback.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ /kisskb/src/include/linux/writeback.h:17:22: error: section attribute not allowed for 'dirty_throttle_leaks' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/writeback.h:17:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, dirty_throttle_leaks); ^ In file included from /kisskb/src/include/linux/memcontrol.h:22:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/writeback.h:27:1: error: empty declaration [-Werror] struct backing_dev_info; ^ /kisskb/src/include/linux/writeback.h:32:1: error: empty declaration [-Werror] enum writeback_sync_modes { ^ /kisskb/src/include/linux/writeback.h:42:1: error: empty declaration [-Werror] struct writeback_control { ^ /kisskb/src/include/linux/writeback.h:96:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wbc_to_write_flags' static inline blk_opf_t wbc_to_write_flags(struct writeback_control *wbc) ^ /kisskb/src/include/linux/writeback.h:125:1: error: empty declaration [-Werror] struct wb_domain { ^ /kisskb/src/include/linux/writeback.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/writeback.h:186:1: error: empty declaration [-Werror] struct bdi_writeback; ^ /kisskb/src/include/linux/writeback.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/bio.h:8:0, from /kisskb/src/include/linux/writeback.h:208, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/mempool.h:11:1: error: empty declaration [-Werror] struct kmem_cache; ^ /kisskb/src/include/linux/mempool.h:13:17: error: storage class specified for parameter 'mempool_alloc_t' typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:14:15: error: storage class specified for parameter 'mempool_free_t' typedef void (mempool_free_t)(void *element, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:23:2: error: expected specifier-qualifier-list before 'mempool_alloc_t' mempool_alloc_t *alloc; ^ /kisskb/src/include/linux/mempool.h:26:3: error: storage class specified for parameter 'mempool_t' } mempool_t; ^ /kisskb/src/include/linux/mempool.h:28:40: error: expected declaration specifiers or '...' before 'mempool_t' static inline bool mempool_initialized(mempool_t *pool) ^ /kisskb/src/include/linux/mempool.h:33:19: error: expected declaration specifiers or '...' before 'mempool_t' void mempool_exit(mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:34:23: error: expected declaration specifiers or '...' before 'mempool_t' int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:34:52: error: expected declaration specifiers or '...' before 'mempool_alloc_t' int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:35:9: error: expected declaration specifiers or '...' before 'mempool_free_t' mempool_free_t *free_fn, void *pool_data, ^ /kisskb/src/include/linux/mempool.h:37:18: error: expected declaration specifiers or '...' before 'mempool_t' int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:37:47: error: expected declaration specifiers or '...' before 'mempool_alloc_t' int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:38:4: error: expected declaration specifiers or '...' before 'mempool_free_t' mempool_free_t *free_fn, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:40:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:42:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:46:27: error: expected declaration specifiers or '...' before 'mempool_t' extern int mempool_resize(mempool_t *pool, int new_min_nr); ^ /kisskb/src/include/linux/mempool.h:47:29: error: expected declaration specifiers or '...' before 'mempool_t' extern void mempool_destroy(mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:48:28: error: expected declaration specifiers or '...' before 'mempool_t' extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc; ^ /kisskb/src/include/linux/mempool.h:49:41: error: expected declaration specifiers or '...' before 'mempool_t' extern void mempool_free(void *element, mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:60:24: error: expected declaration specifiers or '...' before 'mempool_t' mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) ^ /kisskb/src/include/linux/mempool.h:66:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t * ^ /kisskb/src/include/linux/mempool.h:80:45: error: expected declaration specifiers or '...' before 'mempool_t' static inline int mempool_init_kmalloc_pool(mempool_t *pool, int min_nr, size_t size) ^ /kisskb/src/include/linux/mempool.h:86:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t *mempool_create_kmalloc_pool(int min_nr, size_t size) ^ /kisskb/src/include/linux/mempool.h:99:42: error: expected declaration specifiers or '...' before 'mempool_t' static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) ^ /kisskb/src/include/linux/mempool.h:105:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t *mempool_create_page_pool(int min_nr, int order) ^ In file included from /kisskb/src/include/linux/writeback.h:208:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/bio.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:250:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:267:1: error: empty declaration [-Werror] struct folio_iter { ^ /kisskb/src/include/linux/bio.h:279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:314:1: error: empty declaration [-Werror] enum bip_flags { ^ /kisskb/src/include/linux/bio.h:325:1: error: empty declaration [-Werror] struct bio_integrity_payload { ^ /kisskb/src/include/linux/bio.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:376:20: error: storage class specified for parameter 'bio_split' extern struct bio *bio_split(struct bio *bio, int sectors, ^ /kisskb/src/include/linux/bio.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:398:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/bio.h:403:12: error: storage class specified for parameter 'bioset_init' extern int bioset_init(struct bio_set *, unsigned int, unsigned int, int flags); ^ /kisskb/src/include/linux/bio.h:404:13: error: storage class specified for parameter 'bioset_exit' extern void bioset_exit(struct bio_set *); ^ /kisskb/src/include/linux/bio.h:405:29: error: expected declaration specifiers or '...' before 'mempool_t' extern int biovec_init_pool(mempool_t *pool, int pool_entries); ^ /kisskb/src/include/linux/bio.h:408:9: error: expected declaration specifiers or '...' before 'blk_opf_t' blk_opf_t opf, gfp_t gfp_mask, ^ /kisskb/src/include/linux/bio.h:411:13: error: storage class specified for parameter 'bio_put' extern void bio_put(struct bio *); ^ /kisskb/src/include/linux/bio.h:418:23: error: storage class specified for parameter 'fs_bio_set' extern struct bio_set fs_bio_set; ^ /kisskb/src/include/linux/bio.h:421:27: error: expected declaration specifiers or '...' before 'blk_opf_t' unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask) ^ /kisskb/src/include/linux/bio.h:428:13: error: storage class specified for parameter 'bio_endio' extern void bio_endio(struct bio *); ^ /kisskb/src/include/linux/bio.h:431:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:449:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:455:1: error: empty declaration [-Werror] struct request_queue; ^ /kisskb/src/include/linux/bio.h:457:12: error: storage class specified for parameter 'submit_bio_wait' extern int submit_bio_wait(struct bio *bio); ^ /kisskb/src/include/linux/bio.h:459:33: error: expected declaration specifiers or '...' before 'blk_opf_t' unsigned short max_vecs, blk_opf_t opf); ^ /kisskb/src/include/linux/bio.h:460:13: error: storage class specified for parameter 'bio_uninit' extern void bio_uninit(struct bio *); ^ /kisskb/src/include/linux/bio.h:461:60: error: expected declaration specifiers or '...' before 'blk_opf_t' void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf); ^ /kisskb/src/include/linux/bio.h:466:12: error: storage class specified for parameter 'bio_add_pc_page' extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *, ^ /kisskb/src/include/linux/bio.h:475:13: error: storage class specified for parameter 'bio_set_pages_dirty' extern void bio_set_pages_dirty(struct bio *bio); ^ /kisskb/src/include/linux/bio.h:476:13: error: storage class specified for parameter 'bio_check_pages_dirty' extern void bio_check_pages_dirty(struct bio *bio); ^ /kisskb/src/include/linux/bio.h:478:13: error: storage class specified for parameter 'bio_copy_data_iter' extern void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, ^ /kisskb/src/include/linux/bio.h:480:13: error: storage class specified for parameter 'bio_copy_data' extern void bio_copy_data(struct bio *dst, struct bio *src); ^ /kisskb/src/include/linux/bio.h:481:13: error: storage class specified for parameter 'bio_free_pages' extern void bio_free_pages(struct bio *bio); ^ /kisskb/src/include/linux/bio.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:509:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:524:1: error: empty declaration [-Werror] struct bio_list { ^ /kisskb/src/include/linux/bio.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:568:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:578:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:592:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:605:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:610:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:638:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:661:2: error: expected specifier-qualifier-list before 'mempool_t' mempool_t bio_pool; ^ /kisskb/src/include/linux/bio.h:652:1: error: empty declaration [-Werror] struct bio_set { ^ /kisskb/src/include/linux/bio.h:685:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:698:38: error: storage class specified for parameter 'bio_integrity_alloc' extern struct bio_integrity_payload *bio_integrity_alloc(struct bio *, gfp_t, unsigned int); ^ /kisskb/src/include/linux/bio.h:699:12: error: storage class specified for parameter 'bio_integrity_add_page' extern int bio_integrity_add_page(struct bio *, struct page *, unsigned int, unsigned int); ^ /kisskb/src/include/linux/bio.h:700:13: error: storage class specified for parameter 'bio_integrity_prep' extern bool bio_integrity_prep(struct bio *); ^ /kisskb/src/include/linux/bio.h:701:13: error: storage class specified for parameter 'bio_integrity_advance' extern void bio_integrity_advance(struct bio *, unsigned int); ^ /kisskb/src/include/linux/bio.h:702:13: error: storage class specified for parameter 'bio_integrity_trim' extern void bio_integrity_trim(struct bio *); ^ /kisskb/src/include/linux/bio.h:703:12: error: storage class specified for parameter 'bio_integrity_clone' extern int bio_integrity_clone(struct bio *, struct bio *, gfp_t); ^ /kisskb/src/include/linux/bio.h:704:12: error: storage class specified for parameter 'bioset_integrity_create' extern int bioset_integrity_create(struct bio_set *, int); ^ /kisskb/src/include/linux/bio.h:705:13: error: storage class specified for parameter 'bioset_integrity_free' extern void bioset_integrity_free(struct bio_set *); ^ /kisskb/src/include/linux/bio.h:706:13: error: storage class specified for parameter 'bio_integrity_init' extern void bio_integrity_init(void); ^ /kisskb/src/include/linux/bio.h:779:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bio.h:792:26: error: expected declaration specifiers or '...' before 'blk_opf_t' unsigned int nr_pages, blk_opf_t opf, gfp_t gfp); ^ In file included from /kisskb/src/include/linux/memcontrol.h:22:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/writeback.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/writeback.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/writeback.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/writeback.h:280:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/writeback.h:344:25: error: storage class specified for parameter 'global_wb_domain' extern struct wb_domain global_wb_domain; ^ /kisskb/src/include/linux/writeback.h:347:21: error: storage class specified for parameter 'dirty_writeback_interval' extern unsigned int dirty_writeback_interval; ^ /kisskb/src/include/linux/writeback.h:348:21: error: storage class specified for parameter 'dirty_expire_interval' extern unsigned int dirty_expire_interval; ^ /kisskb/src/include/linux/writeback.h:349:21: error: storage class specified for parameter 'dirtytime_expire_interval' extern unsigned int dirtytime_expire_interval; ^ /kisskb/src/include/linux/writeback.h:350:12: error: storage class specified for parameter 'laptop_mode' extern int laptop_mode; ^ /kisskb/src/include/linux/writeback.h:369:15: error: storage class specified for parameter 'writepage_t' typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc, ^ /kisskb/src/include/linux/writeback.h:377:40: error: expected declaration specifiers or '...' before 'writepage_t' struct writeback_control *wbc, writepage_t writepage, ^ /kisskb/src/include/linux/writeback.h:381:6: error: redefinition of parameter 'tag_pages_for_writeback' void tag_pages_for_writeback(struct address_space *mapping, ^ /kisskb/src/include/linux/writeback.h:374:6: note: previous definition of 'tag_pages_for_writeback' was here void tag_pages_for_writeback(struct address_space *mapping, ^ /kisskb/src/include/linux/writeback.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/swap.h:9:0, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/memcontrol.h:25:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/memcontrol.h:26:1: error: empty declaration [-Werror] struct obj_cgroup; ^ /kisskb/src/include/linux/memcontrol.h:27:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/memcontrol.h:28:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/include/linux/memcontrol.h:29:1: error: empty declaration [-Werror] struct kmem_cache; ^ /kisskb/src/include/linux/memcontrol.h:32:1: error: empty declaration [-Werror] enum memcg_stat_item { ^ /kisskb/src/include/linux/memcontrol.h:43:1: error: empty declaration [-Werror] enum memcg_memory_event { ^ /kisskb/src/include/linux/memcontrol.h:57:2: error: expected specifier-qualifier-list before 'pg_data_t' pg_data_t *pgdat; ^ /kisskb/src/include/linux/memcontrol.h:56:1: error: empty declaration [-Werror] struct mem_cgroup_reclaim_cookie { ^ /kisskb/src/include/linux/memcontrol.h:66:1: error: empty declaration [-Werror] struct mem_cgroup_id { ^ /kisskb/src/include/linux/memcontrol.h:77:1: error: empty declaration [-Werror] enum mem_cgroup_events_target { ^ /kisskb/src/include/linux/memcontrol.h:83:1: error: empty declaration [-Werror] struct memcg_vmstats_percpu; ^ /kisskb/src/include/linux/memcontrol.h:84:1: error: empty declaration [-Werror] struct memcg_vmstats; ^ /kisskb/src/include/linux/memcontrol.h:86:1: error: empty declaration [-Werror] struct mem_cgroup_reclaim_iter { ^ /kisskb/src/include/linux/memcontrol.h:96:1: error: empty declaration [-Werror] struct shrinker_info { ^ /kisskb/src/include/linux/memcontrol.h:102:1: error: empty declaration [-Werror] struct lruvec_stats_percpu { ^ /kisskb/src/include/linux/memcontrol.h:110:1: error: empty declaration [-Werror] struct lruvec_stats { ^ /kisskb/src/include/linux/memcontrol.h:121:1: error: empty declaration [-Werror] struct mem_cgroup_per_node { ^ /kisskb/src/include/linux/memcontrol.h:141:1: error: empty declaration [-Werror] struct mem_cgroup_threshold { ^ /kisskb/src/include/linux/memcontrol.h:147:1: error: empty declaration [-Werror] struct mem_cgroup_threshold_ary { ^ /kisskb/src/include/linux/memcontrol.h:156:1: error: empty declaration [-Werror] struct mem_cgroup_thresholds { ^ /kisskb/src/include/linux/memcontrol.h:177:1: error: empty declaration [-Werror] struct memcg_cgwb_frn { ^ /kisskb/src/include/linux/memcontrol.h:190:1: error: empty declaration [-Werror] struct obj_cgroup { ^ /kisskb/src/include/linux/memcontrol.h:206:1: error: empty declaration [-Werror] struct mem_cgroup { ^ /kisskb/src/include/linux/memcontrol.h:338:27: error: storage class specified for parameter 'root_mem_cgroup' extern struct mem_cgroup *root_mem_cgroup; ^ /kisskb/src/include/linux/memcontrol.h:340:1: error: empty declaration [-Werror] enum page_memcg_data_flags { ^ /kisskb/src/include/linux/memcontrol.h:351:20: error: storage class specified for parameter 'folio_memcg_kmem' static inline bool folio_memcg_kmem(struct folio *folio); ^ /kisskb/src/include/linux/memcontrol.h:351:20: error: parameter 'folio_memcg_kmem' declared 'inline' [-Werror] /kisskb/src/include/linux/memcontrol.h:351:44: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline bool folio_memcg_kmem(struct folio *folio); ^ /kisskb/src/include/linux/memcontrol.h:351:20: error: '__no_instrument_function__' attribute applies only to functions static inline bool folio_memcg_kmem(struct folio *folio); ^ /kisskb/src/include/linux/memcontrol.h:361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:452:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:512:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:561:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:569:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:619:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:629:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:638:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:664:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:691:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:710:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:768:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css){ ^ /kisskb/src/include/linux/memcontrol.h:773:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:778:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:784:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:789:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:794:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:810:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:820:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:828:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:833:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:851:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:857:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:865:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:881:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:893:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:912:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:918:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:924:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:942:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:953:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:960:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:970:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:987:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1005:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1032:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1042:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1056:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1066:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1075:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1084:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1099:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1139:45: error: expected declaration specifiers or '...' before 'pg_data_t' unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, ^ /kisskb/src/include/linux/memcontrol.h:1571:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1576:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1581:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1594:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1599:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1605:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1612:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1620:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1634:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1657:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1693:1: error: empty declaration [-Werror] struct sock; ^ /kisskb/src/include/linux/memcontrol.h:1698:32: error: storage class specified for parameter 'memcg_sockets_enabled_key' extern struct static_key_false memcg_sockets_enabled_key; ^ /kisskb/src/include/linux/memcontrol.h:1703:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1743:32: error: storage class specified for parameter 'memcg_kmem_enabled_key' extern struct static_key_false memcg_kmem_enabled_key; ^ /kisskb/src/include/linux/memcontrol.h:1746:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1752:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1759:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1769:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1778:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/swap.h:11:0, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/node.h:30:1: error: empty declaration [-Werror] struct node_hmem_attrs { ^ /kisskb/src/include/linux/node.h:37:1: error: empty declaration [-Werror] enum cache_indexing { ^ /kisskb/src/include/linux/node.h:43:1: error: empty declaration [-Werror] enum cache_write_policy { ^ /kisskb/src/include/linux/node.h:58:1: error: empty declaration [-Werror] struct node_cache_attrs { ^ /kisskb/src/include/linux/node.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/node.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/node.h:83:1: error: empty declaration [-Werror] struct node { ^ /kisskb/src/include/linux/node.h:92:1: error: empty declaration [-Werror] struct memory_block; ^ /kisskb/src/include/linux/node.h:93:21: error: storage class specified for parameter 'node_devices' extern struct node *node_devices[]; ^ /kisskb/src/include/linux/node.h:107:13: error: storage class specified for parameter 'unregister_node' extern void unregister_node(struct node *node); ^ /kisskb/src/include/linux/node.h:109:13: error: storage class specified for parameter 'node_dev_init' extern void node_dev_init(void); ^ /kisskb/src/include/linux/node.h:111:12: error: storage class specified for parameter '__register_one_node' extern int __register_one_node(int nid); ^ /kisskb/src/include/linux/node.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/node.h:133:13: error: storage class specified for parameter 'unregister_one_node' extern void unregister_one_node(int nid); ^ /kisskb/src/include/linux/node.h:134:12: error: storage class specified for parameter 'register_cpu_under_node' extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); ^ /kisskb/src/include/linux/node.h:135:12: error: storage class specified for parameter 'unregister_cpu_under_node' extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); ^ /kisskb/src/include/linux/node.h:136:13: error: storage class specified for parameter 'unregister_memory_block_under_nodes' extern void unregister_memory_block_under_nodes(struct memory_block *mem_blk); ^ /kisskb/src/include/linux/node.h:138:12: error: storage class specified for parameter 'register_memory_node_under_compute_node' extern int register_memory_node_under_compute_node(unsigned int mem_nid, ^ In file included from /kisskb/src/include/linux/pagemap.h:17:0, from /kisskb/src/include/linux/swap.h:13, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/hugetlb_inline.h:10:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/swap.h:13:0, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/pagemap.h:19:1: error: empty declaration [-Werror] struct folio_batch; ^ /kisskb/src/include/linux/pagemap.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:95:6: error: expected declaration specifiers or '...' before 'errseq_t' errseq_t since) ^ /kisskb/src/include/linux/pagemap.h:107:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filemap_sample_wb_err' static inline errseq_t filemap_sample_wb_err(struct address_space *mapping) ^ /kisskb/src/include/linux/pagemap.h:119:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_sample_sb_err' static inline errseq_t file_sample_sb_err(struct file *file) ^ /kisskb/src/include/linux/pagemap.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:193:1: error: empty declaration [-Werror] enum mapping_flags { ^ /kisskb/src/include/linux/pagemap.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:243:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:268:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:280:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:289:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:314:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:365:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:412:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:479:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:484:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:489:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:493:13: error: storage class specified for parameter 'filler_t' typedef int filler_t(struct file *, struct folio *); ^ /kisskb/src/include/linux/pagemap.h:528:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:546:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:562:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:568:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:587:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:612:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:633:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:653:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:681:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:699:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:711:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:724:17: error: expected declaration specifiers or '...' before 'xa_mark_t' pgoff_t end, xa_mark_t tag, unsigned int nr_pages, ^ /kisskb/src/include/linux/pagemap.h:727:20: error: expected declaration specifiers or '...' before 'xa_mark_t' pgoff_t *index, xa_mark_t tag, unsigned int nr_pages, ^ /kisskb/src/include/linux/pagemap.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:747:3: error: expected declaration specifiers or '...' before 'filler_t' filler_t *filler, struct file *file); ^ /kisskb/src/include/linux/pagemap.h:749:3: error: expected declaration specifiers or '...' before 'filler_t' filler_t *filler, struct file *file); ^ /kisskb/src/include/linux/pagemap.h:750:22: error: storage class specified for parameter 'read_cache_page_gfp' extern struct page * read_cache_page_gfp(struct address_space *mapping, ^ /kisskb/src/include/linux/pagemap.h:755:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:761:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:784:16: error: storage class specified for parameter 'hugetlb_basepage_index' extern pgoff_t hugetlb_basepage_index(struct page *page); ^ /kisskb/src/include/linux/pagemap.h:791:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:801:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:806:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:815:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:827:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:836:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:842:16: error: storage class specified for parameter 'linear_hugepage_index' extern pgoff_t linear_hugepage_index(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pagemap.h:847:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:856:1: error: empty declaration [-Werror] struct wait_page_key { ^ /kisskb/src/include/linux/pagemap.h:862:1: error: empty declaration [-Werror] struct wait_page_queue { ^ /kisskb/src/include/linux/pagemap.h:870:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:901:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:909:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:936:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:954:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:974:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:987:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1000:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1020:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1026:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1038:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1052:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1058:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1068:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1164:1: error: empty declaration [-Werror] struct readahead_control { ^ /kisskb/src/include/linux/pagemap.h:1211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1269:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1340:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1358:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1367:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1424:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1461:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/swap.h:16:0, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/uapi/linux/mempolicy.h:19:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/linux/suspend.h:5:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/swap.h:19:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/swap.h:21:1: error: empty declaration [-Werror] struct bio; ^ /kisskb/src/include/linux/swap.h:23:1: error: empty declaration [-Werror] struct pagevec; ^ /kisskb/src/include/linux/swap.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:142:1: error: empty declaration [-Werror] union swap_header { ^ /kisskb/src/include/linux/swap.h:163:1: error: empty declaration [-Werror] struct reclaim_state { ^ /kisskb/src/include/linux/swap.h:173:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/linux/swap.h:174:1: error: empty declaration [-Werror] struct sysinfo; ^ /kisskb/src/include/linux/swap.h:175:1: error: empty declaration [-Werror] struct writeback_control; ^ /kisskb/src/include/linux/swap.h:176:1: error: empty declaration [-Werror] struct zone; ^ /kisskb/src/include/linux/swap.h:186:1: error: empty declaration [-Werror] struct swap_extent { ^ /kisskb/src/include/linux/swap.h:200:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/swap.h:243:1: error: empty declaration [-Werror] struct swap_cluster_info { ^ /kisskb/src/include/linux/swap.h:262:1: error: empty declaration [-Werror] struct percpu_cluster { ^ /kisskb/src/include/linux/swap.h:267:1: error: empty declaration [-Werror] struct swap_cluster_list { ^ /kisskb/src/include/linux/swap.h:297:20: error: field 'comp' has incomplete type struct completion comp; /* seldom referenced */ ^ /kisskb/src/include/linux/swap.h:275:1: error: empty declaration [-Werror] struct swap_info_struct { ^ /kisskb/src/include/linux/swap.h:341:1: error: empty declaration [-Werror] struct vma_swap_readahead { ^ /kisskb/src/include/linux/swap.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:371:24: error: storage class specified for parameter 'shadow_nodes' extern struct list_lru shadow_nodes; ^ /kisskb/src/include/linux/swap.h:380:22: error: storage class specified for parameter 'totalreserve_pages' extern unsigned long totalreserve_pages; ^ /kisskb/src/include/linux/swap.h:395:17: error: storage class specified for parameter 'lru_disable_count' extern atomic_t lru_disable_count; ^ /kisskb/src/include/linux/swap.h:398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:403:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:407:13: error: storage class specified for parameter 'lru_cache_disable' extern void lru_cache_disable(void); ^ /kisskb/src/include/linux/swap.h:408:13: error: storage class specified for parameter 'lru_add_drain' extern void lru_add_drain(void); ^ /kisskb/src/include/linux/swap.h:409:13: error: storage class specified for parameter 'lru_add_drain_cpu' extern void lru_add_drain_cpu(int cpu); ^ /kisskb/src/include/linux/swap.h:410:13: error: storage class specified for parameter 'lru_add_drain_cpu_zone' extern void lru_add_drain_cpu_zone(struct zone *zone); ^ /kisskb/src/include/linux/swap.h:411:13: error: storage class specified for parameter 'lru_add_drain_all' extern void lru_add_drain_all(void); ^ /kisskb/src/include/linux/swap.h:412:13: error: storage class specified for parameter 'deactivate_page' extern void deactivate_page(struct page *page); ^ /kisskb/src/include/linux/swap.h:413:13: error: storage class specified for parameter 'mark_page_lazyfree' extern void mark_page_lazyfree(struct page *page); ^ /kisskb/src/include/linux/swap.h:414:13: error: storage class specified for parameter 'swap_setup' extern void swap_setup(void); ^ /kisskb/src/include/linux/swap.h:416:13: error: storage class specified for parameter 'lru_cache_add_inactive_or_unevictable' extern void lru_cache_add_inactive_or_unevictable(struct page *page, ^ /kisskb/src/include/linux/swap.h:420:22: error: storage class specified for parameter 'zone_reclaimable_pages' extern unsigned long zone_reclaimable_pages(struct zone *zone); ^ /kisskb/src/include/linux/swap.h:422:22: error: expected declaration specifiers or '...' before 'nodemask_t' gfp_t gfp_mask, nodemask_t *mask); ^ /kisskb/src/include/linux/swap.h:426:22: error: storage class specified for parameter 'try_to_free_mem_cgroup_pages' extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *memcg, ^ /kisskb/src/include/linux/swap.h:432:7: error: expected declaration specifiers or '...' before 'pg_data_t' pg_data_t *pgdat, ^ /kisskb/src/include/linux/swap.h:434:22: error: storage class specified for parameter 'shrink_all_memory' extern unsigned long shrink_all_memory(unsigned long nr_pages); ^ /kisskb/src/include/linux/swap.h:435:12: error: storage class specified for parameter 'vm_swappiness' extern int vm_swappiness; ^ /kisskb/src/include/linux/swap.h:438:22: error: storage class specified for parameter 'reclaim_pages' extern unsigned long reclaim_pages(struct list_head *page_list); ^ /kisskb/src/include/linux/swap.h:440:12: error: storage class specified for parameter 'node_reclaim_mode' extern int node_reclaim_mode; ^ /kisskb/src/include/linux/swap.h:441:12: error: storage class specified for parameter 'sysctl_min_unmapped_ratio' extern int sysctl_min_unmapped_ratio; ^ /kisskb/src/include/linux/swap.h:442:12: error: storage class specified for parameter 'sysctl_min_slab_ratio' extern int sysctl_min_slab_ratio; ^ /kisskb/src/include/linux/swap.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:456:13: error: storage class specified for parameter 'kswapd_run' extern void kswapd_run(int nid); ^ /kisskb/src/include/linux/swap.h:457:13: error: storage class specified for parameter 'kswapd_stop' extern void kswapd_stop(int nid); ^ /kisskb/src/include/linux/swap.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:471:13: error: storage class specified for parameter 'free_swap_cache' extern void free_swap_cache(struct page *page); ^ /kisskb/src/include/linux/swap.h:472:13: error: storage class specified for parameter 'free_page_and_swap_cache' extern void free_page_and_swap_cache(struct page *); ^ /kisskb/src/include/linux/swap.h:473:13: error: storage class specified for parameter 'free_pages_and_swap_cache' extern void free_pages_and_swap_cache(struct page **, int); ^ /kisskb/src/include/linux/swap.h:475:22: error: storage class specified for parameter 'nr_swap_pages' extern atomic_long_t nr_swap_pages; ^ /kisskb/src/include/linux/swap.h:476:13: error: storage class specified for parameter 'total_swap_pages' extern long total_swap_pages; ^ /kisskb/src/include/linux/swap.h:477:17: error: storage class specified for parameter 'nr_rotate_swap' extern atomic_t nr_rotate_swap; ^ /kisskb/src/include/linux/swap.h:478:13: error: storage class specified for parameter 'has_usable_swap' extern bool has_usable_swap(void); ^ /kisskb/src/include/linux/swap.h:482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:491:13: error: storage class specified for parameter 'si_swapinfo' extern void si_swapinfo(struct sysinfo *); ^ /kisskb/src/include/linux/swap.h:495:20: error: storage class specified for parameter 'get_swap_page_of_type' extern swp_entry_t get_swap_page_of_type(int); ^ /kisskb/src/include/linux/swap.h:496:12: error: storage class specified for parameter 'get_swap_pages' extern int get_swap_pages(int n, swp_entry_t swp_entries[], int entry_size); ^ /kisskb/src/include/linux/swap.h:497:12: error: storage class specified for parameter 'add_swap_count_continuation' extern int add_swap_count_continuation(swp_entry_t, gfp_t); ^ /kisskb/src/include/linux/swap.h:498:13: error: storage class specified for parameter 'swap_shmem_alloc' extern void swap_shmem_alloc(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:499:12: error: storage class specified for parameter 'swap_duplicate' extern int swap_duplicate(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:500:12: error: storage class specified for parameter 'swapcache_prepare' extern int swapcache_prepare(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:501:13: error: storage class specified for parameter 'swap_free' extern void swap_free(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:502:13: error: storage class specified for parameter 'swapcache_free_entries' extern void swapcache_free_entries(swp_entry_t *entries, int n); ^ /kisskb/src/include/linux/swap.h:503:12: error: storage class specified for parameter 'free_swap_and_cache' extern int free_swap_and_cache(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:506:21: error: storage class specified for parameter 'count_swap_pages' extern unsigned int count_swap_pages(int, int); ^ /kisskb/src/include/linux/swap.h:507:17: error: storage class specified for parameter 'swapdev_block' extern sector_t swapdev_block(int, pgoff_t); ^ /kisskb/src/include/linux/swap.h:508:12: error: storage class specified for parameter '__swap_count' extern int __swap_count(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:509:12: error: storage class specified for parameter '__swp_swapcount' extern int __swp_swapcount(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:510:12: error: storage class specified for parameter 'swp_swapcount' extern int swp_swapcount(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:511:33: error: storage class specified for parameter 'page_swap_info' extern struct swap_info_struct *page_swap_info(struct page *); ^ /kisskb/src/include/linux/swap.h:512:33: error: storage class specified for parameter 'swp_swap_info' extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:513:1: error: empty declaration [-Werror] struct backing_dev_info; ^ /kisskb/src/include/linux/swap.h:514:12: error: storage class specified for parameter 'init_swap_address_space' extern int init_swap_address_space(unsigned int type, unsigned long nr_pages); ^ /kisskb/src/include/linux/swap.h:515:13: error: storage class specified for parameter 'exit_swap_address_space' extern void exit_swap_address_space(unsigned int type); ^ /kisskb/src/include/linux/swap.h:516:33: error: storage class specified for parameter 'get_swap_device' extern struct swap_info_struct *get_swap_device(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:520:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:621:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:647:12: error: storage class specified for parameter 'zswap_pool_total_size' extern u64 zswap_pool_total_size; ^ /kisskb/src/include/linux/swap.h:648:17: error: storage class specified for parameter 'zswap_stored_pages' extern atomic_t zswap_stored_pages; ^ /kisskb/src/include/linux/swap.h:652:13: error: storage class specified for parameter '__cgroup_throttle_swaprate' extern void __cgroup_throttle_swaprate(struct page *page, gfp_t gfp_mask); ^ /kisskb/src/include/linux/swap.h:654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:665:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:674:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:680:13: error: storage class specified for parameter '__mem_cgroup_uncharge_swap' extern void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages); ^ /kisskb/src/include/linux/swap.h:682:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swap.h:688:13: error: storage class specified for parameter 'mem_cgroup_get_nr_swap_pages' extern long mem_cgroup_get_nr_swap_pages(struct mem_cgroup *memcg); ^ /kisskb/src/include/linux/swap.h:689:13: error: storage class specified for parameter 'mem_cgroup_swap_full' extern bool mem_cgroup_swap_full(struct folio *folio); ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/freezer.h:14:26: error: storage class specified for parameter 'freezer_active' DECLARE_STATIC_KEY_FALSE(freezer_active); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/suspend.h:10:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21: /kisskb/src/include/linux/freezer.h:16:13: error: storage class specified for parameter 'pm_freezing' extern bool pm_freezing; /* PM freezing in effect */ ^ /kisskb/src/include/linux/freezer.h:17:13: error: storage class specified for parameter 'pm_nosig_freezing' extern bool pm_nosig_freezing; /* PM nosig freezing in effect */ ^ /kisskb/src/include/linux/freezer.h:22:21: error: storage class specified for parameter 'freeze_timeout_msecs' extern unsigned int freeze_timeout_msecs; ^ /kisskb/src/include/linux/freezer.h:27:13: error: storage class specified for parameter 'frozen' extern bool frozen(struct task_struct *p); ^ /kisskb/src/include/linux/freezer.h:29:13: error: storage class specified for parameter 'freezing_slow_path' extern bool freezing_slow_path(struct task_struct *p); ^ /kisskb/src/include/linux/freezer.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/freezer.h:43:13: error: storage class specified for parameter '__thaw_task' extern void __thaw_task(struct task_struct *t); ^ /kisskb/src/include/linux/freezer.h:45:13: error: storage class specified for parameter '__refrigerator' extern bool __refrigerator(bool check_kthr_stop); ^ /kisskb/src/include/linux/freezer.h:46:12: error: storage class specified for parameter 'freeze_processes' extern int freeze_processes(void); ^ /kisskb/src/include/linux/freezer.h:47:12: error: storage class specified for parameter 'freeze_kernel_threads' extern int freeze_kernel_threads(void); ^ /kisskb/src/include/linux/freezer.h:48:13: error: storage class specified for parameter 'thaw_processes' extern void thaw_processes(void); ^ /kisskb/src/include/linux/freezer.h:49:13: error: storage class specified for parameter 'thaw_kernel_threads' extern void thaw_kernel_threads(void); ^ /kisskb/src/include/linux/freezer.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/freezer.h:61:13: error: storage class specified for parameter 'freeze_task' extern bool freeze_task(struct task_struct *p); ^ /kisskb/src/include/linux/freezer.h:62:13: error: storage class specified for parameter 'set_freezable' extern bool set_freezable(void); ^ /kisskb/src/include/linux/freezer.h:65:13: error: storage class specified for parameter 'cgroup_freezing' extern bool cgroup_freezing(struct task_struct *task); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:21:0: /kisskb/src/include/linux/suspend.h:14:13: error: storage class specified for parameter 'pm_set_vt_switch' extern void pm_set_vt_switch(int); ^ /kisskb/src/include/linux/suspend.h:22:13: error: storage class specified for parameter 'pm_prepare_console' extern void pm_prepare_console(void); ^ /kisskb/src/include/linux/suspend.h:23:13: error: storage class specified for parameter 'pm_restore_console' extern void pm_restore_console(void); ^ /kisskb/src/include/linux/suspend.h:34:23: error: storage class specified for parameter 'suspend_state_t' typedef int __bitwise suspend_state_t; ^ /kisskb/src/include/linux/suspend.h:43:1: error: empty declaration [-Werror] enum suspend_stat_step { ^ /kisskb/src/include/linux/suspend.h:54:1: error: empty declaration [-Werror] struct suspend_stats { ^ /kisskb/src/include/linux/suspend.h:74:29: error: storage class specified for parameter 'suspend_stats' extern struct suspend_stats suspend_stats; ^ /kisskb/src/include/linux/suspend.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:178:15: error: expected declaration specifiers or '...' before 'suspend_state_t' int (*valid)(suspend_state_t state); ^ /kisskb/src/include/linux/suspend.h:179:15: error: expected declaration specifiers or '...' before 'suspend_state_t' int (*begin)(suspend_state_t state); ^ /kisskb/src/include/linux/suspend.h:182:15: error: expected declaration specifiers or '...' before 'suspend_state_t' int (*enter)(suspend_state_t state); ^ /kisskb/src/include/linux/suspend.h:177:1: error: empty declaration [-Werror] struct platform_suspend_ops { ^ /kisskb/src/include/linux/suspend.h:190:1: error: empty declaration [-Werror] struct platform_s2idle_ops { ^ /kisskb/src/include/linux/suspend.h:202:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mem_sleep_current' extern suspend_state_t mem_sleep_current; ^ /kisskb/src/include/linux/suspend.h:203:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mem_sleep_default' extern suspend_state_t mem_sleep_default; ^ /kisskb/src/include/linux/suspend.h:209:13: error: storage class specified for parameter 'suspend_set_ops' extern void suspend_set_ops(const struct platform_suspend_ops *ops); ^ /kisskb/src/include/linux/suspend.h:210:35: error: expected declaration specifiers or '...' before 'suspend_state_t' extern int suspend_valid_only_mem(suspend_state_t state); ^ /kisskb/src/include/linux/suspend.h:212:21: error: storage class specified for parameter 'pm_suspend_global_flags' extern unsigned int pm_suspend_global_flags; ^ /kisskb/src/include/linux/suspend.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:275:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:296:1: error: empty declaration [-Werror] enum s2idle_states { ^ /kisskb/src/include/linux/suspend.h:302:41: error: storage class specified for parameter 's2idle_state' extern enum s2idle_states __read_mostly s2idle_state; ^ /kisskb/src/include/linux/suspend.h:302:41: error: section attribute not allowed for 's2idle_state' /kisskb/src/include/linux/suspend.h:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/suspend.h:309:13: error: storage class specified for parameter 'pm_suspend_default_s2idle' extern bool pm_suspend_default_s2idle(void); ^ /kisskb/src/include/linux/suspend.h:310:20: error: storage class specified for parameter 'pm_states_init' extern void __init pm_states_init(void); ^ /kisskb/src/include/linux/suspend.h:310:20: error: section attribute not allowed for 'pm_states_init' /kisskb/src/include/linux/suspend.h:310:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init pm_states_init(void); ^ /kisskb/src/include/linux/suspend.h:310:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/suspend.h:311:13: error: storage class specified for parameter 's2idle_set_ops' extern void s2idle_set_ops(const struct platform_s2idle_ops *ops); ^ /kisskb/src/include/linux/suspend.h:312:13: error: storage class specified for parameter 's2idle_wake' extern void s2idle_wake(void); ^ /kisskb/src/include/linux/suspend.h:321:13: error: storage class specified for parameter 'arch_suspend_disable_irqs' extern void arch_suspend_disable_irqs(void); ^ /kisskb/src/include/linux/suspend.h:330:13: error: storage class specified for parameter 'arch_suspend_enable_irqs' extern void arch_suspend_enable_irqs(void); ^ /kisskb/src/include/linux/suspend.h:332:23: error: expected declaration specifiers or '...' before 'suspend_state_t' extern int pm_suspend(suspend_state_t state); ^ /kisskb/src/include/linux/suspend.h:333:13: error: storage class specified for parameter 'sync_on_suspend_enabled' extern bool sync_on_suspend_enabled; ^ /kisskb/src/include/linux/suspend.h:358:1: error: empty declaration [-Werror] struct pbe { ^ /kisskb/src/include/linux/suspend.h:365:13: error: storage class specified for parameter 'mark_free_pages' extern void mark_free_pages(struct zone *zone); ^ /kisskb/src/include/linux/suspend.h:420:15: error: expected declaration specifiers or '...' before 'pm_message_t' int (*begin)(pm_message_t stage); ^ /kisskb/src/include/linux/suspend.h:419:1: error: empty declaration [-Werror] struct platform_hibernation_ops { ^ /kisskb/src/include/linux/suspend.h:434:13: error: storage class specified for parameter 'register_nosave_region' extern void register_nosave_region(unsigned long b, unsigned long e); ^ /kisskb/src/include/linux/suspend.h:435:12: error: storage class specified for parameter 'swsusp_page_is_forbidden' extern int swsusp_page_is_forbidden(struct page *); ^ /kisskb/src/include/linux/suspend.h:436:13: error: storage class specified for parameter 'swsusp_set_page_free' extern void swsusp_set_page_free(struct page *); ^ /kisskb/src/include/linux/suspend.h:437:13: error: storage class specified for parameter 'swsusp_unset_page_free' extern void swsusp_unset_page_free(struct page *); ^ /kisskb/src/include/linux/suspend.h:438:22: error: storage class specified for parameter 'get_safe_page' extern unsigned long get_safe_page(gfp_t gfp_mask); ^ /kisskb/src/include/linux/suspend.h:439:23: error: storage class specified for parameter 'swsusp_arch_suspend' extern asmlinkage int swsusp_arch_suspend(void); ^ /kisskb/src/include/linux/suspend.h:440:23: error: storage class specified for parameter 'swsusp_arch_resume' extern asmlinkage int swsusp_arch_resume(void); ^ /kisskb/src/include/linux/suspend.h:442:12: error: storage class specified for parameter 'swsusp_hardware_signature' extern u32 swsusp_hardware_signature; ^ /kisskb/src/include/linux/suspend.h:443:13: error: storage class specified for parameter 'hibernation_set_ops' extern void hibernation_set_ops(const struct platform_hibernation_ops *ops); ^ /kisskb/src/include/linux/suspend.h:444:12: error: storage class specified for parameter 'hibernate' extern int hibernate(void); ^ /kisskb/src/include/linux/suspend.h:445:13: error: storage class specified for parameter 'system_entering_hibernation' extern bool system_entering_hibernation(void); ^ /kisskb/src/include/linux/suspend.h:446:13: error: storage class specified for parameter 'hibernation_available' extern bool hibernation_available(void); ^ /kisskb/src/include/linux/suspend.h:448:20: error: storage class specified for parameter 'restore_pblist' extern struct pbe *restore_pblist; ^ /kisskb/src/include/linux/suspend.h:482:21: error: storage class specified for parameter 'system_transition_mutex' extern struct mutex system_transition_mutex; ^ /kisskb/src/include/linux/suspend.h:489:12: error: storage class specified for parameter 'register_pm_notifier' extern int register_pm_notifier(struct notifier_block *nb); ^ /kisskb/src/include/linux/suspend.h:490:12: error: storage class specified for parameter 'unregister_pm_notifier' extern int unregister_pm_notifier(struct notifier_block *nb); ^ /kisskb/src/include/linux/suspend.h:491:13: error: storage class specified for parameter 'ksys_sync_helper' extern void ksys_sync_helper(void); ^ /kisskb/src/include/linux/suspend.h:500:13: error: storage class specified for parameter 'events_check_enabled' extern bool events_check_enabled; ^ /kisskb/src/include/linux/suspend.h:501:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm_suspend_target_state' extern suspend_state_t pm_suspend_target_state; ^ /kisskb/src/include/linux/suspend.h:503:13: error: storage class specified for parameter 'pm_wakeup_pending' extern bool pm_wakeup_pending(void); ^ /kisskb/src/include/linux/suspend.h:504:13: error: storage class specified for parameter 'pm_system_wakeup' extern void pm_system_wakeup(void); ^ /kisskb/src/include/linux/suspend.h:505:13: error: storage class specified for parameter 'pm_system_cancel_wakeup' extern void pm_system_cancel_wakeup(void); ^ /kisskb/src/include/linux/suspend.h:506:13: error: storage class specified for parameter 'pm_wakeup_clear' extern void pm_wakeup_clear(unsigned int irq_number); ^ /kisskb/src/include/linux/suspend.h:507:13: error: storage class specified for parameter 'pm_system_irq_wakeup' extern void pm_system_irq_wakeup(unsigned int irq_number); ^ /kisskb/src/include/linux/suspend.h:508:21: error: storage class specified for parameter 'pm_wakeup_irq' extern unsigned int pm_wakeup_irq(void); ^ /kisskb/src/include/linux/suspend.h:509:13: error: storage class specified for parameter 'pm_get_wakeup_count' extern bool pm_get_wakeup_count(unsigned int *count, bool block); ^ /kisskb/src/include/linux/suspend.h:510:13: error: storage class specified for parameter 'pm_save_wakeup_count' extern bool pm_save_wakeup_count(unsigned int count); ^ /kisskb/src/include/linux/suspend.h:511:13: error: storage class specified for parameter 'pm_wakep_autosleep_enabled' extern void pm_wakep_autosleep_enabled(bool set); ^ /kisskb/src/include/linux/suspend.h:512:13: error: storage class specified for parameter 'pm_print_active_wakeup_sources' extern void pm_print_active_wakeup_sources(void); ^ /kisskb/src/include/linux/suspend.h:514:21: error: storage class specified for parameter 'lock_system_sleep' extern unsigned int lock_system_sleep(void); ^ /kisskb/src/include/linux/suspend.h:515:13: error: storage class specified for parameter 'unlock_system_sleep' extern void unlock_system_sleep(unsigned int); ^ /kisskb/src/include/linux/suspend.h:544:13: error: storage class specified for parameter 'pm_print_times_enabled' extern bool pm_print_times_enabled; ^ /kisskb/src/include/linux/suspend.h:545:13: error: storage class specified for parameter 'pm_debug_messages_on' extern bool pm_debug_messages_on; ^ /kisskb/src/include/linux/suspend.h:547:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/rtas.h:8:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:34: /kisskb/src/arch/powerpc/include/asm/rtas-types.h:7:16: error: storage class specified for parameter 'rtas_arg_t' typedef __be32 rtas_arg_t; ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:13:2: error: expected specifier-qualifier-list before 'rtas_arg_t' rtas_arg_t args[16]; ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:9:1: error: empty declaration [-Werror] struct rtas_args { ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:17:1: error: empty declaration [-Werror] struct rtas_t { ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:26:1: error: empty declaration [-Werror] struct rtas_error_log { ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:54:1: error: empty declaration [-Werror] struct rtas_ext_event_log_v6 { ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:93:1: error: empty declaration [-Werror] struct pseries_errorlog { ^ /kisskb/src/arch/powerpc/include/asm/rtas-types.h:103:1: error: empty declaration [-Werror] struct pseries_hp_errorlog { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:34:0: /kisskb/src/arch/powerpc/include/asm/rtas.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:236:15: error: storage class specified for parameter 'rtas_flash_term_hook' extern void (*rtas_flash_term_hook)(int); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:238:22: error: storage class specified for parameter 'rtas' extern struct rtas_t rtas; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:240:12: error: storage class specified for parameter 'rtas_token' extern int rtas_token(const char *service); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:241:12: error: storage class specified for parameter 'rtas_service_present' extern int rtas_service_present(const char *service); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:242:12: error: storage class specified for parameter 'rtas_call' extern int rtas_call(int token, int, int, int *, ...); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:245:24: error: storage class specified for parameter 'rtas_restart' extern void __noreturn rtas_restart(char *cmd); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:246:13: error: storage class specified for parameter 'rtas_power_off' extern void rtas_power_off(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:247:24: error: storage class specified for parameter 'rtas_halt' extern void __noreturn rtas_halt(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:248:13: error: storage class specified for parameter 'rtas_os_term' extern void rtas_os_term(char *str); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:250:12: error: storage class specified for parameter 'rtas_get_sensor' extern int rtas_get_sensor(int sensor, int index, int *state); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:251:12: error: storage class specified for parameter 'rtas_get_sensor_fast' extern int rtas_get_sensor_fast(int sensor, int index, int *state); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:252:12: error: storage class specified for parameter 'rtas_get_power_level' extern int rtas_get_power_level(int powerdomain, int *level); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:253:12: error: storage class specified for parameter 'rtas_set_power_level' extern int rtas_set_power_level(int powerdomain, int level, int *setlevel); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:254:13: error: storage class specified for parameter 'rtas_indicator_present' extern bool rtas_indicator_present(int token, int *maxindex); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:255:12: error: storage class specified for parameter 'rtas_set_indicator' extern int rtas_set_indicator(int indicator, int index, int new_value); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:256:12: error: storage class specified for parameter 'rtas_set_indicator_fast' extern int rtas_set_indicator_fast(int indicator, int index, int new_value); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:257:13: error: storage class specified for parameter 'rtas_progress' extern void rtas_progress(char *s, unsigned short hex); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:260:1: error: empty declaration [-Werror] struct rtc_time; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:261:17: error: storage class specified for parameter 'rtas_get_boot_time' extern time64_t rtas_get_boot_time(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:262:13: error: storage class specified for parameter 'rtas_get_rtc_time' extern void rtas_get_rtc_time(struct rtc_time *rtc_time); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:263:12: error: storage class specified for parameter 'rtas_set_rtc_time' extern int rtas_set_rtc_time(struct rtc_time *rtc_time); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:265:21: error: storage class specified for parameter 'rtas_busy_delay_time' extern unsigned int rtas_busy_delay_time(int status); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:268:12: error: storage class specified for parameter 'early_init_dt_scan_rtas' extern int early_init_dt_scan_rtas(unsigned long node, ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:271:13: error: storage class specified for parameter 'pSeries_log_error' extern void pSeries_log_error(char *buf, unsigned int err_type, int fatal); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:274:17: error: storage class specified for parameter 'last_rtas_event' extern time64_t last_rtas_event; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:275:12: error: storage class specified for parameter 'clobbering_unread_rtas_event' extern int clobbering_unread_rtas_event(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:276:13: error: storage class specified for parameter 'post_mobility_fixup' extern void post_mobility_fixup(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:287:13: error: storage class specified for parameter 'rtas_cancel_event_scan' extern void rtas_cancel_event_scan(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:312:12: error: storage class specified for parameter 'rtas_get_error_log_max' extern int rtas_get_error_log_max(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:327:19: error: storage class specified for parameter 'rtas_data_buf_lock' extern spinlock_t rtas_data_buf_lock; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:328:13: error: storage class specified for parameter 'rtas_data_buf' extern char rtas_data_buf[RTAS_DATA_BUF_SIZE]; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:331:22: error: storage class specified for parameter 'rtas_rmo_buf' extern unsigned long rtas_rmo_buf; ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:351:13: error: storage class specified for parameter 'rtas_give_timebase' extern void rtas_give_timebase(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:352:13: error: storage class specified for parameter 'rtas_take_timebase' extern void rtas_take_timebase(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:365:13: error: storage class specified for parameter 'pSeries_coalesce_init' extern void pSeries_coalesce_init(void); ^ /kisskb/src/arch/powerpc/include/asm/rtas.h:373:12: error: storage class specified for parameter 'call_rtas' extern int call_rtas(const char *, int, int, unsigned long *, ...); ^ In file included from /kisskb/src/include/vdso/datapage.h:13:0, from /kisskb/src/arch/powerpc/include/asm/vdso_datapage.h:39, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:35: /kisskb/src/include/vdso/clocksource.h:11:1: error: empty declaration [-Werror] enum vdso_clock_mode { ^ In file included from /kisskb/src/arch/powerpc/include/asm/vdso_datapage.h:39:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:35: /kisskb/src/include/vdso/datapage.h:25:1: error: empty declaration [-Werror] struct arch_vdso_data {}; ^ /kisskb/src/include/vdso/datapage.h:54:1: error: empty declaration [-Werror] struct vdso_timestamp { ^ /kisskb/src/include/vdso/datapage.h:90:1: error: empty declaration [-Werror] struct vdso_data { ^ /kisskb/src/include/vdso/datapage.h:121:25: error: storage class specified for parameter '_vdso_data' extern struct vdso_data _vdso_data[CS_BASES] __attribute__((visibility("hidden"))); ^ /kisskb/src/include/vdso/datapage.h:121:15: error: 'visibility' attribute ignored [-Werror=attributes] extern struct vdso_data _vdso_data[CS_BASES] __attribute__((visibility("hidden"))); ^ /kisskb/src/include/vdso/datapage.h:122:25: error: storage class specified for parameter '_timens_data' extern struct vdso_data _timens_data[CS_BASES] __attribute__((visibility("hidden"))); ^ /kisskb/src/include/vdso/datapage.h:122:15: error: 'visibility' attribute ignored [-Werror=attributes] extern struct vdso_data _timens_data[CS_BASES] __attribute__((visibility("hidden"))); ^ In file included from /kisskb/src/include/vdso/datapage.h:137:0, from /kisskb/src/arch/powerpc/include/asm/vdso_datapage.h:39, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:35: /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:19:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/vdso/gettimeofday.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:35:0: /kisskb/src/arch/powerpc/include/asm/vdso_datapage.h:49:1: error: empty declaration [-Werror] struct vdso_arch_data { ^ /kisskb/src/arch/powerpc/include/asm/vdso_datapage.h:102:31: error: storage class specified for parameter 'vdso_data' extern struct vdso_arch_data *vdso_data; ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:18:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kvm_types.h:6:1: error: empty declaration [-Werror] struct kvm; ^ /kisskb/src/include/linux/kvm_types.h:7:1: error: empty declaration [-Werror] struct kvm_async_pf; ^ /kisskb/src/include/linux/kvm_types.h:8:1: error: empty declaration [-Werror] struct kvm_device_ops; ^ /kisskb/src/include/linux/kvm_types.h:9:1: error: empty declaration [-Werror] struct kvm_interrupt; ^ /kisskb/src/include/linux/kvm_types.h:10:1: error: empty declaration [-Werror] struct kvm_irq_routing_table; ^ /kisskb/src/include/linux/kvm_types.h:11:1: error: empty declaration [-Werror] struct kvm_memory_slot; ^ /kisskb/src/include/linux/kvm_types.h:12:1: error: empty declaration [-Werror] struct kvm_one_reg; ^ /kisskb/src/include/linux/kvm_types.h:13:1: error: empty declaration [-Werror] struct kvm_run; ^ /kisskb/src/include/linux/kvm_types.h:14:1: error: empty declaration [-Werror] struct kvm_userspace_memory_region; ^ /kisskb/src/include/linux/kvm_types.h:15:1: error: empty declaration [-Werror] struct kvm_vcpu; ^ /kisskb/src/include/linux/kvm_types.h:16:1: error: empty declaration [-Werror] struct kvm_vcpu_init; ^ /kisskb/src/include/linux/kvm_types.h:17:1: error: empty declaration [-Werror] struct kvm_memslots; ^ /kisskb/src/include/linux/kvm_types.h:19:1: error: empty declaration [-Werror] enum kvm_mr_change; ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:18:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kvm_types.h:39:24: error: storage class specified for parameter 'gva_t' typedef unsigned long gva_t; ^ /kisskb/src/include/linux/kvm_types.h:40:24: error: storage class specified for parameter 'gpa_t' typedef u64 gpa_t; ^ /kisskb/src/include/linux/kvm_types.h:41:24: error: storage class specified for parameter 'gfn_t' typedef u64 gfn_t; ^ /kisskb/src/include/linux/kvm_types.h:45:24: error: storage class specified for parameter 'hva_t' typedef unsigned long hva_t; ^ /kisskb/src/include/linux/kvm_types.h:46:24: error: storage class specified for parameter 'hpa_t' typedef u64 hpa_t; ^ /kisskb/src/include/linux/kvm_types.h:47:24: error: storage class specified for parameter 'hfn_t' typedef u64 hfn_t; ^ /kisskb/src/include/linux/kvm_types.h:49:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kvm_pfn_t' typedef hfn_t kvm_pfn_t; ^ /kisskb/src/include/linux/kvm_types.h:51:1: error: empty declaration [-Werror] enum pfn_cache_usage { ^ /kisskb/src/include/linux/kvm_types.h:59:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t gpa; ^ /kisskb/src/include/linux/kvm_types.h:57:1: error: empty declaration [-Werror] struct gfn_to_hva_cache { ^ /kisskb/src/include/linux/kvm_types.h:67:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t gpa; ^ /kisskb/src/include/linux/kvm_types.h:65:1: error: empty declaration [-Werror] struct gfn_to_pfn_cache { ^ /kisskb/src/include/linux/kvm_types.h:104:1: error: empty declaration [-Werror] struct kvm_vm_stat_generic { ^ /kisskb/src/include/linux/kvm_types.h:109:1: error: empty declaration [-Werror] struct kvm_vcpu_stat_generic { ^ In file included from /kisskb/src/include/linux/kvm_host.h:13:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/sched/stat.h:16:22: error: storage class specified for parameter 'total_forks' extern unsigned long total_forks; ^ /kisskb/src/include/linux/sched/stat.h:17:12: error: storage class specified for parameter 'nr_threads' extern int nr_threads; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_process_counts' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/sched/stat.h:18:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, process_counts); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_process_counts' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/sched/stat.h:18:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, process_counts); ^ /kisskb/src/include/linux/sched/stat.h:18:32: error: storage class specified for parameter 'process_counts' DECLARE_PER_CPU(unsigned long, process_counts); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/sched/stat.h:18:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, process_counts); ^ /kisskb/src/include/linux/sched/stat.h:18:32: error: section attribute not allowed for 'process_counts' DECLARE_PER_CPU(unsigned long, process_counts); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/sched/stat.h:18:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, process_counts); ^ In file included from /kisskb/src/include/linux/kvm_host.h:13:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/sched/stat.h:19:12: error: storage class specified for parameter 'nr_processes' extern int nr_processes(void); ^ /kisskb/src/include/linux/sched/stat.h:20:21: error: storage class specified for parameter 'nr_running' extern unsigned int nr_running(void); ^ /kisskb/src/include/linux/sched/stat.h:21:13: error: storage class specified for parameter 'single_task_running' extern bool single_task_running(void); ^ /kisskb/src/include/linux/sched/stat.h:22:21: error: storage class specified for parameter 'nr_iowait' extern unsigned int nr_iowait(void); ^ /kisskb/src/include/linux/sched/stat.h:23:21: error: storage class specified for parameter 'nr_iowait_cpu' extern unsigned int nr_iowait_cpu(int cpu); ^ /kisskb/src/include/linux/sched/stat.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mmu_notifier.h:10:0, from /kisskb/src/include/linux/kvm_host.h:17, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/interval_tree.h:7:1: error: empty declaration [-Werror] struct interval_tree_node { ^ /kisskb/src/include/linux/interval_tree.h:15:1: error: storage class specified for parameter 'interval_tree_insert' interval_tree_insert(struct interval_tree_node *node, ^ /kisskb/src/include/linux/interval_tree.h:19:1: error: storage class specified for parameter 'interval_tree_remove' interval_tree_remove(struct interval_tree_node *node, ^ /kisskb/src/include/linux/interval_tree.h:23:1: error: storage class specified for parameter 'interval_tree_iter_first' interval_tree_iter_first(struct rb_root_cached *root, ^ /kisskb/src/include/linux/interval_tree.h:27:1: error: storage class specified for parameter 'interval_tree_iter_next' interval_tree_iter_next(struct interval_tree_node *node, ^ In file included from /kisskb/src/include/linux/kvm_host.h:17:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/mmu_notifier.h:12:1: error: empty declaration [-Werror] struct mmu_notifier_subscriptions; ^ /kisskb/src/include/linux/mmu_notifier.h:13:1: error: empty declaration [-Werror] struct mmu_notifier; ^ /kisskb/src/include/linux/mmu_notifier.h:14:1: error: empty declaration [-Werror] struct mmu_notifier_range; ^ /kisskb/src/include/linux/mmu_notifier.h:15:1: error: empty declaration [-Werror] struct mmu_interval_notifier; ^ /kisskb/src/include/linux/mmu_notifier.h:51:1: error: empty declaration [-Werror] enum mmu_notifier_event { ^ /kisskb/src/include/linux/mmu_notifier.h:64:1: error: empty declaration [-Werror] struct mmu_notifier_ops { ^ /kisskb/src/include/linux/mmu_notifier.h:237:1: error: empty declaration [-Werror] struct mmu_notifier { ^ /kisskb/src/include/linux/mmu_notifier.h:251:1: error: empty declaration [-Werror] struct mmu_interval_notifier_ops { ^ /kisskb/src/include/linux/mmu_notifier.h:257:1: error: empty declaration [-Werror] struct mmu_interval_notifier { ^ /kisskb/src/include/linux/mmu_notifier.h:268:27: error: storage class specified for parameter '__mmu_notifier_invalidate_range_start_map' extern struct lockdep_map __mmu_notifier_invalidate_range_start_map; ^ /kisskb/src/include/linux/mmu_notifier.h:271:1: error: empty declaration [-Werror] struct mmu_notifier_range { ^ /kisskb/src/include/linux/mmu_notifier.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:301:12: error: storage class specified for parameter 'mmu_notifier_register' extern int mmu_notifier_register(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:303:12: error: storage class specified for parameter '__mmu_notifier_register' extern int __mmu_notifier_register(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:305:13: error: storage class specified for parameter 'mmu_notifier_unregister' extern void mmu_notifier_unregister(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:386:13: error: storage class specified for parameter '__mmu_notifier_subscriptions_destroy' extern void __mmu_notifier_subscriptions_destroy(struct mm_struct *mm); ^ /kisskb/src/include/linux/mmu_notifier.h:387:13: error: storage class specified for parameter '__mmu_notifier_release' extern void __mmu_notifier_release(struct mm_struct *mm); ^ /kisskb/src/include/linux/mmu_notifier.h:388:12: error: storage class specified for parameter '__mmu_notifier_clear_flush_young' extern int __mmu_notifier_clear_flush_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:391:12: error: storage class specified for parameter '__mmu_notifier_clear_young' extern int __mmu_notifier_clear_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:394:12: error: storage class specified for parameter '__mmu_notifier_test_young' extern int __mmu_notifier_test_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:396:13: error: storage class specified for parameter '__mmu_notifier_change_pte' extern void __mmu_notifier_change_pte(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:398:12: error: storage class specified for parameter '__mmu_notifier_invalidate_range_start' extern int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *r); ^ /kisskb/src/include/linux/mmu_notifier.h:399:13: error: storage class specified for parameter '__mmu_notifier_invalidate_range_end' extern void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *r, ^ /kisskb/src/include/linux/mmu_notifier.h:401:13: error: storage class specified for parameter '__mmu_notifier_invalidate_range' extern void __mmu_notifier_invalidate_range(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:404:1: error: storage class specified for parameter 'mmu_notifier_range_update_to_read_only' mmu_notifier_range_update_to_read_only(const struct mmu_notifier_range *range); ^ /kisskb/src/include/linux/mmu_notifier.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:446:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:497:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:508:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:521:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from ./arch/powerpc/include/generated/asm/msi.h:1:0, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/asm-generic/msi.h:13:1: error: empty declaration [-Werror] struct msi_desc; ^ /kisskb/src/include/asm-generic/msi.h:32:3: error: storage class specified for parameter 'msi_alloc_info_t' } msi_alloc_info_t; ^ In file included from /kisskb/src/include/linux/kvm_host.h:19:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/msi.h:29:28: error: storage class specified for parameter 'arch_msi_msg_addr_lo_t' } __attribute__ ((packed)) arch_msi_msg_addr_lo_t; ^ /kisskb/src/include/linux/msi.h:35:28: error: storage class specified for parameter 'arch_msi_msg_addr_hi_t' } __attribute__ ((packed)) arch_msi_msg_addr_hi_t; ^ /kisskb/src/include/linux/msi.h:41:28: error: storage class specified for parameter 'arch_msi_msg_data_t' } __attribute__ ((packed)) arch_msi_msg_data_t; ^ /kisskb/src/include/linux/msi.h:57:3: error: expected specifier-qualifier-list before 'arch_msi_msg_addr_lo_t' arch_msi_msg_addr_lo_t arch_addr_lo; ^ /kisskb/src/include/linux/msi.h:61:3: error: expected specifier-qualifier-list before 'arch_msi_msg_addr_hi_t' arch_msi_msg_addr_hi_t arch_addr_hi; ^ /kisskb/src/include/linux/msi.h:65:3: error: expected specifier-qualifier-list before 'arch_msi_msg_data_t' arch_msi_msg_data_t arch_data; ^ /kisskb/src/include/linux/msi.h:54:1: error: empty declaration [-Werror] struct msi_msg { ^ /kisskb/src/include/linux/msi.h:69:12: error: storage class specified for parameter 'pci_msi_ignore_mask' extern int pci_msi_ignore_mask; ^ /kisskb/src/include/linux/msi.h:71:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/include/linux/msi.h:72:1: error: empty declaration [-Werror] struct msi_desc; ^ /kisskb/src/include/linux/msi.h:73:1: error: empty declaration [-Werror] struct pci_dev; ^ /kisskb/src/include/linux/msi.h:74:1: error: empty declaration [-Werror] struct platform_msi_priv_data; ^ /kisskb/src/include/linux/msi.h:75:1: error: empty declaration [-Werror] struct device_attribute; ^ /kisskb/src/include/linux/msi.h:86:16: error: storage class specified for parameter 'irq_write_msi_msg_t' typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc, ^ /kisskb/src/include/linux/msi.h:103:1: error: empty declaration [-Werror] struct pci_msi_desc { ^ /kisskb/src/include/linux/msi.h:141:1: error: empty declaration [-Werror] struct msi_desc { ^ /kisskb/src/include/linux/msi.h:165:1: error: empty declaration [-Werror] enum msi_desc_filter { ^ /kisskb/src/include/linux/msi.h:182:1: error: empty declaration [-Werror] struct msi_device_data { ^ /kisskb/src/include/linux/msi.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/msi.h:236:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/msi.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/msi.h:300:1: error: empty declaration [-Werror] struct irq_domain; ^ /kisskb/src/include/linux/msi.h:301:1: error: empty declaration [-Werror] struct irq_domain_ops; ^ /kisskb/src/include/linux/msi.h:302:1: error: empty declaration [-Werror] struct irq_chip; ^ /kisskb/src/include/linux/msi.h:303:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/include/linux/msi.h:304:1: error: empty declaration [-Werror] struct fwnode_handle; ^ /kisskb/src/include/linux/msi.h:305:1: error: empty declaration [-Werror] struct msi_domain_info; ^ /kisskb/src/include/linux/msi.h:344:10: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' msi_alloc_info_t *arg); ^ /kisskb/src/include/linux/msi.h:348:9: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' msi_alloc_info_t *arg); ^ /kisskb/src/include/linux/msi.h:357:12: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' msi_alloc_info_t *arg); ^ /kisskb/src/include/linux/msi.h:358:20: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' void (*set_desc)(msi_alloc_info_t *arg, ^ /kisskb/src/include/linux/msi.h:342:1: error: empty declaration [-Werror] struct msi_domain_ops { ^ /kisskb/src/include/linux/msi.h:382:2: error: expected specifier-qualifier-list before 'irq_flow_handler_t' irq_flow_handler_t handler; ^ /kisskb/src/include/linux/msi.h:377:1: error: empty declaration [-Werror] struct msi_domain_info { ^ /kisskb/src/include/linux/msi.h:389:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/msi.h:444:8: error: expected declaration specifiers or '...' before 'irq_write_msi_msg_t' irq_write_msi_msg_t write_msi_msg); ^ /kisskb/src/include/linux/msi.h:449:18: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' int nvec, msi_alloc_info_t *args); ^ /kisskb/src/include/linux/msi.h:451:29: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' int virq, int nvec, msi_alloc_info_t *args); ^ /kisskb/src/include/linux/msi.h:456:9: error: expected declaration specifiers or '...' before 'irq_write_msi_msg_t' irq_write_msi_msg_t write_msi_msg, ^ In file included from /kisskb/src/include/linux/kvm_host.h:26:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/context_tracking.h:92:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void user_enter(void) { } ^ /kisskb/src/include/linux/context_tracking.h:93:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void user_exit(void) { } ^ /kisskb/src/include/linux/context_tracking.h:94:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void user_enter_irqoff(void) { } ^ /kisskb/src/include/linux/context_tracking.h:95:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void user_exit_irqoff(void) { } ^ /kisskb/src/include/linux/context_tracking.h:96:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int exception_enter(void) { return 0; } ^ /kisskb/src/include/linux/context_tracking.h:97:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void exception_exit(enum ctx_state prev_ctx) { } ^ /kisskb/src/include/linux/context_tracking.h:98:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int ct_state(void) { return -1; } ^ /kisskb/src/include/linux/context_tracking.h:99:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_guest_enter(void) { return false; } ^ /kisskb/src/include/linux/context_tracking.h:100:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void context_tracking_guest_exit(void) { } ^ /kisskb/src/include/linux/context_tracking.h:107:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void context_tracking_init(void) { } ^ /kisskb/src/include/linux/context_tracking.h:111:13: error: storage class specified for parameter 'ct_idle_enter' extern void ct_idle_enter(void); ^ /kisskb/src/include/linux/context_tracking.h:112:13: error: storage class specified for parameter 'ct_idle_exit' extern void ct_idle_exit(void); ^ /kisskb/src/include/linux/context_tracking.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:27:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/irqbypass.h:13:1: error: empty declaration [-Werror] struct irq_bypass_consumer; ^ /kisskb/src/include/linux/irqbypass.h:45:1: error: empty declaration [-Werror] struct irq_bypass_producer { ^ /kisskb/src/include/linux/irqbypass.h:71:1: error: empty declaration [-Werror] struct irq_bypass_consumer { ^ In file included from /kisskb/src/include/linux/kvm_host.h:30:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/nospec.h:12:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/nospec.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/ftrace.h:10:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/trace_recursion.h:22:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/trace_recursion.h:109:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/trace_recursion.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_recursion.h:125:13: error: storage class specified for parameter 'ftrace_record_recursion' extern void ftrace_record_recursion(unsigned long ip, unsigned long parent_ip); ^ /kisskb/src/include/linux/trace_recursion.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_recursion.h:177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_recursion.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_recursion.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/trace_clock.h:16:0, from /kisskb/src/include/linux/ftrace.h:11, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/trace_clock.h:13:20: error: storage class specified for parameter 'trace_clock_ppc_tb' extern u64 notrace trace_clock_ppc_tb(void); ^ /kisskb/src/arch/powerpc/include/asm/trace_clock.h:13:20: error: '__no_instrument_function__' attribute applies only to functions In file included from /kisskb/src/include/linux/ftrace.h:11:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/trace_clock.h:18:20: error: storage class specified for parameter 'trace_clock_local' extern u64 notrace trace_clock_local(void); ^ /kisskb/src/include/linux/trace_clock.h:18:20: error: '__no_instrument_function__' attribute applies only to functions /kisskb/src/include/linux/trace_clock.h:19:20: error: storage class specified for parameter 'trace_clock' extern u64 notrace trace_clock(void); ^ /kisskb/src/include/linux/trace_clock.h:19:20: error: '__no_instrument_function__' attribute applies only to functions /kisskb/src/include/linux/trace_clock.h:20:20: error: storage class specified for parameter 'trace_clock_jiffies' extern u64 notrace trace_clock_jiffies(void); ^ /kisskb/src/include/linux/trace_clock.h:20:20: error: '__no_instrument_function__' attribute applies only to functions /kisskb/src/include/linux/trace_clock.h:21:20: error: storage class specified for parameter 'trace_clock_global' extern u64 notrace trace_clock_global(void); ^ /kisskb/src/include/linux/trace_clock.h:21:20: error: '__no_instrument_function__' attribute applies only to functions /kisskb/src/include/linux/trace_clock.h:22:20: error: storage class specified for parameter 'trace_clock_counter' extern u64 notrace trace_clock_counter(void); ^ /kisskb/src/include/linux/trace_clock.h:22:20: error: '__no_instrument_function__' attribute applies only to functions In file included from /kisskb/src/include/linux/ftrace.h:13:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kallsyms.h:24:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/kallsyms.h:25:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/kallsyms.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kallsyms.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kallsyms.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kallsyms.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kallsyms.h:76:12: error: storage class specified for parameter 'kallsyms_lookup_size_offset' extern int kallsyms_lookup_size_offset(unsigned long addr, ^ /kisskb/src/include/linux/kallsyms.h:87:12: error: storage class specified for parameter 'sprint_symbol' extern int sprint_symbol(char *buffer, unsigned long address); ^ /kisskb/src/include/linux/kallsyms.h:88:12: error: storage class specified for parameter 'sprint_symbol_build_id' extern int sprint_symbol_build_id(char *buffer, unsigned long address); ^ /kisskb/src/include/linux/kallsyms.h:89:12: error: storage class specified for parameter 'sprint_symbol_no_offset' extern int sprint_symbol_no_offset(char *buffer, unsigned long address); ^ /kisskb/src/include/linux/kallsyms.h:90:12: error: storage class specified for parameter 'sprint_backtrace' extern int sprint_backtrace(char *buffer, unsigned long address); ^ /kisskb/src/include/linux/kallsyms.h:91:12: error: storage class specified for parameter 'sprint_backtrace_build_id' extern int sprint_backtrace_build_id(char *buffer, unsigned long address); ^ /kisskb/src/include/linux/kallsyms.h:97:13: error: storage class specified for parameter 'kallsyms_show_value' extern bool kallsyms_show_value(const struct cred *cred); ^ In file included from /kisskb/src/include/linux/ftrace.h:13:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kallsyms.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/ptrace.h:10:0, from /kisskb/src/include/linux/ftrace.h:16, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/pid_namespace.h:17:1: error: empty declaration [-Werror] struct fs_pin; ^ /kisskb/src/include/linux/pid_namespace.h:19:1: error: empty declaration [-Werror] struct pid_namespace { ^ /kisskb/src/include/linux/pid_namespace.h:36:29: error: storage class specified for parameter 'init_pid_ns' extern struct pid_namespace init_pid_ns; ^ /kisskb/src/include/linux/pid_namespace.h:36:29: error: redefinition of parameter 'init_pid_ns' In file included from /kisskb/src/include/linux/sched.h:14:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/list_lru.h:14, 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/pid.h:113:29: note: previous definition of 'init_pid_ns' was here extern struct pid_namespace init_pid_ns; ^ In file included from /kisskb/src/include/linux/ptrace.h:10:0, from /kisskb/src/include/linux/ftrace.h:16, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/pid_namespace.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pid_namespace.h:48:30: error: storage class specified for parameter 'copy_pid_ns' extern struct pid_namespace *copy_pid_ns(unsigned long flags, ^ /kisskb/src/include/linux/pid_namespace.h:50:13: error: storage class specified for parameter 'zap_pid_ns_processes' extern void zap_pid_ns_processes(struct pid_namespace *pid_ns); ^ /kisskb/src/include/linux/pid_namespace.h:51:12: error: storage class specified for parameter 'reboot_pid_ns' extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd); ^ /kisskb/src/include/linux/pid_namespace.h:52:13: error: storage class specified for parameter 'put_pid_ns' extern void put_pid_ns(struct pid_namespace *ns); ^ /kisskb/src/include/linux/pid_namespace.h:85:30: error: storage class specified for parameter 'task_active_pid_ns' extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk); ^ /kisskb/src/include/linux/pid_namespace.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/ptrace.h:11:0, from /kisskb/src/include/linux/ftrace.h:16, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/uapi/linux/ptrace.h:59:1: error: empty declaration [-Werror] struct ptrace_peeksiginfo_args { ^ /kisskb/src/include/uapi/linux/ptrace.h:71:1: error: empty declaration [-Werror] struct seccomp_metadata { ^ /kisskb/src/include/uapi/linux/ptrace.h:82:1: error: empty declaration [-Werror] struct ptrace_syscall_info { ^ /kisskb/src/include/uapi/linux/ptrace.h:107:1: error: empty declaration [-Werror] struct ptrace_rseq_configuration { ^ In file included from /kisskb/src/include/linux/ftrace.h:16:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/ptrace.h:15:1: error: empty declaration [-Werror] struct syscall_info { ^ /kisskb/src/include/linux/ptrace.h:20:12: error: storage class specified for parameter 'ptrace_access_vm' extern int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, ^ /kisskb/src/include/linux/ptrace.h:49:13: error: storage class specified for parameter 'arch_ptrace' extern long arch_ptrace(struct task_struct *child, long request, ^ /kisskb/src/include/linux/ptrace.h:51:12: error: storage class specified for parameter 'ptrace_readdata' extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len); ^ /kisskb/src/include/linux/ptrace.h:52:12: error: storage class specified for parameter 'ptrace_writedata' extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); ^ /kisskb/src/include/linux/ptrace.h:53:13: error: storage class specified for parameter 'ptrace_disable' extern void ptrace_disable(struct task_struct *); ^ /kisskb/src/include/linux/ptrace.h:54:12: error: storage class specified for parameter 'ptrace_request' extern int ptrace_request(struct task_struct *child, long request, ^ /kisskb/src/include/linux/ptrace.h:56:12: error: storage class specified for parameter 'ptrace_notify' extern int ptrace_notify(int exit_code, unsigned long message); ^ /kisskb/src/include/linux/ptrace.h:57:13: error: storage class specified for parameter '__ptrace_link' extern void __ptrace_link(struct task_struct *child, ^ /kisskb/src/include/linux/ptrace.h:60:13: error: storage class specified for parameter '__ptrace_unlink' extern void __ptrace_unlink(struct task_struct *child); ^ /kisskb/src/include/linux/ptrace.h:61:13: error: storage class specified for parameter 'exit_ptrace' extern void exit_ptrace(struct task_struct *tracer, struct list_head *dead); ^ /kisskb/src/include/linux/ptrace.h:88:13: error: storage class specified for parameter 'ptrace_may_access' extern bool ptrace_may_access(struct task_struct *task, unsigned int mode); ^ /kisskb/src/include/linux/ptrace.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:305:13: error: storage class specified for parameter 'user_enable_single_step' extern void user_enable_single_step(struct task_struct *); ^ /kisskb/src/include/linux/ptrace.h:306:13: error: storage class specified for parameter 'user_disable_single_step' extern void user_disable_single_step(struct task_struct *); ^ /kisskb/src/include/linux/ptrace.h:335:13: error: storage class specified for parameter 'user_enable_block_step' extern void user_enable_block_step(struct task_struct *); ^ /kisskb/src/include/linux/ptrace.h:339:13: error: storage class specified for parameter 'user_single_step_report' extern void user_single_step_report(struct pt_regs *regs); ^ /kisskb/src/include/linux/ptrace.h:405:12: error: storage class specified for parameter 'task_current_syscall' extern int task_current_syscall(struct task_struct *target, struct syscall_info *info); ^ /kisskb/src/include/linux/ptrace.h:407:13: error: storage class specified for parameter 'sigaction_compat_abi' extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact); ^ /kisskb/src/include/linux/ptrace.h:413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:478:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/ftrace.h:23:0, from /kisskb/src/include/linux/kvm_host.h:32, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/ftrace.h:14:13: error: storage class specified for parameter '_mcount' extern void _mcount(void); ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:25:1: error: empty declaration [-Werror] struct dyn_arch_ftrace { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/ftrace.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:32:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/ftrace.h:35:13: error: storage class specified for parameter 'ftrace_boot_snapshot' extern void ftrace_boot_snapshot(void); ^ /kisskb/src/include/linux/ftrace.h:41:1: error: empty declaration [-Werror] struct ftrace_ops; ^ /kisskb/src/include/linux/ftrace.h:42:1: error: empty declaration [-Werror] struct ftrace_regs; ^ /kisskb/src/include/linux/ftrace.h:70:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/ftrace.h:71:1: error: empty declaration [-Werror] struct ftrace_hash; ^ /kisskb/src/include/linux/ftrace.h:72:1: error: empty declaration [-Werror] struct ftrace_direct_func; ^ /kisskb/src/include/linux/ftrace.h:103:12: error: storage class specified for parameter 'ftrace_enabled' extern int ftrace_enabled; ^ /kisskb/src/include/linux/ftrace.h:108:18: error: field 'regs' has incomplete type struct pt_regs regs; ^ /kisskb/src/include/linux/ftrace.h:107:1: error: empty declaration [-Werror] struct ftrace_regs { ^ /kisskb/src/include/linux/ftrace.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:129:16: error: storage class specified for parameter 'ftrace_func_t' typedef void (*ftrace_func_t)(unsigned long ip, unsigned long parent_ip, ^ /kisskb/src/include/linux/ftrace.h:132:1: error: expected declaration specifiers before 'ftrace_func_t' ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); ^ /kisskb/src/include/linux/ftrace.h:190:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:233:1: error: empty declaration [-Werror] enum ftrace_ops_cmd { ^ /kisskb/src/include/linux/ftrace.h:246:15: error: storage class specified for parameter 'ftrace_ops_func_t' typedef int (*ftrace_ops_func_t)(struct ftrace_ops *op, enum ftrace_ops_cmd cmd); ^ /kisskb/src/include/linux/ftrace.h:250:1: error: empty declaration [-Werror] struct ftrace_ops_hash { ^ /kisskb/src/include/linux/ftrace.h:278:2: error: expected specifier-qualifier-list before 'ftrace_func_t' ftrace_func_t func; ^ /kisskb/src/include/linux/ftrace.h:277:1: error: empty declaration [-Werror] struct ftrace_ops { ^ /kisskb/src/include/linux/ftrace.h:294:33: error: storage class specified for parameter 'ftrace_ops_list' extern struct ftrace_ops __rcu *ftrace_ops_list; ^ /kisskb/src/include/linux/ftrace.h:295:26: error: storage class specified for parameter 'ftrace_list_end' extern struct ftrace_ops ftrace_list_end; ^ /kisskb/src/include/linux/ftrace.h:320:1: error: empty declaration [-Werror] enum ftrace_tracing_type_t { ^ /kisskb/src/include/linux/ftrace.h:326:35: error: storage class specified for parameter 'ftrace_tracing_type' extern enum ftrace_tracing_type_t ftrace_tracing_type; ^ /kisskb/src/include/linux/ftrace.h:338:13: error: storage class specified for parameter 'ftrace_stub' extern void ftrace_stub(unsigned long a0, unsigned long a1, ^ /kisskb/src/include/linux/ftrace.h:359:1: error: empty declaration [-Werror] struct ftrace_func_entry { ^ /kisskb/src/include/linux/ftrace.h:365:1: error: empty declaration [-Werror] struct dyn_ftrace; ^ /kisskb/src/include/linux/ftrace.h:384:1: error: empty declaration [-Werror] struct ftrace_ops; ^ /kisskb/src/include/linux/ftrace.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:400:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:407:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:419:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:447:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long addr) { } ^ /kisskb/src/include/linux/ftrace.h:452:12: error: storage class specified for parameter 'stack_tracer_enabled' extern int stack_tracer_enabled; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_disable_stack_tracer' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/ftrace.h:458:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, disable_stack_tracer); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_disable_stack_tracer' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/ftrace.h:458:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, disable_stack_tracer); ^ /kisskb/src/include/linux/ftrace.h:458:22: error: storage class specified for parameter 'disable_stack_tracer' DECLARE_PER_CPU(int, disable_stack_tracer); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/ftrace.h:458:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, disable_stack_tracer); ^ /kisskb/src/include/linux/ftrace.h:458:22: error: section attribute not allowed for 'disable_stack_tracer' DECLARE_PER_CPU(int, disable_stack_tracer); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/ftrace.h:458:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, disable_stack_tracer); ^ In file included from /kisskb/src/include/linux/kvm_host.h:32:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/ftrace.h:472:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:501:1: error: empty declaration [-Werror] enum ftrace_bug_type { ^ /kisskb/src/include/linux/ftrace.h:508:29: error: storage class specified for parameter 'ftrace_bug_type' extern enum ftrace_bug_type ftrace_bug_type; ^ /kisskb/src/include/linux/ftrace.h:514:20: error: storage class specified for parameter 'ftrace_expected' extern const void *ftrace_expected; ^ /kisskb/src/include/linux/ftrace.h:518:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/ftrace.h:520:12: error: storage class specified for parameter 'ftrace_text_reserved' extern int ftrace_text_reserved(const void *start, const void *end); ^ /kisskb/src/include/linux/ftrace.h:546:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:563:1: error: empty declaration [-Werror] struct dyn_ftrace { ^ /kisskb/src/include/linux/ftrace.h:582:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:602:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:609:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:624:1: error: empty declaration [-Werror] struct ftrace_rec_iter; ^ /kisskb/src/include/linux/ftrace.h:644:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftrace_trace_function' extern ftrace_func_t ftrace_trace_function; ^ /kisskb/src/include/linux/ftrace.h:655:1: error: section attribute not allowed for 'ftrace_set_early_filter' ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable); ^ /kisskb/src/include/linux/ftrace.h:655:32: error: '__cold__' attribute ignored [-Werror=attributes] ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable); ^ /kisskb/src/include/linux/ftrace.h:655:32: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/ftrace.h:658:12: error: storage class specified for parameter 'ftrace_ip_converted' extern int ftrace_ip_converted(unsigned long ip); ^ /kisskb/src/include/linux/ftrace.h:659:12: error: storage class specified for parameter 'ftrace_dyn_arch_init' extern int ftrace_dyn_arch_init(void); ^ /kisskb/src/include/linux/ftrace.h:660:13: error: storage class specified for parameter 'ftrace_replace_code' extern void ftrace_replace_code(int enable); ^ /kisskb/src/include/linux/ftrace.h:661:38: error: expected declaration specifiers or '...' before 'ftrace_func_t' extern int ftrace_update_ftrace_func(ftrace_func_t func); ^ /kisskb/src/include/linux/ftrace.h:662:13: error: storage class specified for parameter 'ftrace_caller' extern void ftrace_caller(void); ^ /kisskb/src/include/linux/ftrace.h:663:13: error: storage class specified for parameter 'ftrace_regs_caller' extern void ftrace_regs_caller(void); ^ /kisskb/src/include/linux/ftrace.h:664:13: error: storage class specified for parameter 'ftrace_call' extern void ftrace_call(void); ^ /kisskb/src/include/linux/ftrace.h:665:13: error: storage class specified for parameter 'ftrace_regs_call' extern void ftrace_regs_call(void); ^ /kisskb/src/include/linux/ftrace.h:666:13: error: storage class specified for parameter 'mcount_call' extern void mcount_call(void); ^ /kisskb/src/include/linux/ftrace.h:697:13: error: storage class specified for parameter 'ftrace_graph_caller' extern void ftrace_graph_caller(void); ^ /kisskb/src/include/linux/ftrace.h:698:12: error: storage class specified for parameter 'ftrace_enable_ftrace_graph_caller' extern int ftrace_enable_ftrace_graph_caller(void); ^ /kisskb/src/include/linux/ftrace.h:699:12: error: storage class specified for parameter 'ftrace_disable_ftrace_graph_caller' extern int ftrace_disable_ftrace_graph_caller(void); ^ /kisskb/src/include/linux/ftrace.h:726:12: error: storage class specified for parameter 'ftrace_make_nop' extern int ftrace_make_nop(struct module *mod, ^ /kisskb/src/include/linux/ftrace.h:769:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:794:12: error: storage class specified for parameter 'ftrace_make_call' extern int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr); ^ /kisskb/src/include/linux/ftrace.h:824:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:830:12: error: storage class specified for parameter 'ftrace_arch_read_dyn_info' extern int ftrace_arch_read_dyn_info(char *buf, int size); ^ /kisskb/src/include/linux/ftrace.h:832:12: error: storage class specified for parameter 'skip_trace' extern int skip_trace(unsigned long ip); ^ /kisskb/src/include/linux/ftrace.h:833:13: error: storage class specified for parameter 'ftrace_module_init' extern void ftrace_module_init(struct module *mod); ^ /kisskb/src/include/linux/ftrace.h:834:13: error: storage class specified for parameter 'ftrace_module_enable' extern void ftrace_module_enable(struct module *mod); ^ /kisskb/src/include/linux/ftrace.h:835:13: error: storage class specified for parameter 'ftrace_release_mod' extern void ftrace_release_mod(struct module *mod); ^ /kisskb/src/include/linux/ftrace.h:837:13: error: storage class specified for parameter 'ftrace_disable_daemon' extern void ftrace_disable_daemon(void); ^ /kisskb/src/include/linux/ftrace.h:838:13: error: storage class specified for parameter 'ftrace_enable_daemon' extern void ftrace_enable_daemon(void); ^ /kisskb/src/include/linux/ftrace.h:895:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:907:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:918:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:947:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:971:13: error: storage class specified for parameter 'ftrace_init' extern void ftrace_init(void); ^ /kisskb/src/include/linux/ftrace.h:986:1: error: empty declaration [-Werror] struct ftrace_graph_ent { ^ /kisskb/src/include/linux/ftrace.h:996:1: error: empty declaration [-Werror] struct ftrace_graph_ret { ^ /kisskb/src/include/linux/ftrace.h:1006:16: error: storage class specified for parameter 'trace_func_graph_ret_t' typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); /* return */ ^ /kisskb/src/include/linux/ftrace.h:1007:15: error: storage class specified for parameter 'trace_func_graph_ent_t' typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); /* entry */ ^ /kisskb/src/include/linux/ftrace.h:1009:12: error: storage class specified for parameter 'ftrace_graph_entry_stub' extern int ftrace_graph_entry_stub(struct ftrace_graph_ent *trace); ^ /kisskb/src/include/linux/ftrace.h:1014:2: error: expected specifier-qualifier-list before 'trace_func_graph_ent_t' trace_func_graph_ent_t entryfunc; ^ /kisskb/src/include/linux/ftrace.h:1013:1: error: empty declaration [-Werror] struct fgraph_ops { ^ /kisskb/src/include/linux/ftrace.h:1023:1: error: empty declaration [-Werror] struct ftrace_ret_stack { ^ /kisskb/src/include/linux/ftrace.h:1043:13: error: storage class specified for parameter 'return_to_handler' extern void return_to_handler(void); ^ /kisskb/src/include/linux/ftrace.h:1046:1: error: storage class specified for parameter 'function_graph_enter' function_graph_enter(unsigned long ret, unsigned long func, ^ /kisskb/src/include/linux/ftrace.h:1065:12: error: storage class specified for parameter 'register_ftrace_graph' extern int register_ftrace_graph(struct fgraph_ops *ops); ^ /kisskb/src/include/linux/ftrace.h:1066:13: error: storage class specified for parameter 'unregister_ftrace_graph' extern void unregister_ftrace_graph(struct fgraph_ops *ops); ^ In file included from /kisskb/src/include/linux/dynamic_debug.h:6:0, from /kisskb/src/include/linux/printk.h:573, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, 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:56, 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/ftrace.h:1075:26: error: storage class specified for parameter 'kill_ftrace_graph' DECLARE_STATIC_KEY_FALSE(kill_ftrace_graph); ^ /kisskb/src/include/linux/jump_label.h:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ In file included from /kisskb/src/include/linux/kvm_host.h:32:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/ftrace.h:1078:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1082:13: error: storage class specified for parameter 'ftrace_graph_stop' extern void ftrace_graph_stop(void); ^ /kisskb/src/include/linux/ftrace.h:1085:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftrace_graph_return' extern trace_func_graph_ret_t ftrace_graph_return; ^ /kisskb/src/include/linux/ftrace.h:1086:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftrace_graph_entry' extern trace_func_graph_ent_t ftrace_graph_entry; ^ /kisskb/src/include/linux/ftrace.h:1088:13: error: storage class specified for parameter 'ftrace_graph_init_task' extern void ftrace_graph_init_task(struct task_struct *t); ^ /kisskb/src/include/linux/ftrace.h:1089:13: error: storage class specified for parameter 'ftrace_graph_exit_task' extern void ftrace_graph_exit_task(struct task_struct *t); ^ /kisskb/src/include/linux/ftrace.h:1090:13: error: storage class specified for parameter 'ftrace_graph_init_idle_task' extern void ftrace_graph_init_idle_task(struct task_struct *t, int cpu); ^ /kisskb/src/include/linux/ftrace.h:1093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1098:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1125:1: error: empty declaration [-Werror] enum ftrace_dump_mode; ^ /kisskb/src/include/linux/ftrace.h:1127:30: error: storage class specified for parameter 'ftrace_dump_on_oops' extern enum ftrace_dump_mode ftrace_dump_on_oops; ^ /kisskb/src/include/linux/ftrace.h:1128:12: error: storage class specified for parameter 'tracepoint_printk' extern int tracepoint_printk; ^ /kisskb/src/include/linux/ftrace.h:1130:13: error: storage class specified for parameter 'disable_trace_on_warning' extern void disable_trace_on_warning(void); ^ /kisskb/src/include/linux/ftrace.h:1131:12: error: storage class specified for parameter '__disable_trace_on_warning' extern int __disable_trace_on_warning; ^ In file included from /kisskb/src/include/linux/kvm_host.h:33:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/hashtable.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hashtable.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hashtable.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hashtable.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hashtable.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/uapi/linux/kvm.h:15:0, from /kisskb/src/include/linux/kvm_host.h:40, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:36:1: error: empty declaration [-Werror] struct kvm_regs { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:176:1: error: empty declaration [-Werror] struct kvm_sregs { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:279:1: error: empty declaration [-Werror] struct kvm_fpu { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:293:1: error: empty declaration [-Werror] struct kvm_debug_exit_arch { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:304:1: error: empty declaration [-Werror] struct kvm_guest_debug_arch { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:327:1: error: empty declaration [-Werror] struct kvm_sync_regs { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:341:1: error: empty declaration [-Werror] struct kvm_create_spapr_tce { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:347:1: error: empty declaration [-Werror] struct kvm_create_spapr_tce_64 { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:356:1: error: empty declaration [-Werror] struct kvm_allocate_rma { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:361:1: error: empty declaration [-Werror] struct kvm_rtas_token_args { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:366:1: error: empty declaration [-Werror] struct kvm_book3e_206_tlb_entry { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:373:1: error: empty declaration [-Werror] struct kvm_book3e_206_tlb_params { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:402:1: error: empty declaration [-Werror] struct kvm_get_htab_fd { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:420:1: error: empty declaration [-Werror] struct kvm_get_htab_header { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:427:1: error: empty declaration [-Werror] struct kvm_ppc_mmuv3_cfg { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:437:1: error: empty declaration [-Werror] struct kvm_ppc_rmmu_info { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:447:1: error: empty declaration [-Werror] struct kvm_ppc_cpu_char { ^ /kisskb/src/arch/powerpc/include/uapi/asm/kvm.h:722:1: error: empty declaration [-Werror] struct kvm_ppc_xive_eq { ^ In file included from /kisskb/src/include/linux/kvm_host.h:40:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/uapi/linux/kvm.h:59:1: error: empty declaration [-Werror] struct kvm_user_trace_setup { ^ /kisskb/src/include/uapi/linux/kvm.h:71:1: error: empty declaration [-Werror] struct kvm_breakpoint { ^ /kisskb/src/include/uapi/linux/kvm.h:77:1: error: empty declaration [-Werror] struct kvm_debug_guest { ^ /kisskb/src/include/uapi/linux/kvm.h:90:1: error: empty declaration [-Werror] struct kvm_memory_region { ^ /kisskb/src/include/uapi/linux/kvm.h:98:1: error: empty declaration [-Werror] struct kvm_userspace_memory_region { ^ /kisskb/src/include/uapi/linux/kvm.h:115:1: error: empty declaration [-Werror] struct kvm_irq_level { ^ /kisskb/src/include/uapi/linux/kvm.h:130:1: error: empty declaration [-Werror] struct kvm_irqchip { ^ /kisskb/src/include/uapi/linux/kvm.h:145:1: error: empty declaration [-Werror] struct kvm_pit_config { ^ /kisskb/src/include/uapi/linux/kvm.h:152:1: error: empty declaration [-Werror] struct kvm_s390_skeys { ^ /kisskb/src/include/uapi/linux/kvm.h:178:1: error: empty declaration [-Werror] struct kvm_s390_cmma_log { ^ /kisskb/src/include/uapi/linux/kvm.h:189:1: error: empty declaration [-Werror] struct kvm_hyperv_exit { ^ /kisskb/src/include/uapi/linux/kvm.h:220:1: error: empty declaration [-Werror] struct kvm_xen_exit { ^ /kisskb/src/include/uapi/linux/kvm.h:290:1: error: empty declaration [-Werror] struct kvm_run { ^ /kisskb/src/include/uapi/linux/kvm.h:538:1: error: empty declaration [-Werror] struct kvm_coalesced_mmio_zone { ^ /kisskb/src/include/uapi/linux/kvm.h:547:1: error: empty declaration [-Werror] struct kvm_coalesced_mmio { ^ /kisskb/src/include/uapi/linux/kvm.h:557:1: error: empty declaration [-Werror] struct kvm_coalesced_mmio_ring { ^ /kisskb/src/include/uapi/linux/kvm.h:567:1: error: empty declaration [-Werror] struct kvm_translation { ^ /kisskb/src/include/uapi/linux/kvm.h:580:1: error: empty declaration [-Werror] struct kvm_s390_mem_op { ^ /kisskb/src/include/uapi/linux/kvm.h:609:1: error: empty declaration [-Werror] struct kvm_interrupt { ^ /kisskb/src/include/uapi/linux/kvm.h:615:1: error: empty declaration [-Werror] struct kvm_dirty_log { ^ /kisskb/src/include/uapi/linux/kvm.h:625:1: error: empty declaration [-Werror] struct kvm_clear_dirty_log { ^ /kisskb/src/include/uapi/linux/kvm.h:636:1: error: empty declaration [-Werror] struct kvm_signal_mask { ^ /kisskb/src/include/uapi/linux/kvm.h:642:1: error: empty declaration [-Werror] struct kvm_tpr_access_ctl { ^ /kisskb/src/include/uapi/linux/kvm.h:649:1: error: empty declaration [-Werror] struct kvm_vapic_addr { ^ /kisskb/src/include/uapi/linux/kvm.h:668:1: error: empty declaration [-Werror] struct kvm_mp_state { ^ /kisskb/src/include/uapi/linux/kvm.h:672:1: error: empty declaration [-Werror] struct kvm_s390_psw { ^ /kisskb/src/include/uapi/linux/kvm.h:702:1: error: empty declaration [-Werror] struct kvm_s390_interrupt { ^ /kisskb/src/include/uapi/linux/kvm.h:708:1: error: empty declaration [-Werror] struct kvm_s390_io_info { ^ /kisskb/src/include/uapi/linux/kvm.h:715:1: error: empty declaration [-Werror] struct kvm_s390_ext_info { ^ /kisskb/src/include/uapi/linux/kvm.h:721:1: error: empty declaration [-Werror] struct kvm_s390_pgm_info { ^ /kisskb/src/include/uapi/linux/kvm.h:742:1: error: empty declaration [-Werror] struct kvm_s390_prefix_info { ^ /kisskb/src/include/uapi/linux/kvm.h:746:1: error: empty declaration [-Werror] struct kvm_s390_extcall_info { ^ /kisskb/src/include/uapi/linux/kvm.h:750:1: error: empty declaration [-Werror] struct kvm_s390_emerg_info { ^ /kisskb/src/include/uapi/linux/kvm.h:755:1: error: empty declaration [-Werror] struct kvm_s390_stop_info { ^ /kisskb/src/include/uapi/linux/kvm.h:759:1: error: empty declaration [-Werror] struct kvm_s390_mchk_info { ^ /kisskb/src/include/uapi/linux/kvm.h:768:1: error: empty declaration [-Werror] struct kvm_s390_irq { ^ /kisskb/src/include/uapi/linux/kvm.h:783:1: error: empty declaration [-Werror] struct kvm_s390_irq_state { ^ /kisskb/src/include/uapi/linux/kvm.h:795:1: error: empty declaration [-Werror] struct kvm_guest_debug { ^ /kisskb/src/include/uapi/linux/kvm.h:801:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/kvm.h:818:1: error: empty declaration [-Werror] struct kvm_ioeventfd { ^ /kisskb/src/include/uapi/linux/kvm.h:837:1: error: empty declaration [-Werror] struct kvm_enable_cap { ^ /kisskb/src/include/uapi/linux/kvm.h:849:1: error: empty declaration [-Werror] struct kvm_ppc_pvinfo { ^ /kisskb/src/include/uapi/linux/kvm.h:859:1: error: empty declaration [-Werror] struct kvm_ppc_one_page_size { ^ /kisskb/src/include/uapi/linux/kvm.h:864:1: error: empty declaration [-Werror] struct kvm_ppc_one_seg_page_size { ^ /kisskb/src/include/uapi/linux/kvm.h:874:1: error: empty declaration [-Werror] struct kvm_ppc_smmu_info { ^ /kisskb/src/include/uapi/linux/kvm.h:883:1: error: empty declaration [-Werror] struct kvm_ppc_resize_hpt { ^ /kisskb/src/include/uapi/linux/kvm.h:1184:1: error: empty declaration [-Werror] struct kvm_irq_routing_irqchip { ^ /kisskb/src/include/uapi/linux/kvm.h:1189:1: error: empty declaration [-Werror] struct kvm_irq_routing_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1199:1: error: empty declaration [-Werror] struct kvm_irq_routing_s390_adapter { ^ /kisskb/src/include/uapi/linux/kvm.h:1207:1: error: empty declaration [-Werror] struct kvm_irq_routing_hv_sint { ^ /kisskb/src/include/uapi/linux/kvm.h:1212:1: error: empty declaration [-Werror] struct kvm_irq_routing_xen_evtchn { ^ /kisskb/src/include/uapi/linux/kvm.h:1227:1: error: empty declaration [-Werror] struct kvm_irq_routing_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:1242:1: error: empty declaration [-Werror] struct kvm_irq_routing { ^ /kisskb/src/include/uapi/linux/kvm.h:1292:1: error: empty declaration [-Werror] struct kvm_irqfd { ^ /kisskb/src/include/uapi/linux/kvm.h:1307:1: error: empty declaration [-Werror] struct kvm_clock_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1321:1: error: empty declaration [-Werror] struct kvm_config_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1328:1: error: empty declaration [-Werror] struct kvm_dirty_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1363:1: error: empty declaration [-Werror] struct kvm_reg_list { ^ /kisskb/src/include/uapi/linux/kvm.h:1368:1: error: empty declaration [-Werror] struct kvm_one_reg { ^ /kisskb/src/include/uapi/linux/kvm.h:1374:1: error: empty declaration [-Werror] struct kvm_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1383:1: error: empty declaration [-Werror] struct kvm_arm_device_addr { ^ /kisskb/src/include/uapi/linux/kvm.h:1393:1: error: empty declaration [-Werror] struct kvm_create_device { ^ /kisskb/src/include/uapi/linux/kvm.h:1399:1: error: empty declaration [-Werror] struct kvm_device_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1411:1: error: empty declaration [-Werror] enum kvm_device_type { ^ /kisskb/src/include/uapi/linux/kvm.h:1435:1: error: empty declaration [-Werror] struct kvm_vfio_spapr_tce { ^ /kisskb/src/include/uapi/linux/kvm.h:1460:1: error: empty declaration [-Werror] struct kvm_s390_ucas_mapping { ^ /kisskb/src/include/uapi/linux/kvm.h:1645:1: error: empty declaration [-Werror] struct kvm_enc_region { ^ /kisskb/src/include/uapi/linux/kvm.h:1673:1: error: empty declaration [-Werror] struct kvm_s390_pv_sec_parm { ^ /kisskb/src/include/uapi/linux/kvm.h:1678:1: error: empty declaration [-Werror] struct kvm_s390_pv_unp { ^ /kisskb/src/include/uapi/linux/kvm.h:1684:1: error: empty declaration [-Werror] enum pv_cmd_dmp_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1691:1: error: empty declaration [-Werror] struct kvm_s390_pv_dmp { ^ /kisskb/src/include/uapi/linux/kvm.h:1699:1: error: empty declaration [-Werror] enum pv_cmd_info_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1704:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_dump { ^ /kisskb/src/include/uapi/linux/kvm.h:1710:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_vm { ^ /kisskb/src/include/uapi/linux/kvm.h:1718:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_header { ^ /kisskb/src/include/uapi/linux/kvm.h:1725:1: error: empty declaration [-Werror] struct kvm_s390_pv_info { ^ /kisskb/src/include/uapi/linux/kvm.h:1733:1: error: empty declaration [-Werror] enum pv_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1745:1: error: empty declaration [-Werror] struct kvm_pv_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1767:1: error: empty declaration [-Werror] struct kvm_xen_hvm_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1824:1: error: empty declaration [-Werror] struct kvm_xen_vcpu_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1861:1: error: empty declaration [-Werror] enum sev_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1896:1: error: empty declaration [-Werror] struct kvm_sev_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1903:1: error: empty declaration [-Werror] struct kvm_sev_launch_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1912:1: error: empty declaration [-Werror] struct kvm_sev_launch_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1918:1: error: empty declaration [-Werror] struct kvm_sev_launch_secret { ^ /kisskb/src/include/uapi/linux/kvm.h:1927:1: error: empty declaration [-Werror] struct kvm_sev_launch_measure { ^ /kisskb/src/include/uapi/linux/kvm.h:1932:1: error: empty declaration [-Werror] struct kvm_sev_guest_status { ^ /kisskb/src/include/uapi/linux/kvm.h:1938:1: error: empty declaration [-Werror] struct kvm_sev_dbg { ^ /kisskb/src/include/uapi/linux/kvm.h:1944:1: error: empty declaration [-Werror] struct kvm_sev_attestation_report { ^ /kisskb/src/include/uapi/linux/kvm.h:1950:1: error: empty declaration [-Werror] struct kvm_sev_send_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1962:1: error: empty declaration [-Werror] struct kvm_sev_send_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1971:1: error: empty declaration [-Werror] struct kvm_sev_receive_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1980:1: error: empty declaration [-Werror] struct kvm_sev_receive_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1993:1: error: empty declaration [-Werror] struct kvm_assigned_pci_dev { ^ /kisskb/src/include/uapi/linux/kvm.h:2015:1: error: empty declaration [-Werror] struct kvm_assigned_irq { ^ /kisskb/src/include/uapi/linux/kvm.h:2025:1: error: empty declaration [-Werror] struct kvm_assigned_msix_nr { ^ /kisskb/src/include/uapi/linux/kvm.h:2032:1: error: empty declaration [-Werror] struct kvm_assigned_msix_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:2049:1: error: empty declaration [-Werror] struct kvm_hyperv_eventfd { ^ /kisskb/src/include/uapi/linux/kvm.h:2104:1: error: empty declaration [-Werror] struct kvm_dirty_gfn { ^ /kisskb/src/include/uapi/linux/kvm.h:2134:1: error: empty declaration [-Werror] struct kvm_stats_header { ^ /kisskb/src/include/uapi/linux/kvm.h:2180:1: error: empty declaration [-Werror] struct kvm_stats_desc { ^ /kisskb/src/include/uapi/linux/kvm.h:2204:1: error: empty declaration [-Werror] struct kvm_s390_zpci_op { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_para.h:13:0, from /kisskb/src/include/uapi/linux/kvm_para.h:37, from /kisskb/src/include/linux/kvm_para.h:5, from /kisskb/src/include/linux/kvm_host.h:41, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/uapi/asm/kvm_para.h:36:1: error: empty declaration [-Werror] struct kvm_vcpu_arch_shared { ^ In file included from /kisskb/src/arch/powerpc/include/uapi/asm/kvm_para.h:82:0, from /kisskb/src/arch/powerpc/include/asm/kvm_para.h:13, from /kisskb/src/include/uapi/linux/kvm_para.h:37, from /kisskb/src/include/linux/kvm_para.h:5, from /kisskb/src/include/linux/kvm_host.h:41, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:105:13: error: storage class specified for parameter 'epapr_paravirt_enabled' extern bool epapr_paravirt_enabled; ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:106:12: error: storage class specified for parameter 'epapr_hypercall_start' extern u32 epapr_hypercall_start[]; ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:109:12: error: section attribute not allowed for 'epapr_paravirt_early_init' int __init epapr_paravirt_early_init(void); ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:109:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init epapr_paravirt_early_init(void); ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:109:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:256:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:370:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:468:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:510:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:522:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/epapr_hcalls.h:564:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/uapi/linux/kvm_para.h:37:0, from /kisskb/src/include/linux/kvm_para.h:5, from /kisskb/src/include/linux/kvm_host.h:41, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_para.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_para.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_para.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_para.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:41:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kvm_para.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_para.h:14:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_host.h:82:1: error: empty declaration [-Werror] struct lppaca; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:83:1: error: empty declaration [-Werror] struct slb_shadow; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:84:1: error: empty declaration [-Werror] struct dtl_entry; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:86:1: error: empty declaration [-Werror] struct kvmppc_vcpu_book3s; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:87:1: error: empty declaration [-Werror] struct kvmppc_book3s_shadow_vcpu; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:88:1: error: empty declaration [-Werror] struct kvm_nested_guest; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:90:1: error: empty declaration [-Werror] struct kvm_vm_stat { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:96:1: error: empty declaration [-Werror] struct kvm_vcpu_stat { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:132:1: error: empty declaration [-Werror] enum kvm_exit_types { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:167:1: error: empty declaration [-Werror] struct kvmppc_exit_timing { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:176:1: error: empty declaration [-Werror] struct kvmppc_pginfo { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:181:1: error: empty declaration [-Werror] struct kvmppc_spapr_tce_iommu_table { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:190:1: error: empty declaration [-Werror] struct kvmppc_spapr_tce_table { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:204:1: error: empty declaration [-Werror] struct kvmppc_xics; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:205:1: error: empty declaration [-Werror] struct kvmppc_icp; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:206:30: error: storage class specified for parameter 'kvm_xics_ops' extern struct kvm_device_ops kvm_xics_ops; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:209:1: error: empty declaration [-Werror] struct kvmppc_xive; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:210:1: error: empty declaration [-Werror] struct kvmppc_xive_vcpu; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:211:30: error: storage class specified for parameter 'kvm_xive_ops' extern struct kvm_device_ops kvm_xive_ops; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:212:30: error: storage class specified for parameter 'kvm_xive_native_ops' extern struct kvm_device_ops kvm_xive_native_ops; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:214:1: error: empty declaration [-Werror] struct kvmppc_passthru_irqmap; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:224:1: error: empty declaration [-Werror] struct revmap_entry { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:254:1: error: empty declaration [-Werror] struct kvm_arch_memory_slot { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:260:1: error: empty declaration [-Werror] struct kvm_hpt_info { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:271:1: error: empty declaration [-Werror] struct kvm_resize_hpt; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:278:1: error: empty declaration [-Werror] struct kvm_arch { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:367:1: error: empty declaration [-Werror] struct kvmppc_vpa { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:377:1: error: empty declaration [-Werror] struct kvmppc_pte { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:395:40: error: expected declaration specifiers or '...' before 'gva_t' int (*slbfee)(struct kvm_vcpu *vcpu, gva_t eaddr, ulong *ret_slb); ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:401:39: error: expected declaration specifiers or '...' before 'gva_t' int (*xlate)(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:405:42: error: expected declaration specifiers or '...' before 'gva_t' u64 (*ea_to_vp)(struct kvm_vcpu *vcpu, gva_t eaddr, bool data); ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:390:1: error: empty declaration [-Werror] struct kvmppc_mmu { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:409:1: error: empty declaration [-Werror] struct kvmppc_slb { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:425:1: error: empty declaration [-Werror] struct kvmhv_tb_accumulator { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:433:1: error: empty declaration [-Werror] struct kvmppc_irq_map { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:440:1: error: empty declaration [-Werror] struct kvmppc_passthru_irqmap { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:468:1: error: empty declaration [-Werror] struct mmio_hpte_cache_entry { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:479:1: error: empty declaration [-Werror] struct mmio_hpte_cache { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:495:1: error: empty declaration [-Werror] struct openpic; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:498:1: error: empty declaration [-Werror] union xive_tma_w01 { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:530:17: error: field 'regs' has incomplete type struct pt_regs regs __aligned(512); ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:717:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t paddr_accessed; ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:512:1: error: empty declaration [-Werror] struct kvm_vcpu_arch { ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:879:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_hardware_disable(void) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:880:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_hardware_unsetup(void) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:881:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_sync_events(struct kvm *kvm) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:882:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:883:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_flush_shadow_all(struct kvm *kvm) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:884:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:885:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_exit(void) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:886:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) {} ^ /kisskb/src/arch/powerpc/include/asm/kvm_host.h:887:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) {} ^ In file included from /kisskb/src/include/linux/kvm_host.h:46:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kvm_dirty_ring.h:21:1: error: empty declaration [-Werror] struct kvm_dirty_ring { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:19:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/include/linux/kvm_host.h:104:33: error: unknown type name 'kvm_pfn_t' static inline bool is_error_pfn(kvm_pfn_t pfn) ^ /kisskb/src/include/linux/kvm_host.h:114:40: error: unknown type name 'kvm_pfn_t' static inline bool is_error_noslot_pfn(kvm_pfn_t pfn) ^ /kisskb/src/include/linux/kvm_host.h:120:34: error: unknown type name 'kvm_pfn_t' static inline bool is_noslot_pfn(kvm_pfn_t pfn) ^ /kisskb/src/include/linux/kvm_host.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:188:21: error: storage class specified for parameter 'kvm_lock' extern struct mutex kvm_lock; ^ /kisskb/src/include/linux/kvm_host.h:189:25: error: storage class specified for parameter 'vm_list' extern struct list_head vm_list; ^ /kisskb/src/include/linux/kvm_host.h:192:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t addr; ^ /kisskb/src/include/linux/kvm_host.h:191:1: error: empty declaration [-Werror] struct kvm_io_range { ^ /kisskb/src/include/linux/kvm_host.h:199:1: error: empty declaration [-Werror] struct kvm_io_bus { ^ /kisskb/src/include/linux/kvm_host.h:205:1: error: empty declaration [-Werror] enum kvm_bus { ^ /kisskb/src/include/linux/kvm_host.h:213:67: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, ^ /kisskb/src/include/linux/kvm_host.h:216:8: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t addr, int len, const void *val, long cookie); ^ /kisskb/src/include/linux/kvm_host.h:217:66: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, ^ /kisskb/src/include/linux/kvm_host.h:219:68: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_io_bus_register_dev(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, ^ /kisskb/src/include/linux/kvm_host.h:222:17: error: 'struct kvm_io_device' declared inside parameter list [-Werror] struct kvm_io_device *dev); ^ /kisskb/src/include/linux/kvm_host.h:224:7: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t addr); ^ /kisskb/src/include/linux/kvm_host.h:250:2: error: expected specifier-qualifier-list before 'gfn_t' gfn_t start; ^ /kisskb/src/include/linux/kvm_host.h:248:1: error: empty declaration [-Werror] struct kvm_gfn_range { ^ /kisskb/src/include/linux/kvm_host.h:261:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/kvm_host.h:281:2: error: unknown type name 'kvm_pfn_t' kvm_pfn_t pfn; ^ /kisskb/src/include/linux/kvm_host.h:282:2: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn; ^ /kisskb/src/include/linux/kvm_host.h:270:1: error: empty declaration [-Werror] struct kvm_host_map { ^ /kisskb/src/include/linux/kvm_host.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:295:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:304:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t gpa; ^ /kisskb/src/include/linux/kvm_host.h:303:1: error: empty declaration [-Werror] struct kvm_mmio_fragment { ^ /kisskb/src/include/linux/kvm_host.h:333:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t sigset; ^ /kisskb/src/include/linux/kvm_host.h:309:1: error: empty declaration [-Werror] struct kvm_vcpu { ^ /kisskb/src/include/linux/kvm_host.h:389:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:452:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:471:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:492:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:498:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:524:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:534:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:570:2: error: expected specifier-qualifier-list before 'gfn_t' gfn_t base_gfn; ^ /kisskb/src/include/linux/kvm_host.h:566:1: error: empty declaration [-Werror] struct kvm_memory_slot { ^ /kisskb/src/include/linux/kvm_host.h:581:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:601:1: error: empty declaration [-Werror] struct kvm_s390_adapter_int { ^ /kisskb/src/include/linux/kvm_host.h:609:1: error: empty declaration [-Werror] struct kvm_hv_sint { ^ /kisskb/src/include/linux/kvm_host.h:614:1: error: empty declaration [-Werror] struct kvm_xen_evtchn { ^ /kisskb/src/include/linux/kvm_host.h:621:1: error: empty declaration [-Werror] struct kvm_kernel_irq_routing_entry { ^ /kisskb/src/include/linux/kvm_host.h:667:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:672:1: error: empty declaration [-Werror] struct kvm_memslots { ^ /kisskb/src/include/linux/kvm_host.h:689:1: error: empty declaration [-Werror] struct kvm { ^ /kisskb/src/include/linux/kvm_host.h:817:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:823:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:857:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:867:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:872:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:879:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:893:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:950:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:958:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:963:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:970:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:981:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:994:1: error: empty declaration [-Werror] struct kvm_memslot_iter { ^ /kisskb/src/include/linux/kvm_host.h:1001:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1011:8: error: expected declaration specifiers or '...' before 'gfn_t' gfn_t start) ^ /kisskb/src/include/linux/kvm_host.h:1069:77: error: expected declaration specifiers or '...' before 'gfn_t' static inline bool kvm_memslot_iter_is_valid(struct kvm_memslot_iter *iter, gfn_t end) ^ /kisskb/src/include/linux/kvm_host.h:1098:1: error: empty declaration [-Werror] enum kvm_mr_change { ^ /kisskb/src/include/linux/kvm_host.h:1125:59: error: expected declaration specifiers or '...' before 'gfn_t' int gfn_to_page_many_atomic(struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/include/linux/kvm_host.h:1128:43: error: expected declaration specifiers or '...' before 'gfn_t' struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1129:43: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1130:48: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable); ^ /kisskb/src/include/linux/kvm_host.h:1131:64: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1132:69: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/include/linux/kvm_host.h:1137:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1137:39: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1138:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, ^ /kisskb/src/include/linux/kvm_host.h:1138:44: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, ^ /kisskb/src/include/linux/kvm_host.h:1140:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1140:66: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1141:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn_to_pfn_memslot_atomic(const struct kvm_memory_slot *slot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1141:73: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t gfn_to_pfn_memslot_atomic(const struct kvm_memory_slot *slot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1142:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t __gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/include/linux/kvm_host.h:1142:68: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t __gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/include/linux/kvm_host.h:1144:27: error: expected declaration specifiers or '...' before 'hva_t' bool *writable, hva_t *hva); ^ /kisskb/src/include/linux/kvm_host.h:1146:28: error: unknown type name 'kvm_pfn_t' void kvm_release_pfn_clean(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1147:28: error: unknown type name 'kvm_pfn_t' void kvm_release_pfn_dirty(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1148:24: error: unknown type name 'kvm_pfn_t' void kvm_set_pfn_dirty(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1149:27: error: unknown type name 'kvm_pfn_t' void kvm_set_pfn_accessed(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1151:22: error: unknown type name 'kvm_pfn_t' void kvm_release_pfn(kvm_pfn_t pfn, bool dirty); ^ /kisskb/src/include/linux/kvm_host.h:1152:42: error: expected declaration specifiers or '...' before 'gfn_t' int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset, ^ /kisskb/src/include/linux/kvm_host.h:1154:37: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1160:43: error: expected declaration specifiers or '...' before 'gfn_t' int kvm_write_guest_page(struct kvm *kvm, gfn_t gfn, const void *data, ^ /kisskb/src/include/linux/kvm_host.h:1162:38: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data, ^ /kisskb/src/include/linux/kvm_host.h:1170:10: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1214:38: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1215:57: error: expected declaration specifiers or '...' before 'gfn_t' struct kvm_memory_slot *gfn_to_memslot(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1216:42: error: expected declaration specifiers or '...' before 'gfn_t' bool kvm_is_visible_gfn(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1217:53: error: expected declaration specifiers or '...' before 'gfn_t' bool kvm_vcpu_is_visible_gfn(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1218:57: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long kvm_host_page_size(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1219:86: error: expected declaration specifiers or '...' before 'gfn_t' void mark_page_dirty_in_slot(struct kvm *kvm, const struct kvm_memory_slot *memslot, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1220:39: error: expected declaration specifiers or '...' before 'gfn_t' void mark_page_dirty(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1223:72: error: expected declaration specifiers or '...' before 'gfn_t' struct kvm_memory_slot *kvm_vcpu_gfn_to_memslot(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1224:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t kvm_vcpu_gfn_to_pfn_atomic(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1224:61: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t kvm_vcpu_gfn_to_pfn_atomic(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1225:1: error: unknown type name 'kvm_pfn_t' kvm_pfn_t kvm_vcpu_gfn_to_pfn(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1225:54: error: expected declaration specifiers or '...' before 'gfn_t' kvm_pfn_t kvm_vcpu_gfn_to_pfn(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1226:41: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_vcpu_map(struct kvm_vcpu *vcpu, gpa_t gpa, struct kvm_host_map *map); ^ /kisskb/src/include/linux/kvm_host.h:1228:58: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long kvm_vcpu_gfn_to_hva(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1229:63: error: expected declaration specifiers or '...' before 'gfn_t' unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable); ^ /kisskb/src/include/linux/kvm_host.h:1230:53: error: expected declaration specifiers or '...' before 'gfn_t' int kvm_vcpu_read_guest_page(struct kvm_vcpu *vcpu, gfn_t gfn, void *data, int offset, ^ /kisskb/src/include/linux/kvm_host.h:1232:55: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_vcpu_read_guest_atomic(struct kvm_vcpu *vcpu, gpa_t gpa, void *data, ^ /kisskb/src/include/linux/kvm_host.h:1234:48: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_vcpu_read_guest(struct kvm_vcpu *vcpu, gpa_t gpa, void *data, ^ /kisskb/src/include/linux/kvm_host.h:1236:54: error: expected declaration specifiers or '...' before 'gfn_t' int kvm_vcpu_write_guest_page(struct kvm_vcpu *vcpu, gfn_t gfn, const void *data, ^ /kisskb/src/include/linux/kvm_host.h:1238:49: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_vcpu_write_guest(struct kvm_vcpu *vcpu, gpa_t gpa, const void *data, ^ /kisskb/src/include/linux/kvm_host.h:1240:54: error: expected declaration specifiers or '...' before 'gfn_t' void kvm_vcpu_mark_page_dirty(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/include/linux/kvm_host.h:1270:10: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1291:5: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1312:6: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1374:6: error: expected declaration specifiers or '...' before 'gfn_t' gfn_t gfn_offset, ^ /kisskb/src/include/linux/kvm_host.h:1456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1462:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1468:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1475:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1494:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1504:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1508:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1512:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1518:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1531:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1536:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1560:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_register_perf_callbacks(void *ign) {} ^ /kisskb/src/include/linux/kvm_host.h:1561:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_unregister_perf_callbacks(void) {} ^ /kisskb/src/include/linux/kvm_host.h:1570:41: error: unknown type name 'kvm_pfn_t' struct page *kvm_pfn_to_refcounted_page(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1573:1: error: empty declaration [-Werror] struct kvm_irq_ack_notifier { ^ /kisskb/src/include/linux/kvm_host.h:1606:47: error: expected declaration specifiers or '...' before 'gfn_t' try_get_memslot(struct kvm_memory_slot *slot, gfn_t gfn) ^ /kisskb/src/include/linux/kvm_host.h:1625:45: error: expected declaration specifiers or '...' before 'gfn_t' search_memslots(struct kvm_memslots *slots, gfn_t gfn, bool approx) ^ /kisskb/src/include/linux/kvm_host.h:1646:48: error: expected declaration specifiers or '...' before 'gfn_t' ____gfn_to_memslot(struct kvm_memslots *slots, gfn_t gfn, bool approx) ^ /kisskb/src/include/linux/kvm_host.h:1670:46: error: expected declaration specifiers or '...' before 'gfn_t' __gfn_to_memslot(struct kvm_memslots *slots, gfn_t gfn) ^ /kisskb/src/include/linux/kvm_host.h:1676:58: error: expected declaration specifiers or '...' before 'gfn_t' __gfn_to_hva_memslot(const struct kvm_memory_slot *slot, gfn_t gfn) ^ /kisskb/src/include/linux/kvm_host.h:1689:47: error: expected declaration specifiers or '...' before 'gfn_t' static inline int memslot_id(struct kvm *kvm, gfn_t gfn) ^ /kisskb/src/include/linux/kvm_host.h:1695:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hva_to_gfn_memslot' hva_to_gfn_memslot(unsigned long hva, struct kvm_memory_slot *slot) ^ /kisskb/src/include/linux/kvm_host.h:1702:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gfn_to_gpa' static inline gpa_t gfn_to_gpa(gfn_t gfn) ^ /kisskb/src/include/linux/kvm_host.h:1707:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gpa_to_gfn' static inline gfn_t gpa_to_gfn(gpa_t gpa) ^ /kisskb/src/include/linux/kvm_host.h:1712:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pfn_to_hpa' static inline hpa_t pfn_to_hpa(kvm_pfn_t pfn) ^ /kisskb/src/include/linux/kvm_host.h:1717:54: error: expected declaration specifiers or '...' before 'gpa_t' static inline bool kvm_is_error_gpa(struct kvm *kvm, gpa_t gpa) ^ /kisskb/src/include/linux/kvm_host.h:1724:1: error: empty declaration [-Werror] enum kvm_stat_kind { ^ /kisskb/src/include/linux/kvm_host.h:1729:1: error: empty declaration [-Werror] struct kvm_stat_data { ^ /kisskb/src/include/linux/kvm_host.h:1735:1: error: empty declaration [-Werror] struct _kvm_stats_desc { ^ /kisskb/src/include/linux/kvm_host.h:1856:23: error: storage class specified for parameter 'kvm_debugfs_dir' extern struct dentry *kvm_debugfs_dir; ^ /kisskb/src/include/linux/kvm_host.h:1874:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1890:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1903:38: error: storage class specified for parameter 'kvm_vm_stats_header' extern const struct kvm_stats_header kvm_vm_stats_header; ^ /kisskb/src/include/linux/kvm_host.h:1904:37: error: storage class specified for parameter 'kvm_vm_stats_desc' extern const struct _kvm_stats_desc kvm_vm_stats_desc[]; ^ /kisskb/src/include/linux/kvm_host.h:1905:38: error: storage class specified for parameter 'kvm_vcpu_stats_header' extern const struct kvm_stats_header kvm_vcpu_stats_header; ^ /kisskb/src/include/linux/kvm_host.h:1906:37: error: storage class specified for parameter 'kvm_vcpu_stats_desc' extern const struct _kvm_stats_desc kvm_vcpu_stats_desc[]; ^ /kisskb/src/include/linux/kvm_host.h:1910:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1934:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1968:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_free_irq_routing(struct kvm *kvm) {} ^ /kisskb/src/include/linux/kvm_host.h:2019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2029:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2042:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2047:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2052:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2057:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2072:13: error: storage class specified for parameter 'kvm_rebooting' extern bool kvm_rebooting; ^ /kisskb/src/include/linux/kvm_host.h:2074:21: error: storage class specified for parameter 'halt_poll_ns' extern unsigned int halt_poll_ns; ^ /kisskb/src/include/linux/kvm_host.h:2075:21: error: storage class specified for parameter 'halt_poll_ns_grow' extern unsigned int halt_poll_ns_grow; ^ /kisskb/src/include/linux/kvm_host.h:2076:21: error: storage class specified for parameter 'halt_poll_ns_grow_start' extern unsigned int halt_poll_ns_grow_start; ^ /kisskb/src/include/linux/kvm_host.h:2077:21: error: storage class specified for parameter 'halt_poll_ns_shrink' extern unsigned int halt_poll_ns_shrink; ^ /kisskb/src/include/linux/kvm_host.h:2079:1: error: empty declaration [-Werror] struct kvm_device { ^ /kisskb/src/include/linux/kvm_host.h:2087:1: error: empty declaration [-Werror] struct kvm_device_ops { ^ /kisskb/src/include/linux/kvm_host.h:2136:30: error: storage class specified for parameter 'kvm_mpic_ops' extern struct kvm_device_ops kvm_mpic_ops; ^ /kisskb/src/include/linux/kvm_host.h:2137:30: error: storage class specified for parameter 'kvm_arm_vgic_v2_ops' extern struct kvm_device_ops kvm_arm_vgic_v2_ops; ^ /kisskb/src/include/linux/kvm_host.h:2138:30: error: storage class specified for parameter 'kvm_arm_vgic_v3_ops' extern struct kvm_device_ops kvm_arm_vgic_v3_ops; ^ /kisskb/src/include/linux/kvm_host.h:2154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2235:15: error: storage class specified for parameter 'kvm_vm_thread_fn_t' typedef int (*kvm_vm_thread_fn_t)(struct kvm *kvm, uintptr_t data); ^ /kisskb/src/include/linux/kvm_host.h:2237:50: error: expected declaration specifiers or '...' before 'kvm_vm_thread_fn_t' int kvm_vm_create_worker_thread(struct kvm *kvm, kvm_vm_thread_fn_t thread_fn, ^ /kisskb/src/include/linux/kvm_host.h:2258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:22:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:16:1: error: empty declaration [-Werror] struct kvmppc_bat { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:27:1: error: empty declaration [-Werror] struct kvmppc_sid_map { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:45:1: error: empty declaration [-Werror] struct hpte_cache { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:68:1: error: empty declaration [-Werror] struct kvmppc_vcore { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:99:1: error: empty declaration [-Werror] struct kvmppc_vcpu_book3s { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:145:13: error: storage class specified for parameter 'kvmppc_mmu_pte_flush' extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong ea, ulong ea_mask); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:146:13: error: storage class specified for parameter 'kvmppc_mmu_pte_vflush' extern void kvmppc_mmu_pte_vflush(struct kvm_vcpu *vcpu, u64 vp, u64 vp_mask); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:147:13: error: storage class specified for parameter 'kvmppc_mmu_pte_pflush' extern void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:148:13: error: storage class specified for parameter 'kvmppc_set_msr' extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:149:13: error: storage class specified for parameter 'kvmppc_mmu_book3s_64_init' extern void kvmppc_mmu_book3s_64_init(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:150:13: error: storage class specified for parameter 'kvmppc_mmu_book3s_32_init' extern void kvmppc_mmu_book3s_32_init(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:151:13: error: storage class specified for parameter 'kvmppc_mmu_book3s_hv_init' extern void kvmppc_mmu_book3s_hv_init(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:152:12: error: storage class specified for parameter 'kvmppc_mmu_map_page' extern int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:154:13: error: storage class specified for parameter 'kvmppc_mmu_unmap_page' extern void kvmppc_mmu_unmap_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:155:12: error: storage class specified for parameter 'kvmppc_mmu_map_segment' extern int kvmppc_mmu_map_segment(struct kvm_vcpu *vcpu, ulong eaddr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:156:13: error: storage class specified for parameter 'kvmppc_mmu_flush_segment' extern void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong eaddr, ulong seg_size); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:157:13: error: storage class specified for parameter 'kvmppc_mmu_flush_segments' extern void kvmppc_mmu_flush_segments(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:158:12: error: storage class specified for parameter 'kvmppc_book3s_hv_page_fault' extern int kvmppc_book3s_hv_page_fault(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:160:55: error: expected declaration specifiers or '...' before 'gva_t' extern long kvmppc_hv_find_lock_hpte(struct kvm *kvm, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:163:23: error: expected declaration specifiers or '...' before 'gva_t' unsigned long gpa, gva_t ea, int is_store); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:165:13: error: storage class specified for parameter 'kvmppc_mmu_hpte_cache_map' extern void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:166:27: error: storage class specified for parameter 'kvmppc_mmu_hpte_cache_next' extern struct hpte_cache *kvmppc_mmu_hpte_cache_next(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:167:13: error: storage class specified for parameter 'kvmppc_mmu_hpte_cache_free' extern void kvmppc_mmu_hpte_cache_free(struct hpte_cache *pte); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:168:13: error: storage class specified for parameter 'kvmppc_mmu_hpte_destroy' extern void kvmppc_mmu_hpte_destroy(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:169:12: error: storage class specified for parameter 'kvmppc_mmu_hpte_init' extern int kvmppc_mmu_hpte_init(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:170:13: error: storage class specified for parameter 'kvmppc_mmu_invalidate_pte' extern void kvmppc_mmu_invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:171:12: error: storage class specified for parameter 'kvmppc_mmu_hpte_sysinit' extern int kvmppc_mmu_hpte_sysinit(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:172:13: error: storage class specified for parameter 'kvmppc_mmu_hpte_sysexit' extern void kvmppc_mmu_hpte_sysexit(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:173:12: error: storage class specified for parameter 'kvmppc_mmu_hv_init' extern int kvmppc_mmu_hv_init(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:174:12: error: storage class specified for parameter 'kvmppc_book3s_hcall_implemented' extern int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hc); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:176:12: error: storage class specified for parameter 'kvmppc_book3s_radix_page_fault' extern int kvmppc_book3s_radix_page_fault(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:179:6: error: expected declaration specifiers or '...' before 'gva_t' gva_t eaddr, void *to, void *from, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:181:64: error: expected declaration specifiers or '...' before 'gva_t' extern long kvmhv_copy_from_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:183:62: error: expected declaration specifiers or '...' before 'gva_t' extern long kvmhv_copy_to_guest_radix(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:185:62: error: expected declaration specifiers or '...' before 'gva_t' extern int kvmppc_mmu_walk_radix_tree(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:188:68: error: expected declaration specifiers or '...' before 'gva_t' extern int kvmppc_mmu_radix_translate_table(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:191:58: error: expected declaration specifiers or '...' before 'gva_t' extern int kvmppc_mmu_radix_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:193:13: error: storage class specified for parameter 'kvmppc_radix_tlbie_page' extern void kvmppc_radix_tlbie_page(struct kvm *kvm, unsigned long addr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:195:13: error: storage class specified for parameter 'kvmppc_unmap_pte' extern void kvmppc_unmap_pte(struct kvm *kvm, pte_t *pte, unsigned long gpa, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:199:13: error: storage class specified for parameter 'kvmppc_hv_handle_set_rc' extern bool kvmppc_hv_handle_set_rc(struct kvm *kvm, bool nested, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:202:12: error: storage class specified for parameter 'kvmppc_book3s_instantiate_page' extern int kvmppc_book3s_instantiate_page(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:207:12: error: storage class specified for parameter 'kvmppc_init_vm_radix' extern int kvmppc_init_vm_radix(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:208:13: error: storage class specified for parameter 'kvmppc_free_radix' extern void kvmppc_free_radix(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:209:13: error: storage class specified for parameter 'kvmppc_free_pgtable_radix' extern void kvmppc_free_pgtable_radix(struct kvm *kvm, pgd_t *pgd, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:211:12: error: storage class specified for parameter 'kvmppc_radix_init' extern int kvmppc_radix_init(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:212:13: error: storage class specified for parameter 'kvmppc_radix_exit' extern void kvmppc_radix_exit(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:213:13: error: storage class specified for parameter 'kvm_unmap_radix' extern void kvm_unmap_radix(struct kvm *kvm, struct kvm_memory_slot *memslot, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:215:13: error: storage class specified for parameter 'kvm_age_radix' extern bool kvm_age_radix(struct kvm *kvm, struct kvm_memory_slot *memslot, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:217:13: error: storage class specified for parameter 'kvm_test_age_radix' extern bool kvm_test_age_radix(struct kvm *kvm, struct kvm_memory_slot *memslot, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:219:13: error: storage class specified for parameter 'kvmppc_hv_get_dirty_log_radix' extern long kvmppc_hv_get_dirty_log_radix(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:221:13: error: storage class specified for parameter 'kvmppc_radix_flush_memslot' extern void kvmppc_radix_flush_memslot(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:223:12: error: storage class specified for parameter 'kvmhv_get_rmmu_info' extern int kvmhv_get_rmmu_info(struct kvm *kvm, struct kvm_ppc_rmmu_info *info); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:226:12: error: storage class specified for parameter 'kvmppc_ld' extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, bool data); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:227:13: error: storage class specified for parameter 'kvmppc_book3s_queue_irqprio' extern void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:228:13: error: storage class specified for parameter 'kvmppc_book3s_dequeue_irqprio' extern void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:230:13: error: storage class specified for parameter 'kvmppc_inject_interrupt' extern void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:231:13: error: storage class specified for parameter 'kvmppc_trigger_fac_interrupt' extern void kvmppc_trigger_fac_interrupt(struct kvm_vcpu *vcpu, ulong fac); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:232:13: error: storage class specified for parameter 'kvmppc_set_bat' extern void kvmppc_set_bat(struct kvm_vcpu *vcpu, struct kvmppc_bat *bat, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:234:13: error: storage class specified for parameter 'kvmppc_giveup_ext' extern void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:235:12: error: storage class specified for parameter 'kvmppc_emulate_paired_single' extern int kvmppc_emulate_paired_single(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:236:8: error: unknown type name 'kvm_pfn_t' extern kvm_pfn_t kvmppc_gpa_to_pfn(struct kvm_vcpu *vcpu, gpa_t gpa, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:236:59: error: expected declaration specifiers or '...' before 'gpa_t' extern kvm_pfn_t kvmppc_gpa_to_pfn(struct kvm_vcpu *vcpu, gpa_t gpa, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:238:13: error: storage class specified for parameter 'kvmppc_add_revmap_chain' extern void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:240:13: error: storage class specified for parameter 'kvmppc_update_dirty_map' extern void kvmppc_update_dirty_map(const struct kvm_memory_slot *memslot, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:242:13: error: storage class specified for parameter 'kvmppc_invalidate_hpte' extern void kvmppc_invalidate_hpte(struct kvm *kvm, __be64 *hptep, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:246:14: error: storage class specified for parameter 'kvmppc_pin_guest_page' extern void *kvmppc_pin_guest_page(struct kvm *kvm, unsigned long addr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:248:13: error: storage class specified for parameter 'kvmppc_unpin_guest_page' extern void kvmppc_unpin_guest_page(struct kvm *kvm, void *addr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:250:13: error: storage class specified for parameter 'kvmppc_do_h_enter' extern long kvmppc_do_h_enter(struct kvm *kvm, unsigned long flags, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:253:13: error: storage class specified for parameter 'kvmppc_do_h_remove' extern long kvmppc_do_h_remove(struct kvm *kvm, unsigned long flags, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:256:13: error: storage class specified for parameter 'kvmppc_hv_get_dirty_log_hpt' extern long kvmppc_hv_get_dirty_log_hpt(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:258:13: error: storage class specified for parameter 'kvmppc_harvest_vpa_dirty' extern void kvmppc_harvest_vpa_dirty(struct kvmppc_vpa *vpa, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:261:22: error: storage class specified for parameter 'kvmppc_filter_lpcr_hv' extern unsigned long kvmppc_filter_lpcr_hv(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:263:13: error: storage class specified for parameter 'kvmppc_update_lpcr' extern void kvmppc_update_lpcr(struct kvm *kvm, unsigned long lpcr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:265:13: error: storage class specified for parameter 'kvmppc_set_fscr' extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:267:12: error: storage class specified for parameter 'kvmhv_p9_tm_emulation_early' extern int kvmhv_p9_tm_emulation_early(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:268:12: error: storage class specified for parameter 'kvmhv_p9_tm_emulation' extern int kvmhv_p9_tm_emulation(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:269:13: error: storage class specified for parameter 'kvmhv_emulate_tm_rollback' extern void kvmhv_emulate_tm_rollback(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:271:13: error: storage class specified for parameter 'kvmppc_entry_trampoline' extern void kvmppc_entry_trampoline(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:272:13: error: storage class specified for parameter 'kvmppc_hv_entry_trampoline' extern void kvmppc_hv_entry_trampoline(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:273:12: error: storage class specified for parameter 'kvmppc_alignment_dsisr' extern u32 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:274:14: error: storage class specified for parameter 'kvmppc_alignment_dar' extern ulong kvmppc_alignment_dar(struct kvm_vcpu *vcpu, unsigned int inst); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:275:12: error: storage class specified for parameter 'kvmppc_h_pr' extern int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:276:13: error: storage class specified for parameter 'kvmppc_pr_init_default_hcalls' extern void kvmppc_pr_init_default_hcalls(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:277:12: error: storage class specified for parameter 'kvmppc_hcall_impl_pr' extern int kvmppc_hcall_impl_pr(unsigned long cmd); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:278:12: error: storage class specified for parameter 'kvmppc_hcall_impl_hv_realmode' extern int kvmppc_hcall_impl_hv_realmode(unsigned long cmd); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:279:13: error: storage class specified for parameter 'kvmppc_copy_to_svcpu' extern void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:280:13: error: storage class specified for parameter 'kvmppc_copy_from_svcpu' extern void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:319:12: error: storage class specified for parameter 'kvm_irq_bypass' extern int kvm_irq_bypass; ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:322:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:17:0, from /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:332, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:22, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/pte-walk.h:7:15: error: storage class specified for parameter '__find_linux_pte' extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, ^ /kisskb/src/arch/powerpc/include/asm/pte-walk.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pte-walk.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pte-walk.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/pte-walk.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:332:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:22, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:23:1: error: empty declaration [-Werror] struct kvm_nested_guest { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:50:1: error: empty declaration [-Werror] struct rmap_nested { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:300:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:378:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:484:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:527:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:539:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:543:13: error: storage class specified for parameter 'kvmppc_mmu_debugfs_init' extern void kvmppc_mmu_debugfs_init(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:544:13: error: storage class specified for parameter 'kvmhv_radix_debugfs_init' extern void kvmhv_radix_debugfs_init(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:546:13: error: storage class specified for parameter 'kvmhv_rm_send_ipi' extern void kvmhv_rm_send_ipi(int cpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:549:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:555:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:583:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:625:12: error: storage class specified for parameter 'kvmppc_create_pte' extern int kvmppc_create_pte(struct kvm *kvm, pgd_t *pgtable, pte_t pte, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:629:13: error: storage class specified for parameter 'kvmhv_insert_nest_rmap' extern void kvmhv_insert_nest_rmap(struct kvm *kvm, unsigned long *rmapp, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:631:13: error: storage class specified for parameter 'kvmhv_update_nest_rmap_rc_list' extern void kvmhv_update_nest_rmap_rc_list(struct kvm *kvm, unsigned long *rmapp, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:634:13: error: storage class specified for parameter 'kvmhv_remove_nest_rmap_range' extern void kvmhv_remove_nest_rmap_range(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:642:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:651:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s_64.h:677:15: error: storage class specified for parameter 'find_kvm_nested_guest_pte' extern pte_t *find_kvm_nested_guest_pte(struct kvm *kvm, unsigned long lpid, ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:22:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:366:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:395:19: error: storage class specified for parameter 'kvmppc_get_msr' static inline u64 kvmppc_get_msr(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:395:19: error: parameter 'kvmppc_get_msr' declared 'inline' [-Werror] /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:395:41: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline u64 kvmppc_get_msr(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:395:19: error: '__no_instrument_function__' attribute applies only to functions static inline u64 kvmppc_get_msr(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:417:20: error: storage class specified for parameter 'is_kvmppc_hv_enabled' static inline bool is_kvmppc_hv_enabled(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:417:20: error: parameter 'is_kvmppc_hv_enabled' declared 'inline' [-Werror] /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:417:48: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline bool is_kvmppc_hv_enabled(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:417:20: error: '__no_instrument_function__' attribute applies only to functions static inline bool is_kvmppc_hv_enabled(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:419:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:424:12: error: storage class specified for parameter 'kvmppc_h_logical_ci_load' extern int kvmppc_h_logical_ci_load(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:425:12: error: storage class specified for parameter 'kvmppc_h_logical_ci_store' extern int kvmppc_h_logical_ci_store(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:472:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/xive.h:8:0, from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:28, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/opal-api.h:252:1: error: empty declaration [-Werror] enum OpalFreezeState { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:262:1: error: empty declaration [-Werror] enum OpalEehFreezeActionToken { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:272:1: error: empty declaration [-Werror] enum OpalPciStatusToken { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:281:1: error: empty declaration [-Werror] enum OpalPciErrorSeverity { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:290:1: error: empty declaration [-Werror] enum OpalErrinjectType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:295:1: error: empty declaration [-Werror] enum OpalErrinjectFunc { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:319:1: error: empty declaration [-Werror] enum OpalMmioWindowType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:325:1: error: empty declaration [-Werror] enum OpalExceptionHandler { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:331:1: error: empty declaration [-Werror] enum OpalPendingState { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:346:1: error: empty declaration [-Werror] enum OpalThreadStatus { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:352:1: error: empty declaration [-Werror] enum OpalPciBusCompare { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:362:1: error: empty declaration [-Werror] enum OpalDeviceCompare { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:367:1: error: empty declaration [-Werror] enum OpalFuncCompare { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:372:1: error: empty declaration [-Werror] enum OpalPeAction { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:377:1: error: empty declaration [-Werror] enum OpalPeltvAction { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:382:1: error: empty declaration [-Werror] enum OpalMveEnableAction { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:387:1: error: empty declaration [-Werror] enum OpalM64Action { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:393:1: error: empty declaration [-Werror] enum OpalPciResetScope { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:402:1: error: empty declaration [-Werror] enum OpalPciReinitScope { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:411:1: error: empty declaration [-Werror] enum OpalPciResetState { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:416:1: error: empty declaration [-Werror] enum OpalPciSlotPresence { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:421:1: error: empty declaration [-Werror] enum OpalPciSlotPower { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:428:1: error: empty declaration [-Werror] enum OpalSlotLedType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:435:1: error: empty declaration [-Werror] enum OpalSlotLedState { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:445:1: error: empty declaration [-Werror] enum OpalLPCAddressType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:451:1: error: empty declaration [-Werror] enum opal_msg_type { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:466:1: error: empty declaration [-Werror] struct opal_msg { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:473:1: error: empty declaration [-Werror] enum OpalSysparamPerm { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:479:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:483:1: error: empty declaration [-Werror] struct opal_ipmi_msg { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:491:1: error: empty declaration [-Werror] enum OpalMemErr_Version { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:495:1: error: empty declaration [-Werror] enum OpalMemErrType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:501:1: error: empty declaration [-Werror] enum OpalMemErr_ResilErrType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:508:1: error: empty declaration [-Werror] enum OpalMemErr_DynErrType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:512:1: error: empty declaration [-Werror] struct OpalMemoryErrorData { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:537:1: error: empty declaration [-Werror] enum OpalHMI_Version { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:542:1: error: empty declaration [-Werror] enum OpalHMI_Severity { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:549:1: error: empty declaration [-Werror] enum OpalHMI_Disposition { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:554:1: error: empty declaration [-Werror] enum OpalHMI_ErrType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:570:1: error: empty declaration [-Werror] enum OpalHMI_XstopType { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:577:1: error: empty declaration [-Werror] enum OpalHMI_CoreXstopReason { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:597:1: error: empty declaration [-Werror] enum OpalHMI_NestAccelXstopReason { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:614:1: error: empty declaration [-Werror] struct OpalHMIEvent { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:644:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:652:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:662:1: error: empty declaration [-Werror] struct OpalIoP7IOCErrorData { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:705:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:709:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:715:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:721:1: error: empty declaration [-Werror] struct OpalIoPhbErrorCommon { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:727:1: error: empty declaration [-Werror] struct OpalIoP7IOCPhbErrorData { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:786:1: error: empty declaration [-Werror] struct OpalIoPhb3ErrorData { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:848:1: error: empty declaration [-Werror] struct OpalIoPhb4ErrorData { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:917:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:936:3: error: storage class specified for parameter 'oppanel_line_t' } oppanel_line_t; ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:938:1: error: empty declaration [-Werror] enum opal_prd_msg_type { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:947:1: error: empty declaration [-Werror] struct opal_prd_msg_header { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:953:1: error: empty declaration [-Werror] struct opal_prd_msg; ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:960:1: error: empty declaration [-Werror] struct opal_occ_msg { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:973:1: error: empty declaration [-Werror] struct opal_sg_entry { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:983:1: error: empty declaration [-Werror] struct opal_sg_list { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:997:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1007:1: error: empty declaration [-Werror] struct opal_i2c_request { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1037:1: error: empty declaration [-Werror] enum OpalSysEpow { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1045:1: error: empty declaration [-Werror] enum OpalSysPower { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1053:1: error: empty declaration [-Werror] enum OpalSysTemp { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1060:1: error: empty declaration [-Werror] enum OpalSysCooling { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1065:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1074:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1084:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1090:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1101:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1108:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1114:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1119:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1126:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1136:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1149:1: error: empty declaration [-Werror] enum opal_mpipl_ops { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1159:1: error: empty declaration [-Werror] enum opal_mpipl_tags { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1167:1: error: empty declaration [-Werror] struct opal_mpipl_region { ^ /kisskb/src/arch/powerpc/include/asm/opal-api.h:1176:1: error: empty declaration [-Werror] struct opal_mpipl_fadump { ^ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:28:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/xive.h:23:22: error: storage class specified for parameter 'xive_tima' extern void __iomem *xive_tima; ^ /kisskb/src/arch/powerpc/include/asm/xive.h:24:22: error: storage class specified for parameter 'xive_tima_os' extern unsigned long xive_tima_os; ^ /kisskb/src/arch/powerpc/include/asm/xive.h:30:12: error: storage class specified for parameter 'xive_tima_offset' extern u32 xive_tima_offset; ^ /kisskb/src/arch/powerpc/include/asm/xive.h:39:1: error: empty declaration [-Werror] struct xive_irq_data { ^ /kisskb/src/arch/powerpc/include/asm/xive.h:74:1: error: empty declaration [-Werror] struct xive_q { ^ /kisskb/src/arch/powerpc/include/asm/xive.h:88:13: error: storage class specified for parameter '__xive_enabled' extern bool __xive_enabled; ^ /kisskb/src/arch/powerpc/include/asm/xive.h:90:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool xive_enabled(void) { return __xive_enabled; } ^ /kisskb/src/arch/powerpc/include/asm/xive.h:144:12: error: storage class specified for parameter 'xive_native_alloc_irq_on_chip' extern u32 xive_native_alloc_irq_on_chip(u32 chip_id); ^ /kisskb/src/arch/powerpc/include/asm/xive.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/include/asm/dbell.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:38:1: error: empty declaration [-Werror] enum emulation_result { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:46:1: error: empty declaration [-Werror] enum instruction_fetch_type { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:51:1: error: empty declaration [-Werror] enum xlate_instdata { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:56:1: error: empty declaration [-Werror] enum xlate_readwrite { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:61:12: error: storage class specified for parameter 'kvmppc_vcpu_run' extern int kvmppc_vcpu_run(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:62:12: error: storage class specified for parameter '__kvmppc_vcpu_run' extern int __kvmppc_vcpu_run(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:63:13: error: storage class specified for parameter 'kvmppc_handler_highmem' extern void kvmppc_handler_highmem(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:65:13: error: storage class specified for parameter 'kvmppc_dump_vcpu' extern void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:66:12: error: storage class specified for parameter 'kvmppc_handle_load' extern int kvmppc_handle_load(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:69:12: error: storage class specified for parameter 'kvmppc_handle_loads' extern int kvmppc_handle_loads(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:72:12: error: storage class specified for parameter 'kvmppc_handle_vsx_load' extern int kvmppc_handle_vsx_load(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:75:12: error: storage class specified for parameter 'kvmppc_handle_vmx_load' extern int kvmppc_handle_vmx_load(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:77:12: error: storage class specified for parameter 'kvmppc_handle_vmx_store' extern int kvmppc_handle_vmx_store(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:79:12: error: storage class specified for parameter 'kvmppc_handle_store' extern int kvmppc_handle_store(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:82:12: error: storage class specified for parameter 'kvmppc_handle_vsx_store' extern int kvmppc_handle_vsx_store(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:86:12: error: storage class specified for parameter 'kvmppc_load_last_inst' extern int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:89:12: error: storage class specified for parameter 'kvmppc_ld' extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:89:12: error: redefinition of parameter 'kvmppc_ld' In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:22:0, from /kisskb/src/arch/powerpc/include/asm/dbell.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:226:12: note: previous definition of 'kvmppc_ld' was here extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, bool data); ^ In file included from /kisskb/src/arch/powerpc/include/asm/dbell.h:17:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36: /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:91:12: error: storage class specified for parameter 'kvmppc_st' extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:93:12: error: storage class specified for parameter 'kvmppc_emulate_instruction' extern int kvmppc_emulate_instruction(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:94:12: error: storage class specified for parameter 'kvmppc_emulate_loadstore' extern int kvmppc_emulate_loadstore(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:95:12: error: storage class specified for parameter 'kvmppc_emulate_mmio' extern int kvmppc_emulate_mmio(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:96:13: error: storage class specified for parameter 'kvmppc_emulate_dec' extern void kvmppc_emulate_dec(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:97:12: error: storage class specified for parameter 'kvmppc_get_dec' extern u32 kvmppc_get_dec(struct kvm_vcpu *vcpu, u64 tb); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:98:13: error: storage class specified for parameter 'kvmppc_decrementer_func' extern void kvmppc_decrementer_func(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:99:12: error: storage class specified for parameter 'kvmppc_sanity_check' extern int kvmppc_sanity_check(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:100:12: error: storage class specified for parameter 'kvmppc_subarch_vcpu_init' extern int kvmppc_subarch_vcpu_init(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:101:13: error: storage class specified for parameter 'kvmppc_subarch_vcpu_uninit' extern void kvmppc_subarch_vcpu_uninit(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:105:63: error: expected declaration specifiers or '...' before 'gpa_t' extern void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gpa_t gpaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:107:13: error: storage class specified for parameter 'kvmppc_mmu_switch_pid' extern void kvmppc_mmu_switch_pid(struct kvm_vcpu *vcpu, u32 pid); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:108:57: error: expected declaration specifiers or '...' before 'gva_t' extern int kvmppc_mmu_dtlb_index(struct kvm_vcpu *vcpu, gva_t eaddr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:109:57: error: expected declaration specifiers or '...' before 'gva_t' extern int kvmppc_mmu_itlb_index(struct kvm_vcpu *vcpu, gva_t eaddr); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:110:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kvmppc_mmu_xlate' extern gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int gtlb_index, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:112:13: error: storage class specified for parameter 'kvmppc_mmu_dtlb_miss' extern void kvmppc_mmu_dtlb_miss(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:113:13: error: storage class specified for parameter 'kvmppc_mmu_itlb_miss' extern void kvmppc_mmu_itlb_miss(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:114:12: error: storage class specified for parameter 'kvmppc_xlate' extern int kvmppc_xlate(struct kvm_vcpu *vcpu, ulong eaddr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:118:12: error: storage class specified for parameter 'kvmppc_core_vcpu_create' extern int kvmppc_core_vcpu_create(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:119:13: error: storage class specified for parameter 'kvmppc_core_vcpu_free' extern void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:120:12: error: storage class specified for parameter 'kvmppc_core_vcpu_setup' extern int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:121:12: error: storage class specified for parameter 'kvmppc_core_check_processor_compat' extern int kvmppc_core_check_processor_compat(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:122:12: error: storage class specified for parameter 'kvmppc_core_vcpu_translate' extern int kvmppc_core_vcpu_translate(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:125:13: error: storage class specified for parameter 'kvmppc_core_vcpu_load' extern void kvmppc_core_vcpu_load(struct kvm_vcpu *vcpu, int cpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:126:13: error: storage class specified for parameter 'kvmppc_core_vcpu_put' extern void kvmppc_core_vcpu_put(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:128:12: error: storage class specified for parameter 'kvmppc_core_prepare_to_enter' extern int kvmppc_core_prepare_to_enter(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:129:12: error: storage class specified for parameter 'kvmppc_core_pending_dec' extern int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:130:13: error: storage class specified for parameter 'kvmppc_core_queue_machine_check' extern void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:131:13: error: storage class specified for parameter 'kvmppc_core_queue_syscall' extern void kvmppc_core_queue_syscall(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:132:13: error: storage class specified for parameter 'kvmppc_core_queue_program' extern void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:133:13: error: storage class specified for parameter 'kvmppc_core_queue_fpunavail' extern void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:134:13: error: storage class specified for parameter 'kvmppc_core_queue_vec_unavail' extern void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:135:13: error: storage class specified for parameter 'kvmppc_core_queue_vsx_unavail' extern void kvmppc_core_queue_vsx_unavail(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:136:13: error: storage class specified for parameter 'kvmppc_core_queue_dec' extern void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:137:13: error: storage class specified for parameter 'kvmppc_core_dequeue_dec' extern void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:138:13: error: storage class specified for parameter 'kvmppc_core_queue_external' extern void kvmppc_core_queue_external(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:140:13: error: storage class specified for parameter 'kvmppc_core_dequeue_external' extern void kvmppc_core_dequeue_external(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:141:13: error: storage class specified for parameter 'kvmppc_core_queue_dtlb_miss' extern void kvmppc_core_queue_dtlb_miss(struct kvm_vcpu *vcpu, ulong dear_flags, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:143:13: error: storage class specified for parameter 'kvmppc_core_queue_data_storage' extern void kvmppc_core_queue_data_storage(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:146:13: error: storage class specified for parameter 'kvmppc_core_queue_itlb_miss' extern void kvmppc_core_queue_itlb_miss(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:147:13: error: storage class specified for parameter 'kvmppc_core_queue_inst_storage' extern void kvmppc_core_queue_inst_storage(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:149:13: error: storage class specified for parameter 'kvmppc_core_flush_tlb' extern void kvmppc_core_flush_tlb(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:150:12: error: storage class specified for parameter 'kvmppc_core_check_requests' extern int kvmppc_core_check_requests(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:152:12: error: storage class specified for parameter 'kvmppc_booke_init' extern int kvmppc_booke_init(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:153:13: error: storage class specified for parameter 'kvmppc_booke_exit' extern void kvmppc_booke_exit(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:155:12: error: storage class specified for parameter 'kvmppc_kvm_pv' extern int kvmppc_kvm_pv(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:156:13: error: storage class specified for parameter 'kvmppc_map_magic' extern void kvmppc_map_magic(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:158:12: error: storage class specified for parameter 'kvmppc_allocate_hpt' extern int kvmppc_allocate_hpt(struct kvm_hpt_info *info, u32 order); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:159:13: error: storage class specified for parameter 'kvmppc_set_hpt' extern void kvmppc_set_hpt(struct kvm *kvm, struct kvm_hpt_info *info); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:160:13: error: storage class specified for parameter 'kvmppc_alloc_reset_hpt' extern long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:161:13: error: storage class specified for parameter 'kvmppc_free_hpt' extern void kvmppc_free_hpt(struct kvm_hpt_info *info); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:162:13: error: storage class specified for parameter 'kvmppc_rmap_reset' extern void kvmppc_rmap_reset(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:163:13: error: storage class specified for parameter 'kvmppc_map_vrma' extern void kvmppc_map_vrma(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:165:12: error: storage class specified for parameter 'kvmppc_pseries_do_hcall' extern int kvmppc_pseries_do_hcall(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:166:13: error: storage class specified for parameter 'kvm_spapr_tce_attach_iommu_group' extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:168:13: error: storage class specified for parameter 'kvm_spapr_tce_release_iommu_group' extern void kvm_spapr_tce_release_iommu_group(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:170:12: error: storage class specified for parameter 'kvmppc_switch_mmu_to_hpt' extern int kvmppc_switch_mmu_to_hpt(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:171:12: error: storage class specified for parameter 'kvmppc_switch_mmu_to_radix' extern int kvmppc_switch_mmu_to_radix(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:172:13: error: storage class specified for parameter 'kvmppc_setup_partition_table' extern void kvmppc_setup_partition_table(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:174:13: error: storage class specified for parameter 'kvm_vm_ioctl_create_spapr_tce' extern long kvm_vm_ioctl_create_spapr_tce(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:180:13: error: storage class specified for parameter 'kvmppc_h_put_tce' extern long kvmppc_h_put_tce(struct kvm_vcpu *vcpu, unsigned long liobn, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:182:13: error: storage class specified for parameter 'kvmppc_h_put_tce_indirect' extern long kvmppc_h_put_tce_indirect(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:185:13: error: storage class specified for parameter 'kvmppc_h_stuff_tce' extern long kvmppc_h_stuff_tce(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:188:13: error: storage class specified for parameter 'kvmppc_h_get_tce' extern long kvmppc_h_get_tce(struct kvm_vcpu *vcpu, unsigned long liobn, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:190:21: error: storage class specified for parameter 'kvm_alloc_hpt_cma' extern struct page *kvm_alloc_hpt_cma(unsigned long nr_pages); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:191:13: error: storage class specified for parameter 'kvm_free_hpt_cma' extern void kvm_free_hpt_cma(struct page *page, unsigned long nr_pages); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:192:12: error: storage class specified for parameter 'kvmppc_core_init_vm' extern int kvmppc_core_init_vm(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:193:13: error: storage class specified for parameter 'kvmppc_core_destroy_vm' extern void kvmppc_core_destroy_vm(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:194:13: error: storage class specified for parameter 'kvmppc_core_free_memslot' extern void kvmppc_core_free_memslot(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:196:12: error: storage class specified for parameter 'kvmppc_core_prepare_memory_region' extern int kvmppc_core_prepare_memory_region(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:200:13: error: storage class specified for parameter 'kvmppc_core_commit_memory_region' extern void kvmppc_core_commit_memory_region(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:204:12: error: storage class specified for parameter 'kvm_vm_ioctl_get_smmu_info' extern int kvm_vm_ioctl_get_smmu_info(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:206:13: error: storage class specified for parameter 'kvmppc_core_flush_memslot' extern void kvmppc_core_flush_memslot(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:209:12: error: storage class specified for parameter 'kvmppc_bookehv_init' extern int kvmppc_bookehv_init(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:210:13: error: storage class specified for parameter 'kvmppc_bookehv_exit' extern void kvmppc_bookehv_exit(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:212:12: error: storage class specified for parameter 'kvmppc_prepare_to_enter' extern int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:214:12: error: storage class specified for parameter 'kvm_vm_ioctl_get_htab_fd' extern int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:215:13: error: storage class specified for parameter 'kvm_vm_ioctl_resize_hpt_prepare' extern long kvm_vm_ioctl_resize_hpt_prepare(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:217:13: error: storage class specified for parameter 'kvm_vm_ioctl_resize_hpt_commit' extern long kvm_vm_ioctl_resize_hpt_commit(struct kvm *kvm, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:222:12: error: storage class specified for parameter 'kvm_vm_ioctl_rtas_define_token' extern int kvm_vm_ioctl_rtas_define_token(struct kvm *kvm, void __user *argp); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:223:12: error: storage class specified for parameter 'kvmppc_rtas_hcall' extern int kvmppc_rtas_hcall(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:224:13: error: storage class specified for parameter 'kvmppc_rtas_tokens_free' extern void kvmppc_rtas_tokens_free(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:226:12: error: storage class specified for parameter 'kvmppc_xics_set_xive' extern int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:228:12: error: storage class specified for parameter 'kvmppc_xics_get_xive' extern int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:230:12: error: storage class specified for parameter 'kvmppc_xics_int_on' extern int kvmppc_xics_int_on(struct kvm *kvm, u32 irq); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:231:12: error: storage class specified for parameter 'kvmppc_xics_int_off' extern int kvmppc_xics_int_off(struct kvm *kvm, u32 irq); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:236:1: error: empty declaration [-Werror] union kvmppc_one_reg { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:251:1: error: empty declaration [-Werror] struct kvmppc_ops { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:315:27: error: storage class specified for parameter 'kvmppc_hv_ops' extern struct kvmppc_ops *kvmppc_hv_ops; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:316:27: error: storage class specified for parameter 'kvmppc_pr_ops' extern struct kvmppc_ops *kvmppc_pr_ops; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:346:12: error: storage class specified for parameter 'kvmppc_hwrng_present' extern int kvmppc_hwrng_present(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:418:1: error: empty declaration [-Werror] struct openpic; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:421:13: error: storage class specified for parameter 'kvm_cma_reserve' extern void kvm_cma_reserve(void) __init; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:421:13: error: section attribute not allowed for 'kvm_cma_reserve' /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:421:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void kvm_cma_reserve(void) __init; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:421:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:541:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:545:13: error: storage class specified for parameter 'kvm_hv_vm_activated' extern void kvm_hv_vm_activated(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:546:13: error: storage class specified for parameter 'kvm_hv_vm_deactivated' extern void kvm_hv_vm_deactivated(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:547:13: error: storage class specified for parameter 'kvm_hv_mode_active' extern bool kvm_hv_mode_active(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:549:13: error: storage class specified for parameter 'kvmppc_check_need_tlb_flush' extern void kvmppc_check_need_tlb_flush(struct kvm *kvm, int pcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:585:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:609:13: error: storage class specified for parameter 'kvmppc_alloc_host_rm_ops' extern void kvmppc_alloc_host_rm_ops(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:610:13: error: storage class specified for parameter 'kvmppc_free_host_rm_ops' extern void kvmppc_free_host_rm_ops(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:611:13: error: storage class specified for parameter 'kvmppc_free_pimap' extern void kvmppc_free_pimap(struct kvm *kvm); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:612:12: error: storage class specified for parameter 'kvmppc_xics_rm_complete' extern int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:613:13: error: storage class specified for parameter 'kvmppc_xics_free_icp' extern void kvmppc_xics_free_icp(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:614:12: error: storage class specified for parameter 'kvmppc_xics_hcall' extern int kvmppc_xics_hcall(struct kvm_vcpu *vcpu, u32 cmd); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:615:12: error: storage class specified for parameter 'kvmppc_xive_xics_hcall' extern int kvmppc_xive_xics_hcall(struct kvm_vcpu *vcpu, u32 req); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:616:12: error: storage class specified for parameter 'kvmppc_xics_get_icp' extern u64 kvmppc_xics_get_icp(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:617:12: error: storage class specified for parameter 'kvmppc_xics_set_icp' extern int kvmppc_xics_set_icp(struct kvm_vcpu *vcpu, u64 icpval); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:618:12: error: storage class specified for parameter 'kvmppc_xics_connect_vcpu' extern int kvmppc_xics_connect_vcpu(struct kvm_device *dev, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:620:13: error: storage class specified for parameter 'kvmppc_xics_ipi_action' extern void kvmppc_xics_ipi_action(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:621:13: error: storage class specified for parameter 'kvmppc_xics_set_mapped' extern void kvmppc_xics_set_mapped(struct kvm *kvm, unsigned long guest_irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:623:13: error: storage class specified for parameter 'kvmppc_xics_clr_mapped' extern void kvmppc_xics_clr_mapped(struct kvm *kvm, unsigned long guest_irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:625:13: error: storage class specified for parameter 'kvmppc_deliver_irq_passthru' extern long kvmppc_deliver_irq_passthru(struct kvm_vcpu *vcpu, __be32 xirr, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:630:12: error: storage class specified for parameter 'kvmppc_xics_set_irq' extern int kvmppc_xics_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:633:12: error: storage class specified for parameter 'h_ipi_redirect' extern int h_ipi_redirect; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:661:12: error: storage class specified for parameter 'kvmppc_xive_set_xive' extern int kvmppc_xive_set_xive(struct kvm *kvm, u32 irq, u32 server, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:663:12: error: storage class specified for parameter 'kvmppc_xive_get_xive' extern int kvmppc_xive_get_xive(struct kvm *kvm, u32 irq, u32 *server, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:665:12: error: storage class specified for parameter 'kvmppc_xive_int_on' extern int kvmppc_xive_int_on(struct kvm *kvm, u32 irq); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:666:12: error: storage class specified for parameter 'kvmppc_xive_int_off' extern int kvmppc_xive_int_off(struct kvm *kvm, u32 irq); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:668:12: error: storage class specified for parameter 'kvmppc_xive_connect_vcpu' extern int kvmppc_xive_connect_vcpu(struct kvm_device *dev, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:670:13: error: storage class specified for parameter 'kvmppc_xive_cleanup_vcpu' extern void kvmppc_xive_cleanup_vcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:671:12: error: storage class specified for parameter 'kvmppc_xive_set_mapped' extern int kvmppc_xive_set_mapped(struct kvm *kvm, unsigned long guest_irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:673:12: error: storage class specified for parameter 'kvmppc_xive_clr_mapped' extern int kvmppc_xive_clr_mapped(struct kvm *kvm, unsigned long guest_irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:675:12: error: storage class specified for parameter 'kvmppc_xive_get_icp' extern u64 kvmppc_xive_get_icp(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:676:12: error: storage class specified for parameter 'kvmppc_xive_set_icp' extern int kvmppc_xive_set_icp(struct kvm_vcpu *vcpu, u64 icpval); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:678:12: error: storage class specified for parameter 'kvmppc_xive_set_irq' extern int kvmppc_xive_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:680:13: error: storage class specified for parameter 'kvmppc_xive_push_vcpu' extern void kvmppc_xive_push_vcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:681:13: error: storage class specified for parameter 'kvmppc_xive_pull_vcpu' extern void kvmppc_xive_pull_vcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:682:13: error: storage class specified for parameter 'kvmppc_xive_rearm_escalation' extern bool kvmppc_xive_rearm_escalation(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:685:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:689:12: error: storage class specified for parameter 'kvmppc_xive_native_connect_vcpu' extern int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:691:13: error: storage class specified for parameter 'kvmppc_xive_native_cleanup_vcpu' extern void kvmppc_xive_native_cleanup_vcpu(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:692:12: error: storage class specified for parameter 'kvmppc_xive_native_get_vp' extern int kvmppc_xive_native_get_vp(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:694:12: error: storage class specified for parameter 'kvmppc_xive_native_set_vp' extern int kvmppc_xive_native_set_vp(struct kvm_vcpu *vcpu, ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:696:13: error: storage class specified for parameter 'kvmppc_xive_native_supported' extern bool kvmppc_xive_native_supported(void); ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:738:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:794:1: error: empty declaration [-Werror] union kvmppc_rm_state { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:802:1: error: empty declaration [-Werror] struct kvmppc_host_rm_core { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:808:1: error: empty declaration [-Werror] struct kvmppc_host_rm_ops { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:813:35: error: storage class specified for parameter 'kvmppc_host_rm_ops_hv' extern struct kvmppc_host_rm_ops *kvmppc_host_rm_ops_hv; ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:816:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:827:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:845:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:850:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:856:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:870:44: error: unknown type name 'kvm_pfn_t' static inline void kvmppc_mmu_flush_icache(kvm_pfn_t pfn) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:893:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:955:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(critical, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:955:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(critical, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:956:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg0, 64, SPRN_GSPRG0) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:956:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg0, 64, SPRN_GSPRG0) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:957:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg1, 64, SPRN_GSPRG1) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:957:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg1, 64, SPRN_GSPRG1) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:958:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg2, 64, SPRN_GSPRG2) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:958:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg2, 64, SPRN_GSPRG2) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:959:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg3, 64, SPRN_GSPRG3) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:959:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(sprg3, 64, SPRN_GSPRG3) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:960:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(srr0, 64, SPRN_GSRR0) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:960:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(srr0, 64, SPRN_GSRR0) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:961:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(srr1, 64, SPRN_GSRR1) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:961:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(srr1, 64, SPRN_GSRR1) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:962:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(dar, 64, SPRN_GDEAR) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:962:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(dar, 64, SPRN_GDEAR) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:963:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(esr, 64, SPRN_GESR) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:951:2: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:963:1: note: in expansion of macro 'SHARED_SPRNG_WRAPPER' SHARED_SPRNG_WRAPPER(esr, 64, SPRN_GESR) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:964:1: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(msr, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:966:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:972:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(dsisr, 32) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:972:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(dsisr, 32) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:973:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(int_pending, 32) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:973:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(int_pending, 32) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:974:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg4, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:974:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg4, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:975:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg5, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:975:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg5, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:976:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg6, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:976:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg6, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:919:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:936:2: note: in expansion of macro 'SHARED_WRAPPER_GET' SHARED_WRAPPER_GET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:977:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg7, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:928:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:937:2: note: in expansion of macro 'SHARED_WRAPPER_SET' SHARED_WRAPPER_SET(reg, size) \ ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:977:1: note: in expansion of macro 'SHARED_WRAPPER' SHARED_WRAPPER(sprg7, 64) ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:980:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:988:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:1001:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:1018:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:1038:13: error: storage class specified for parameter 'xics_wake_cpu' extern void xics_wake_cpu(int cpu); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:36:0: /kisskb/src/arch/powerpc/include/asm/dbell.h:24:1: error: empty declaration [-Werror] enum ppc_dbell { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:92:13: error: storage class specified for parameter 'doorbell_exception' extern void doorbell_exception(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/dbell.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:43:0: /kisskb/src/arch/powerpc/include/asm/xics.h:32:12: error: storage class specified for parameter 'icp_native_init' extern int icp_native_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:33:13: error: storage class specified for parameter 'icp_native_flush_interrupt' extern void icp_native_flush_interrupt(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:34:13: error: storage class specified for parameter 'icp_native_cause_ipi_rm' extern void icp_native_cause_ipi_rm(int cpu); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:41:12: error: section attribute not allowed for 'icp_hv_init' int __init icp_hv_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:41:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init icp_hv_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:41:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/xics.h:47:12: error: section attribute not allowed for 'icp_opal_init' int __init icp_opal_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:47:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init icp_opal_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:47:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/xics.h:48:13: error: storage class specified for parameter 'icp_opal_flush_interrupt' extern void icp_opal_flush_interrupt(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:62:2: error: expected specifier-qualifier-list before 'irq_handler_t' irq_handler_t ipi_action; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:54:1: error: empty declaration [-Werror] struct icp_ops { ^ /kisskb/src/arch/powerpc/include/asm/xics.h:66:30: error: storage class specified for parameter 'icp_ops' extern const struct icp_ops *icp_ops; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:72:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int ics_native_init(void) { return -ENODEV; } ^ /kisskb/src/arch/powerpc/include/asm/xics.h:77:12: error: storage class specified for parameter 'ics_rtas_init' extern int ics_rtas_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:84:12: error: storage class specified for parameter 'ics_opal_init' extern int ics_opal_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:90:1: error: empty declaration [-Werror] struct ics { ^ /kisskb/src/arch/powerpc/include/asm/xics.h:101:21: error: storage class specified for parameter 'xics_default_server' extern unsigned int xics_default_server; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:102:21: error: storage class specified for parameter 'xics_default_distrib_server' extern unsigned int xics_default_distrib_server; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:103:21: error: storage class specified for parameter 'xics_interrupt_server_size' extern unsigned int xics_interrupt_server_size; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:104:27: error: storage class specified for parameter 'xics_host' extern struct irq_domain *xics_host; ^ /kisskb/src/arch/powerpc/include/asm/xics.h:106:1: error: empty declaration [-Werror] struct xics_cppr { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_xics_cppr' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_xics_cppr' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:35: error: storage class specified for parameter 'xics_cppr' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:35: error: section attribute not allowed for 'xics_cppr' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/xics.h:111:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct xics_cppr, xics_cppr); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:43:0: /kisskb/src/arch/powerpc/include/asm/xics.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/xics.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/xics.h:137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/xics.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/powerpc/include/asm/percpu.h:18, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/linux/spinlock.h:59, 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/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_xics_ipi_message' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:139:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_SHARED_ALIGNED_SECTION) \ ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_xics_ipi_message' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:139:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_SHARED_ALIGNED_SECTION) \ ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:47: error: storage class specified for parameter 'xics_ipi_message' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:47: error: alignment may not be specified for 'xics_ipi_message' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:47: error: section attribute not allowed for 'xics_ipi_message' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/powerpc/include/asm/xics.h:155:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi_message); ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:43:0: /kisskb/src/arch/powerpc/include/asm/xics.h:157:13: error: storage class specified for parameter 'xics_init' extern void xics_init(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:158:13: error: storage class specified for parameter 'xics_setup_cpu' extern void xics_setup_cpu(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:159:13: error: storage class specified for parameter 'xics_update_irq_servers' extern void xics_update_irq_servers(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:160:13: error: storage class specified for parameter 'xics_set_cpu_giq' extern void xics_set_cpu_giq(unsigned int gserver, unsigned int join); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:161:13: error: storage class specified for parameter 'xics_mask_unknown_vec' extern void xics_mask_unknown_vec(unsigned int vec); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:162:13: error: storage class specified for parameter 'xics_smp_probe' extern void xics_smp_probe(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:163:13: error: storage class specified for parameter 'xics_register_ics' extern void xics_register_ics(struct ics *ics); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:164:13: error: storage class specified for parameter 'xics_teardown_cpu' extern void xics_teardown_cpu(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:165:13: error: storage class specified for parameter 'xics_kexec_teardown_cpu' extern void xics_kexec_teardown_cpu(int secondary); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:166:13: error: storage class specified for parameter 'xics_migrate_irqs_away' extern void xics_migrate_irqs_away(void); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:167:13: error: storage class specified for parameter 'icp_native_eoi' extern void icp_native_eoi(struct irq_data *d); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:168:12: error: storage class specified for parameter 'xics_set_irq_type' extern int xics_set_irq_type(struct irq_data *d, unsigned int flow_type); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:169:12: error: storage class specified for parameter 'xics_retrigger' extern int xics_retrigger(struct irq_data *data); ^ /kisskb/src/arch/powerpc/include/asm/xics.h:171:12: error: storage class specified for parameter 'xics_get_irq_server' extern int xics_get_irq_server(unsigned int virq, const struct cpumask *cpumask, ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:46:0: /kisskb/src/arch/powerpc/include/asm/opal.h:24:24: error: storage class specified for parameter 'opal_kobj' extern struct kobject *opal_kobj; ^ /kisskb/src/arch/powerpc/include/asm/opal.h:27:28: error: storage class specified for parameter 'opal_node' extern struct device_node *opal_node; ^ /kisskb/src/arch/powerpc/include/asm/opal.h:135:28: error: expected declaration specifiers or '...' before 'oppanel_line_t' int64_t opal_write_oppanel(oppanel_line_t *lines, uint64_t num_lines); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:189:50: error: expected declaration specifiers or '...' before 'oppanel_line_t' int64_t opal_write_oppanel_async(uint64_t token, oppanel_line_t *lines, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:313:12: error: storage class specified for parameter 'early_init_dt_scan_opal' extern int early_init_dt_scan_opal(unsigned long node, const char *uname, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:315:12: error: storage class specified for parameter 'early_init_dt_scan_recoverable_ranges' extern int early_init_dt_scan_recoverable_ranges(unsigned long node, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:317:13: error: section attribute not allowed for 'opal_configure_cores' void __init opal_configure_cores(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:317:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init opal_configure_cores(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:317:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/powerpc/include/asm/opal.h:319:12: error: storage class specified for parameter 'opal_get_chars' extern int opal_get_chars(uint32_t vtermno, char *buf, int count); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:320:12: error: storage class specified for parameter 'opal_put_chars' extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:321:12: error: storage class specified for parameter 'opal_put_chars_atomic' extern int opal_put_chars_atomic(uint32_t vtermno, const char *buf, int total_len); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:322:12: error: storage class specified for parameter 'opal_flush_chars' extern int opal_flush_chars(uint32_t vtermno, bool wait); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:323:12: error: storage class specified for parameter 'opal_flush_console' extern int opal_flush_console(uint32_t vtermno); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:325:13: error: storage class specified for parameter 'hvc_opal_init_early' extern void hvc_opal_init_early(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:327:12: error: storage class specified for parameter 'opal_message_notifier_register' extern int opal_message_notifier_register(enum opal_msg_type msg_type, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:329:12: error: storage class specified for parameter 'opal_message_notifier_unregister' extern int opal_message_notifier_unregister(enum opal_msg_type msg_type, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:332:12: error: storage class specified for parameter 'opal_async_get_token_interruptible' extern int opal_async_get_token_interruptible(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:333:12: error: storage class specified for parameter 'opal_async_release_token' extern int opal_async_release_token(int token); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:334:12: error: storage class specified for parameter 'opal_async_wait_response' extern int opal_async_wait_response(uint64_t token, struct opal_msg *msg); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:335:12: error: storage class specified for parameter 'opal_async_wait_response_interruptible' extern int opal_async_wait_response_interruptible(uint64_t token, ^ /kisskb/src/arch/powerpc/include/asm/opal.h:337:12: error: storage class specified for parameter 'opal_get_sensor_data' extern int opal_get_sensor_data(u32 sensor_hndl, u32 *sensor_data); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:338:12: error: storage class specified for parameter 'opal_get_sensor_data_u64' extern int opal_get_sensor_data_u64(u32 sensor_hndl, u64 *sensor_data); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:339:12: error: storage class specified for parameter 'sensor_group_enable' extern int sensor_group_enable(u32 grp_hndl, bool enable); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:341:1: error: empty declaration [-Werror] struct rtc_time; ^ /kisskb/src/arch/powerpc/include/asm/opal.h:342:17: error: storage class specified for parameter 'opal_get_boot_time' extern time64_t opal_get_boot_time(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:343:13: error: storage class specified for parameter 'opal_nvram_init' extern void opal_nvram_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:344:13: error: storage class specified for parameter 'opal_flash_update_init' extern void opal_flash_update_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:345:13: error: storage class specified for parameter 'opal_flash_update_print_message' extern void opal_flash_update_print_message(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:346:12: error: storage class specified for parameter 'opal_elog_init' extern int opal_elog_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:347:13: error: storage class specified for parameter 'opal_platform_dump_init' extern void opal_platform_dump_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:348:13: error: storage class specified for parameter 'opal_sys_param_init' extern void opal_sys_param_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:349:13: error: storage class specified for parameter 'opal_msglog_init' extern void opal_msglog_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:350:13: error: storage class specified for parameter 'opal_msglog_sysfs_init' extern void opal_msglog_sysfs_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:351:12: error: storage class specified for parameter 'opal_async_comp_init' extern int opal_async_comp_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:352:12: error: storage class specified for parameter 'opal_sensor_init' extern int opal_sensor_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:353:12: error: storage class specified for parameter 'opal_hmi_handler_init' extern int opal_hmi_handler_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:354:12: error: storage class specified for parameter 'opal_event_init' extern int opal_event_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:357:12: error: storage class specified for parameter 'opal_machine_check' extern int opal_machine_check(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:358:13: error: storage class specified for parameter 'opal_mce_check_early_recovery' extern bool opal_mce_check_early_recovery(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:359:12: error: storage class specified for parameter 'opal_hmi_exception_early' extern int opal_hmi_exception_early(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:360:12: error: storage class specified for parameter 'opal_hmi_exception_early2' extern int opal_hmi_exception_early2(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:361:12: error: storage class specified for parameter 'opal_handle_hmi_exception' extern int opal_handle_hmi_exception(struct pt_regs *regs); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:363:13: error: storage class specified for parameter 'opal_shutdown' extern void opal_shutdown(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:364:12: error: storage class specified for parameter 'opal_resync_timebase' extern int opal_resync_timebase(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:366:13: error: storage class specified for parameter 'opal_lpc_init' extern void opal_lpc_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:368:13: error: storage class specified for parameter 'opal_kmsg_init' extern void opal_kmsg_init(void); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:370:12: error: storage class specified for parameter 'opal_event_request' extern int opal_event_request(unsigned int opal_event_nr); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:376:12: error: storage class specified for parameter 'opal_error_code' extern int opal_error_code(int rc); ^ /kisskb/src/arch/powerpc/include/asm/opal.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/../xmon/xmon_bpts.h:7:0, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:71: /kisskb/src/arch/powerpc/include/asm/inst.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/powerpc/include/asm/inst.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:71:0: /kisskb/src/arch/powerpc/kernel/../xmon/xmon_bpts.h:11:21: error: storage class specified for parameter 'bpt_table' extern unsigned int bpt_table[NBPTS * BPT_WORDS]; ^ /kisskb/src/arch/powerpc/kernel/asm-offsets.c:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/prandom.h:12:0, from /kisskb/src/include/linux/random.h:110, 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/percpu.h:120:23: error: old-style parameter declarations in prototyped function definition extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align) __alloc_size(1); ^ /kisskb/src/arch/powerpc/kernel/asm-offsets.c:704:1: error: expected '{' at end of input } ^ /kisskb/src/arch/powerpc/kernel/asm-offsets.c:704:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:1273: prepare0] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_powerpc-allmodconfig+4K_PAGES_powerpc-gcc5 # Build took: 0:00:13.619234