# git rev-parse -q --verify de90d455a35e474a184c898e66a6a108c3a99434^{commit} de90d455a35e474a184c898e66a6a108c3a99434 already have revision, skipping fetch # git checkout -q -f -B kisskb de90d455a35e474a184c898e66a6a108c3a99434 # git clean -qxdf # < git log -1 # commit de90d455a35e474a184c898e66a6a108c3a99434 # Author: Mark Brown # Date: Wed Sep 28 20:22:05 2022 +0100 # # Add linux-next specific files for 20220928 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 de90d455a35e474a184c898e66a6a108c3a99434 # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_RETPOLINE=n # Added to kconfig # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux- In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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",\ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/stackleak_plugin.c:30: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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",\ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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", \ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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", \ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:48, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/stackleak_plugin.c:30: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:48, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:48, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:48, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/tm.h:48, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/../lib/gcc/x86_64-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/x86_64-linux/bin/../lib/gcc/x86_64-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", \ ^ 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' 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:108, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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:108, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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:108:0, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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:110:0, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/archrandom.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/archrandom.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/archrandom.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/archrandom.h:54: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/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/random.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:138:37: error: storage class specified for parameter 'random_fops' extern const struct file_operations random_fops, urandom_fops; ^ /kisskb/src/include/linux/random.h:138: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/mmzone.h:17:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/mmzone.h:18:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/pageblock-flags.h:18:1: error: empty declaration [-Werror] enum pageblock_bits { ^ /kisskb/src/include/linux/pageblock-flags.h:62:1: error: empty declaration [-Werror] struct page; ^ In file included from /kisskb/src/include/linux/mm_types_task.h:19:0, from /kisskb/src/include/linux/mm_types.h:5, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/tlbbatch.h:7:1: error: empty declaration [-Werror] struct arch_tlbflush_unmap_batch { ^ In file included from /kisskb/src/include/linux/mm_types.h:5:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm_types_task.h:31:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mm_types_task.h:42:1: error: empty declaration [-Werror] struct task_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:48:1: error: empty declaration [-Werror] struct mm_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:52:1: error: empty declaration [-Werror] struct page_frag { ^ /kisskb/src/include/linux/mm_types_task.h:64:1: error: empty declaration [-Werror] struct tlbflush_unmap_batch { ^ In file included from /kisskb/src/include/linux/mm_types.h:8:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/kref.h:19:1: error: empty declaration [-Werror] struct kref { ^ /kisskb/src/include/linux/kref.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rbtree.h:21:0, from /kisskb/src/include/linux/mm_types.h:11, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rbtree_types.h:5:1: error: empty declaration [-Werror] struct rb_node { ^ /kisskb/src/include/linux/rbtree_types.h:12:1: error: empty declaration [-Werror] struct rb_root { ^ /kisskb/src/include/linux/rbtree_types.h:26:1: error: empty declaration [-Werror] struct rb_root_cached { ^ In file included from /kisskb/src/include/linux/rbtree.h:24:0, from /kisskb/src/include/linux/mm_types.h:11, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rcupdate.h:46:1: error: empty declaration [-Werror] struct rcu_gp_oldstate; ^ /kisskb/src/include/linux/rcupdate.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:113:12: error: storage class specified for parameter 'rcu_scheduler_active' extern int rcu_scheduler_active; ^ /kisskb/src/include/linux/rcupdate.h:135:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void rcu_irq_work_resched(void) { } ^ In file included from /kisskb/src/include/linux/rcupdate.h:262:0, from /kisskb/src/include/linux/rbtree.h:24, from /kisskb/src/include/linux/mm_types.h:11, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rcutree.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcutree.h:44:1: error: empty declaration [-Werror] struct rcu_gp_oldstate { ^ /kisskb/src/include/linux/rcutree.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcutree.h:98:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/rcutree.h:104:12: error: storage class specified for parameter 'rcu_scheduler_active' extern int rcu_scheduler_active; ^ /kisskb/src/include/linux/rcutree.h:104:12: error: redefinition of parameter 'rcu_scheduler_active' In file included from /kisskb/src/include/linux/rbtree.h:24:0, from /kisskb/src/include/linux/mm_types.h:11, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rcupdate.h:113:12: note: previous definition of 'rcu_scheduler_active' was here extern int rcu_scheduler_active; ^ In file included from /kisskb/src/include/linux/rbtree.h:24:0, from /kisskb/src/include/linux/mm_types.h:11, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rcupdate.h:295:27: error: storage class specified for parameter 'rcu_lock_map' extern struct lockdep_map rcu_lock_map; ^ /kisskb/src/include/linux/rcupdate.h:296:27: error: storage class specified for parameter 'rcu_bh_lock_map' extern struct lockdep_map rcu_bh_lock_map; ^ /kisskb/src/include/linux/rcupdate.h:297:27: error: storage class specified for parameter 'rcu_sched_lock_map' extern struct lockdep_map rcu_sched_lock_map; ^ /kisskb/src/include/linux/rcupdate.h:298:27: error: storage class specified for parameter 'rcu_callback_map' extern struct lockdep_map rcu_callback_map; ^ /kisskb/src/include/linux/rcupdate.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:308:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:368:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void rcu_preempt_sleep_check(void) { } ^ /kisskb/src/include/linux/rcupdate.h:735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:766:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:789:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:803:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:827:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:837:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:858:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:1027:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:1046:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:1056:12: error: storage class specified for parameter 'rcu_expedited' extern int rcu_expedited; ^ /kisskb/src/include/linux/rcupdate.h:1057:12: error: storage class specified for parameter 'rcu_normal' extern int rcu_normal; ^ In file included from /kisskb/src/include/linux/mm_types.h:11:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rbtree.h:39:13: error: storage class specified for parameter 'rb_insert_color' extern void rb_insert_color(struct rb_node *, struct rb_root *); ^ /kisskb/src/include/linux/rbtree.h:40:13: error: storage class specified for parameter 'rb_erase' extern void rb_erase(struct rb_node *, struct rb_root *); ^ /kisskb/src/include/linux/rbtree.h:44:24: error: storage class specified for parameter 'rb_next' extern struct rb_node *rb_next(const struct rb_node *); ^ /kisskb/src/include/linux/rbtree.h:45:24: error: storage class specified for parameter 'rb_prev' extern struct rb_node *rb_prev(const struct rb_node *); ^ /kisskb/src/include/linux/rbtree.h:46:24: error: storage class specified for parameter 'rb_first' extern struct rb_node *rb_first(const struct rb_root *); ^ /kisskb/src/include/linux/rbtree.h:47:24: error: storage class specified for parameter 'rb_last' extern struct rb_node *rb_last(const struct rb_root *); ^ /kisskb/src/include/linux/rbtree.h:50:24: error: storage class specified for parameter 'rb_first_postorder' extern struct rb_node *rb_first_postorder(const struct rb_root *); ^ /kisskb/src/include/linux/rbtree.h:51:24: error: storage class specified for parameter 'rb_next_postorder' extern struct rb_node *rb_next_postorder(const struct rb_node *); ^ /kisskb/src/include/linux/rbtree.h:54:13: error: storage class specified for parameter 'rb_replace_node' extern void rb_replace_node(struct rb_node *victim, struct rb_node *new, ^ /kisskb/src/include/linux/rbtree.h:56:13: error: storage class specified for parameter 'rb_replace_node_rcu' extern void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, ^ /kisskb/src/include/linux/rbtree.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rbtree.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm_types.h:12:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/maple_tree.h:80:1: error: empty declaration [-Werror] struct maple_metadata { ^ /kisskb/src/include/linux/maple_tree.h:106:1: error: empty declaration [-Werror] struct maple_range_64 { ^ /kisskb/src/include/linux/maple_tree.h:127:1: error: empty declaration [-Werror] struct maple_arange_64 { ^ /kisskb/src/include/linux/maple_tree.h:135:1: error: empty declaration [-Werror] struct maple_alloc { ^ /kisskb/src/include/linux/maple_tree.h:142:1: error: empty declaration [-Werror] struct maple_topiary { ^ /kisskb/src/include/linux/maple_tree.h:147:1: error: empty declaration [-Werror] enum maple_type { ^ /kisskb/src/include/linux/maple_tree.h:187:29: error: storage class specified for parameter 'lockdep_map_p' typedef struct lockdep_map *lockdep_map_p; ^ /kisskb/src/include/linux/maple_tree.h:214:3: error: expected specifier-qualifier-list before 'lockdep_map_p' lockdep_map_p ma_external_lock; ^ /kisskb/src/include/linux/maple_tree.h:211:1: error: empty declaration [-Werror] struct maple_tree { ^ /kisskb/src/include/linux/maple_tree.h:270:1: error: empty declaration [-Werror] struct maple_node { ^ /kisskb/src/include/linux/maple_tree.h:298:1: error: empty declaration [-Werror] struct ma_topiary { ^ /kisskb/src/include/linux/maple_tree.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:373:1: error: empty declaration [-Werror] struct ma_state { ^ /kisskb/src/include/linux/maple_tree.h:386:1: error: empty declaration [-Werror] struct ma_wr_state { ^ /kisskb/src/include/linux/maple_tree.h:476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:506:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:538:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:554:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:560:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:575:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:627:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:662:17: error: storage class specified for parameter 'maple_tree_tests_run' extern atomic_t maple_tree_tests_run; ^ /kisskb/src/include/linux/maple_tree.h:663:17: error: storage class specified for parameter 'maple_tree_tests_passed' extern atomic_t maple_tree_tests_passed; ^ In file included from /kisskb/src/include/linux/mm_types.h:13:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rwsem.h:47:1: error: empty declaration [-Werror] struct rw_semaphore { ^ /kisskb/src/include/linux/rwsem.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwsem.h:103:13: error: storage class specified for parameter '__init_rwsem' extern void __init_rwsem(struct rw_semaphore *sem, const char *name, ^ /kisskb/src/include/linux/rwsem.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwsem.h:174:13: error: storage class specified for parameter 'down_read' extern void down_read(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:175:25: error: storage class specified for parameter 'down_read_interruptible' extern int __must_check down_read_interruptible(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:176:25: error: storage class specified for parameter 'down_read_killable' extern int __must_check down_read_killable(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:181:12: error: storage class specified for parameter 'down_read_trylock' extern int down_read_trylock(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:186:13: error: storage class specified for parameter 'down_write' extern void down_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:187:25: error: storage class specified for parameter 'down_write_killable' extern int __must_check down_write_killable(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:192:12: error: storage class specified for parameter 'down_write_trylock' extern int down_write_trylock(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:197:13: error: storage class specified for parameter 'up_read' extern void up_read(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:202:13: error: storage class specified for parameter 'up_write' extern void up_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:207:13: error: storage class specified for parameter 'downgrade_write' extern void downgrade_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:223:13: error: storage class specified for parameter 'down_read_nested' extern void down_read_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:224:25: error: storage class specified for parameter 'down_read_killable_nested' extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:225:13: error: storage class specified for parameter 'down_write_nested' extern void down_write_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:226:12: error: storage class specified for parameter 'down_write_killable_nested' extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:227:13: error: storage class specified for parameter '_down_write_nest_lock' extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock); ^ /kisskb/src/include/linux/rwsem.h:241:13: error: storage class specified for parameter 'down_read_non_owner' extern void down_read_non_owner(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:242:13: error: storage class specified for parameter 'up_read_non_owner' extern void up_read_non_owner(struct rw_semaphore *sem); ^ In file included from /kisskb/src/include/linux/completion.h:12:0, from /kisskb/src/include/linux/mm_types.h:14, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/swait.h:41:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/swait.h:43:1: error: empty declaration [-Werror] struct swait_queue_head { ^ /kisskb/src/include/linux/swait.h:48:1: error: empty declaration [-Werror] struct swait_queue { ^ /kisskb/src/include/linux/swait.h:69:13: error: storage class specified for parameter '__init_swait_queue_head' extern void __init_swait_queue_head(struct swait_queue_head *q, const char *name, ^ /kisskb/src/include/linux/swait.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swait.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swait.h:147:13: error: storage class specified for parameter 'swake_up_one' extern void swake_up_one(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:148:13: error: storage class specified for parameter 'swake_up_all' extern void swake_up_all(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:149:13: error: storage class specified for parameter 'swake_up_locked' extern void swake_up_locked(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:151:13: error: storage class specified for parameter 'prepare_to_swait_exclusive' extern void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state); ^ /kisskb/src/include/linux/swait.h:152:13: error: storage class specified for parameter 'prepare_to_swait_event' extern long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state); ^ /kisskb/src/include/linux/swait.h:154:13: error: storage class specified for parameter '__finish_swait' extern void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait); ^ /kisskb/src/include/linux/swait.h:155:13: error: storage class specified for parameter 'finish_swait' extern void finish_swait(struct swait_queue_head *q, struct swait_queue *wait); ^ In file included from /kisskb/src/include/linux/mm_types.h:14:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/completion.h:26:1: error: empty declaration [-Werror] struct completion { ^ /kisskb/src/include/linux/completion.h:32:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void complete_acquire(struct completion *x) {} ^ /kisskb/src/include/linux/completion.h:33:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void complete_release(struct completion *x) {} ^ /kisskb/src/include/linux/completion.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/completion.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/completion.h:102:13: error: storage class specified for parameter 'wait_for_completion' extern void wait_for_completion(struct completion *); ^ /kisskb/src/include/linux/completion.h:103:13: error: storage class specified for parameter 'wait_for_completion_io' extern void wait_for_completion_io(struct completion *); ^ /kisskb/src/include/linux/completion.h:104:12: error: storage class specified for parameter 'wait_for_completion_interruptible' extern int wait_for_completion_interruptible(struct completion *x); ^ /kisskb/src/include/linux/completion.h:105:12: error: storage class specified for parameter 'wait_for_completion_killable' extern int wait_for_completion_killable(struct completion *x); ^ /kisskb/src/include/linux/completion.h:106:12: error: storage class specified for parameter 'wait_for_completion_state' extern int wait_for_completion_state(struct completion *x, unsigned int state); ^ /kisskb/src/include/linux/completion.h:107:22: error: storage class specified for parameter 'wait_for_completion_timeout' extern unsigned long wait_for_completion_timeout(struct completion *x, ^ /kisskb/src/include/linux/completion.h:109:22: error: storage class specified for parameter 'wait_for_completion_io_timeout' extern unsigned long wait_for_completion_io_timeout(struct completion *x, ^ /kisskb/src/include/linux/completion.h:111:13: error: storage class specified for parameter 'wait_for_completion_interruptible_timeout' extern long wait_for_completion_interruptible_timeout( ^ /kisskb/src/include/linux/completion.h:113:13: error: storage class specified for parameter 'wait_for_completion_killable_timeout' extern long wait_for_completion_killable_timeout( ^ /kisskb/src/include/linux/completion.h:115:13: error: storage class specified for parameter 'try_wait_for_completion' extern bool try_wait_for_completion(struct completion *x); ^ /kisskb/src/include/linux/completion.h:116:13: error: storage class specified for parameter 'completion_done' extern bool completion_done(struct completion *x); ^ /kisskb/src/include/linux/completion.h:118:13: error: storage class specified for parameter 'complete' extern void complete(struct completion *); ^ /kisskb/src/include/linux/completion.h:119:13: error: storage class specified for parameter 'complete_all' extern void complete_all(struct completion *); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/uprobes.h:19:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/uprobes.h:20:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/include/linux/uprobes.h:21:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/uprobes.h:22:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/uprobes.h:23:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/uprobes.h:30:1: error: empty declaration [-Werror] enum uprobe_filter_ctx { ^ /kisskb/src/include/linux/uprobes.h:36:1: error: empty declaration [-Werror] struct uprobe_consumer { ^ In file included from /kisskb/src/include/linux/ktime.h:24:0, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/time.h:9:24: error: storage class specified for parameter 'sys_tz' extern struct timezone sys_tz; ^ /kisskb/src/include/linux/time.h:20:17: error: storage class specified for parameter 'mktime64' extern time64_t mktime64(const unsigned int year, const unsigned int mon, ^ /kisskb/src/include/linux/time.h:25:13: error: storage class specified for parameter 'clear_itimer' extern void clear_itimer(void); ^ /kisskb/src/include/linux/time.h:30:13: error: storage class specified for parameter 'do_utimes' extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags); ^ /kisskb/src/include/linux/time.h:36:1: error: empty declaration [-Werror] struct tm { ^ In file included from /kisskb/src/include/linux/timex.h:56:0, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/uapi/linux/timex.h:97:1: error: empty declaration [-Werror] struct __kernel_timex_timeval { ^ /kisskb/src/include/uapi/linux/timex.h:102:1: error: empty declaration [-Werror] struct __kernel_timex { ^ In file included from /kisskb/src/arch/x86/include/asm/timex.h:6:0, from /kisskb/src/include/linux/timex.h:67, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/tsc.h:14:28: error: storage class specified for parameter 'cycles_t' typedef unsigned long long cycles_t; ^ /kisskb/src/arch/x86/include/asm/tsc.h:16:21: error: storage class specified for parameter 'cpu_khz' extern unsigned int cpu_khz; ^ /kisskb/src/arch/x86/include/asm/tsc.h:17:21: error: storage class specified for parameter 'tsc_khz' extern unsigned int tsc_khz; ^ /kisskb/src/arch/x86/include/asm/tsc.h:19:13: error: storage class specified for parameter 'disable_TSC' extern void disable_TSC(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:21:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_cycles' static inline cycles_t get_cycles(void) ^ /kisskb/src/arch/x86/include/asm/tsc.h:30:35: error: storage class specified for parameter 'convert_art_to_tsc' extern struct system_counterval_t convert_art_to_tsc(u64 art); ^ /kisskb/src/arch/x86/include/asm/tsc.h:31:35: error: storage class specified for parameter 'convert_art_ns_to_tsc' extern struct system_counterval_t convert_art_ns_to_tsc(u64 art_ns); ^ /kisskb/src/arch/x86/include/asm/tsc.h:33:13: error: storage class specified for parameter 'tsc_early_init' extern void tsc_early_init(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:34:13: error: storage class specified for parameter 'tsc_init' extern void tsc_init(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:35:22: error: storage class specified for parameter 'calibrate_delay_is_known' extern unsigned long calibrate_delay_is_known(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:36:13: error: storage class specified for parameter 'mark_tsc_unstable' extern void mark_tsc_unstable(char *reason); ^ /kisskb/src/arch/x86/include/asm/tsc.h:37:12: error: storage class specified for parameter 'unsynchronized_tsc' extern int unsynchronized_tsc(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:38:12: error: storage class specified for parameter 'check_tsc_unstable' extern int check_tsc_unstable(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:39:13: error: storage class specified for parameter 'mark_tsc_async_resets' extern void mark_tsc_async_resets(char *reason); ^ /kisskb/src/arch/x86/include/asm/tsc.h:40:22: error: storage class specified for parameter 'native_calibrate_cpu_early' extern unsigned long native_calibrate_cpu_early(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:41:22: error: storage class specified for parameter 'native_calibrate_tsc' extern unsigned long native_calibrate_tsc(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:42:27: error: storage class specified for parameter 'native_sched_clock_from_tsc' extern unsigned long long native_sched_clock_from_tsc(u64 tsc); ^ /kisskb/src/arch/x86/include/asm/tsc.h:44:12: error: storage class specified for parameter 'tsc_clocksource_reliable' extern int tsc_clocksource_reliable; ^ /kisskb/src/arch/x86/include/asm/tsc.h:46:13: error: storage class specified for parameter 'tsc_async_resets' extern bool tsc_async_resets; ^ /kisskb/src/arch/x86/include/asm/tsc.h:56:13: error: storage class specified for parameter 'tsc_store_and_check_tsc_adjust' extern bool tsc_store_and_check_tsc_adjust(bool bootcpu); ^ /kisskb/src/arch/x86/include/asm/tsc.h:57:13: error: storage class specified for parameter 'tsc_verify_tsc_adjust' extern void tsc_verify_tsc_adjust(bool resume); ^ /kisskb/src/arch/x86/include/asm/tsc.h:58:13: error: storage class specified for parameter 'check_tsc_sync_source' extern void check_tsc_sync_source(int cpu); ^ /kisskb/src/arch/x86/include/asm/tsc.h:59:13: error: storage class specified for parameter 'check_tsc_sync_target' extern void check_tsc_sync_target(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:67:12: error: storage class specified for parameter 'notsc_setup' extern int notsc_setup(char *); ^ /kisskb/src/arch/x86/include/asm/tsc.h:68:13: error: storage class specified for parameter 'tsc_save_sched_clock_state' extern void tsc_save_sched_clock_state(void); ^ /kisskb/src/arch/x86/include/asm/tsc.h:69:13: error: storage class specified for parameter 'tsc_restore_sched_clock_state' extern void tsc_restore_sched_clock_state(void); ^ In file included from /kisskb/src/include/linux/timex.h:67:0, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/timex.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/time32.h:13:0, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/timex.h:147:22: error: storage class specified for parameter 'tick_usec' extern unsigned long tick_usec; /* USER_HZ period (usec) */ ^ /kisskb/src/include/linux/timex.h:148:22: error: storage class specified for parameter 'tick_nsec' extern unsigned long tick_nsec; /* SHIFTED_HZ period (nsec) */ ^ /kisskb/src/include/linux/timex.h:162:12: error: storage class specified for parameter 'do_adjtimex' extern int do_adjtimex(struct __kernel_timex *); ^ /kisskb/src/include/linux/timex.h:163:12: error: storage class specified for parameter 'do_clock_adjtime' extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx); ^ /kisskb/src/include/linux/timex.h:165:13: error: storage class specified for parameter 'hardpps' extern void hardpps(const struct timespec64 *, const struct timespec64 *); ^ In file included from /kisskb/src/include/linux/time32.h:15:0, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/vdso/time32.h:5:14: error: storage class specified for parameter 'old_time32_t' typedef s32 old_time32_t; ^ /kisskb/src/include/vdso/time32.h:8:2: error: expected specifier-qualifier-list before 'old_time32_t' old_time32_t tv_sec; ^ /kisskb/src/include/vdso/time32.h:7:1: error: empty declaration [-Werror] struct old_timespec32 { ^ /kisskb/src/include/vdso/time32.h:13:2: error: expected specifier-qualifier-list before 'old_time32_t' old_time32_t tv_sec; ^ /kisskb/src/include/vdso/time32.h:12:1: error: empty declaration [-Werror] struct old_timeval32 { ^ In file included from /kisskb/src/include/linux/time.h:60:0, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/time32.h:17:1: error: empty declaration [-Werror] struct old_itimerspec32 { ^ /kisskb/src/include/linux/time32.h:23:2: error: expected specifier-qualifier-list before 'old_time32_t' old_time32_t actime; ^ /kisskb/src/include/linux/time32.h:22:1: error: empty declaration [-Werror] struct old_utimbuf32 { ^ /kisskb/src/include/linux/time32.h:27:1: error: empty declaration [-Werror] struct old_timex32 { ^ /kisskb/src/include/linux/time32.h:54:12: error: storage class specified for parameter 'get_old_timespec32' extern int get_old_timespec32(struct timespec64 *, const void __user *); ^ /kisskb/src/include/linux/time32.h:55:12: error: storage class specified for parameter 'put_old_timespec32' extern int put_old_timespec32(const struct timespec64 *, void __user *); ^ /kisskb/src/include/linux/time32.h:56:12: error: storage class specified for parameter 'get_old_itimerspec32' extern int get_old_itimerspec32(struct itimerspec64 *its, ^ /kisskb/src/include/linux/time32.h:58:12: error: storage class specified for parameter 'put_old_itimerspec32' extern int put_old_itimerspec32(const struct itimerspec64 *its, ^ /kisskb/src/include/linux/time32.h:60:1: error: empty declaration [-Werror] struct __kernel_timex; ^ /kisskb/src/include/linux/time32.h:70:36: error: storage class specified for parameter 'ns_to_kernel_old_timeval' extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec); ^ In file included from /kisskb/src/include/linux/ktime.h:24:0, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/time.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/time.h:100:0, from /kisskb/src/include/linux/ktime.h:24, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/vdso/time.h:7:1: error: empty declaration [-Werror] struct timens_offset { ^ In file included from /kisskb/src/include/linux/ktime.h:25:0, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/jiffies.h:62:12: error: storage class specified for parameter 'register_refined_jiffies' extern int register_refined_jiffies(long clock_tick_rate); ^ /kisskb/src/include/linux/jiffies.h:79:39: error: storage class specified for parameter 'jiffies_64' extern u64 __cacheline_aligned_in_smp jiffies_64; ^ /kisskb/src/include/linux/jiffies.h:79:39: error: alignment may not be specified for 'jiffies_64' /kisskb/src/include/linux/jiffies.h:79:39: error: section attribute not allowed for 'jiffies_64' /kisskb/src/include/linux/jiffies.h:79:39: error: alignment may not be specified for 'jiffies_64' /kisskb/src/include/linux/jiffies.h:80:76: error: storage class specified for parameter 'jiffies' extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies; ^ /kisskb/src/include/linux/jiffies.h:80:76: error: alignment may not be specified for 'jiffies' /kisskb/src/include/linux/jiffies.h:80:76: error: section attribute not allowed for 'jiffies' /kisskb/src/include/linux/jiffies.h:80:76: error: alignment may not be specified for 'jiffies' /kisskb/src/include/linux/jiffies.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:189:22: error: storage class specified for parameter 'preset_lpj' extern unsigned long preset_lpj; ^ /kisskb/src/include/linux/jiffies.h:290:21: error: storage class specified for parameter 'jiffies_to_msecs' extern unsigned int jiffies_to_msecs(const unsigned long j); ^ /kisskb/src/include/linux/jiffies.h:291:21: error: storage class specified for parameter 'jiffies_to_usecs' extern unsigned int jiffies_to_usecs(const unsigned long j); ^ /kisskb/src/include/linux/jiffies.h:294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:298:12: error: storage class specified for parameter 'jiffies64_to_nsecs' extern u64 jiffies64_to_nsecs(u64 j); ^ /kisskb/src/include/linux/jiffies.h:299:12: error: storage class specified for parameter 'jiffies64_to_msecs' extern u64 jiffies64_to_msecs(u64 j); ^ /kisskb/src/include/linux/jiffies.h:301:22: error: storage class specified for parameter '__msecs_to_jiffies' extern unsigned long __msecs_to_jiffies(const unsigned int m); ^ /kisskb/src/include/linux/jiffies.h:309:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:374:22: error: storage class specified for parameter '__usecs_to_jiffies' extern unsigned long __usecs_to_jiffies(const unsigned int u); ^ /kisskb/src/include/linux/jiffies.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:421:22: error: storage class specified for parameter 'timespec64_to_jiffies' extern unsigned long timespec64_to_jiffies(const struct timespec64 *value); ^ /kisskb/src/include/linux/jiffies.h:422:13: error: storage class specified for parameter 'jiffies_to_timespec64' extern void jiffies_to_timespec64(const unsigned long jiffies, ^ /kisskb/src/include/linux/jiffies.h:424:16: error: storage class specified for parameter 'jiffies_to_clock_t' extern clock_t jiffies_to_clock_t(unsigned long x); ^ /kisskb/src/include/linux/jiffies.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:431:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/jiffies.h:435:22: error: storage class specified for parameter 'clock_t_to_jiffies' extern unsigned long clock_t_to_jiffies(unsigned long x); ^ /kisskb/src/include/linux/jiffies.h:436:12: error: storage class specified for parameter 'jiffies_64_to_clock_t' extern u64 jiffies_64_to_clock_t(u64 x); ^ /kisskb/src/include/linux/jiffies.h:437:12: error: storage class specified for parameter 'nsec_to_clock_t' extern u64 nsec_to_clock_t(u64 x); ^ /kisskb/src/include/linux/jiffies.h:438:12: error: storage class specified for parameter 'nsecs_to_jiffies64' extern u64 nsecs_to_jiffies64(u64 n); ^ /kisskb/src/include/linux/jiffies.h:439:22: error: storage class specified for parameter 'nsecs_to_jiffies' extern unsigned long nsecs_to_jiffies(u64 n); ^ In file included from /kisskb/src/include/linux/timer.h:6:0, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/ktime.h:29:13: error: storage class specified for parameter 'ktime_t' typedef s64 ktime_t; ^ /kisskb/src/include/linux/ktime.h:38:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_set' static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) ^ /kisskb/src/include/linux/ktime.h:71:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec64_to_ktime' static inline ktime_t timespec64_to_ktime(struct timespec64 ts) ^ /kisskb/src/include/linux/ktime.h:80:37: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_to_ns(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:80:45: error: expected ';', ',' or ')' before 'kt' static inline s64 ktime_to_ns(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:95:39: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:95:47: error: expected ';', ',' or ')' before 'cmp1' static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:111:38: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:111:46: error: expected ';', ',' or ')' before 'cmp1' static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:123:39: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:123:47: error: expected ';', ',' or ')' before 'cmp1' static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) ^ /kisskb/src/include/linux/ktime.h:148:37: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_divns(const ktime_t kt, s64 div) ^ /kisskb/src/include/linux/ktime.h:148:45: error: expected ';', ',' or ')' before 'kt' static inline s64 ktime_divns(const ktime_t kt, s64 div) ^ /kisskb/src/include/linux/ktime.h:159:37: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_to_us(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:159:45: error: expected ';', ',' or ')' before 'kt' static inline s64 ktime_to_us(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:164:37: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_to_ms(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:164:45: error: expected ';', ',' or ')' before 'kt' static inline s64 ktime_to_ms(const ktime_t kt) ^ /kisskb/src/include/linux/ktime.h:169:40: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) ^ /kisskb/src/include/linux/ktime.h:169:48: error: expected ';', ',' or ')' before 'later' static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) ^ /kisskb/src/include/linux/ktime.h:174:40: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline s64 ktime_ms_delta(const ktime_t later, const ktime_t earlier) ^ /kisskb/src/include/linux/ktime.h:174:48: error: expected ';', ',' or ')' before 'later' static inline s64 ktime_ms_delta(const ktime_t later, const ktime_t earlier) ^ /kisskb/src/include/linux/ktime.h:179:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_add_us' static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec) ^ /kisskb/src/include/linux/ktime.h:184:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_add_ms' static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) ^ /kisskb/src/include/linux/ktime.h:189:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_sub_us' static inline ktime_t ktime_sub_us(const ktime_t kt, const u64 usec) ^ /kisskb/src/include/linux/ktime.h:194:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_sub_ms' static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) ^ /kisskb/src/include/linux/ktime.h:199:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_add_safe' extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs); ^ /kisskb/src/include/linux/ktime.h:209:64: error: type defaults to 'int' in declaration of 'ktime_t' [-Werror=implicit-int] static inline __must_check bool ktime_to_timespec64_cond(const ktime_t kt, ^ /kisskb/src/include/linux/ktime.h:209:72: error: expected ';', ',' or ')' before 'kt' static inline __must_check bool ktime_to_timespec64_cond(const ktime_t kt, ^ In file included from /kisskb/src/include/linux/timer.h:6:0, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/ktime.h:222:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ns_to_ktime' static inline ktime_t ns_to_ktime(u64 ns) ^ /kisskb/src/include/linux/ktime.h:227:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ms_to_ktime' static inline ktime_t ms_to_ktime(u64 ms) ^ In file included from /kisskb/src/include/linux/timekeeping.h:6:0, from /kisskb/src/include/linux/ktime.h:232, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/clocksource_ids.h:6:1: error: empty declaration [-Werror] enum clocksource_ids { ^ In file included from /kisskb/src/include/linux/ktime.h:232:0, from /kisskb/src/include/linux/timer.h:6, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/timekeeping.h:11:12: error: storage class specified for parameter 'timekeeping_suspended' extern int timekeeping_suspended; ^ /kisskb/src/include/linux/timekeeping.h:14:13: error: storage class specified for parameter 'legacy_timer_tick' extern void legacy_timer_tick(unsigned long ticks); ^ /kisskb/src/include/linux/timekeeping.h:19:12: error: storage class specified for parameter 'do_settimeofday64' extern int do_settimeofday64(const struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:20:12: error: storage class specified for parameter 'do_sys_settimeofday64' extern int do_sys_settimeofday64(const struct timespec64 *tv, ^ /kisskb/src/include/linux/timekeeping.h:41:13: error: storage class specified for parameter 'ktime_get_raw_ts64' extern void ktime_get_raw_ts64(struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:42:13: error: storage class specified for parameter 'ktime_get_ts64' extern void ktime_get_ts64(struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:43:13: error: storage class specified for parameter 'ktime_get_real_ts64' extern void ktime_get_real_ts64(struct timespec64 *tv); ^ /kisskb/src/include/linux/timekeeping.h:44:13: error: storage class specified for parameter 'ktime_get_coarse_ts64' extern void ktime_get_coarse_ts64(struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:45:13: error: storage class specified for parameter 'ktime_get_coarse_real_ts64' extern void ktime_get_coarse_real_ts64(struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:52:17: error: storage class specified for parameter 'ktime_get_seconds' extern time64_t ktime_get_seconds(void); ^ /kisskb/src/include/linux/timekeeping.h:53:17: error: storage class specified for parameter '__ktime_get_real_seconds' extern time64_t __ktime_get_real_seconds(void); ^ /kisskb/src/include/linux/timekeeping.h:54:17: error: storage class specified for parameter 'ktime_get_real_seconds' extern time64_t ktime_get_real_seconds(void); ^ /kisskb/src/include/linux/timekeeping.h:60:1: error: empty declaration [-Werror] enum tk_offsets { ^ /kisskb/src/include/linux/timekeeping.h:67:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get' extern ktime_t ktime_get(void); ^ /kisskb/src/include/linux/timekeeping.h:68:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_with_offset' extern ktime_t ktime_get_with_offset(enum tk_offsets offs); ^ /kisskb/src/include/linux/timekeeping.h:69:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_coarse_with_offset' extern ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs); ^ /kisskb/src/include/linux/timekeeping.h:70:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_mono_to_any' extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs); ^ /kisskb/src/include/linux/timekeeping.h:71:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_raw' extern ktime_t ktime_get_raw(void); ^ /kisskb/src/include/linux/timekeeping.h:72:12: error: storage class specified for parameter 'ktime_get_resolution_ns' extern u32 ktime_get_resolution_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:77:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_real' static inline ktime_t ktime_get_real(void) ^ /kisskb/src/include/linux/timekeeping.h:82:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_coarse_real' static inline ktime_t ktime_get_coarse_real(void) ^ /kisskb/src/include/linux/timekeeping.h:93:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_boottime' static inline ktime_t ktime_get_boottime(void) ^ /kisskb/src/include/linux/timekeeping.h:98:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_coarse_boottime' static inline ktime_t ktime_get_coarse_boottime(void) ^ /kisskb/src/include/linux/timekeeping.h:106:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_clocktai' static inline ktime_t ktime_get_clocktai(void) ^ /kisskb/src/include/linux/timekeeping.h:111:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_coarse_clocktai' static inline ktime_t ktime_get_coarse_clocktai(void) ^ /kisskb/src/include/linux/timekeeping.h:116:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_coarse' static inline ktime_t ktime_get_coarse(void) ^ /kisskb/src/include/linux/timekeeping.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:147:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_mono_to_real' static inline ktime_t ktime_mono_to_real(ktime_t mono) ^ /kisskb/src/include/linux/timekeeping.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:177:12: error: storage class specified for parameter 'ktime_get_mono_fast_ns' extern u64 ktime_get_mono_fast_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:178:12: error: storage class specified for parameter 'ktime_get_raw_fast_ns' extern u64 ktime_get_raw_fast_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:179:12: error: storage class specified for parameter 'ktime_get_boot_fast_ns' extern u64 ktime_get_boot_fast_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:180:12: error: storage class specified for parameter 'ktime_get_tai_fast_ns' extern u64 ktime_get_tai_fast_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:181:12: error: storage class specified for parameter 'ktime_get_real_fast_ns' extern u64 ktime_get_real_fast_ns(void); ^ /kisskb/src/include/linux/timekeeping.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timekeeping.h:221:13: error: storage class specified for parameter 'timekeeping_rtc_skipsuspend' extern bool timekeeping_rtc_skipsuspend(void); ^ /kisskb/src/include/linux/timekeeping.h:222:13: error: storage class specified for parameter 'timekeeping_rtc_skipresume' extern bool timekeeping_rtc_skipresume(void); ^ /kisskb/src/include/linux/timekeeping.h:224:13: error: storage class specified for parameter 'timekeeping_inject_sleeptime64' extern void timekeeping_inject_sleeptime64(const struct timespec64 *delta); ^ /kisskb/src/include/linux/timekeeping.h:232:1: error: empty declaration [-Werror] struct ktime_timestamps { ^ /kisskb/src/include/linux/timekeeping.h:249:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t real; ^ /kisskb/src/include/linux/timekeeping.h:247:1: error: empty declaration [-Werror] struct system_time_snapshot { ^ /kisskb/src/include/linux/timekeeping.h:264:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t device; ^ /kisskb/src/include/linux/timekeeping.h:263:1: error: empty declaration [-Werror] struct system_device_crosststamp { ^ /kisskb/src/include/linux/timekeeping.h:276:1: error: empty declaration [-Werror] struct system_counterval_t { ^ /kisskb/src/include/linux/timekeeping.h:285:23: error: expected declaration specifiers or '...' before 'ktime_t' int (*get_time_fn)(ktime_t *device_time, ^ /kisskb/src/include/linux/timekeeping.h:288:4: error: expected ';', ',' or ')' before 'void' void *ctx, ^ /kisskb/src/include/linux/timekeeping.h:295:13: error: storage class specified for parameter 'ktime_get_snapshot' extern void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot); ^ /kisskb/src/include/linux/timekeeping.h:298:13: error: storage class specified for parameter 'ktime_get_fast_timestamps' extern void ktime_get_fast_timestamps(struct ktime_timestamps *snap); ^ /kisskb/src/include/linux/timekeeping.h:303:12: error: storage class specified for parameter 'persistent_clock_is_local' extern int persistent_clock_is_local; ^ /kisskb/src/include/linux/timekeeping.h:305:13: error: storage class specified for parameter 'read_persistent_clock64' extern void read_persistent_clock64(struct timespec64 *ts); ^ /kisskb/src/include/linux/timekeeping.h:309:12: error: storage class specified for parameter 'update_persistent_clock64' extern int update_persistent_clock64(struct timespec64 now); ^ In file included from /kisskb/src/include/linux/timer.h:8:0, from /kisskb/src/include/linux/workqueue.h:9, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/debugobjects.h:8:1: error: empty declaration [-Werror] enum debug_obj_state { ^ /kisskb/src/include/linux/debugobjects.h:18:1: error: empty declaration [-Werror] struct debug_obj_descr; ^ /kisskb/src/include/linux/debugobjects.h:28:1: error: empty declaration [-Werror] struct debug_obj { ^ /kisskb/src/include/linux/debugobjects.h:55:1: error: empty declaration [-Werror] struct debug_obj_descr { ^ /kisskb/src/include/linux/debugobjects.h:67:13: error: storage class specified for parameter 'debug_object_init' extern void debug_object_init (void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:69:1: error: storage class specified for parameter 'debug_object_init_on_stack' debug_object_init_on_stack(void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:70:12: error: storage class specified for parameter 'debug_object_activate' extern int debug_object_activate (void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:71:13: error: storage class specified for parameter 'debug_object_deactivate' extern void debug_object_deactivate(void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:72:13: error: storage class specified for parameter 'debug_object_destroy' extern void debug_object_destroy (void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:73:13: error: storage class specified for parameter 'debug_object_free' extern void debug_object_free (void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:74:13: error: storage class specified for parameter 'debug_object_assert_init' extern void debug_object_assert_init(void *addr, const struct debug_obj_descr *descr); ^ /kisskb/src/include/linux/debugobjects.h:82:1: error: storage class specified for parameter 'debug_object_active_state' debug_object_active_state(void *addr, const struct debug_obj_descr *descr, ^ /kisskb/src/include/linux/debugobjects.h:85:13: error: storage class specified for parameter 'debug_objects_early_init' extern void debug_objects_early_init(void); ^ /kisskb/src/include/linux/debugobjects.h:86:13: error: storage class specified for parameter 'debug_objects_mem_init' extern void debug_objects_mem_init(void); ^ /kisskb/src/include/linux/debugobjects.h:108:13: error: storage class specified for parameter 'debug_check_no_obj_freed' extern void debug_check_no_obj_freed(const void *address, unsigned long size); ^ In file included from /kisskb/src/include/linux/workqueue.h:9:0, from /kisskb/src/include/linux/srcu.h:21, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/timer.h:11:1: error: empty declaration [-Werror] struct timer_list { ^ /kisskb/src/include/linux/timer.h:96:13: error: storage class specified for parameter 'init_timer_on_stack_key' extern void init_timer_on_stack_key(struct timer_list *timer, ^ /kisskb/src/include/linux/timer.h:148:13: error: storage class specified for parameter 'destroy_timer_on_stack' extern void destroy_timer_on_stack(struct timer_list *timer); ^ /kisskb/src/include/linux/timer.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timer.h:171:13: error: storage class specified for parameter 'add_timer_on' extern void add_timer_on(struct timer_list *timer, int cpu); ^ /kisskb/src/include/linux/timer.h:172:12: error: storage class specified for parameter 'del_timer' extern int del_timer(struct timer_list * timer); ^ /kisskb/src/include/linux/timer.h:173:12: error: storage class specified for parameter 'mod_timer' extern int mod_timer(struct timer_list *timer, unsigned long expires); ^ /kisskb/src/include/linux/timer.h:174:12: error: storage class specified for parameter 'mod_timer_pending' extern int mod_timer_pending(struct timer_list *timer, unsigned long expires); ^ /kisskb/src/include/linux/timer.h:175:12: error: storage class specified for parameter 'timer_reduce' extern int timer_reduce(struct timer_list *timer, unsigned long expires); ^ /kisskb/src/include/linux/timer.h:183:13: error: storage class specified for parameter 'add_timer' extern void add_timer(struct timer_list *timer); ^ /kisskb/src/include/linux/timer.h:185:12: error: storage class specified for parameter 'try_to_del_timer_sync' extern int try_to_del_timer_sync(struct timer_list *timer); ^ /kisskb/src/include/linux/timer.h:188:14: error: storage class specified for parameter 'del_timer_sync' extern int del_timer_sync(struct timer_list *timer); ^ /kisskb/src/include/linux/timer.h:195:13: error: storage class specified for parameter 'init_timers' extern void init_timers(void); ^ /kisskb/src/include/linux/timer.h:196:1: error: empty declaration [-Werror] struct hrtimer; ^ /kisskb/src/include/linux/timer.h:197:29: error: storage class specified for parameter 'it_real_fn' extern enum hrtimer_restart it_real_fn(struct hrtimer *); ^ In file included from /kisskb/src/include/linux/srcu.h:21:0, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/workqueue.h:18:1: error: empty declaration [-Werror] struct workqueue_struct; ^ /kisskb/src/include/linux/workqueue.h:20:1: error: empty declaration [-Werror] struct work_struct; ^ /kisskb/src/include/linux/workqueue.h:21:16: error: storage class specified for parameter 'work_func_t' typedef void (*work_func_t)(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:30:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/workqueue.h:100:2: error: expected specifier-qualifier-list before 'work_func_t' work_func_t func; ^ /kisskb/src/include/linux/workqueue.h:97:1: error: empty declaration [-Werror] struct work_struct { ^ /kisskb/src/include/linux/workqueue.h:110:1: error: empty declaration [-Werror] struct delayed_work { ^ /kisskb/src/include/linux/workqueue.h:119:1: error: empty declaration [-Werror] struct rcu_work { ^ /kisskb/src/include/linux/workqueue.h:132:1: error: empty declaration [-Werror] struct workqueue_attrs { ^ /kisskb/src/include/linux/workqueue.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:163:1: error: empty declaration [-Werror] struct execute_work { ^ /kisskb/src/include/linux/workqueue.h:202:13: error: storage class specified for parameter '__init_work' extern void __init_work(struct work_struct *work, int onstack); ^ /kisskb/src/include/linux/workqueue.h:203:13: error: storage class specified for parameter 'destroy_work_on_stack' extern void destroy_work_on_stack(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:204:13: error: storage class specified for parameter 'destroy_delayed_work_on_stack' extern void destroy_delayed_work_on_stack(struct delayed_work *work); ^ /kisskb/src/include/linux/workqueue.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:303:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/workqueue.h:380:33: error: storage class specified for parameter 'system_wq' extern struct workqueue_struct *system_wq; ^ /kisskb/src/include/linux/workqueue.h:381:33: error: storage class specified for parameter 'system_highpri_wq' extern struct workqueue_struct *system_highpri_wq; ^ /kisskb/src/include/linux/workqueue.h:382:33: error: storage class specified for parameter 'system_long_wq' extern struct workqueue_struct *system_long_wq; ^ /kisskb/src/include/linux/workqueue.h:383:33: error: storage class specified for parameter 'system_unbound_wq' extern struct workqueue_struct *system_unbound_wq; ^ /kisskb/src/include/linux/workqueue.h:384:33: error: storage class specified for parameter 'system_freezable_wq' extern struct workqueue_struct *system_freezable_wq; ^ /kisskb/src/include/linux/workqueue.h:385:33: error: storage class specified for parameter 'system_power_efficient_wq' extern struct workqueue_struct *system_power_efficient_wq; ^ /kisskb/src/include/linux/workqueue.h:386:33: error: storage class specified for parameter 'system_freezable_power_efficient_wq' extern struct workqueue_struct *system_freezable_power_efficient_wq; ^ 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/workqueue.h:402:1: note: in expansion of macro '__printf' __printf(1, 4) struct workqueue_struct * ^ In file included from /kisskb/src/include/linux/srcu.h:21:0, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/workqueue.h:430:13: error: storage class specified for parameter 'destroy_workqueue' extern void destroy_workqueue(struct workqueue_struct *wq); ^ /kisskb/src/include/linux/workqueue.h:438:13: error: storage class specified for parameter 'queue_work_on' extern bool queue_work_on(int cpu, struct workqueue_struct *wq, ^ /kisskb/src/include/linux/workqueue.h:440:13: error: storage class specified for parameter 'queue_work_node' extern bool queue_work_node(int node, struct workqueue_struct *wq, ^ /kisskb/src/include/linux/workqueue.h:442:13: error: storage class specified for parameter 'queue_delayed_work_on' extern bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, ^ /kisskb/src/include/linux/workqueue.h:444:13: error: storage class specified for parameter 'mod_delayed_work_on' extern bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, ^ /kisskb/src/include/linux/workqueue.h:446:13: error: storage class specified for parameter 'queue_rcu_work' extern bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork); ^ /kisskb/src/include/linux/workqueue.h:448:13: error: storage class specified for parameter '__flush_workqueue' extern void __flush_workqueue(struct workqueue_struct *wq); ^ /kisskb/src/include/linux/workqueue.h:449:13: error: storage class specified for parameter 'drain_workqueue' extern void drain_workqueue(struct workqueue_struct *wq); ^ /kisskb/src/include/linux/workqueue.h:451:33: error: expected declaration specifiers or '...' before 'work_func_t' extern int schedule_on_each_cpu(work_func_t func); ^ /kisskb/src/include/linux/workqueue.h:453:32: error: expected declaration specifiers or '...' before 'work_func_t' int execute_in_process_context(work_func_t fn, struct execute_work *); ^ /kisskb/src/include/linux/workqueue.h:455:13: error: storage class specified for parameter 'flush_work' extern bool flush_work(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:456:13: error: storage class specified for parameter 'cancel_work' extern bool cancel_work(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:457:13: error: storage class specified for parameter 'cancel_work_sync' extern bool cancel_work_sync(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:459:13: error: storage class specified for parameter 'flush_delayed_work' extern bool flush_delayed_work(struct delayed_work *dwork); ^ /kisskb/src/include/linux/workqueue.h:460:13: error: storage class specified for parameter 'cancel_delayed_work' extern bool cancel_delayed_work(struct delayed_work *dwork); ^ /kisskb/src/include/linux/workqueue.h:461:13: error: storage class specified for parameter 'cancel_delayed_work_sync' extern bool cancel_delayed_work_sync(struct delayed_work *dwork); ^ /kisskb/src/include/linux/workqueue.h:463:13: error: storage class specified for parameter 'flush_rcu_work' extern bool flush_rcu_work(struct rcu_work *rwork); ^ /kisskb/src/include/linux/workqueue.h:465:13: error: storage class specified for parameter 'workqueue_set_max_active' extern void workqueue_set_max_active(struct workqueue_struct *wq, ^ /kisskb/src/include/linux/workqueue.h:467:28: error: storage class specified for parameter 'current_work' extern struct work_struct *current_work(void); ^ /kisskb/src/include/linux/workqueue.h:468:13: error: storage class specified for parameter 'current_is_workqueue_rescuer' extern bool current_is_workqueue_rescuer(void); ^ /kisskb/src/include/linux/workqueue.h:469:13: error: storage class specified for parameter 'workqueue_congested' extern bool workqueue_congested(int cpu, struct workqueue_struct *wq); ^ /kisskb/src/include/linux/workqueue.h:470:21: error: storage class specified for parameter 'work_busy' extern unsigned int work_busy(struct work_struct *work); ^ /kisskb/src/include/linux/workqueue.h:471:28: error: storage class specified for parameter 'set_worker_desc' extern __printf(1, 2) void set_worker_desc(const char *fmt, ...); ^ /kisskb/src/include/linux/workqueue.h:472:13: error: storage class specified for parameter 'print_worker_info' extern void print_worker_info(const char *log_lvl, struct task_struct *task); ^ /kisskb/src/include/linux/workqueue.h:473:13: error: storage class specified for parameter 'show_all_workqueues' extern void show_all_workqueues(void); ^ /kisskb/src/include/linux/workqueue.h:474:13: error: storage class specified for parameter 'show_one_workqueue' extern void show_one_workqueue(struct workqueue_struct *wq); ^ /kisskb/src/include/linux/workqueue.h:475:13: error: storage class specified for parameter 'wq_worker_comm' extern void wq_worker_comm(char *buf, size_t size, struct task_struct *task); ^ /kisskb/src/include/linux/workqueue.h:502:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:517:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:544:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:573:13: error: storage class specified for parameter '__warn_flushing_systemwide_wq' extern void __warn_flushing_systemwide_wq(void) ^ /kisskb/src/include/linux/workqueue.h:574:2: error: '__warning__' attribute ignored [-Werror=attributes] __compiletime_warning("Please avoid flushing system-wide workqueues."); ^ /kisskb/src/include/linux/workqueue.h:655:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:669:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/workqueue.h:688:13: error: storage class specified for parameter 'freeze_workqueues_begin' extern void freeze_workqueues_begin(void); ^ /kisskb/src/include/linux/workqueue.h:689:13: error: storage class specified for parameter 'freeze_workqueues_busy' extern bool freeze_workqueues_busy(void); ^ /kisskb/src/include/linux/workqueue.h:690:13: error: storage class specified for parameter 'thaw_workqueues' extern void thaw_workqueues(void); ^ /kisskb/src/include/linux/workqueue.h:712:13: error: section attribute not allowed for 'workqueue_init_early' void __init workqueue_init_early(void); ^ /kisskb/src/include/linux/workqueue.h:712:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init workqueue_init_early(void); ^ /kisskb/src/include/linux/workqueue.h:712:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/workqueue.h:713:13: error: section attribute not allowed for 'workqueue_init' void __init workqueue_init(void); ^ /kisskb/src/include/linux/workqueue.h:713:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init workqueue_init(void); ^ /kisskb/src/include/linux/workqueue.h:713:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/linux/srcu.h:22:0, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/rcu_segcblist.h:21:1: error: empty declaration [-Werror] struct rcu_cblist { ^ /kisskb/src/include/linux/rcu_segcblist.h:206:1: error: empty declaration [-Werror] struct rcu_segcblist { ^ In file included from /kisskb/src/include/linux/notifier.h:16:0, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/srcu.h:24:1: error: empty declaration [-Werror] struct srcu_struct; ^ In file included from /kisskb/src/include/linux/srcu.h:49:0, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/srcutree.h:17:1: error: empty declaration [-Werror] struct srcu_node; ^ /kisskb/src/include/linux/srcutree.h:18:1: error: empty declaration [-Werror] struct srcu_struct; ^ /kisskb/src/include/linux/srcutree.h:24:1: error: empty declaration [-Werror] struct srcu_data { ^ /kisskb/src/include/linux/srcutree.h:48:1: error: empty declaration [-Werror] struct srcu_node { ^ /kisskb/src/include/linux/srcutree.h:62:1: error: empty declaration [-Werror] struct srcu_struct { ^ In file included from /kisskb/src/include/linux/notifier.h:16:0, from /kisskb/src/arch/x86/include/asm/uprobes.h:13, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/srcu.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/uprobes.h:13:0, from /kisskb/src/include/linux/uprobes.h:49, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/notifier.h:49:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/notifier.h:51:15: error: storage class specified for parameter 'notifier_fn_t' typedef int (*notifier_fn_t)(struct notifier_block *nb, ^ /kisskb/src/include/linux/notifier.h:55:2: error: expected specifier-qualifier-list before 'notifier_fn_t' notifier_fn_t notifier_call; ^ /kisskb/src/include/linux/notifier.h:54:1: error: empty declaration [-Werror] struct notifier_block { ^ /kisskb/src/include/linux/notifier.h:60:1: error: empty declaration [-Werror] struct atomic_notifier_head { ^ /kisskb/src/include/linux/notifier.h:65:1: error: empty declaration [-Werror] struct blocking_notifier_head { ^ /kisskb/src/include/linux/notifier.h:70:1: error: empty declaration [-Werror] struct raw_notifier_head { ^ /kisskb/src/include/linux/notifier.h:74:1: error: empty declaration [-Werror] struct srcu_notifier_head { ^ /kisskb/src/include/linux/notifier.h:93:13: error: storage class specified for parameter 'srcu_init_notifier_head' extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); ^ /kisskb/src/include/linux/notifier.h:144:12: error: storage class specified for parameter 'atomic_notifier_chain_register' extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:146:12: error: storage class specified for parameter 'blocking_notifier_chain_register' extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:148:12: error: storage class specified for parameter 'raw_notifier_chain_register' extern int raw_notifier_chain_register(struct raw_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:150:12: error: storage class specified for parameter 'srcu_notifier_chain_register' extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:153:12: error: storage class specified for parameter 'atomic_notifier_chain_register_unique_prio' extern int atomic_notifier_chain_register_unique_prio( ^ /kisskb/src/include/linux/notifier.h:155:12: error: storage class specified for parameter 'blocking_notifier_chain_register_unique_prio' extern int blocking_notifier_chain_register_unique_prio( ^ /kisskb/src/include/linux/notifier.h:158:12: error: storage class specified for parameter 'atomic_notifier_chain_unregister' extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:160:12: error: storage class specified for parameter 'blocking_notifier_chain_unregister' extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:162:12: error: storage class specified for parameter 'raw_notifier_chain_unregister' extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:164:12: error: storage class specified for parameter 'srcu_notifier_chain_unregister' extern int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:167:12: error: storage class specified for parameter 'atomic_notifier_call_chain' extern int atomic_notifier_call_chain(struct atomic_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:169:12: error: storage class specified for parameter 'blocking_notifier_call_chain' extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:171:12: error: storage class specified for parameter 'raw_notifier_call_chain' extern int raw_notifier_call_chain(struct raw_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:173:12: error: storage class specified for parameter 'srcu_notifier_call_chain' extern int srcu_notifier_call_chain(struct srcu_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:176:12: error: storage class specified for parameter 'blocking_notifier_call_chain_robust' extern int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:178:12: error: storage class specified for parameter 'raw_notifier_call_chain_robust' extern int raw_notifier_call_chain_robust(struct raw_notifier_head *nh, ^ /kisskb/src/include/linux/notifier.h:181:13: error: storage class specified for parameter 'atomic_notifier_call_chain_is_empty' extern bool atomic_notifier_call_chain_is_empty(struct atomic_notifier_head *nh); ^ /kisskb/src/include/linux/notifier.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/notifier.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/notifier.h:238:38: error: storage class specified for parameter 'reboot_notifier_list' extern struct blocking_notifier_head reboot_notifier_list; ^ In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/uprobes.h:15:12: error: storage class specified for parameter 'uprobe_opcode_t' typedef u8 uprobe_opcode_t; ^ /kisskb/src/arch/x86/include/asm/uprobes.h:23:1: error: empty declaration [-Werror] struct uprobe_xol_ops; ^ /kisskb/src/arch/x86/include/asm/uprobes.h:25:1: error: empty declaration [-Werror] struct arch_uprobe { ^ /kisskb/src/arch/x86/include/asm/uprobes.h:50:1: error: empty declaration [-Werror] struct arch_uprobe_task { ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/uprobes.h:51:1: error: empty declaration [-Werror] enum uprobe_task_state { ^ /kisskb/src/include/linux/uprobes.h:61:1: error: empty declaration [-Werror] struct uprobe_task { ^ /kisskb/src/include/linux/uprobes.h:83:1: error: empty declaration [-Werror] struct return_instance { ^ /kisskb/src/include/linux/uprobes.h:93:1: error: empty declaration [-Werror] enum rp_check { ^ /kisskb/src/include/linux/uprobes.h:99:1: error: empty declaration [-Werror] struct xol_area; ^ /kisskb/src/include/linux/uprobes.h:101:1: error: empty declaration [-Werror] struct uprobes_state { ^ /kisskb/src/include/linux/uprobes.h:105:20: error: storage class specified for parameter 'uprobes_init' extern void __init uprobes_init(void); ^ /kisskb/src/include/linux/uprobes.h:105:20: error: section attribute not allowed for 'uprobes_init' /kisskb/src/include/linux/uprobes.h:105:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init uprobes_init(void); ^ /kisskb/src/include/linux/uprobes.h:105:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/uprobes.h:106:12: error: storage class specified for parameter 'set_swbp' extern int set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); ^ /kisskb/src/include/linux/uprobes.h:107:12: error: storage class specified for parameter 'set_orig_insn' extern int set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); ^ /kisskb/src/include/linux/uprobes.h:108:26: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern bool is_swbp_insn(uprobe_opcode_t *insn); ^ /kisskb/src/include/linux/uprobes.h:109:26: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern bool is_trap_insn(uprobe_opcode_t *insn); ^ /kisskb/src/include/linux/uprobes.h:110:22: error: storage class specified for parameter 'uprobe_get_swbp_addr' extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:111:22: error: storage class specified for parameter 'uprobe_get_trap_addr' extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:112:104: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern int uprobe_write_opcode(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr, uprobe_opcode_t); ^ /kisskb/src/include/linux/uprobes.h:113:12: error: storage class specified for parameter 'uprobe_register' extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:114:12: error: storage class specified for parameter 'uprobe_register_refctr' extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:115:12: error: storage class specified for parameter 'uprobe_apply' extern int uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool); ^ /kisskb/src/include/linux/uprobes.h:116:13: error: storage class specified for parameter 'uprobe_unregister' extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:117:12: error: storage class specified for parameter 'uprobe_mmap' extern int uprobe_mmap(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/uprobes.h:118:13: error: storage class specified for parameter 'uprobe_munmap' extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end); ^ /kisskb/src/include/linux/uprobes.h:119:13: error: storage class specified for parameter 'uprobe_start_dup_mmap' extern void uprobe_start_dup_mmap(void); ^ /kisskb/src/include/linux/uprobes.h:120:13: error: storage class specified for parameter 'uprobe_end_dup_mmap' extern void uprobe_end_dup_mmap(void); ^ /kisskb/src/include/linux/uprobes.h:121:13: error: storage class specified for parameter 'uprobe_dup_mmap' extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); ^ /kisskb/src/include/linux/uprobes.h:122:13: error: storage class specified for parameter 'uprobe_free_utask' extern void uprobe_free_utask(struct task_struct *t); ^ /kisskb/src/include/linux/uprobes.h:123:13: error: storage class specified for parameter 'uprobe_copy_process' extern void uprobe_copy_process(struct task_struct *t, unsigned long flags); ^ /kisskb/src/include/linux/uprobes.h:124:12: error: storage class specified for parameter 'uprobe_post_sstep_notifier' extern int uprobe_post_sstep_notifier(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:125:12: error: storage class specified for parameter 'uprobe_pre_sstep_notifier' extern int uprobe_pre_sstep_notifier(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:126:13: error: storage class specified for parameter 'uprobe_notify_resume' extern void uprobe_notify_resume(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:127:13: error: storage class specified for parameter 'uprobe_deny_signal' extern bool uprobe_deny_signal(void); ^ /kisskb/src/include/linux/uprobes.h:128:13: error: storage class specified for parameter 'arch_uprobe_skip_sstep' extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:129:13: error: storage class specified for parameter 'uprobe_clear_state' extern void uprobe_clear_state(struct mm_struct *mm); ^ /kisskb/src/include/linux/uprobes.h:130:13: error: storage class specified for parameter 'arch_uprobe_analyze_insn' extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/uprobes.h:131:13: error: storage class specified for parameter 'arch_uprobe_pre_xol' extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:132:13: error: storage class specified for parameter 'arch_uprobe_post_xol' extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:133:13: error: storage class specified for parameter 'arch_uprobe_xol_was_trapped' extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk); ^ /kisskb/src/include/linux/uprobes.h:134:13: error: storage class specified for parameter 'arch_uprobe_exception_notify' extern int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data); ^ /kisskb/src/include/linux/uprobes.h:135:13: error: storage class specified for parameter 'arch_uprobe_abort_xol' extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:136:22: error: storage class specified for parameter 'arch_uretprobe_hijack_return_addr' extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:137:13: error: storage class specified for parameter 'arch_uretprobe_is_alive' extern bool arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:138:13: error: storage class specified for parameter 'arch_uprobe_ignore' extern bool arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:139:13: error: storage class specified for parameter 'arch_uprobe_copy_ixol' extern void arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, ^ In file included from /kisskb/src/include/linux/mm_types.h:22:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mmu.h:58:3: error: storage class specified for parameter 'mm_context_t' } mm_context_t; ^ In file included from /kisskb/src/include/linux/mmzone.h:21:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm_types.h:31:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/linux/mm_types.h:32:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/mm_types.h:73:1: error: empty declaration [-Werror] struct page { ^ /kisskb/src/include/linux/mm_types.h:276:1: error: empty declaration [-Werror] struct folio { ^ In file included from /kisskb/src/include/linux/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:318:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(flags, flags); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:319:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(lru, lru); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:320:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(mapping, mapping); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:321:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_head, lru); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:322:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(index, index); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:323:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(private, private); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:324:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(_mapcount, _mapcount); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:325:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(_refcount, _refcount); ^ /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/mm_types.h:317:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) ^ /kisskb/src/include/linux/mm_types.h:327:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(memcg_data, memcg_data); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:333:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(flags, _flags_1); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:334:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_head, __head); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:335:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_dtor, _folio_dtor); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:336:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_order, _folio_order); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:337:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_mapcount, _total_mapcount); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:338:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_pincount, _pincount); ^ /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/mm_types.h:331:2: note: in expansion of macro 'static_assert' static_assert(offsetof(struct folio, fl) == \ ^ /kisskb/src/include/linux/mm_types.h:340:1: note: in expansion of macro 'FOLIO_MATCH' FOLIO_MATCH(compound_nr, _folio_nr_pages); ^ In file included from /kisskb/src/include/linux/mmzone.h:21:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm_types.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:386:1: error: empty declaration [-Werror] struct page_frag_cache { ^ /kisskb/src/include/linux/mm_types.h:401:23: error: storage class specified for parameter 'vm_flags_t' typedef unsigned long vm_flags_t; ^ /kisskb/src/include/linux/mm_types.h:410:2: error: expected specifier-qualifier-list before 'vm_flags_t' vm_flags_t vm_flags; /* VMA vm_flags */ ^ /kisskb/src/include/linux/mm_types.h:408:1: error: empty declaration [-Werror] struct vm_region { ^ /kisskb/src/include/linux/mm_types.h:424:1: error: empty declaration [-Werror] struct vm_userfaultfd_ctx { ^ /kisskb/src/include/linux/mm_types.h:432:1: error: empty declaration [-Werror] struct anon_vma_name { ^ /kisskb/src/include/linux/mm_types.h:444:1: error: empty declaration [-Werror] struct vm_area_struct { ^ /kisskb/src/include/linux/mm_types.h:511:1: error: empty declaration [-Werror] struct kioctx_table; ^ /kisskb/src/include/linux/mm_types.h:624:3: error: expected specifier-qualifier-list before 'mm_context_t' mm_context_t context; ^ /kisskb/src/include/linux/mm_types.h:512:1: error: empty declaration [-Werror] struct mm_struct { ^ /kisskb/src/include/linux/mm_types.h:729:25: error: storage class specified for parameter 'init_mm' extern struct mm_struct init_mm; ^ /kisskb/src/include/linux/mm_types.h:733:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:748:1: error: empty declaration [-Werror] struct lru_gen_mm_list { ^ /kisskb/src/include/linux/mm_types.h:762:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:806:1: error: empty declaration [-Werror] struct vma_iterator { ^ /kisskb/src/include/linux/mm_types.h:821:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:827:1: error: empty declaration [-Werror] struct mmu_gather; ^ /kisskb/src/include/linux/mm_types.h:828:13: error: storage class specified for parameter 'tlb_gather_mmu' extern void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm); ^ /kisskb/src/include/linux/mm_types.h:829:13: error: storage class specified for parameter 'tlb_gather_mmu_fullmm' extern void tlb_gather_mmu_fullmm(struct mmu_gather *tlb, struct mm_struct *mm); ^ /kisskb/src/include/linux/mm_types.h:830:13: error: storage class specified for parameter 'tlb_finish_mmu' extern void tlb_finish_mmu(struct mmu_gather *tlb); ^ /kisskb/src/include/linux/mm_types.h:832:1: error: empty declaration [-Werror] struct vm_fault; ^ /kisskb/src/include/linux/mm_types.h:839:32: error: storage class specified for parameter 'vm_fault_t' typedef __bitwise unsigned int vm_fault_t; ^ /kisskb/src/include/linux/mm_types.h:868:2: error: enumerator value for 'VM_FAULT_OOM' is not an integer constant VM_FAULT_OOM = (__force vm_fault_t)0x000001, ^ /kisskb/src/include/linux/mm_types.h:868:48: error: expected ',' or '}' before numeric constant VM_FAULT_OOM = (__force vm_fault_t)0x000001, ^ /kisskb/src/include/linux/mm_types.h:867:1: error: empty declaration [-Werror] enum vm_fault_reason { ^ /kisskb/src/include/linux/mm_types.h:923:2: error: expected specifier-qualifier-list before 'vm_fault_t' vm_fault_t (*fault)(const struct vm_special_mapping *sm, ^ /kisskb/src/include/linux/mm_types.h:908:1: error: empty declaration [-Werror] struct vm_special_mapping { ^ /kisskb/src/include/linux/mm_types.h:931:1: error: empty declaration [-Werror] enum tlb_flush_reason { ^ /kisskb/src/include/linux/mm_types.h:946:3: error: storage class specified for parameter 'swp_entry_t' } swp_entry_t; ^ /kisskb/src/include/linux/mm_types.h:989:1: error: empty declaration [-Werror] enum fault_flag { ^ /kisskb/src/include/linux/mm_types.h:1004:32: error: storage class specified for parameter 'zap_flags_t' typedef unsigned int __bitwise zap_flags_t; ^ 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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/page-flags.h:100:1: error: empty declaration [-Werror] enum pageflags { ^ 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/page-flags.h:208:26: error: storage class specified for parameter 'hugetlb_optimize_vmemmap_key' DECLARE_STATIC_KEY_FALSE(hugetlb_optimize_vmemmap_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/mmzone.h:22:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/page-flags.h:215: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: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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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:572:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Uncached, uncached, 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: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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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:1284:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int local_memory_node(int node_id) { return node_id; }; ^ /kisskb/src/include/linux/mmzone.h:1284:69: error: expected declaration specifiers before ';' token static inline int local_memory_node(int node_id) { return node_id; }; ^ /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: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/arch/x86/include/asm/mmzone.h:5:0, from /kisskb/src/include/linux/mmzone.h:1405, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mmzone_64.h:13:28: error: storage class specified for parameter 'node_data' extern struct pglist_data *node_data[]; ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/include/asm/mpspec.h:6:0, from /kisskb/src/arch/x86/include/asm/topology.h:38, from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mpspec_def.h:22:1: error: empty declaration [-Werror] struct mpf_intel { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:37:1: error: empty declaration [-Werror] struct mpc_table { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:68:1: error: empty declaration [-Werror] struct mpc_cpu { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:78:1: error: empty declaration [-Werror] struct mpc_bus { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:106:1: error: empty declaration [-Werror] struct mpc_ioapic { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:114:1: error: empty declaration [-Werror] struct mpc_intsrc { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:124:1: error: empty declaration [-Werror] enum mp_irq_source_types { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:145:1: error: empty declaration [-Werror] struct mpc_lintsrc { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:157:1: error: empty declaration [-Werror] struct mpc_oemtable { ^ /kisskb/src/arch/x86/include/asm/mpspec_def.h:177:1: error: empty declaration [-Werror] enum mp_bustype { ^ In file included from /kisskb/src/arch/x86/include/asm/mpspec.h:7:0, from /kisskb/src/arch/x86/include/asm/topology.h:38, from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/x86_init.h:7:1: error: empty declaration [-Werror] struct ghcb; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:8:1: error: empty declaration [-Werror] struct mpc_bus; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:9:1: error: empty declaration [-Werror] struct mpc_cpu; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:10:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:11:1: error: empty declaration [-Werror] struct mpc_table; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:12:1: error: empty declaration [-Werror] struct cpuinfo_x86; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:13:1: error: empty declaration [-Werror] struct irq_domain; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:21:1: error: empty declaration [-Werror] struct x86_init_mpparse { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:35:1: error: empty declaration [-Werror] struct x86_init_resources { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:50:1: error: empty declaration [-Werror] struct x86_init_irqs { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:63:1: error: empty declaration [-Werror] struct x86_init_oem { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:75:1: error: empty declaration [-Werror] struct x86_init_paging { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:86:1: error: empty declaration [-Werror] struct x86_init_timers { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:96:1: error: empty declaration [-Werror] struct x86_init_iommu { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:107:1: error: empty declaration [-Werror] struct x86_init_pci { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:123:1: error: empty declaration [-Werror] struct x86_hyper_init { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:138:1: error: empty declaration [-Werror] struct x86_init_acpi { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:152:1: error: empty declaration [-Werror] struct x86_guest { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:163:1: error: empty declaration [-Werror] struct x86_init_ops { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:181:1: error: empty declaration [-Werror] struct x86_cpuinit_ops { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:187:1: error: empty declaration [-Werror] struct timespec64; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:208:1: error: empty declaration [-Werror] struct x86_legacy_devices { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:221:1: error: empty declaration [-Werror] enum x86_legacy_i8042_state { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:239:1: error: empty declaration [-Werror] struct x86_legacy_features { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:263:1: error: empty declaration [-Werror] struct x86_hyper_runtime { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:290:1: error: empty declaration [-Werror] struct x86_platform_ops { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:308:1: error: empty declaration [-Werror] struct x86_apic_ops { ^ /kisskb/src/arch/x86/include/asm/x86_init.h:313:28: error: storage class specified for parameter 'x86_init' extern struct x86_init_ops x86_init; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:314:31: error: storage class specified for parameter 'x86_cpuinit' extern struct x86_cpuinit_ops x86_cpuinit; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:315:32: error: storage class specified for parameter 'x86_platform' extern struct x86_platform_ops x86_platform; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:316:27: error: storage class specified for parameter 'x86_msi' extern struct x86_msi_ops x86_msi; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:317:28: error: storage class specified for parameter 'x86_apic_ops' extern struct x86_apic_ops x86_apic_ops; ^ /kisskb/src/arch/x86/include/asm/x86_init.h:319:13: error: storage class specified for parameter 'x86_early_init_platform_quirks' extern void x86_early_init_platform_quirks(void); ^ /kisskb/src/arch/x86/include/asm/x86_init.h:320:13: error: storage class specified for parameter 'x86_init_noop' extern void x86_init_noop(void); ^ /kisskb/src/arch/x86/include/asm/x86_init.h:321:13: error: storage class specified for parameter 'x86_init_uint_noop' extern void x86_init_uint_noop(unsigned int unused); ^ /kisskb/src/arch/x86/include/asm/x86_init.h:322:13: error: storage class specified for parameter 'bool_x86_init_noop' extern bool bool_x86_init_noop(void); ^ /kisskb/src/arch/x86/include/asm/x86_init.h:323:13: error: storage class specified for parameter 'x86_op_int_noop' extern void x86_op_int_noop(int cpu); ^ /kisskb/src/arch/x86/include/asm/x86_init.h:324:13: error: storage class specified for parameter 'x86_pnpbios_disabled' extern bool x86_pnpbios_disabled(void); ^ In file included from /kisskb/src/arch/x86/include/asm/mpspec.h:8:0, from /kisskb/src/arch/x86/include/asm/topology.h:38, from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/apicdef.h:173:1: error: empty declaration [-Werror] struct local_apic { ^ /kisskb/src/arch/x86/include/asm/apicdef.h:429:1: error: empty declaration [-Werror] enum apic_delivery_modes { ^ In file included from /kisskb/src/arch/x86/include/asm/topology.h:38:0, from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mpspec.h:10:12: error: storage class specified for parameter 'pic_mode' extern int pic_mode; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:37:12: error: storage class specified for parameter 'mp_bus_id_to_type' extern int mp_bus_id_to_type[MAX_MP_BUSSES]; ^ In file included from /kisskb/src/include/linux/atomic.h:5:0, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mpspec.h:40:23: error: storage class specified for parameter 'mp_bus_not_pci' extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); ^ /kisskb/src/include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP' unsigned long name[BITS_TO_LONGS(bits)] ^ In file included from /kisskb/src/arch/x86/include/asm/topology.h:38:0, from /kisskb/src/include/linux/topology.h:36, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mpspec.h:42:21: error: storage class specified for parameter 'boot_cpu_physical_apicid' extern unsigned int boot_cpu_physical_apicid; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:43:11: error: storage class specified for parameter 'boot_cpu_apic_version' extern u8 boot_cpu_apic_version; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:44:22: error: storage class specified for parameter 'mp_lapic_addr' extern unsigned long mp_lapic_addr; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:47:12: error: storage class specified for parameter 'smp_found_config' extern int smp_found_config; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mpspec.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mpspec.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mpspec.h:68:13: error: storage class specified for parameter 'e820__memblock_alloc_reserved_mpc_new' extern void e820__memblock_alloc_reserved_mpc_new(void); ^ /kisskb/src/arch/x86/include/asm/mpspec.h:69:12: error: storage class specified for parameter 'enable_update_mptable' extern int enable_update_mptable; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:70:13: error: storage class specified for parameter 'default_find_smp_config' extern void default_find_smp_config(void); ^ /kisskb/src/arch/x86/include/asm/mpspec.h:71:13: error: storage class specified for parameter 'default_get_smp_config' extern void default_get_smp_config(unsigned int early); ^ /kisskb/src/arch/x86/include/asm/mpspec.h:83:1: error: empty declaration [-Werror] struct physid_mask { ^ /kisskb/src/arch/x86/include/asm/mpspec.h:87:28: error: storage class specified for parameter 'physid_mask_t' typedef struct physid_mask physid_mask_t; ^ /kisskb/src/arch/x86/include/asm/mpspec.h:122:44: error: expected declaration specifiers or '...' before 'physid_mask_t' static inline unsigned long physids_coerce(physid_mask_t *map) ^ /kisskb/src/arch/x86/include/asm/mpspec.h:127:59: error: expected declaration specifiers or '...' before 'physid_mask_t' static inline void physids_promote(unsigned long physids, physid_mask_t *map) ^ /kisskb/src/arch/x86/include/asm/mpspec.h:133:58: error: expected declaration specifiers or '...' before 'physid_mask_t' static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) ^ /kisskb/src/arch/x86/include/asm/mpspec.h:142:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'phys_cpu_present_map' extern physid_mask_t phys_cpu_present_map; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_x86_cpu_to_node_map' 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/x86/include/asm/percpu.h:421:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/topology.h:42:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_x86_cpu_to_node_map' 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/x86/include/asm/percpu.h:421:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/topology.h:42:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /kisskb/src/arch/x86/include/asm/topology.h:42:28: error: storage class specified for parameter 'x86_cpu_to_node_map' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /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/x86/include/asm/percpu.h:421:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/topology.h:42:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /kisskb/src/arch/x86/include/asm/topology.h:42:28: error: section attribute not allowed for 'x86_cpu_to_node_map' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /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/x86/include/asm/percpu.h:421:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/topology.h:42:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ In file included from /kisskb/src/arch/x86/include/asm/preempt.h:6:0, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:42:28: error: storage class specified for parameter 'x86_cpu_to_node_map_early_ptr' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /kisskb/src/arch/x86/include/asm/percpu.h:422:28: note: in definition of macro 'DECLARE_EARLY_PER_CPU' extern __typeof__(_type) *_name##_early_ptr; \ ^ /kisskb/src/arch/x86/include/asm/topology.h:42:28: error: storage class specified for parameter 'x86_cpu_to_node_map_early_map' DECLARE_EARLY_PER_CPU(int, x86_cpu_to_node_map); ^ /kisskb/src/arch/x86/include/asm/percpu.h:423:28: note: in definition of macro 'DECLARE_EARLY_PER_CPU' extern __typeof__(_type) _name##_early_map[] ^ 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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:48:12: error: storage class specified for parameter '__cpu_to_node' extern int __cpu_to_node(int cpu); ^ /kisskb/src/arch/x86/include/asm/topology.h:51:12: error: storage class specified for parameter 'early_cpu_to_node' extern int early_cpu_to_node(int cpu); ^ /kisskb/src/arch/x86/include/asm/topology.h:64:22: error: storage class specified for parameter 'node_to_cpumask_map' extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; ^ /kisskb/src/arch/x86/include/asm/topology.h:67:30: error: storage class specified for parameter 'cpumask_of_node' extern const struct cpumask *cpumask_of_node(int node); ^ /kisskb/src/arch/x86/include/asm/topology.h:76:13: error: storage class specified for parameter 'setup_node_to_cpumask_map' extern void setup_node_to_cpumask_map(void); ^ /kisskb/src/arch/x86/include/asm/topology.h:80:12: error: storage class specified for parameter '__node_distance' extern int __node_distance(int, int); ^ 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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:105:30: error: storage class specified for parameter 'cpu_coregroup_mask' extern const struct cpumask *cpu_coregroup_mask(int cpu); ^ /kisskb/src/arch/x86/include/asm/topology.h:106:30: error: storage class specified for parameter 'cpu_clustergroup_mask' extern const struct cpumask *cpu_clustergroup_mask(int cpu); ^ /kisskb/src/arch/x86/include/asm/topology.h:115:21: error: storage class specified for parameter '__max_die_per_package' extern unsigned int __max_die_per_package; ^ /kisskb/src/arch/x86/include/asm/topology.h:124:21: error: storage class specified for parameter '__max_logical_packages' extern unsigned int __max_logical_packages; ^ /kisskb/src/arch/x86/include/asm/topology.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/topology.h:132:12: error: storage class specified for parameter '__max_smt_threads' extern int __max_smt_threads; ^ /kisskb/src/arch/x86/include/asm/topology.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/topology.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/topology.h:164:1: error: empty declaration [-Werror] struct pci_bus; ^ /kisskb/src/arch/x86/include/asm/topology.h:168:13: error: storage class specified for parameter 'x86_topology_update' extern bool x86_topology_update; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_sched_core_priority' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:169:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..read_mostly") ^ /kisskb/src/arch/x86/include/asm/topology.h:173:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_sched_core_priority' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:169:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..read_mostly") ^ /kisskb/src/arch/x86/include/asm/topology.h:173:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ /kisskb/src/arch/x86/include/asm/topology.h:173:34: error: storage class specified for parameter 'sched_core_priority' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ /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/x86/include/asm/topology.h:173:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ /kisskb/src/arch/x86/include/asm/topology.h:173:34: error: section attribute not allowed for 'sched_core_priority' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ /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/x86/include/asm/topology.h:173:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority); ^ 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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:174:35: error: storage class specified for parameter 'sysctl_sched_itmt_enabled' extern unsigned int __read_mostly sysctl_sched_itmt_enabled; ^ /kisskb/src/arch/x86/include/asm/topology.h:174:35: error: section attribute not allowed for 'sysctl_sched_itmt_enabled' 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:203:26: error: storage class specified for parameter 'arch_scale_freq_key' DECLARE_STATIC_KEY_FALSE(arch_scale_freq_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/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/include/asm/topology.h:207: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/arch/x86/include/asm/topology.h:207: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: redefinition of 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/arch/x86/include/asm/topology.h:207: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: note: previous definition of '__pcpu_scope_arch_freq_scale' was here 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/arch/x86/include/asm/topology.h:207: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/arch/x86/include/asm/topology.h:207:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/arch/x86/include/asm/topology.h:207: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/arch/x86/include/asm/topology.h:207:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned long, arch_freq_scale); ^ /kisskb/src/arch/x86/include/asm/topology.h:207:32: error: redefinition of 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/arch/x86/include/asm/topology.h:207: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: note: previous definition of 'arch_freq_scale' was here 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:36:0, from /kisskb/src/include/linux/gfp.h:8, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/topology.h:210:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/topology.h:215:13: error: storage class specified for parameter 'arch_set_max_freq_ratio' extern void arch_set_max_freq_ratio(bool turbo_disabled); ^ /kisskb/src/arch/x86/include/asm/topology.h:216:13: error: storage class specified for parameter 'freq_invariance_set_perf_ratio' extern void freq_invariance_set_perf_ratio(u64 ratio, bool turbo_disabled); ^ /kisskb/src/arch/x86/include/asm/topology.h:222:13: error: storage class specified for parameter 'arch_scale_freq_tick' extern void arch_scale_freq_tick(void); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/topology.h:88: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 { ^ /kisskb/src/include/linux/topology.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:238: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/slab.h:15:0, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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:171:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void arch_free_page(struct page *page, int order) { } ^ /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/slab.h:15:0, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/slab.h:16:0, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/crypto.h:20:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/kernel/asm-offsets.c:9:0: /kisskb/src/include/linux/crypto.h:174:1: error: empty declaration [-Werror] struct scatterlist; ^ /kisskb/src/include/linux/crypto.h:175:1: error: empty declaration [-Werror] struct crypto_async_request; ^ /kisskb/src/include/linux/crypto.h:176:1: error: empty declaration [-Werror] struct crypto_tfm; ^ /kisskb/src/include/linux/crypto.h:177:1: error: empty declaration [-Werror] struct crypto_type; ^ /kisskb/src/include/linux/crypto.h:179:16: error: storage class specified for parameter 'crypto_completion_t' typedef void (*crypto_completion_t)(struct crypto_async_request *req, int err); ^ /kisskb/src/include/linux/crypto.h:190:2: error: expected specifier-qualifier-list before 'crypto_completion_t' crypto_completion_t complete; ^ /kisskb/src/include/linux/crypto.h:188:1: error: empty declaration [-Werror] struct crypto_async_request { ^ /kisskb/src/include/linux/crypto.h:251:1: error: empty declaration [-Werror] struct cipher_alg { ^ /kisskb/src/include/linux/crypto.h:271:1: error: empty declaration [-Werror] struct compress_alg { ^ /kisskb/src/include/linux/crypto.h:287:1: error: empty declaration [-Werror] struct crypto_istat_aead { ^ /kisskb/src/include/linux/crypto.h:305:1: error: empty declaration [-Werror] struct crypto_istat_akcipher { ^ /kisskb/src/include/linux/crypto.h:323:1: error: empty declaration [-Werror] struct crypto_istat_cipher { ^ /kisskb/src/include/linux/crypto.h:339:1: error: empty declaration [-Werror] struct crypto_istat_compress { ^ /kisskb/src/include/linux/crypto.h:353:1: error: empty declaration [-Werror] struct crypto_istat_hash { ^ /kisskb/src/include/linux/crypto.h:366:1: error: empty declaration [-Werror] struct crypto_istat_kpp { ^ /kisskb/src/include/linux/crypto.h:380:1: error: empty declaration [-Werror] struct crypto_istat_rng { ^ /kisskb/src/include/linux/crypto.h:478:1: error: empty declaration [-Werror] struct crypto_alg { ^ /kisskb/src/include/linux/crypto.h:583:1: error: empty declaration [-Werror] struct crypto_wait { ^ /kisskb/src/include/linux/crypto.h:601:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:615:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:638:1: error: empty declaration [-Werror] struct crypto_tfm { ^ /kisskb/src/include/linux/crypto.h:651:1: error: empty declaration [-Werror] struct crypto_comp { ^ /kisskb/src/include/linux/crypto.h:663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:673:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:678:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:693:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:698:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:703:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:708:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:713:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:718:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:723:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:744:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:749:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:754:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/crypto.h:763:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:10:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sched.h:92:1: error: empty declaration [-Werror] struct clone_args { ^ In file included from /kisskb/src/include/linux/pid.h:5:0, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rculist.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:512:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:526:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:548:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:617:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:653:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist.h:680:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:14:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /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/uidgid.h:16:0, from /kisskb/src/include/linux/ipc.h:6, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/highuid.h:35:12: error: storage class specified for parameter 'overflowuid' extern int overflowuid; ^ /kisskb/src/include/linux/highuid.h:36:12: error: storage class specified for parameter 'overflowgid' extern int overflowgid; ^ /kisskb/src/include/linux/highuid.h:38:13: error: storage class specified for parameter '__bad_uid' extern void __bad_uid(void); ^ /kisskb/src/include/linux/highuid.h:39:13: error: storage class specified for parameter '__bad_gid' extern void __bad_gid(void); ^ /kisskb/src/include/linux/highuid.h:82:12: error: storage class specified for parameter 'fs_overflowuid' extern int fs_overflowuid; ^ /kisskb/src/include/linux/highuid.h:83:12: error: storage class specified for parameter 'fs_overflowgid' extern int fs_overflowgid; ^ In file included from /kisskb/src/include/linux/ipc.h:6:0, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/uidgid.h:18:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/uidgid.h:19:30: error: storage class specified for parameter 'init_user_ns' extern struct user_namespace init_user_ns; ^ /kisskb/src/include/linux/uidgid.h:23:3: error: storage class specified for parameter 'kuid_t' } kuid_t; ^ /kisskb/src/include/linux/uidgid.h:28:3: error: storage class specified for parameter 'kgid_t' } kgid_t; ^ /kisskb/src/include/linux/uidgid.h:34:32: error: expected declaration specifiers or '...' before 'kuid_t' static inline uid_t __kuid_val(kuid_t uid) ^ /kisskb/src/include/linux/uidgid.h:39:32: error: expected declaration specifiers or '...' before 'kgid_t' static inline gid_t __kgid_val(kgid_t gid) ^ /kisskb/src/include/linux/uidgid.h:61:27: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_eq(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:61:40: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_eq(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:66:27: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_eq(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:66:40: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_eq(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:71:27: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_gt(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:71:40: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_gt(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:76:27: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_gt(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:76:40: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_gt(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:81:28: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_gte(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:81:41: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_gte(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:86:28: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_gte(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:86:41: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_gte(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:91:27: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_lt(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:91:40: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_lt(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:96:27: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_lt(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:96:40: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_lt(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:101:28: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_lte(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:101:41: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_lte(kuid_t left, kuid_t right) ^ /kisskb/src/include/linux/uidgid.h:106:28: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_lte(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:106:41: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_lte(kgid_t left, kgid_t right) ^ /kisskb/src/include/linux/uidgid.h:111:30: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool uid_valid(kuid_t uid) ^ /kisskb/src/include/linux/uidgid.h:116:30: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool gid_valid(kgid_t gid) ^ /kisskb/src/include/linux/uidgid.h:123:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_kuid' extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); ^ /kisskb/src/include/linux/uidgid.h:124:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_kgid' extern kgid_t make_kgid(struct user_namespace *from, gid_t gid); ^ /kisskb/src/include/linux/uidgid.h:126:51: error: expected declaration specifiers or '...' before 'kuid_t' extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); ^ /kisskb/src/include/linux/uidgid.h:127:51: error: expected declaration specifiers or '...' before 'kgid_t' extern gid_t from_kgid(struct user_namespace *to, kgid_t gid); ^ /kisskb/src/include/linux/uidgid.h:128:58: error: expected declaration specifiers or '...' before 'kuid_t' extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); ^ /kisskb/src/include/linux/uidgid.h:129:58: error: expected declaration specifiers or '...' before 'kgid_t' extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid); ^ /kisskb/src/include/linux/uidgid.h:131:64: error: expected declaration specifiers or '...' before 'kuid_t' static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) ^ /kisskb/src/include/linux/uidgid.h:136:64: error: expected declaration specifiers or '...' before 'kgid_t' static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) ^ In file included from /kisskb/src/include/linux/ipc.h:7:0, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rhashtable-types.h:17:1: error: empty declaration [-Werror] struct rhash_head { ^ /kisskb/src/include/linux/rhashtable-types.h:21:1: error: empty declaration [-Werror] struct rhlist_head { ^ /kisskb/src/include/linux/rhashtable-types.h:26:1: error: empty declaration [-Werror] struct bucket_table; ^ /kisskb/src/include/linux/rhashtable-types.h:33:1: error: empty declaration [-Werror] struct rhashtable_compare_arg { ^ /kisskb/src/include/linux/rhashtable-types.h:38:15: error: storage class specified for parameter 'rht_hashfn_t' typedef u32 (*rht_hashfn_t)(const void *data, u32 len, u32 seed); ^ /kisskb/src/include/linux/rhashtable-types.h:39:15: error: storage class specified for parameter 'rht_obj_hashfn_t' typedef u32 (*rht_obj_hashfn_t)(const void *data, u32 len, u32 seed); ^ /kisskb/src/include/linux/rhashtable-types.h:40:15: error: storage class specified for parameter 'rht_obj_cmpfn_t' typedef int (*rht_obj_cmpfn_t)(struct rhashtable_compare_arg *arg, ^ /kisskb/src/include/linux/rhashtable-types.h:64:2: error: expected specifier-qualifier-list before 'rht_hashfn_t' rht_hashfn_t hashfn; ^ /kisskb/src/include/linux/rhashtable-types.h:56:1: error: empty declaration [-Werror] struct rhashtable_params { ^ /kisskb/src/include/linux/rhashtable-types.h:81:1: error: empty declaration [-Werror] struct rhashtable { ^ /kisskb/src/include/linux/rhashtable-types.h:97:1: error: empty declaration [-Werror] struct rhltable { ^ /kisskb/src/include/linux/rhashtable-types.h:106:1: error: empty declaration [-Werror] struct rhashtable_walker { ^ /kisskb/src/include/linux/rhashtable-types.h:120:1: error: empty declaration [-Werror] struct rhashtable_iter { ^ In file included from /kisskb/src/include/linux/ipc.h:8:0, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/ipc.h:10:1: error: empty declaration [-Werror] struct ipc_perm ^ In file included from ./arch/x86/include/generated/uapi/asm/ipcbuf.h:1:0, from /kisskb/src/include/uapi/linux/ipc.h:22, from /kisskb/src/include/linux/ipc.h:8, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/ipcbuf.h:22:1: error: empty declaration [-Werror] struct ipc64_perm { ^ In file included from /kisskb/src/include/linux/ipc.h:8:0, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/ipc.h:58:1: error: empty declaration [-Werror] struct ipc_kludge { ^ In file included from /kisskb/src/include/uapi/linux/sem.h:5:0, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/ipc.h:17:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; ^ /kisskb/src/include/linux/ipc.h:12:1: error: empty declaration [-Werror] struct kern_ipc_perm { ^ In file included from /kisskb/src/include/linux/sem.h:5:0, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sem.h:25:1: error: empty declaration [-Werror] struct semid_ds { ^ In file included from /kisskb/src/include/uapi/linux/sem.h:37:0, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/arch/x86/include/uapi/asm/sembuf.h:18:1: error: empty declaration [-Werror] struct semid64_ds { ^ In file included from /kisskb/src/include/linux/sem.h:5:0, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sem.h:40:1: error: empty declaration [-Werror] struct sembuf { ^ /kisskb/src/include/uapi/linux/sem.h:47:1: error: empty declaration [-Werror] union semun { ^ /kisskb/src/include/uapi/linux/sem.h:55:1: error: empty declaration [-Werror] struct seminfo { ^ In file included from /kisskb/src/include/linux/sched.h:15:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sem.h:7:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/sem.h:8:1: error: empty declaration [-Werror] struct sem_undo_list; ^ /kisskb/src/include/linux/sem.h:12:1: error: empty declaration [-Werror] struct sysv_sem { ^ /kisskb/src/include/linux/sem.h:16:12: error: storage class specified for parameter 'copy_semundo' extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); ^ /kisskb/src/include/linux/sem.h:17:13: error: storage class specified for parameter 'exit_sem' extern void exit_sem(struct task_struct *tsk); ^ In file included from /kisskb/src/include/linux/shm.h:7:0, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/shm.h:28:1: error: empty declaration [-Werror] struct shmid_ds { ^ In file included from /kisskb/src/arch/x86/include/uapi/asm/shmbuf.h:6:0, from /kisskb/src/include/uapi/linux/shm.h:43, from /kisskb/src/include/linux/shm.h:7, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/shmbuf.h:27:1: error: empty declaration [-Werror] struct shmid64_ds { ^ /kisskb/src/include/uapi/asm-generic/shmbuf.h:49: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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/timerqueue.h:11:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t expires; ^ /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/arch/x86/kernel/asm-offsets.c:10: /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:120:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t _softexpires; ^ /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:166:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t (*get_time)(void); ^ /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:233:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t expires_next; ^ /kisskb/src/include/linux/hrtimer.h:214:1: error: empty declaration [-Werror] struct hrtimer_cpu_base { ^ /kisskb/src/include/linux/hrtimer.h:240:63: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) ^ /kisskb/src/include/linux/hrtimer.h:246:69: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) ^ /kisskb/src/include/linux/hrtimer.h:246:83: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) ^ /kisskb/src/include/linux/hrtimer.h:252:72: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) ^ /kisskb/src/include/linux/hrtimer.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:264:63: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) ^ /kisskb/src/include/linux/hrtimer.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:276:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_get_expires' static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) ^ /kisskb/src/include/linux/hrtimer.h:281:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_get_softexpires' static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) ^ /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:300:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_expires_remaining' static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) ^ /kisskb/src/include/linux/hrtimer.h:305:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_cb_get_time' static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) ^ /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:330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__hrtimer_expires_remaining_adjusted' __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) ^ /kisskb/src/include/linux/hrtimer.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_expires_remaining_adjusted' hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) ^ /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/kernel/asm-offsets.c:10: /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:59: error: expected declaration specifiers or '...' before 'ktime_t' extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, ^ /kisskb/src/include/linux/hrtimer.h:415:57: error: expected declaration specifiers or '...' before 'ktime_t' static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, ^ /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: expected '=', ',', ';', 'asm' or '__attribute__' before '__hrtimer_get_remaining' extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust); ^ /kisskb/src/include/linux/hrtimer.h:450:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_get_remaining' static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) ^ /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:40: error: expected declaration specifiers or '...' before 'ktime_t' hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/hrtimer.h:485:53: error: expected declaration specifiers or '...' before 'ktime_t' hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/hrtimer.h:504:11: error: expected declaration specifiers or '...' before 'ktime_t' ktime_t interval) ^ /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:31: error: expected declaration specifiers or '...' before 'ktime_t' extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, ^ /kisskb/src/include/linux/hrtimer.h:515:37: error: expected declaration specifiers or '...' before 'ktime_t' extern int schedule_hrtimeout_range(ktime_t *expires, u64 delta, ^ /kisskb/src/include/linux/hrtimer.h:517:43: error: expected declaration specifiers or '...' before 'ktime_t' extern int schedule_hrtimeout_range_clock(ktime_t *expires, ^ /kisskb/src/include/linux/hrtimer.h:521:31: error: expected declaration specifiers or '...' before 'ktime_t' 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/arch/x86/kernel/asm-offsets.c:10: /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/x86/include/asm/seccomp.h:39:0, from /kisskb/src/include/linux/seccomp.h:22, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/types.h:17:1: error: empty declaration [-Werror] struct task_cputime { ^ 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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/arch/x86/include/asm/signal.h:21:23: error: storage class specified for parameter 'old_sigset_t' typedef unsigned long old_sigset_t; /* at least 32 bits */ ^ /kisskb/src/arch/x86/include/asm/signal.h:25:3: error: storage class specified for parameter 'sigset_t' } sigset_t; ^ In file included from /kisskb/src/arch/x86/include/asm/signal.h:37: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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/arch/x86/include/uapi/asm/signal.h:11:1: error: empty declaration [-Werror] struct siginfo; ^ In file included from /kisskb/src/arch/x86/include/uapi/asm/signal.h:70:0, from /kisskb/src/arch/x86/include/asm/signal.h:37, 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/arch/x86/kernel/asm-offsets.c:10: /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/x86/include/asm/signal.h:37: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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/arch/x86/include/uapi/asm/signal.h:108:3: error: storage class specified for parameter 'stack_t' } stack_t; ^ In file included from /kisskb/src/arch/x86/include/uapi/asm/siginfo.h:13: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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/syscall_user_dispatch.h:12:1: error: empty declaration [-Werror] struct syscall_user_dispatch { ^ In file included from /kisskb/src/include/linux/sched.h:33:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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:45:54: error: expected declaration specifiers or '...' before 'ktime_t' enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); ^ /kisskb/src/include/linux/alarmtimer.h:42:1: error: empty declaration [-Werror] struct alarm { ^ /kisskb/src/include/linux/alarmtimer.h:52:55: error: expected declaration specifiers or '...' before 'ktime_t' enum alarmtimer_restart (*function)(struct alarm *, ktime_t)); ^ /kisskb/src/include/linux/alarmtimer.h:53:39: error: expected declaration specifiers or '...' before 'ktime_t' void alarm_start(struct alarm *alarm, ktime_t start); ^ /kisskb/src/include/linux/alarmtimer.h:54:48: error: expected declaration specifiers or '...' before 'ktime_t' void alarm_start_relative(struct alarm *alarm, ktime_t start); ^ /kisskb/src/include/linux/alarmtimer.h:59:40: error: expected declaration specifiers or '...' before 'ktime_t' u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/alarmtimer.h:59:53: error: expected declaration specifiers or '...' before 'ktime_t' u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/alarmtimer.h:60:44: error: expected declaration specifiers or '...' before 'ktime_t' u64 alarm_forward_now(struct alarm *alarm, ktime_t interval); ^ /kisskb/src/include/linux/alarmtimer.h:61:1: error: expected declaration specifiers before 'ktime_t' ktime_t alarm_expires_remaining(const struct alarm *alarm); ^ In file included from /kisskb/src/include/linux/sched.h:34:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /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:230:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t it_interval; ^ /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10: /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/arch/x86/kernel/asm-offsets.c:10:0: /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:1554:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1572:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1577:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1582:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1588:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1619:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1624:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1629:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1634:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1639:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1651:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1657:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1686:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1691:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1700:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1714:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1718:20: error: storage class specified for parameter 'cad_pid' extern struct pid *cad_pid; ^ /kisskb/src/include/linux/sched.h:1786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1807: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(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1811: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(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1820:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1821:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1815:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1822:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1824:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1825:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1815:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1826:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1828:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1829:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1815:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1830:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1832:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1833:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1815:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1834:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1807: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_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1811: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_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1839:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1840:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1815:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1841:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1807:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1843: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:1811:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1844: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:1848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1853: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:1854: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:1856: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:1857: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:1858: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:1859: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:1860: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:1861: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:1862: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:1890: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:1891: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:1892:12: error: storage class specified for parameter 'task_prio' extern int task_prio(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1901:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1905: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:1906:12: error: storage class specified for parameter 'task_curr' extern int task_curr(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1907:12: error: storage class specified for parameter 'idle_cpu' extern int idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1908:12: error: storage class specified for parameter 'available_idle_cpu' extern int available_idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1909: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:1910: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:1911: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:1912: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:1913: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:1914: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:1915: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:1916:28: error: storage class specified for parameter 'idle_task' extern struct task_struct *idle_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1925:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1929:28: error: storage class specified for parameter 'curr_task' extern struct task_struct *curr_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1930: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:1934:1: error: empty declaration [-Werror] union thread_union { ^ /kisskb/src/include/linux/sched.h:1948: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:1967: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:1968: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:1973: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:1975: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:1976: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:1977: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:1980:13: error: storage class specified for parameter 'kick_process' extern void kick_process(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1985: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:1988:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1992: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:2000:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2008: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:2022:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2027:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2038:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2043:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2048:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2053:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2058:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2063:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2074:12: error: storage class specified for parameter '__cond_resched' extern int __cond_resched(void); ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__cond_resched' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/include/linux/sched.h:2078:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(cond_resched, __cond_resched); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__cond_resched' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/include/linux/sched.h:2078:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(cond_resched, __cond_resched); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:10:0: /kisskb/src/include/linux/sched.h:2078:50: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(cond_resched, __cond_resched); ^ /kisskb/src/include/linux/sched.h:2081:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2113:12: error: storage class specified for parameter '__cond_resched_lock' extern int __cond_resched_lock(spinlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2114: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:2115: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:2152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2162:13: error: storage class specified for parameter 'preempt_model_none' extern bool preempt_model_none(void); ^ /kisskb/src/include/linux/sched.h:2163:13: error: storage class specified for parameter 'preempt_model_voluntary' extern bool preempt_model_voluntary(void); ^ /kisskb/src/include/linux/sched.h:2164:13: error: storage class specified for parameter 'preempt_model_full' extern bool preempt_model_full(void); ^ /kisskb/src/include/linux/sched.h:2184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2233:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2243:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2247: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:2262: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:2263:22: error: storage class specified for parameter 'get_wchan' extern unsigned long get_wchan(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2264: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:2281: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:2282: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:2290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2308:1: error: empty declaration [-Werror] enum rseq_event_mask_bits { ^ /kisskb/src/include/linux/sched.h:2314:1: error: empty declaration [-Werror] enum rseq_event_mask { ^ /kisskb/src/include/linux/sched.h:2321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2337:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2423: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:2424: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:2425: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:2432: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/hardirq.h:5:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:12: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/kernel/asm-offsets.c:12: /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/arch/x86/kernel/asm-offsets.c:12: /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/arch/x86/kernel/asm-offsets.c:12: /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/hardirq.h:11:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:12: /kisskb/src/arch/x86/include/asm/hardirq.h:47: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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/asm/hardirq.h:49: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/x86/include/asm/hardirq.h:49:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:49: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/x86/include/asm/hardirq.h:49:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:49: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/x86/include/asm/hardirq.h:49:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:49: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/x86/include/asm/hardirq.h:49: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/arch/x86/kernel/asm-offsets.c:12: /kisskb/src/arch/x86/include/asm/hardirq.h:55:13: error: storage class specified for parameter 'ack_bad_irq' extern void ack_bad_irq(unsigned int irq); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:57:12: error: storage class specified for parameter 'arch_irq_stat_cpu' extern u64 arch_irq_stat_cpu(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:60:12: error: storage class specified for parameter 'arch_irq_stat' extern u64 arch_irq_stat(void); ^ /kisskb/src/arch/x86/include/asm/hardirq.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/hardirq.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/hardirq.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:12:0: /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/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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/fs.h:6:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/wait_bit.h:10:1: error: empty declaration [-Werror] struct wait_bit_key { ^ /kisskb/src/include/linux/wait_bit.h:16:1: error: empty declaration [-Werror] struct wait_bit_queue_entry { ^ /kisskb/src/include/linux/wait_bit.h:24:13: error: storage class specified for parameter 'wait_bit_action_f' typedef int wait_bit_action_f(struct wait_bit_key *key, int mode); ^ /kisskb/src/include/linux/wait_bit.h:27:92: error: expected declaration specifiers or '...' before 'wait_bit_action_f' int __wait_on_bit(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); ^ In file included from /kisskb/src/include/linux/fs.h:6:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/wait_bit.h:28:97: error: expected declaration specifiers or '...' before 'wait_bit_action_f' int __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode); ^ /kisskb/src/include/linux/wait_bit.h:30:46: error: expected declaration specifiers or '...' before 'wait_bit_action_f' int out_of_line_wait_on_bit(void *word, int, wait_bit_action_f *action, unsigned int mode); ^ /kisskb/src/include/linux/wait_bit.h:31:54: error: expected declaration specifiers or '...' before 'wait_bit_action_f' int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, unsigned long timeout); ^ /kisskb/src/include/linux/wait_bit.h:32:51: error: expected declaration specifiers or '...' before 'wait_bit_action_f' int out_of_line_wait_on_bit_lock(void *word, int, wait_bit_action_f *action, unsigned int mode); ^ /kisskb/src/include/linux/wait_bit.h:34:20: error: storage class specified for parameter 'wait_bit_init' extern void __init wait_bit_init(void); ^ /kisskb/src/include/linux/wait_bit.h:34:20: error: section attribute not allowed for 'wait_bit_init' /kisskb/src/include/linux/wait_bit.h:34:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init wait_bit_init(void); ^ /kisskb/src/include/linux/wait_bit.h:34:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/wait_bit.h:49:12: error: storage class specified for parameter 'bit_wait' extern int bit_wait(struct wait_bit_key *key, int mode); ^ /kisskb/src/include/linux/wait_bit.h:50:12: error: storage class specified for parameter 'bit_wait_io' extern int bit_wait_io(struct wait_bit_key *key, int mode); ^ /kisskb/src/include/linux/wait_bit.h:51:12: error: storage class specified for parameter 'bit_wait_timeout' extern int bit_wait_timeout(struct wait_bit_key *key, int mode); ^ /kisskb/src/include/linux/wait_bit.h:52:12: error: storage class specified for parameter 'bit_wait_io_timeout' extern int bit_wait_io_timeout(struct wait_bit_key *key, int mode); ^ /kisskb/src/include/linux/wait_bit.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait_bit.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait_bit.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait_bit.h:150:50: error: expected declaration specifiers or '...' before 'wait_bit_action_f' wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, ^ /kisskb/src/include/linux/wait_bit.h:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait_bit.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait_bit.h:229:55: error: expected declaration specifiers or '...' before 'wait_bit_action_f' wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, ^ /kisskb/src/include/linux/wait_bit.h:238:13: error: storage class specified for parameter 'init_wait_var_entry' extern void init_wait_var_entry(struct wait_bit_queue_entry *wbq_entry, void *var, int flags); ^ /kisskb/src/include/linux/wait_bit.h:239:13: error: storage class specified for parameter 'wake_up_var' extern void wake_up_var(void *var); ^ /kisskb/src/include/linux/wait_bit.h:240:27: error: storage class specified for parameter '__var_waitqueue' extern wait_queue_head_t *__var_waitqueue(void *p); ^ /kisskb/src/include/linux/wait_bit.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/fs.h:7:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/kdev_t.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kdev_t.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/list_bl.h:6:0, from /kisskb/src/include/linux/rculist_bl.h:8, from /kisskb/src/include/linux/dcache.h:9, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/bit_spinlock.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bit_spinlock.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bit_spinlock.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bit_spinlock.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bit_spinlock.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rculist_bl.h:8:0, from /kisskb/src/include/linux/dcache.h:9, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/list_bl.h:34:1: error: empty declaration [-Werror] struct hlist_bl_head { ^ /kisskb/src/include/linux/list_bl.h:38:1: error: empty declaration [-Werror] struct hlist_bl_node { ^ /kisskb/src/include/linux/list_bl.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/list_bl.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dcache.h:9:0, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/rculist_bl.h:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist_bl.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist_bl.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rculist_bl.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dcache.h:14:0, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/lockref.h:25:1: error: empty declaration [-Werror] struct lockref { ^ /kisskb/src/include/linux/lockref.h:37:13: error: storage class specified for parameter 'lockref_get' extern void lockref_get(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:38:12: error: storage class specified for parameter 'lockref_put_return' extern int lockref_put_return(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:39:12: error: storage class specified for parameter 'lockref_get_not_zero' extern int lockref_get_not_zero(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:40:12: error: storage class specified for parameter 'lockref_put_not_zero' extern int lockref_put_not_zero(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:41:12: error: storage class specified for parameter 'lockref_put_or_lock' extern int lockref_put_or_lock(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:43:13: error: storage class specified for parameter 'lockref_mark_dead' extern void lockref_mark_dead(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:44:12: error: storage class specified for parameter 'lockref_get_not_dead' extern int lockref_get_not_dead(struct lockref *); ^ /kisskb/src/include/linux/lockref.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/stringhash.h:7:0, from /kisskb/src/include/linux/dcache.h:15, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/hash.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hash.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hash.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hash.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hash.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dcache.h:15:0, from /kisskb/src/include/linux/fs.h:8, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/stringhash.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/stringhash.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/stringhash.h:66:28: error: storage class specified for parameter 'full_name_hash' extern unsigned int __pure full_name_hash(const void *salt, const char *, unsigned int); ^ /kisskb/src/include/linux/stringhash.h:66:1: error: '__pure__' attribute ignored [-Werror=attributes] extern unsigned int __pure full_name_hash(const void *salt, const char *, unsigned int); ^ /kisskb/src/include/linux/stringhash.h:77:19: error: storage class specified for parameter 'hashlen_string' extern u64 __pure hashlen_string(const void *salt, const char *name); ^ /kisskb/src/include/linux/stringhash.h:77:1: error: '__pure__' attribute ignored [-Werror=attributes] extern u64 __pure hashlen_string(const void *salt, const char *name); ^ In file included from /kisskb/src/include/linux/fs.h:8:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/dcache.h:18:1: error: empty declaration [-Werror] struct path; ^ /kisskb/src/include/linux/dcache.h:19:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/dcache.h:20:1: error: empty declaration [-Werror] struct vfsmount; ^ /kisskb/src/include/linux/dcache.h:49:1: error: empty declaration [-Werror] struct qstr { ^ /kisskb/src/include/linux/dcache.h:61:26: error: storage class specified for parameter 'empty_name' extern const struct qstr empty_name; ^ /kisskb/src/include/linux/dcache.h:62:26: error: storage class specified for parameter 'slash_name' extern const struct qstr slash_name; ^ /kisskb/src/include/linux/dcache.h:63:26: error: storage class specified for parameter 'dotdot_name' extern const struct qstr dotdot_name; ^ /kisskb/src/include/linux/dcache.h:82:1: error: empty declaration [-Werror] struct dentry { ^ /kisskb/src/include/linux/dcache.h:122:1: error: empty declaration [-Werror] enum dentry_d_lock_class ^ /kisskb/src/include/linux/dcache.h:128:1: error: empty declaration [-Werror] struct dentry_operations { ^ /kisskb/src/include/linux/dcache.h:216:18: error: storage class specified for parameter 'rename_lock' extern seqlock_t rename_lock; ^ /kisskb/src/include/linux/dcache.h:221:13: error: storage class specified for parameter 'd_instantiate' extern void d_instantiate(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:222:13: error: storage class specified for parameter 'd_instantiate_new' extern void d_instantiate_new(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:223:24: error: storage class specified for parameter 'd_instantiate_unique' extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:224:24: error: storage class specified for parameter 'd_instantiate_anon' extern struct dentry * d_instantiate_anon(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:225:13: error: storage class specified for parameter '__d_drop' extern void __d_drop(struct dentry *dentry); ^ /kisskb/src/include/linux/dcache.h:226:13: error: storage class specified for parameter 'd_drop' extern void d_drop(struct dentry *dentry); ^ /kisskb/src/include/linux/dcache.h:227:13: error: storage class specified for parameter 'd_delete' extern void d_delete(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:228:13: error: storage class specified for parameter 'd_set_d_op' extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op); ^ /kisskb/src/include/linux/dcache.h:231:24: error: storage class specified for parameter 'd_alloc' extern struct dentry * d_alloc(struct dentry *, const struct qstr *); ^ /kisskb/src/include/linux/dcache.h:232:24: error: storage class specified for parameter 'd_alloc_anon' extern struct dentry * d_alloc_anon(struct super_block *); ^ /kisskb/src/include/linux/dcache.h:233:24: error: storage class specified for parameter 'd_alloc_parallel' extern struct dentry * d_alloc_parallel(struct dentry *, const struct qstr *, ^ /kisskb/src/include/linux/dcache.h:235:24: error: storage class specified for parameter 'd_splice_alias' extern struct dentry * d_splice_alias(struct inode *, struct dentry *); ^ /kisskb/src/include/linux/dcache.h:236:24: error: storage class specified for parameter 'd_add_ci' extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); ^ /kisskb/src/include/linux/dcache.h:237:13: error: storage class specified for parameter 'd_same_name' extern bool d_same_name(const struct dentry *dentry, const struct dentry *parent, ^ /kisskb/src/include/linux/dcache.h:239:24: error: storage class specified for parameter 'd_exact_alias' extern struct dentry * d_exact_alias(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:240:23: error: storage class specified for parameter 'd_find_any_alias' extern struct dentry *d_find_any_alias(struct inode *inode); ^ /kisskb/src/include/linux/dcache.h:241:24: error: storage class specified for parameter 'd_obtain_alias' extern struct dentry * d_obtain_alias(struct inode *); ^ /kisskb/src/include/linux/dcache.h:242:24: error: storage class specified for parameter 'd_obtain_root' extern struct dentry * d_obtain_root(struct inode *); ^ /kisskb/src/include/linux/dcache.h:243:13: error: storage class specified for parameter 'shrink_dcache_sb' extern void shrink_dcache_sb(struct super_block *); ^ /kisskb/src/include/linux/dcache.h:244:13: error: storage class specified for parameter 'shrink_dcache_parent' extern void shrink_dcache_parent(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:245:13: error: storage class specified for parameter 'shrink_dcache_for_umount' extern void shrink_dcache_for_umount(struct super_block *); ^ /kisskb/src/include/linux/dcache.h:246:13: error: storage class specified for parameter 'd_invalidate' extern void d_invalidate(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:249:24: error: storage class specified for parameter 'd_make_root' extern struct dentry * d_make_root(struct inode *); ^ /kisskb/src/include/linux/dcache.h:252:13: error: storage class specified for parameter 'd_genocide' extern void d_genocide(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:254:13: error: storage class specified for parameter 'd_tmpfile' extern void d_tmpfile(struct file *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:256:23: error: storage class specified for parameter 'd_find_alias' extern struct dentry *d_find_alias(struct inode *); ^ /kisskb/src/include/linux/dcache.h:257:13: error: storage class specified for parameter 'd_prune_aliases' extern void d_prune_aliases(struct inode *); ^ /kisskb/src/include/linux/dcache.h:259:23: error: storage class specified for parameter 'd_find_alias_rcu' extern struct dentry *d_find_alias_rcu(struct inode *); ^ /kisskb/src/include/linux/dcache.h:262:12: error: storage class specified for parameter 'path_has_submounts' extern int path_has_submounts(const struct path *); ^ /kisskb/src/include/linux/dcache.h:267:13: error: storage class specified for parameter 'd_rehash' extern void d_rehash(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:269:13: error: storage class specified for parameter 'd_add' extern void d_add(struct dentry *, struct inode *); ^ /kisskb/src/include/linux/dcache.h:272:13: error: storage class specified for parameter 'd_move' extern void d_move(struct dentry *, struct dentry *); ^ /kisskb/src/include/linux/dcache.h:273:13: error: storage class specified for parameter 'd_exchange' extern void d_exchange(struct dentry *, struct dentry *); ^ /kisskb/src/include/linux/dcache.h:274:23: error: storage class specified for parameter 'd_ancestor' extern struct dentry *d_ancestor(struct dentry *, struct dentry *); ^ /kisskb/src/include/linux/dcache.h:277:23: error: storage class specified for parameter 'd_lookup' extern struct dentry *d_lookup(const struct dentry *, const struct qstr *); ^ /kisskb/src/include/linux/dcache.h:278:23: error: storage class specified for parameter 'd_hash_and_lookup' extern struct dentry *d_hash_and_lookup(struct dentry *, struct qstr *); ^ /kisskb/src/include/linux/dcache.h:279:23: error: storage class specified for parameter '__d_lookup' extern struct dentry *__d_lookup(const struct dentry *, const struct qstr *); ^ /kisskb/src/include/linux/dcache.h:280:23: error: storage class specified for parameter '__d_lookup_rcu' extern struct dentry *__d_lookup_rcu(const struct dentry *parent, ^ /kisskb/src/include/linux/dcache.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:292:7: error: storage class specified for parameter 'dynamic_dname' char *dynamic_dname(char *, int, const char *, ...); ^ /kisskb/src/include/linux/dcache.h:294:14: error: storage class specified for parameter '__d_path' extern char *__d_path(const struct path *, const struct path *, char *, int); ^ /kisskb/src/include/linux/dcache.h:295:14: error: storage class specified for parameter 'd_absolute_path' extern char *d_absolute_path(const struct path *, char *, int); ^ /kisskb/src/include/linux/dcache.h:296:14: error: storage class specified for parameter 'd_path' extern char *d_path(const struct path *, char *, int); ^ /kisskb/src/include/linux/dcache.h:297:14: error: storage class specified for parameter 'dentry_path_raw' extern char *dentry_path_raw(const struct dentry *, char *, int); ^ /kisskb/src/include/linux/dcache.h:298:14: error: storage class specified for parameter 'dentry_path' extern char *dentry_path(const struct dentry *, char *, int); ^ /kisskb/src/include/linux/dcache.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:324:23: error: storage class specified for parameter 'dget_parent' extern struct dentry *dget_parent(struct dentry *dentry); ^ /kisskb/src/include/linux/dcache.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:355:13: error: storage class specified for parameter '__d_lookup_unhash_wake' extern void __d_lookup_unhash_wake(struct dentry *dentry); ^ /kisskb/src/include/linux/dcache.h:358:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:368:13: error: storage class specified for parameter 'dput' extern void dput(struct dentry *); ^ /kisskb/src/include/linux/dcache.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:384:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:389:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:394:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:419:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:424:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:434:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:440:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:445:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:483:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:488:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:492:13: error: storage class specified for parameter 'd_set_fallthru' extern void d_set_fallthru(struct dentry *dentry); ^ /kisskb/src/include/linux/dcache.h:495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:500:12: error: storage class specified for parameter 'sysctl_vfs_cache_pressure' extern int sysctl_vfs_cache_pressure; ^ /kisskb/src/include/linux/dcache.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:527:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:559:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:575:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:590:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dcache.h:595:1: error: empty declaration [-Werror] struct name_snapshot { ^ In file included from /kisskb/src/include/linux/fs.h:9:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/path.h:5:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/path.h:6:1: error: empty declaration [-Werror] struct vfsmount; ^ /kisskb/src/include/linux/path.h:8:1: error: empty declaration [-Werror] struct path { ^ /kisskb/src/include/linux/path.h:13:13: error: storage class specified for parameter 'path_get' extern void path_get(const struct path *); ^ /kisskb/src/include/linux/path.h:14:13: error: storage class specified for parameter 'path_put' extern void path_put(const struct path *); ^ /kisskb/src/include/linux/path.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/path.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/stat.h:6:0, from /kisskb/src/include/linux/fs.h:10, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/uapi/asm/stat.h:83:1: error: empty declaration [-Werror] struct stat { ^ /kisskb/src/arch/x86/include/uapi/asm/stat.h:117:1: error: empty declaration [-Werror] struct __old_kernel_stat { ^ In file included from /kisskb/src/include/linux/stat.h:7:0, from /kisskb/src/include/linux/fs.h:10, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/uapi/linux/stat.h:56:1: error: empty declaration [-Werror] struct statx_timestamp { ^ /kisskb/src/include/uapi/linux/stat.h:99:1: error: empty declaration [-Werror] struct statx { ^ In file included from /kisskb/src/include/linux/fs.h:10:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/stat.h:44:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; ^ /kisskb/src/include/linux/stat.h:22:1: error: empty declaration [-Werror] struct kstat { ^ 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/sync_core.h:6:0, from /kisskb/src/include/linux/sched/mm.h:10, 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/sync_core.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/sync_core.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/sync_core.h:97: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:35:1: error: expected declaration specifiers before 'ioasid_t' ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max, ^ /kisskb/src/include/linux/ioasid.h:37:18: error: expected declaration specifiers or '...' before 'ioasid_t' void ioasid_free(ioasid_t ioasid); ^ /kisskb/src/include/linux/ioasid.h:38:43: error: expected declaration specifiers or '...' before 'ioasid_t' void *ioasid_find(struct ioasid_set *set, ioasid_t ioasid, ^ /kisskb/src/include/linux/ioasid.h:42:21: error: expected declaration specifiers or '...' before 'ioasid_t' int ioasid_set_data(ioasid_t ioasid, void *data); ^ /kisskb/src/include/linux/ioasid.h:43: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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 { ^ /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:456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:462:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/mm.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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 ./arch/x86/include/generated/uapi/asm/fcntl.h:1: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/arch/x86/include/asm/uaccess.h:13: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/smap.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/smap.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/smap.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/smap.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/uaccess.h:14: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/extable.h:23:1: error: empty declaration [-Werror] struct exception_table_entry { ^ /kisskb/src/arch/x86/include/asm/extable.h:26:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/x86/include/asm/extable.h:38:12: error: storage class specified for parameter 'fixup_exception' extern int fixup_exception(struct pt_regs *regs, int trapnr, ^ /kisskb/src/arch/x86/include/asm/extable.h:40:12: error: storage class specified for parameter 'fixup_bug' extern int fixup_bug(struct pt_regs *regs, int trapnr); ^ /kisskb/src/arch/x86/include/asm/extable.h:41:12: error: storage class specified for parameter 'ex_get_fixup_type' extern int ex_get_fixup_type(unsigned long ip); ^ /kisskb/src/arch/x86/include/asm/extable.h:42:13: error: storage class specified for parameter 'early_fixup_exception' extern void early_fixup_exception(struct pt_regs *regs, int trapnr); ^ /kisskb/src/arch/x86/include/asm/extable.h:45:24: error: storage class specified for parameter 'ex_handler_msr_mce' extern void __noreturn ex_handler_msr_mce(struct pt_regs *regs, bool wrmsr); ^ 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/uaccess.h:17:20: error: storage class specified for parameter 'pagefault_disabled' static inline bool pagefault_disabled(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:17:20: error: parameter 'pagefault_disabled' declared 'inline' [-Werror] /kisskb/src/arch/x86/include/asm/uaccess.h:17:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline bool pagefault_disabled(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:17:20: error: 'no_instrument_function' attribute applies only to functions static inline bool pagefault_disabled(void); ^ In file included from /kisskb/src/arch/x86/include/asm/uaccess.h:47: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/uaccess.h:49:12: error: storage class specified for parameter '__get_user_1' extern int __get_user_1(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:50:12: error: storage class specified for parameter '__get_user_2' extern int __get_user_2(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:51:12: error: storage class specified for parameter '__get_user_4' extern int __get_user_4(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:52:12: error: storage class specified for parameter '__get_user_8' extern int __get_user_8(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:53:12: error: storage class specified for parameter '__get_user_nocheck_1' extern int __get_user_nocheck_1(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:54:12: error: storage class specified for parameter '__get_user_nocheck_2' extern int __get_user_nocheck_2(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:55:12: error: storage class specified for parameter '__get_user_nocheck_4' extern int __get_user_nocheck_4(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:56:12: error: storage class specified for parameter '__get_user_nocheck_8' extern int __get_user_nocheck_8(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:57:12: error: storage class specified for parameter '__get_user_bad' extern int __get_user_bad(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:171:13: error: storage class specified for parameter '__put_user_bad' extern void __put_user_bad(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:177:13: error: storage class specified for parameter '__put_user_1' extern void __put_user_1(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:178:13: error: storage class specified for parameter '__put_user_2' extern void __put_user_2(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:179:13: error: storage class specified for parameter '__put_user_4' extern void __put_user_4(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:180:13: error: storage class specified for parameter '__put_user_8' extern void __put_user_8(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:181:13: error: storage class specified for parameter '__put_user_nocheck_1' extern void __put_user_nocheck_1(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:182:13: error: storage class specified for parameter '__put_user_nocheck_2' extern void __put_user_nocheck_2(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:183:13: error: storage class specified for parameter '__put_user_nocheck_4' extern void __put_user_nocheck_4(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:184:13: error: storage class specified for parameter '__put_user_nocheck_8' extern void __put_user_nocheck_8(void); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:492:1: error: empty declaration [-Werror] struct __large_struct { unsigned long buf[100]; }; ^ /kisskb/src/arch/x86/include/asm/uaccess.h:508:1: error: storage class specified for parameter 'copy_from_user_nmi' copy_from_user_nmi(void *to, const void __user *from, unsigned long n); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:510:1: error: storage class specified for parameter 'strncpy_from_user' strncpy_from_user(char *dst, const char __user *src, long count); ^ /kisskb/src/arch/x86/include/asm/uaccess.h:512:26: error: storage class specified for parameter 'strnlen_user' extern __must_check long strnlen_user(const char __user *str, long n); ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:20:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ /kisskb/src/include/linux/compiler_attributes.h:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:22:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ /kisskb/src/include/linux/compiler_attributes.h:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:24:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ In file included from /kisskb/src/arch/x86/include/asm/uaccess.h:539: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/uaccess_64.h:29:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:61:13: error: storage class specified for parameter '__copy_user_nocache' extern long __copy_user_nocache(void *dst, const void __user *src, ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:64:13: error: storage class specified for parameter '__copy_user_flushcache' extern long __copy_user_flushcache(void *dst, const void __user *src, unsigned size); ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:65: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/x86/include/asm/uaccess_64.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:78: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:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:87:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ /kisskb/src/include/linux/compiler_attributes.h:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:89:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ /kisskb/src/include/linux/compiler_attributes.h:337:41: error: expected declaration specifiers before '__attribute__' #define __must_check __attribute__((__warn_unused_result__)) ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:91:1: note: in expansion of macro '__must_check' __must_check unsigned long ^ In file included from /kisskb/src/arch/x86/include/asm/uaccess.h:539: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/uaccess_64.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess_64.h:122: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/uaccess.h:549:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/uaccess.h:582:13: error: storage class specified for parameter '__try_cmpxchg_user_wrong_size' extern void __try_cmpxchg_user_wrong_size(void); ^ 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:79:13: error: storage class specified for parameter 'exit_thread' extern void exit_thread(struct task_struct *tsk); ^ /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:134:12: error: storage class specified for parameter 'arch_task_struct_size' extern int arch_task_struct_size __read_mostly; ^ /kisskb/src/include/linux/sched/task.h:134:12: error: section attribute not allowed for 'arch_task_struct_size' /kisskb/src/include/linux/sched/task.h:155: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:189:10: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/sysctl.h:189:23: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t *uid, kgid_t *gid); ^ /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:285:9: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t uid, kgid_t gid, ^ /kisskb/src/include/linux/key.h:285:21: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t uid, kgid_t gid, ^ /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:412:59: error: expected declaration specifiers or '...' before 'kuid_t' extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, ^ /kisskb/src/include/linux/key.h:412:71: error: expected declaration specifiers or '...' before 'kgid_t' extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid, ^ /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/sched/user.h:24:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; ^ /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:41:15: error: parameter names (without types) in function declaration [-Werror] 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:48:15: error: parameter names (without types) in function declaration [-Werror] 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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:28:2: error: expected specifier-qualifier-list before 'kgid_t' kgid_t gid[]; ^ /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:60:1: error: parameter names (without types) in function declaration [-Werror] 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:61:1: error: parameter names (without types) in function declaration [-Werror] extern int in_egroup_p(kgid_t); ^ /kisskb/src/include/linux/cred.h:62:53: error: expected declaration specifiers or '...' before 'kgid_t' 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:119:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; /* real UID of the task */ ^ /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; ^ /kisskb/src/include/linux/cred.h:393:30: error: redefinition of parameter 'init_user_ns' In file included from /kisskb/src/include/linux/ipc.h:6:0, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:10: /kisskb/src/include/linux/uidgid.h:19: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/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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:80:1: error: empty declaration [-Werror] struct core_state { ^ /kisskb/src/include/linux/sched/signal.h:143:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t it_real_incr; ^ /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:430:41: error: expected declaration specifiers or '...' before 'vm_fault_t' static inline bool fault_signal_pending(vm_fault_t fault_flags, ^ /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:81:52: error: expected declaration specifiers or '...' before 'kuid_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:96:52: error: expected declaration specifiers or '...' before 'kgid_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:211:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_kuid_fs' static inline kuid_t mapped_kuid_fs(struct user_namespace *mnt_userns, ^ /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:256:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_kgid_fs' static inline kgid_t mapped_kgid_fs(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:274:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_vfsuid' static inline kuid_t from_vfsuid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:310:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_kuid_user' static inline kuid_t mapped_kuid_user(struct user_namespace *mnt_userns, ^ /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:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfsuid_into_kuid' static inline kuid_t vfsuid_into_kuid(vfsuid_t vfsuid) ^ /kisskb/src/include/linux/mnt_idmapping.h:360:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'from_vfsgid' static inline kgid_t from_vfsgid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:396:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_kgid_user' static inline kgid_t mapped_kgid_user(struct user_namespace *mnt_userns, ^ /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:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfsgid_into_kgid' static inline kgid_t vfsgid_into_kgid(vfsgid_t vfsgid) ^ /kisskb/src/include/linux/mnt_idmapping.h:448:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_fsuid' static inline kuid_t mapped_fsuid(struct user_namespace *mnt_userns, ^ /kisskb/src/include/linux/mnt_idmapping.h:468:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mapped_fsgid' static inline kgid_t mapped_fsgid(struct user_namespace *mnt_userns, ^ In file included from /kisskb/src/include/linux/fs.h:48:0, from /kisskb/src/include/linux/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17: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/x86/kernel/asm-offsets.c:13: /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:241:3: error: expected specifier-qualifier-list before 'kuid_t' kuid_t ia_uid; ^ /kisskb/src/include/linux/fs.h:245:3: error: expected specifier-qualifier-list before 'kgid_t' kgid_t ia_gid; ^ /kisskb/src/include/linux/fs.h:249:20: error: field 'ia_atime' has incomplete type struct timespec64 ia_atime; ^ /kisskb/src/include/linux/fs.h:250:20: error: field 'ia_mtime' has incomplete type struct timespec64 ia_mtime; ^ /kisskb/src/include/linux/fs.h:251:20: error: field 'ia_ctime' has incomplete type struct timespec64 ia_ctime; ^ /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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:70:3: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; ^ /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:150:41: error: expected declaration specifiers or '...' before 'kuid_t' static inline struct kqid make_kqid_uid(kuid_t uid) ^ /kisskb/src/include/linux/quota.h:162:41: error: expected declaration specifiers or '...' before 'kgid_t' static inline struct kqid make_kqid_gid(kgid_t gid) ^ /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/cgroup.h:17: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/x86/kernel/asm-offsets.c:13: /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:596:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t i_uid; ^ /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:904:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid, euid; /* uid/euid of process setting the owner */ ^ /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: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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17: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/x86/kernel/asm-offsets.c:13: /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:1626:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i_uid_into_mnt' static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, ^ /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:1695:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i_gid_into_mnt' static inline kgid_t i_gid_into_mnt(struct user_namespace *mnt_userns, ^ /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/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/cgroup.h:17: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/x86/kernel/asm-offsets.c:13: /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/cgroup.h:17: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/x86/kernel/asm-offsets.c:13: /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/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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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:419:7: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t uid, kgid_t gid, ^ /kisskb/src/include/linux/kernfs.h:419:19: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t uid, kgid_t gid, ^ /kisskb/src/include/linux/kernfs.h:425:7: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t uid, kgid_t gid, ^ /kisskb/src/include/linux/kernfs.h:425:19: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t uid, kgid_t gid, ^ /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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:74:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t owner; ^ /kisskb/src/include/linux/user_namespace.h:68:1: error: empty declaration [-Werror] struct user_namespace { ^ /kisskb/src/include/linux/user_namespace.h:110:2: error: expected specifier-qualifier-list before 'kuid_t' kuid_t uid; ^ /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/cgroup.h:17, 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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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:121:55: error: expected declaration specifiers or '...' before 'kuid_t' struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); ^ /kisskb/src/include/linux/user_namespace.h:123:58: error: expected declaration specifiers or '...' before 'kuid_t' struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid); ^ /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/interrupt.h:9: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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/irqreturn.h:11:1: error: empty declaration [-Werror] enum irqreturn { ^ /kisskb/src/include/linux/irqreturn.h:17:24: error: storage class specified for parameter 'irqreturn_t' typedef enum irqreturn irqreturn_t; ^ In file included from /kisskb/src/include/linux/interrupt.h:20: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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/irq.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/irq.h:26:12: error: storage class specified for parameter 'irq_init_percpu_irqstack' extern int irq_init_percpu_irqstack(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/irq.h:28:1: error: empty declaration [-Werror] struct irq_desc; ^ /kisskb/src/arch/x86/include/asm/irq.h:30:13: error: storage class specified for parameter 'fixup_irqs' extern void fixup_irqs(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:33:13: error: storage class specified for parameter 'kvm_set_posted_intr_wakeup_handler' extern void kvm_set_posted_intr_wakeup_handler(void (*handler)(void)); ^ /kisskb/src/arch/x86/include/asm/irq.h:36:15: error: storage class specified for parameter 'x86_platform_ipi_callback' extern void (*x86_platform_ipi_callback)(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:37:13: error: storage class specified for parameter 'native_init_IRQ' extern void native_init_IRQ(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:39:13: error: storage class specified for parameter '__handle_irq' extern void __handle_irq(struct irq_desc *desc, struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/irq.h:41:13: error: storage class specified for parameter 'init_ISA_irqs' extern void init_ISA_irqs(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:43:20: error: storage class specified for parameter 'init_IRQ' extern void __init init_IRQ(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:43:20: error: section attribute not allowed for 'init_IRQ' /kisskb/src/arch/x86/include/asm/irq.h:43:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init init_IRQ(void); ^ /kisskb/src/arch/x86/include/asm/irq.h:43:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/arch/x86/include/asm/sections.h:7: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/x86/kernel/asm-offsets.c:13: /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:72:3: error: storage class specified for parameter 'func_desc_t' } func_desc_t; ^ /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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/sections.h:10:13: error: storage class specified for parameter '__brk_base' extern char __brk_base[], __brk_limit[]; ^ /kisskb/src/arch/x86/include/asm/sections.h:10:27: error: storage class specified for parameter '__brk_limit' extern char __brk_base[], __brk_limit[]; ^ /kisskb/src/arch/x86/include/asm/sections.h:11:13: error: storage class specified for parameter '__end_rodata_aligned' extern char __end_rodata_aligned[]; ^ /kisskb/src/arch/x86/include/asm/sections.h:14:13: error: storage class specified for parameter '__end_rodata_hpage_align' extern char __end_rodata_hpage_align[]; ^ /kisskb/src/arch/x86/include/asm/sections.h:17:13: error: storage class specified for parameter '__end_of_kernel_reserve' extern char __end_of_kernel_reserve[]; ^ /kisskb/src/arch/x86/include/asm/sections.h:19:22: error: storage class specified for parameter '_brk_start' extern unsigned long _brk_start, _brk_end; ^ /kisskb/src/arch/x86/include/asm/sections.h:19:34: error: storage class specified for parameter '_brk_end' extern unsigned long _brk_start, _brk_end; ^ /kisskb/src/arch/x86/include/asm/sections.h:22: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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/interrupt.h:95:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/interrupt.h:100:22: error: expected declaration specifiers or '...' before '*' token typedef irqreturn_t (*irq_handler_t)(int, void *); ^ /kisskb/src/include/linux/interrupt.h:119:2: error: unknown type name 'irq_handler_t' irq_handler_t handler; ^ /kisskb/src/include/linux/interrupt.h:123:2: error: unknown type name 'irq_handler_t' irq_handler_t thread_fn; ^ /kisskb/src/include/linux/interrupt.h:118:1: error: empty declaration [-Werror] struct irqaction { ^ /kisskb/src/include/linux/interrupt.h:134:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_action' extern irqreturn_t no_action(int cpl, void *dev_id); ^ /kisskb/src/include/linux/interrupt.h:147:40: error: unknown type name 'irq_handler_t' request_threaded_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:148:8: error: unknown type name 'irq_handler_t' irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:165:31: error: unknown type name 'irq_handler_t' request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, ^ /kisskb/src/include/linux/interrupt.h:172:43: error: unknown type name 'irq_handler_t' request_any_context_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:176:40: error: unknown type name 'irq_handler_t' __request_percpu_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:181:31: error: unknown type name 'irq_handler_t' request_nmi(unsigned int irq, irq_handler_t handler, unsigned long flags, ^ /kisskb/src/include/linux/interrupt.h:185:38: error: unknown type name 'irq_handler_t' request_percpu_irq(unsigned int irq, irq_handler_t handler, ^ /kisskb/src/include/linux/interrupt.h:193:38: error: unknown type name '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: unknown type name 'irq_handler_t' irq_handler_t handler, irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:206:29: error: unknown type name 'irq_handler_t' irq_handler_t handler, irq_handler_t thread_fn, ^ /kisskb/src/include/linux/interrupt.h:211:56: error: unknown type name '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: unknown type name '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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:13: /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:797:22: error: storage class specified for parameter 'probe_irq_on' extern unsigned long probe_irq_on(void); /* returns 0 on failure */ ^ /kisskb/src/include/linux/interrupt.h:798:12: error: storage class specified for parameter 'probe_irq_off' extern int probe_irq_off(unsigned long); /* returns 0 or negative on failure */ ^ /kisskb/src/include/linux/interrupt.h:799:21: error: storage class specified for parameter 'probe_irq_mask' extern unsigned int probe_irq_mask(unsigned long); /* returns mask of ISA interrupts */ ^ /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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/local.h:12:3: error: storage class specified for parameter 'local_t' } local_t; ^ /kisskb/src/arch/x86/include/asm/local.h:19:30: error: expected declaration specifiers or '...' before 'local_t' static inline void local_inc(local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:25:30: error: expected declaration specifiers or '...' before 'local_t' static inline void local_dec(local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:31:38: error: expected declaration specifiers or '...' before 'local_t' static inline void local_add(long i, local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:38:38: error: expected declaration specifiers or '...' before 'local_t' static inline void local_sub(long i, local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:54:47: error: expected declaration specifiers or '...' before 'local_t' static inline bool local_sub_and_test(long i, local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:67:39: error: expected declaration specifiers or '...' before 'local_t' static inline bool local_dec_and_test(local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:80:39: error: expected declaration specifiers or '...' before 'local_t' static inline bool local_inc_and_test(local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:94:47: error: expected declaration specifiers or '...' before 'local_t' static inline bool local_add_negative(long i, local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:106:45: error: expected declaration specifiers or '...' before 'local_t' static inline long local_add_return(long i, local_t *l) ^ /kisskb/src/arch/x86/include/asm/local.h:115:45: error: expected declaration specifiers or '...' before 'local_t' static inline long local_sub_return(long i, local_t *l) ^ In file included from ./arch/x86/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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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:14:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/memcontrol.h:17:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/arch/x86/include/asm/msr.h:58:0, from /kisskb/src/arch/x86/include/asm/processor.h:22, from /kisskb/src/arch/x86/include/asm/cpufeature.h:5, from /kisskb/src/arch/x86/include/asm/thread_info.h:53, from /kisskb/src/include/linux/thread_info.h:60, from /kisskb/src/arch/x86/include/asm/preempt.h:7, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/page_ext.h:7:0, from /kisskb/src/include/linux/mm.h:22, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/arch/x86/include/asm/msr.h:58:0, from /kisskb/src/arch/x86/include/asm/processor.h:22, from /kisskb/src/arch/x86/include/asm/cpufeature.h:5, from /kisskb/src/arch/x86/include/asm/thread_info.h:53, from /kisskb/src/include/linux/thread_info.h:60, from /kisskb/src/arch/x86/include/asm/preempt.h:7, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/arch/x86/include/asm/pgtable.h:21:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/pkru.h:12:12: error: storage class specified for parameter 'init_pkru_value' extern u32 init_pkru_value; ^ /kisskb/src/arch/x86/include/asm/pkru.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pkru.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pkru.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pkru.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pkru.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable.h:22:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/fpu/api.h:29:13: error: storage class specified for parameter 'kernel_fpu_begin_mask' extern void kernel_fpu_begin_mask(unsigned int kfpu_mask); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:30:13: error: storage class specified for parameter 'kernel_fpu_end' extern void kernel_fpu_end(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:31:13: error: storage class specified for parameter 'irq_fpu_usable' extern bool irq_fpu_usable(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:32:13: error: storage class specified for parameter 'fpregs_mark_activate' extern void fpregs_mark_activate(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:86:13: error: storage class specified for parameter 'fpregs_assert_state_consistent' extern void fpregs_assert_state_consistent(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:94:13: error: storage class specified for parameter 'switch_fpu_return' extern void switch_fpu_return(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:103:12: error: storage class specified for parameter 'cpu_has_xfeatures' extern int cpu_has_xfeatures(u64 xfeatures_mask, const char **feature_name); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:106:13: error: storage class specified for parameter 'fpu__exception_code' extern int fpu__exception_code(struct fpu *fpu, int trap_nr); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:107:13: error: storage class specified for parameter 'fpu_sync_fpstate' extern void fpu_sync_fpstate(struct fpu *fpu); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:108:13: error: storage class specified for parameter 'fpu_reset_from_exception_fixup' extern void fpu_reset_from_exception_fixup(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:111:13: error: storage class specified for parameter 'fpu__init_cpu' extern void fpu__init_cpu(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:112:13: error: storage class specified for parameter 'fpu__init_system' extern void fpu__init_system(struct cpuinfo_x86 *c); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:113:13: error: storage class specified for parameter 'fpu__init_check_bugs' extern void fpu__init_check_bugs(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:114:13: error: storage class specified for parameter 'fpu__resume_cpu' extern void fpu__resume_cpu(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:119:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void fpstate_init_soft(struct swregs_state *soft) {} ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_fpu_fpregs_owner_ctx' 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/x86/include/asm/fpu/api.h:123:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_fpu_fpregs_owner_ctx' 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/x86/include/asm/fpu/api.h:123:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:123:31: error: storage class specified for parameter 'fpu_fpregs_owner_ctx' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ /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/x86/include/asm/fpu/api.h:123:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:123:31: error: section attribute not allowed for 'fpu_fpregs_owner_ctx' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ /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/x86/include/asm/fpu/api.h:123:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct fpu *, fpu_fpregs_owner_ctx); ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable.h:22:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/fpu/api.h:127:13: error: storage class specified for parameter 'fpstate_free' extern void fpstate_free(struct fpu *fpu); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:133:13: error: storage class specified for parameter 'fpstate_clear_xstate_component' extern void fpstate_clear_xstate_component(struct fpstate *fps, unsigned int xfeature); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:135:12: error: storage class specified for parameter 'xstate_get_guest_group_perm' extern u64 xstate_get_guest_group_perm(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:138:13: error: storage class specified for parameter 'fpu_alloc_guest_fpstate' extern bool fpu_alloc_guest_fpstate(struct fpu_guest *gfpu); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:139:13: error: storage class specified for parameter 'fpu_free_guest_fpstate' extern void fpu_free_guest_fpstate(struct fpu_guest *gfpu); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:140:12: error: storage class specified for parameter 'fpu_swap_kvm_fpstate' extern int fpu_swap_kvm_fpstate(struct fpu_guest *gfpu, bool enter_guest); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:141:12: error: storage class specified for parameter 'fpu_enable_guest_xfd_features' extern int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:144:13: error: storage class specified for parameter 'fpu_update_guest_xfd' extern void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:145:13: error: storage class specified for parameter 'fpu_sync_guest_vmexit_xfd_state' extern void fpu_sync_guest_vmexit_xfd_state(void); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:151:13: error: storage class specified for parameter 'fpu_copy_guest_fpstate_to_uabi' extern void fpu_copy_guest_fpstate_to_uabi(struct fpu_guest *gfpu, void *buf, unsigned int size, u32 pkru); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:152:12: error: storage class specified for parameter 'fpu_copy_uabi_to_guest_fpstate' extern int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, u64 xcr0, u32 *vpkru); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:165:13: error: storage class specified for parameter 'fpu_xstate_prctl' extern long fpu_xstate_prctl(int option, unsigned long arg2); ^ /kisskb/src/arch/x86/include/asm/fpu/api.h:167:13: error: storage class specified for parameter 'fpu_idle_fpregs' extern void fpu_idle_fpregs(void); ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable.h:23:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/coco.h:7:1: error: empty declaration [-Werror] enum cc_vendor { ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable.h:25:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/page_table_check.h:13:31: error: storage class specified for parameter 'page_table_check_disabled' extern struct static_key_true page_table_check_disabled; ^ /kisskb/src/include/linux/page_table_check.h:14:35: error: storage class specified for parameter 'page_table_check_ops' extern struct page_ext_operations page_table_check_ops; ^ /kisskb/src/include/linux/page_table_check.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:6:0, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/pgtable.h:27:14: error: storage class specified for parameter 'early_top_pgt' extern pgd_t early_top_pgt[PTRS_PER_PGD]; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:28:13: error: section attribute not allowed for '__early_make_pgtable' bool __init __early_make_pgtable(unsigned long address, pmdval_t pmd); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:28:1: error: '__cold__' attribute ignored [-Werror=attributes] bool __init __early_make_pgtable(unsigned long address, pmdval_t pmd); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:28:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/pgtable.h:54:22: error: storage class specified for parameter 'empty_zero_page' extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)] ^ /kisskb/src/arch/x86/include/asm/pgtable.h:55:2: error: '__externally_visible__' attribute ignored [-Werror=attributes] __visible; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:58:19: error: storage class specified for parameter 'pgd_lock' extern spinlock_t pgd_lock; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:59:25: error: storage class specified for parameter 'pgd_list' extern struct list_head pgd_list; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:61:26: error: storage class specified for parameter 'pgd_page_get_mm' extern struct mm_struct *pgd_page_get_mm(struct page *page); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:63:17: error: storage class specified for parameter 'early_pmd_flags' extern pmdval_t early_pmd_flags; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:184:19: error: storage class specified for parameter 'protnone_mask' static inline u64 protnone_mask(u64 val); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:184:19: error: parameter 'protnone_mask' declared 'inline' [-Werror] /kisskb/src/arch/x86/include/asm/pgtable.h:184:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline u64 protnone_mask(u64 val); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:184:19: error: 'no_instrument_function' attribute applies only to functions static inline u64 protnone_mask(u64 val); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:260:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:298:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:309:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:314:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:319:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:389:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:394:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:405:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:420:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:435:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:440:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:445:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:452:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:459:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:479:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:484:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:489:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:494:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:500:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:510:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:520:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:525:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:561:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:578:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:594:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:602:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:607:19: error: storage class specified for parameter 'flip_protnone_guard' static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:607:19: error: parameter 'flip_protnone_guard' declared 'inline' [-Werror] /kisskb/src/arch/x86/include/asm/pgtable.h:607:1: error: '__gnu_inline__' attribute ignored [-Werror=attributes] static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:607:19: error: 'no_instrument_function' attribute applies only to functions static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:610:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:624:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:639:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:655:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:696:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/fixmap.h:42:0, from /kisskb/src/arch/x86/include/asm/pgtable_64.h:17, from /kisskb/src/arch/x86/include/asm/pgtable.h:714, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/uapi/asm/vsyscall.h:5:1: error: empty declaration [-Werror] enum vsyscall_num { ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable_64.h:17:0, from /kisskb/src/arch/x86/include/asm/pgtable.h:714, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/fixmap.h:81:1: error: empty declaration [-Werror] enum fixed_addresses { ^ /kisskb/src/arch/x86/include/asm/fixmap.h:148:13: error: storage class specified for parameter 'reserve_top_address' extern void reserve_top_address(unsigned long reserve); ^ /kisskb/src/arch/x86/include/asm/fixmap.h:155:12: error: storage class specified for parameter 'fixmaps_set' extern int fixmaps_set; ^ /kisskb/src/arch/x86/include/asm/fixmap.h:157:15: error: storage class specified for parameter 'pkmap_page_table' extern pte_t *pkmap_page_table; ^ /kisskb/src/arch/x86/include/asm/fixmap.h:182:14: error: section attribute not allowed for 'early_memremap_encrypted' void __init *early_memremap_encrypted(resource_size_t phys_addr, ^ /kisskb/src/arch/x86/include/asm/fixmap.h:183:11: error: '__cold__' attribute ignored [-Werror=attributes] unsigned long size); ^ /kisskb/src/arch/x86/include/asm/fixmap.h:183:11: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/fixmap.h:184:14: error: section attribute not allowed for 'early_memremap_encrypted_wp' void __init *early_memremap_encrypted_wp(resource_size_t phys_addr, ^ /kisskb/src/arch/x86/include/asm/fixmap.h:185:7: error: '__cold__' attribute ignored [-Werror=attributes] unsigned long size); ^ /kisskb/src/arch/x86/include/asm/fixmap.h:185:7: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/fixmap.h:186:14: error: section attribute not allowed for 'early_memremap_decrypted' void __init *early_memremap_decrypted(resource_size_t phys_addr, ^ /kisskb/src/arch/x86/include/asm/fixmap.h:187:11: error: '__cold__' attribute ignored [-Werror=attributes] unsigned long size); ^ /kisskb/src/arch/x86/include/asm/fixmap.h:187:11: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/fixmap.h:188:14: error: section attribute not allowed for 'early_memremap_decrypted_wp' void __init *early_memremap_decrypted_wp(resource_size_t phys_addr, ^ /kisskb/src/arch/x86/include/asm/fixmap.h:189:7: error: '__cold__' attribute ignored [-Werror=attributes] unsigned long size); ^ /kisskb/src/arch/x86/include/asm/fixmap.h:189:7: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/arch/x86/include/asm/fixmap.h:191:0, from /kisskb/src/arch/x86/include/asm/pgtable_64.h:17, from /kisskb/src/arch/x86/include/asm/pgtable.h:714, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/asm-generic/fixmap.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/fixmap.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable.h:714:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/pgtable_64.h:19:14: error: storage class specified for parameter 'level4_kernel_pgt' extern p4d_t level4_kernel_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:20:14: error: storage class specified for parameter 'level4_ident_pgt' extern p4d_t level4_ident_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:21:14: error: storage class specified for parameter 'level3_kernel_pgt' extern pud_t level3_kernel_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:22:14: error: storage class specified for parameter 'level3_ident_pgt' extern pud_t level3_ident_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:23:14: error: storage class specified for parameter 'level2_kernel_pgt' extern pmd_t level2_kernel_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:24:14: error: storage class specified for parameter 'level2_fixmap_pgt' extern pmd_t level2_fixmap_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:25:14: error: storage class specified for parameter 'level2_ident_pgt' extern pmd_t level2_ident_pgt[512]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:26:14: error: storage class specified for parameter 'level1_fixmap_pgt' extern pte_t level1_fixmap_pgt[512 * FIXMAP_PMD_NUM]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:27:14: error: storage class specified for parameter 'init_top_pgt' extern pgd_t init_top_pgt[]; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:31:13: error: storage class specified for parameter 'paging_init' extern void paging_init(void); ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:32:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void sync_initial_page_table(void) { } ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:54:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:243:12: error: storage class specified for parameter 'kern_addr_valid' extern int kern_addr_valid(unsigned long addr); ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:244:13: error: storage class specified for parameter 'cleanup_highmap' extern void cleanup_highmap(void); ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:260:13: error: storage class specified for parameter 'init_extra_mapping_uc' extern void init_extra_mapping_uc(unsigned long phys, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:261:13: error: storage class specified for parameter 'init_extra_mapping_wb' extern void init_extra_mapping_wb(unsigned long phys, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/pgtable_64.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/pgtable_64.h:271:0, from /kisskb/src/arch/x86/include/asm/pgtable.h:714, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/pgtable-invert.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable-invert.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable-invert.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:6:0, from /kisskb/src/include/linux/mm.h:29, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/pgtable.h:724:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:741:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:748:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:760:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:782:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:789:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:797:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:817:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:823:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:829:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:834:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:839:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:851:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:857:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:870:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:875:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:891:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:902:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:908:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:915:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:927:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:934:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:947:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:967:12: error: storage class specified for parameter 'direct_gbpages' extern int direct_gbpages; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:970:13: error: storage class specified for parameter 'memblock_find_dma_reserve' extern void memblock_find_dma_reserve(void); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:971:13: error: section attribute not allowed for 'poking_init' void __init poking_init(void); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:971:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init poking_init(void); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:971:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/pgtable.h:976:14: error: storage class specified for parameter 'trampoline_pgd_entry' extern pgd_t trampoline_pgd_entry; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:981:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:990:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:998:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1007:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1014:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1021:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1033:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1036:12: error: storage class specified for parameter 'ptep_set_access_flags' extern int ptep_set_access_flags(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1041:12: error: storage class specified for parameter 'ptep_test_and_clear_young' extern int ptep_test_and_clear_young(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1045:12: error: storage class specified for parameter 'ptep_clear_flush_young' extern int ptep_clear_flush_young(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1051:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1061:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1079:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1088:12: error: storage class specified for parameter 'pmdp_set_access_flags' extern int pmdp_set_access_flags(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1091:12: error: storage class specified for parameter 'pudp_set_access_flags' extern int pudp_set_access_flags(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1096:12: error: storage class specified for parameter 'pmdp_test_and_clear_young' extern int pmdp_test_and_clear_young(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1098:12: error: storage class specified for parameter 'pudp_test_and_clear_young' extern int pudp_test_and_clear_young(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1102:12: error: storage class specified for parameter 'pmdp_clear_flush_young' extern int pmdp_clear_flush_young(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1164:14: error: storage class specified for parameter 'pmdp_invalidate_ad' extern pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma, ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1182:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int pgd_large(pgd_t pgd) { return 0; } ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1257:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1261:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1275:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1283:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1288:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1298:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1310:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1315:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1370:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1380:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1428:13: error: storage class specified for parameter 'pfn_modify_allowed' extern bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot); ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1431:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1443:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pgtable.h:1453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm.h:29:0, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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: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:390: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:532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:548:14: error: storage class specified for parameter 'pmdp_collapse_flush' extern pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:563:13: error: storage class specified for parameter 'pgtable_trans_huge_deposit' extern void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, ^ /kisskb/src/include/linux/pgtable.h:568:18: error: storage class specified for parameter 'pgtable_trans_huge_withdraw' extern pgtable_t pgtable_trans_huge_withdraw(struct mm_struct *mm, pmd_t *pmdp); ^ /kisskb/src/include/linux/pgtable.h:579:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:587:14: error: storage class specified for parameter 'pmdp_invalidate' extern pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, ^ /kisskb/src/include/linux/pgtable.h:626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:658:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:663: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:779:38: error: expected declaration specifiers or '...' before 'swp_entry_t' static inline void arch_swap_restore(swp_entry_t entry, struct folio *folio) ^ /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:1205:12: error: storage class specified for parameter 'track_pfn_remap' extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, ^ /kisskb/src/include/linux/pgtable.h:1208:13: error: storage class specified for parameter 'track_pfn_insert' extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, ^ /kisskb/src/include/linux/pgtable.h:1210:12: error: storage class specified for parameter 'track_pfn_copy' extern int track_pfn_copy(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/pgtable.h:1211:13: error: storage class specified for parameter 'untrack_pfn' extern void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn, ^ /kisskb/src/include/linux/pgtable.h:1213:13: error: storage class specified for parameter 'untrack_pfn_moved' extern void untrack_pfn_moved(struct vm_area_struct *vma); ^ /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: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:1534:1: error: empty declaration [-Werror] struct file; ^ /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:1595:22: error: storage class specified for parameter 'pgtbl_mod_mask' typedef unsigned int pgtbl_mod_mask; ^ 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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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:89:2: error: expected specifier-qualifier-list before 'vm_fault_t' vm_fault_t (*migrate_to_ram)(struct vm_fault *vmf); ^ /kisskb/src/include/linux/memremap.h:77:1: error: empty declaration [-Werror] struct dev_pagemap_ops { ^ /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:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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:556:2: error: expected specifier-qualifier-list before 'vm_fault_t' vm_fault_t (*fault)(struct vm_fault *vmf); ^ /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/huge_mm.h:10:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t do_huge_pmd_anonymous_page(struct vm_fault *vmf); ^ /kisskb/src/include/linux/huge_mm.h:27:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t do_huge_pmd_wp_page(struct vm_fault *vmf); ^ /kisskb/src/include/linux/huge_mm.h:42:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_pfn_pmd_prot(struct vm_fault *vmf, pfn_t pfn, ^ /kisskb/src/include/linux/huge_mm.h:56:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmf_insert_pfn_pmd' static inline vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, ^ /kisskb/src/include/linux/huge_mm.h:61:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_pfn_pud_prot(struct vm_fault *vmf, pfn_t pfn, ^ /kisskb/src/include/linux/huge_mm.h:75:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmf_insert_pfn_pud' static inline vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, ^ /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:266:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf); ^ /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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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 { ^ /kisskb/src/include/linux/mm.h:1018:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page); ^ /kisskb/src/include/linux/mm.h:1021:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t finish_fault(struct vm_fault *vmf); ^ /kisskb/src/include/linux/mm.h:1022:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf); ^ 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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:1253:35: error: expected declaration specifiers or '...' before 'vm_flags_t' static inline bool is_cow_mapping(vm_flags_t flags) ^ /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/mm.h:1748:0, from /kisskb/src/include/linux/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/memcontrol.h:20, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /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: expected '=', ',', ';', 'asm' or '__attribute__' before '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:1972:1: error: empty declaration [-Werror] struct kvec; ^ /kisskb/src/include/linux/mm.h:1983: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:2008:22: error: storage class specified for parameter 'change_protection' extern unsigned long change_protection(struct mmu_gather *tlb, ^ /kisskb/src/include/linux/mm.h:2012: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:2026:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2050:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2057:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2064:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2072:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2079:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2086:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2098:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2159: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:2163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2236:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2280:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2294:13: error: section attribute not allowed for 'ptlock_cache_init' void __init ptlock_cache_init(void); ^ /kisskb/src/include/linux/mm.h:2294:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init ptlock_cache_init(void); ^ /kisskb/src/include/linux/mm.h:2294:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2295:13: error: storage class specified for parameter 'ptlock_alloc' extern bool ptlock_alloc(struct page *page); ^ /kisskb/src/include/linux/mm.h:2296:13: error: storage class specified for parameter 'ptlock_free' extern void ptlock_free(struct page *page); ^ /kisskb/src/include/linux/mm.h:2299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2372:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2419:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2485:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2492:20: error: storage class specified for parameter 'pagecache_init' extern void __init pagecache_init(void); ^ /kisskb/src/include/linux/mm.h:2492:20: error: section attribute not allowed for 'pagecache_init' /kisskb/src/include/linux/mm.h:2492:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init pagecache_init(void); ^ /kisskb/src/include/linux/mm.h:2492:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2493:13: error: storage class specified for parameter 'free_initmem' extern void free_initmem(void); ^ /kisskb/src/include/linux/mm.h:2501: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:2504: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:2505:13: error: storage class specified for parameter 'mem_init_print_info' extern void mem_init_print_info(void); ^ /kisskb/src/include/linux/mm.h:2507: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:2511:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2520:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2570: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:2572: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:2582: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:2582:22: error: section attribute not allowed for 'early_pfn_to_nid' /kisskb/src/include/linux/mm.h:2582:1: error: '__cold__' attribute ignored [-Werror=attributes] extern int __meminit early_pfn_to_nid(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:2582: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:2582: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:2585: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:2586: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:2589:13: error: storage class specified for parameter 'setup_per_zone_wmarks' extern void setup_per_zone_wmarks(void); ^ /kisskb/src/include/linux/mm.h:2590:13: error: storage class specified for parameter 'calculate_min_free_kbytes' extern void calculate_min_free_kbytes(void); ^ /kisskb/src/include/linux/mm.h:2591: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:2591:22: error: section attribute not allowed for 'init_per_zone_wmark_min' /kisskb/src/include/linux/mm.h:2591:1: error: '__cold__' attribute ignored [-Werror=attributes] extern int __meminit init_per_zone_wmark_min(void); ^ /kisskb/src/include/linux/mm.h:2591: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:2591: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:2592:13: error: storage class specified for parameter 'mem_init' extern void mem_init(void); ^ /kisskb/src/include/linux/mm.h:2593:20: error: storage class specified for parameter 'mmap_init' extern void __init mmap_init(void); ^ /kisskb/src/include/linux/mm.h:2593:20: error: section attribute not allowed for 'mmap_init' /kisskb/src/include/linux/mm.h:2593:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init mmap_init(void); ^ /kisskb/src/include/linux/mm.h:2593:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:2595: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:2596: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:2600:13: error: storage class specified for parameter 'si_mem_available' extern long si_mem_available(void); ^ /kisskb/src/include/linux/mm.h:2601:13: error: storage class specified for parameter 'si_meminfo' extern void si_meminfo(struct sysinfo * val); ^ /kisskb/src/include/linux/mm.h:2602: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:2608: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:2610:13: error: storage class specified for parameter 'setup_per_cpu_pageset' extern void setup_per_cpu_pageset(void); ^ /kisskb/src/include/linux/mm.h:2613:12: error: storage class specified for parameter 'min_free_kbytes' extern int min_free_kbytes; ^ /kisskb/src/include/linux/mm.h:2614:12: error: storage class specified for parameter 'watermark_boost_factor' extern int watermark_boost_factor; ^ /kisskb/src/include/linux/mm.h:2615:12: error: storage class specified for parameter 'watermark_scale_factor' extern int watermark_scale_factor; ^ /kisskb/src/include/linux/mm.h:2616: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:2619:22: error: storage class specified for parameter 'mmap_pages_allocated' extern atomic_long_t mmap_pages_allocated; ^ /kisskb/src/include/linux/mm.h:2620: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:2657: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:2658: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:2663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2666: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:2670: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:2671: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:2673: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:2675: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:2676: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:2677: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:2680:13: error: storage class specified for parameter 'exit_mmap' extern void exit_mmap(struct mm_struct *); ^ /kisskb/src/include/linux/mm.h:2690:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2699: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:2700: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:2702: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:2703: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:2704: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:2705: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:2707:47: error: expected declaration specifiers or '...' before 'vm_flags_t' extern bool may_expand_vm(struct mm_struct *, vm_flags_t, unsigned long npages); ^ /kisskb/src/include/linux/mm.h:2708:49: error: expected declaration specifiers or '...' before 'vm_flags_t' extern void vm_stat_account(struct mm_struct *, vm_flags_t, long npages); ^ /kisskb/src/include/linux/mm.h:2710: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:2712: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:2717: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:2724: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:2727:21: error: expected declaration specifiers or '...' before 'vm_flags_t' unsigned long len, vm_flags_t vm_flags, unsigned long pgoff, ^ /kisskb/src/include/linux/mm.h:2729: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:2732: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:2735: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:2737: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:2740: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:2743:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2752: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:2753: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:2754:12: error: storage class specified for parameter 'vm_munmap' extern int vm_munmap(unsigned long, size_t); ^ /kisskb/src/include/linux/mm.h:2755: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:2759:1: error: empty declaration [-Werror] struct vm_unmapped_area_info { ^ /kisskb/src/include/linux/mm.h:2769: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:2772: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:2773: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:2775: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:2778:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filemap_fault' extern vm_fault_t filemap_fault(struct vm_fault *vmf); ^ /kisskb/src/include/linux/mm.h:2779:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filemap_map_pages' extern vm_fault_t filemap_map_pages(struct vm_fault *vmf, ^ /kisskb/src/include/linux/mm.h:2781:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filemap_page_mkwrite' extern vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf); ^ /kisskb/src/include/linux/mm.h:2783:22: error: storage class specified for parameter 'stack_guard_gap' extern unsigned long stack_guard_gap; ^ /kisskb/src/include/linux/mm.h:2785: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:2788:12: error: storage class specified for parameter 'expand_downwards' extern int expand_downwards(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2797: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:2798: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:2817:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2822:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2834:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2846:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2853:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2864:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2901:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2903:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2905:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2907:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_mixed_prot(struct vm_area_struct *vma, unsigned long addr, ^ /kisskb/src/include/linux/mm.h:2909:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2913:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmf_insert_page' static inline vm_fault_t vmf_insert_page(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/mm.h:2930:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2935:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmf_error' static inline vm_fault_t vmf_error(int err) ^ /kisskb/src/include/linux/mm.h:3019:37: error: expected declaration specifiers or '...' before 'vm_fault_t' static inline int vm_fault_to_errno(vm_fault_t vm_fault, int foll_flags) ^ /kisskb/src/include/linux/mm.h:3048:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3079:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3089: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:3091: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:3094:8: error: expected declaration specifiers or '...' before 'pte_fn_t' pte_fn_t fn, void *data); ^ /kisskb/src/include/linux/mm.h:3096: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:3096:20: error: section attribute not allowed for 'init_mem_debugging_and_hardening' /kisskb/src/include/linux/mm.h:3096:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init init_mem_debugging_and_hardening(void); ^ /kisskb/src/include/linux/mm.h:3096:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:3098: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:3099: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:3100: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm.h:3101: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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/mm.h:3103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3120: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm.h:3132: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:3132: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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/mm.h:3134: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm.h:3141: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:3141: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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/mm.h:3143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3148: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm.h:3149: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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/mm.h:3152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3174:13: error: storage class specified for parameter '__kernel_map_pages' extern void __kernel_map_pages(struct page *page, int numpages, int enable); ^ /kisskb/src/include/linux/mm.h:3177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3193:31: error: storage class specified for parameter 'get_gate_vma' extern struct vm_area_struct *get_gate_vma(struct mm_struct *mm); ^ /kisskb/src/include/linux/mm.h:3194:12: error: storage class specified for parameter 'in_gate_area_no_mm' extern int in_gate_area_no_mm(unsigned long addr); ^ /kisskb/src/include/linux/mm.h:3195:12: error: storage class specified for parameter 'in_gate_area' extern int in_gate_area(struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/mm.h:3208: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:3211:12: error: storage class specified for parameter 'sysctl_drop_caches' extern int sysctl_drop_caches; ^ /kisskb/src/include/linux/mm.h:3221:12: error: storage class specified for parameter 'randomize_va_space' extern int randomize_va_space; ^ /kisskb/src/include/linux/mm.h:3244:1: error: empty declaration [-Werror] struct vmem_altmap; ^ /kisskb/src/include/linux/mm.h:3260:1: error: empty declaration [-Werror] enum mf_flags { ^ /kisskb/src/include/linux/mm.h:3271:12: error: storage class specified for parameter 'memory_failure' extern int memory_failure(unsigned long pfn, int flags); ^ /kisskb/src/include/linux/mm.h:3272: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:3273: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:3274:12: error: storage class specified for parameter 'unpoison_memory' extern int unpoison_memory(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:3275: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:3276:12: error: storage class specified for parameter 'sysctl_memory_failure_recovery' extern int sysctl_memory_failure_recovery; ^ /kisskb/src/include/linux/mm.h:3277:13: error: storage class specified for parameter 'shake_page' extern void shake_page(struct page *p); ^ /kisskb/src/include/linux/mm.h:3278: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:3278:22: error: section attribute not allowed for 'num_poisoned_pages' /kisskb/src/include/linux/mm.h:3279: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:3281: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:3282:13: error: storage class specified for parameter 'num_poisoned_pages_inc' extern void num_poisoned_pages_inc(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:3283:13: error: storage class specified for parameter 'memblk_nr_poison_inc' extern void memblk_nr_poison_inc(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:3284:13: error: storage class specified for parameter 'memblk_nr_poison_sub' extern void memblk_nr_poison_sub(unsigned long pfn, long i); ^ /kisskb/src/include/linux/mm.h:3285:13: error: storage class specified for parameter 'clear_hwpoisoned_pages' extern void clear_hwpoisoned_pages(long nr_poison); ^ /kisskb/src/include/linux/mm.h:3300:22: error: storage class specified for parameter 'memblk_nr_poison' extern unsigned long memblk_nr_poison(unsigned long pfn); ^ /kisskb/src/include/linux/mm.h:3319:1: error: empty declaration [-Werror] enum mf_result { ^ /kisskb/src/include/linux/mm.h:3326:1: error: empty declaration [-Werror] enum mf_action_page_type { ^ /kisskb/src/include/linux/mm.h:3350:13: error: storage class specified for parameter 'clear_huge_page' extern void clear_huge_page(struct page *page, ^ /kisskb/src/include/linux/mm.h:3353: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:3357: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:3373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3381:21: error: storage class specified for parameter '_debug_guardpage_minorder' extern unsigned int _debug_guardpage_minorder; ^ 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/mm.h:3382:26: error: storage class specified for parameter '_debug_guardpage_enabled' DECLARE_STATIC_KEY_FALSE(_debug_guardpage_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/memcontrol.h:20:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/mm.h:3385:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3408:13: error: section attribute not allowed for 'setup_nr_node_ids' void __init setup_nr_node_ids(void); ^ /kisskb/src/include/linux/mm.h:3408:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init setup_nr_node_ids(void); ^ /kisskb/src/include/linux/mm.h:3408:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/mm.h:3413: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:3416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3432:12: error: storage class specified for parameter 'sysctl_nr_trim_pages' extern int sysctl_nr_trim_pages; ^ /kisskb/src/include/linux/mm.h:3449:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/arch/x86/include/asm/cacheflush.h:8: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/x86/kernel/asm-offsets.c:13: /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:52: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:72: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:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:97: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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/cacheflush.h:7:1: error: empty declaration [-Werror] struct folio; ^ /kisskb/src/include/linux/cacheflush.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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: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/x86/kernel/asm-offsets.c:13: /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/device.h:15:0, from /kisskb/src/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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 { ^ /kisskb/src/include/linux/sysfs.h:345:69: error: expected declaration specifiers or '...' before 'kuid_t' int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, ^ /kisskb/src/include/linux/sysfs.h:346:8: error: expected declaration specifiers or '...' before 'kgid_t' kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:347:46: error: expected declaration specifiers or '...' before 'kuid_t' int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:347:59: error: expected declaration specifiers or '...' before 'kgid_t' int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:349:26: error: expected declaration specifiers or '...' before 'kuid_t' const char *name, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:349:39: error: expected declaration specifiers or '...' before 'kgid_t' const char *name, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:352:10: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:352:23: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/sysfs.h:354:47: error: expected declaration specifiers or '...' before 'kuid_t' const struct attribute_group *groups, kuid_t kuid, ^ /kisskb/src/include/linux/sysfs.h:355:9: error: expected declaration specifiers or '...' before 'kgid_t' kgid_t kgid); ^ 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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:117:7: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/kobject.h:117:20: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t *uid, kgid_t *gid); ^ /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:126:46: error: expected declaration specifiers or '...' before 'kuid_t' void (*get_ownership)(struct kobject *kobj, kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/kobject.h:126:59: error: expected declaration specifiers or '...' before 'kgid_t' void (*get_ownership)(struct kobject *kobj, kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/kobject.h:127:1: error: no semicolon at end of struct or union [-Werror] }; ^ /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/topology.h:54: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:232:1: error: empty declaration [-Werror] struct acpi_device; ^ /kisskb/src/include/linux/device/bus.h:242: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:73:44: error: expected declaration specifiers or '...' before 'kuid_t' void (*get_ownership)(struct device *dev, kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/device/class.h:73:57: error: expected declaration specifiers or '...' before 'kgid_t' void (*get_ownership)(struct device *dev, kuid_t *uid, kgid_t *gid); ^ /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:171:1: error: empty declaration [-Werror] struct acpi_device; ^ /kisskb/src/include/linux/device/class.h:180: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/user.h:8:0, from /kisskb/src/arch/x86/include/asm/elf.h:11, 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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/user_64.h:51:1: error: empty declaration [-Werror] struct user_i387_struct { ^ /kisskb/src/arch/x86/include/asm/user_64.h:69:1: error: empty declaration [-Werror] struct user_regs_struct { ^ /kisskb/src/arch/x86/include/asm/user_64.h:103:1: error: empty declaration [-Werror] struct user { ^ In file included from /kisskb/src/arch/x86/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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/user.h:13:1: error: empty declaration [-Werror] struct user_ymmh_regs { ^ /kisskb/src/arch/x86/include/asm/user.h:18:1: error: empty declaration [-Werror] struct user_xstate_header { ^ /kisskb/src/arch/x86/include/asm/user.h:54:1: error: empty declaration [-Werror] struct user_xstateregs { ^ In file included from /kisskb/src/arch/x86/include/asm/elf.h:13: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/fsgsbase.h:17:22: error: storage class specified for parameter 'x86_fsbase_read_task' extern unsigned long x86_fsbase_read_task(struct task_struct *task); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:18:22: error: storage class specified for parameter 'x86_gsbase_read_task' extern unsigned long x86_gsbase_read_task(struct task_struct *task); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:19:13: error: storage class specified for parameter 'x86_fsbase_write_task' extern void x86_fsbase_write_task(struct task_struct *task, unsigned long fsbase); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:20:13: error: storage class specified for parameter 'x86_gsbase_write_task' extern void x86_gsbase_write_task(struct task_struct *task, unsigned long gsbase); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:76:22: error: storage class specified for parameter 'x86_gsbase_read_cpu_inactive' extern unsigned long x86_gsbase_read_cpu_inactive(void); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:77:13: error: storage class specified for parameter 'x86_gsbase_write_cpu_inactive' extern void x86_gsbase_write_cpu_inactive(unsigned long gsbase); ^ /kisskb/src/arch/x86/include/asm/fsgsbase.h:78:22: error: storage class specified for parameter 'x86_fsgsbase_read_task' extern unsigned long x86_fsgsbase_read_task(struct task_struct *task, ^ 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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/elf.h:15:23: error: storage class specified for parameter 'elf_greg_t' typedef unsigned long elf_greg_t; ^ /kisskb/src/arch/x86/include/asm/elf.h:18:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_gregset_t' typedef elf_greg_t elf_gregset_t[ELF_NGREG]; ^ /kisskb/src/arch/x86/include/asm/elf.h:20:33: error: storage class specified for parameter 'elf_fpregset_t' typedef struct user_i387_struct elf_fpregset_t; ^ In file included from /kisskb/src/arch/x86/include/asm/elf.h:75: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/vdso.h:13:1: error: empty declaration [-Werror] struct vdso_image { ^ /kisskb/src/arch/x86/include/asm/vdso.h:37:32: error: storage class specified for parameter 'vdso_image_64' extern const struct vdso_image vdso_image_64; ^ /kisskb/src/arch/x86/include/asm/vdso.h:41:32: error: storage class specified for parameter 'vdso_image_x32' extern const struct vdso_image vdso_image_x32; ^ /kisskb/src/arch/x86/include/asm/vdso.h:45:32: error: storage class specified for parameter 'vdso_image_32' extern const struct vdso_image vdso_image_32; ^ /kisskb/src/arch/x86/include/asm/vdso.h:48:20: error: storage class specified for parameter 'init_vdso_image' extern void __init init_vdso_image(const struct vdso_image *image); ^ /kisskb/src/arch/x86/include/asm/vdso.h:48:20: error: section attribute not allowed for 'init_vdso_image' /kisskb/src/arch/x86/include/asm/vdso.h:48:49: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init init_vdso_image(const struct vdso_image *image); ^ /kisskb/src/arch/x86/include/asm/vdso.h:48:49: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/vdso.h:50:12: error: storage class specified for parameter 'map_vdso_once' extern int map_vdso_once(const struct vdso_image *image, unsigned long addr); ^ /kisskb/src/arch/x86/include/asm/vdso.h:52:13: error: storage class specified for parameter 'fixup_vdso_exception' extern bool fixup_vdso_exception(struct pt_regs *regs, int trapnr, ^ 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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/elf.h:78:21: error: storage class specified for parameter 'vdso64_enabled' extern unsigned int vdso64_enabled; ^ /kisskb/src/arch/x86/include/asm/elf.h:81:21: error: storage class specified for parameter 'vdso32_enabled' extern unsigned int vdso32_enabled; ^ /kisskb/src/arch/x86/include/asm/elf.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/elf.h:228:13: error: storage class specified for parameter 'set_personality_64bit' extern void set_personality_64bit(void); ^ /kisskb/src/arch/x86/include/asm/elf.h:229:21: error: storage class specified for parameter 'sysctl_vsyscall32' extern unsigned int sysctl_vsyscall32; ^ /kisskb/src/arch/x86/include/asm/elf.h:230:12: error: storage class specified for parameter 'force_personality32' extern int force_personality32; ^ /kisskb/src/arch/x86/include/asm/elf.h:251:12: error: storage class specified for parameter 'elf_hwcap2' extern u32 elf_hwcap2; ^ /kisskb/src/arch/x86/include/asm/elf.h:296:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/arch/x86/include/asm/elf.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/elf.h:317:22: error: storage class specified for parameter 'task_size_32bit' extern unsigned long task_size_32bit(void); ^ /kisskb/src/arch/x86/include/asm/elf.h:318:22: error: storage class specified for parameter 'task_size_64bit' extern unsigned long task_size_64bit(int full_addr_space); ^ /kisskb/src/arch/x86/include/asm/elf.h:319:22: error: storage class specified for parameter 'get_mmap_base' extern unsigned long get_mmap_base(int is_legacy); ^ /kisskb/src/arch/x86/include/asm/elf.h:320:13: error: storage class specified for parameter 'mmap_address_hint_valid' extern bool mmap_address_hint_valid(unsigned long addr, unsigned long len); ^ /kisskb/src/arch/x86/include/asm/elf.h:321:22: error: storage class specified for parameter 'get_sigframe_size' extern unsigned long get_sigframe_size(void); ^ /kisskb/src/arch/x86/include/asm/elf.h:373:1: error: empty declaration [-Werror] struct linux_binprm; ^ /kisskb/src/arch/x86/include/asm/elf.h:376:12: error: storage class specified for parameter 'arch_setup_additional_pages' extern int arch_setup_additional_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/x86/include/asm/elf.h:378:12: error: storage class specified for parameter 'compat_arch_setup_additional_pages' extern int compat_arch_setup_additional_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/x86/include/asm/elf.h:384:13: error: storage class specified for parameter 'arch_syscall_is_vdso_sigreturn' extern bool arch_syscall_is_vdso_sigreturn(struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/elf.h:387:1: error: empty declaration [-Werror] enum align_flags { ^ /kisskb/src/arch/x86/include/asm/elf.h:392:1: error: empty declaration [-Werror] struct va_alignment { ^ /kisskb/src/arch/x86/include/asm/elf.h:398:28: error: storage class specified for parameter 'va_align' extern struct va_alignment va_align; ^ /kisskb/src/arch/x86/include/asm/elf.h:399:22: error: storage class specified for parameter 'align_vdso_addr' extern unsigned long align_vdso_addr(unsigned long); ^ 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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:69:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int elf_coredump_extra_notes_size(void) { return 0; } ^ /kisskb/src/include/linux/elf.h:70:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; } ^ /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/module.h:8:1: error: empty declaration [-Werror] struct mod_arch_specific { ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/module.h:5: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/module.h:347:1: error: empty declaration [-Werror] struct mod_kallsyms { ^ In file included from /kisskb/src/arch/x86/include/asm/module.h:5: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/asm-generic/module.h:20:18: error: expected specifier-qualifier-list before 'Elf64_Ehdr' #define Elf_Ehdr Elf64_Ehdr ^ /kisskb/src/include/linux/module.h:356:2: note: in expansion of macro 'Elf_Ehdr' Elf_Ehdr hdr; ^ In file included from /kisskb/src/include/linux/device/driver.h:21:0, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/module.h:355:1: error: empty declaration [-Werror] struct klp_modinfo { ^ /kisskb/src/include/linux/module.h:363:1: error: empty declaration [-Werror] struct module { ^ In file included from /kisskb/src/arch/x86/include/asm/module.h:5: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/module.h:5: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /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:232: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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/arch/x86/include/asm/device.h:5:1: error: empty declaration [-Werror] struct dev_archdata { ^ /kisskb/src/arch/x86/include/asm/device.h:8:1: error: empty declaration [-Werror] struct pdev_archdata { ^ In file included from /kisskb/src/include/linux/blk_types.h:11: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/x86/kernel/asm-offsets.c:13: /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:93:5: error: expected declaration specifiers or '...' before 'kuid_t' kuid_t *uid, kgid_t *gid); ^ /kisskb/src/include/linux/device.h:93:18: error: expected declaration specifiers or '...' before 'kgid_t' kuid_t *uid, kgid_t *gid); ^ /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/include/linux/blk_types.h:11: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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/pm_wakeup.h:18:1: error: empty declaration [-Werror] struct wake_irq; ^ /kisskb/src/include/linux/pm_wakeup.h:51:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t total_time; ^ /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/include/linux/blk_types.h:11: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/x86/kernel/asm-offsets.c:13: /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/include/linux/blk_types.h:11: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/x86/kernel/asm-offsets.c:13: /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:913:45: error: expected declaration specifiers or '...' before 'kuid_t' int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/device.h:913:58: error: expected declaration specifiers or '...' before 'kgid_t' int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid); ^ /kisskb/src/include/linux/device.h:914:67: error: expected declaration specifiers or '...' before 'kuid_t' const char *device_get_devnode(struct device *dev, umode_t *mode, kuid_t *uid, ^ /kisskb/src/include/linux/device.h:915:11: error: expected declaration specifiers or '...' before 'kgid_t' kgid_t *gid, const char **tmp); ^ /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/include/linux/blk_types.h:11: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/x86/kernel/asm-offsets.c:13: /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/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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/uio.h:11:0, from /kisskb/src/include/linux/bio.h:11, 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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/uapi/linux/uio.h:17:1: error: empty declaration [-Werror] struct iovec ^ In file included from /kisskb/src/include/linux/bio.h:11: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/x86/kernel/asm-offsets.c:13: /kisskb/src/include/linux/uio.h:13:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/uio.h:14:1: error: empty declaration [-Werror] struct pipe_inode_info; ^ /kisskb/src/include/linux/uio.h:16:1: error: empty declaration [-Werror] struct kvec { ^ /kisskb/src/include/linux/uio.h:21:1: error: empty declaration [-Werror] enum iter_type { ^ /kisskb/src/include/linux/uio.h:32:1: error: empty declaration [-Werror] struct iov_iter_state { ^ /kisskb/src/include/linux/uio.h:38:1: error: empty declaration [-Werror] struct iov_iter { ^ /kisskb/src/include/linux/uio.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:275:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:312:1: error: empty declaration [-Werror] struct csum_state { ^ /kisskb/src/include/linux/uio.h:323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uio.h:347:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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:671:18: error: expected declaration specifiers or '...' before 'swp_entry_t' gfp_t gfp, swp_entry_t entry); ^ /kisskb/src/include/linux/memcontrol.h:672:38: error: expected declaration specifiers or '...' before 'swp_entry_t' void mem_cgroup_swapin_uncharge_swap(swp_entry_t entry); ^ /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/x86/kernel/asm-offsets.c:13: /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: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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: /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: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:352:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'folio_swap_entry' static inline swp_entry_t folio_swap_entry(struct folio *folio) ^ /kisskb/src/include/linux/swap.h:358:62: error: expected declaration specifiers or '...' before 'swp_entry_t' static inline void folio_set_swap_entry(struct folio *folio, swp_entry_t entry) ^ /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:492:1: error: expected declaration specifiers before 'swp_entry_t' swp_entry_t folio_alloc_swap(struct folio *folio); ^ /kisskb/src/include/linux/swap.h:494:42: error: expected declaration specifiers or '...' before 'swp_entry_t' void put_swap_folio(struct folio *folio, swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:495:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_swap_page_of_type' extern swp_entry_t get_swap_page_of_type(int); ^ /kisskb/src/include/linux/swap.h:496:34: error: expected declaration specifiers or '...' before 'swp_entry_t' extern int get_swap_pages(int n, swp_entry_t swp_entries[], int entry_size); ^ /kisskb/src/include/linux/swap.h:497:53: error: expected ')' before 'gfp_t' 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:498:1: error: parameter names (without types) in function declaration [-Werror] 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:499:1: error: parameter names (without types) in function declaration [-Werror] 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:500:1: error: parameter names (without types) in function declaration [-Werror] 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:501:1: error: parameter names (without types) in function declaration [-Werror] extern void swap_free(swp_entry_t); ^ /kisskb/src/include/linux/swap.h:502:36: error: expected declaration specifiers or '...' before 'swp_entry_t' 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:503:1: error: parameter names (without types) in function declaration [-Werror] 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:25: error: expected declaration specifiers or '...' before 'swp_entry_t' extern int __swap_count(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:509:28: error: expected declaration specifiers or '...' before 'swp_entry_t' extern int __swp_swapcount(swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:510:26: error: expected declaration specifiers or '...' before 'swp_entry_t' 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:47: error: expected declaration specifiers or '...' before 'swp_entry_t' 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:49: error: expected declaration specifiers or '...' before 'swp_entry_t' 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:618:31: error: expected declaration specifiers or '...' before 'swp_entry_t' extern int split_swap_cluster(swp_entry_t entry); ^ /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:670:46: error: expected declaration specifiers or '...' before 'swp_entry_t' void mem_cgroup_swapout(struct folio *folio, swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:671:55: error: expected declaration specifiers or '...' before 'swp_entry_t' int __mem_cgroup_try_charge_swap(struct folio *folio, swp_entry_t entry); ^ /kisskb/src/include/linux/swap.h:673:3: error: expected declaration specifiers or '...' before 'swp_entry_t' swp_entry_t entry) ^ /kisskb/src/include/linux/swap.h:680:40: error: expected declaration specifiers or '...' before 'swp_entry_t' extern void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages); ^ /kisskb/src/include/linux/swap.h:681:45: error: expected declaration specifiers or '...' before 'swp_entry_t' static inline void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages) ^ /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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:13: /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/x86/kernel/asm-offsets.c:13: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/x86/include/uapi/asm/ucontext.h:54:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:7, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/uapi/asm-generic/ucontext.h:8:2: error: expected specifier-qualifier-list before 'stack_t' stack_t uc_stack; ^ /kisskb/src/include/uapi/asm-generic/ucontext.h:5:1: error: empty declaration [-Werror] struct ucontext { ^ In file included from /kisskb/src/include/linux/socket.h:11:0, from /kisskb/src/include/linux/compat.h:15, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/uapi/linux/socket.h:10:24: error: storage class specified for parameter '__kernel_sa_family_t' typedef unsigned short __kernel_sa_family_t; ^ /kisskb/src/include/uapi/linux/socket.h:19:4: error: expected specifier-qualifier-list before '__kernel_sa_family_t' __kernel_sa_family_t ss_family; /* address family */ ^ /kisskb/src/include/uapi/linux/socket.h:16:1: error: empty declaration [-Werror] struct __kernel_sockaddr_storage { ^ In file included from /kisskb/src/include/linux/compat.h:15:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/linux/socket.h:13:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/socket.h:14:1: error: empty declaration [-Werror] struct pid; ^ /kisskb/src/include/linux/socket.h:15:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/socket.h:16:1: error: empty declaration [-Werror] struct socket; ^ /kisskb/src/include/linux/socket.h:17:1: error: empty declaration [-Werror] struct sock; ^ /kisskb/src/include/linux/socket.h:18:1: error: empty declaration [-Werror] struct sk_buff; ^ /kisskb/src/include/linux/socket.h:24:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/socket.h:25:13: error: storage class specified for parameter 'socket_seq_show' extern void socket_seq_show(struct seq_file *seq); ^ /kisskb/src/include/linux/socket.h:28:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sa_family_t' typedef __kernel_sa_family_t sa_family_t; ^ /kisskb/src/include/linux/socket.h:35:2: error: unknown type name 'sa_family_t' sa_family_t sa_family; /* address family, AF_xxx */ ^ /kisskb/src/include/linux/socket.h:34:1: error: empty declaration [-Werror] struct sockaddr { ^ /kisskb/src/include/linux/socket.h:39:1: error: empty declaration [-Werror] struct linger { ^ /kisskb/src/include/linux/socket.h:52:1: error: empty declaration [-Werror] struct msghdr { ^ /kisskb/src/include/linux/socket.h:79:1: error: empty declaration [-Werror] struct user_msghdr { ^ /kisskb/src/include/linux/socket.h:90:1: error: empty declaration [-Werror] struct mmsghdr { ^ /kisskb/src/include/linux/socket.h:101:1: error: empty declaration [-Werror] struct cmsghdr { ^ /kisskb/src/include/linux/socket.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/socket.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/socket.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/socket.h:178:1: error: empty declaration [-Werror] struct ucred { ^ /kisskb/src/include/linux/socket.h:383:12: error: storage class specified for parameter 'move_addr_to_kernel' extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); ^ /kisskb/src/include/linux/socket.h:384:12: error: storage class specified for parameter 'put_cmsg' extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); ^ /kisskb/src/include/linux/socket.h:386:1: error: empty declaration [-Werror] struct timespec64; ^ /kisskb/src/include/linux/socket.h:387:1: error: empty declaration [-Werror] struct __kernel_timespec; ^ /kisskb/src/include/linux/socket.h:388:1: error: empty declaration [-Werror] struct old_timespec32; ^ /kisskb/src/include/linux/socket.h:391:20: error: array type has incomplete element type 'struct timespec64' struct timespec64 ts[3]; ^ /kisskb/src/include/linux/socket.h:390:1: error: empty declaration [-Werror] struct scm_timestamping_internal { ^ /kisskb/src/include/linux/socket.h:394:13: error: storage class specified for parameter 'put_cmsg_scm_timestamping64' extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); ^ /kisskb/src/include/linux/socket.h:395:13: error: storage class specified for parameter 'put_cmsg_scm_timestamping' extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss); ^ /kisskb/src/include/linux/socket.h:400:13: error: storage class specified for parameter '__sys_recvmsg' extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg, ^ /kisskb/src/include/linux/socket.h:402:13: error: storage class specified for parameter '__sys_sendmsg' extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg, ^ /kisskb/src/include/linux/socket.h:404:12: error: storage class specified for parameter '__sys_recvmmsg' extern int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, ^ /kisskb/src/include/linux/socket.h:408:12: error: storage class specified for parameter '__sys_sendmmsg' extern int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, ^ /kisskb/src/include/linux/socket.h:411:13: error: storage class specified for parameter '__sys_sendmsg_sock' extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, ^ /kisskb/src/include/linux/socket.h:413:13: error: storage class specified for parameter '__sys_recvmsg_sock' extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, ^ /kisskb/src/include/linux/socket.h:417:12: error: storage class specified for parameter 'sendmsg_copy_msghdr' extern int sendmsg_copy_msghdr(struct msghdr *msg, ^ /kisskb/src/include/linux/socket.h:420:12: error: storage class specified for parameter 'recvmsg_copy_msghdr' extern int recvmsg_copy_msghdr(struct msghdr *msg, ^ /kisskb/src/include/linux/socket.h:424:12: error: storage class specified for parameter '__copy_msghdr' extern int __copy_msghdr(struct msghdr *kmsg, ^ /kisskb/src/include/linux/socket.h:429:12: error: storage class specified for parameter '__sys_recvfrom' extern int __sys_recvfrom(int fd, void __user *ubuf, size_t size, ^ /kisskb/src/include/linux/socket.h:432:12: error: storage class specified for parameter '__sys_sendto' extern int __sys_sendto(int fd, void __user *buff, size_t len, ^ /kisskb/src/include/linux/socket.h:435:21: error: storage class specified for parameter 'do_accept' extern struct file *do_accept(struct file *file, unsigned file_flags, ^ /kisskb/src/include/linux/socket.h:438:12: error: storage class specified for parameter '__sys_accept4' extern int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, ^ /kisskb/src/include/linux/socket.h:440:12: error: storage class specified for parameter '__sys_socket' extern int __sys_socket(int family, int type, int protocol); ^ /kisskb/src/include/linux/socket.h:441:21: error: storage class specified for parameter '__sys_socket_file' extern struct file *__sys_socket_file(int family, int type, int protocol); ^ /kisskb/src/include/linux/socket.h:442:12: error: storage class specified for parameter '__sys_bind' extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen); ^ /kisskb/src/include/linux/socket.h:443:12: error: storage class specified for parameter '__sys_connect_file' extern int __sys_connect_file(struct file *file, struct sockaddr_storage *addr, ^ /kisskb/src/include/linux/socket.h:445:12: error: storage class specified for parameter '__sys_connect' extern int __sys_connect(int fd, struct sockaddr __user *uservaddr, ^ /kisskb/src/include/linux/socket.h:447:12: error: storage class specified for parameter '__sys_listen' extern int __sys_listen(int fd, int backlog); ^ /kisskb/src/include/linux/socket.h:448:12: error: storage class specified for parameter '__sys_getsockname' extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr, ^ /kisskb/src/include/linux/socket.h:450:12: error: storage class specified for parameter '__sys_getpeername' extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr, ^ /kisskb/src/include/linux/socket.h:452:12: error: storage class specified for parameter '__sys_socketpair' extern int __sys_socketpair(int family, int type, int protocol, ^ /kisskb/src/include/linux/socket.h:454:12: error: storage class specified for parameter '__sys_shutdown_sock' extern int __sys_shutdown_sock(struct socket *sock, int how); ^ /kisskb/src/include/linux/socket.h:455:12: error: storage class specified for parameter '__sys_shutdown' extern int __sys_shutdown(int fd, int how); ^ In file included from /kisskb/src/include/uapi/linux/if.h:37:0, from /kisskb/src/include/linux/compat.h:16, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/uapi/linux/hdlc/ioctl.h:44:3: error: storage class specified for parameter 'sync_serial_settings' } sync_serial_settings; /* V.35, V.24, X.21 */ ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:51:3: error: storage class specified for parameter 'te1_settings' } te1_settings; /* T1, E1 */ ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:56:3: error: storage class specified for parameter 'raw_hdlc_proto' } raw_hdlc_proto; ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:66:3: error: storage class specified for parameter 'fr_proto' } fr_proto; ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:70:3: error: storage class specified for parameter 'fr_proto_pvc' } fr_proto_pvc; /* for creating/deleting FR PVCs */ ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:75:2: error: storage class specified for parameter 'fr_proto_pvc_info' }fr_proto_pvc_info; /* for returning PVC information only */ ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:80:3: error: storage class specified for parameter 'cisco_proto' } cisco_proto; ^ /kisskb/src/include/uapi/linux/hdlc/ioctl.h:89:3: error: storage class specified for parameter 'x25_hdlc_proto' } x25_hdlc_proto; ^ In file included from /kisskb/src/include/linux/compat.h:16:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/uapi/linux/if.h:82:1: error: empty declaration [-Werror] enum net_device_flags { ^ /kisskb/src/include/uapi/linux/if.h:167:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/if.h:178:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/if.h:196:1: error: empty declaration [-Werror] struct ifmap { ^ /kisskb/src/include/uapi/linux/if.h:212:3: error: expected specifier-qualifier-list before 'raw_hdlc_proto' raw_hdlc_proto __user *raw_hdlc; ^ /kisskb/src/include/uapi/linux/if.h:207:1: error: empty declaration [-Werror] struct if_settings { ^ /kisskb/src/include/uapi/linux/if.h:234:1: error: empty declaration [-Werror] struct ifreq { ^ /kisskb/src/include/uapi/linux/if.h:286:1: error: empty declaration [-Werror] struct ifconf { ^ In file included from /kisskb/src/include/linux/compat.h:18:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /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:79: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/arch/x86/include/asm/compat.h:10:0, from /kisskb/src/include/linux/compat.h:22, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/linux/sched/task_stack.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task_stack.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task_stack.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task_stack.h:72:13: error: storage class specified for parameter 'put_task_stack' extern void put_task_stack(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched/task_stack.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task_stack.h:94:13: error: storage class specified for parameter 'thread_stack_cache_init' extern void thread_stack_cache_init(void); ^ /kisskb/src/include/linux/sched/task_stack.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task_stack.h:116:13: error: storage class specified for parameter 'set_task_stack_end_magic' extern void set_task_stack_end_magic(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched/task_stack.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/compat.h:12:0, from /kisskb/src/include/linux/compat.h:22, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/arch/x86/include/asm/user32.h:8:1: error: empty declaration [-Werror] struct user_i387_ia32_struct { ^ /kisskb/src/arch/x86/include/asm/user32.h:20:1: error: empty declaration [-Werror] struct user32_fxsr_struct { ^ /kisskb/src/arch/x86/include/asm/user32.h:36:1: error: empty declaration [-Werror] struct user_regs_struct32 { ^ /kisskb/src/arch/x86/include/asm/user32.h:46:1: error: empty declaration [-Werror] struct user32 { ^ In file included from /kisskb/src/include/linux/compat.h:22:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/arch/x86/include/asm/compat.h:15:23: error: storage class specified for parameter 'compat_mode_t' #define compat_mode_t compat_mode_t ^ /kisskb/src/arch/x86/include/asm/compat.h:16:14: note: in expansion of macro 'compat_mode_t' typedef u16 compat_mode_t; ^ /kisskb/src/arch/x86/include/asm/compat.h:18:24: error: storage class specified for parameter '__compat_uid_t' #define __compat_uid_t __compat_uid_t ^ /kisskb/src/arch/x86/include/asm/compat.h:19:14: note: in expansion of macro '__compat_uid_t' typedef u16 __compat_uid_t; ^ /kisskb/src/arch/x86/include/asm/compat.h:20:14: error: storage class specified for parameter '__compat_gid_t' typedef u16 __compat_gid_t; ^ /kisskb/src/arch/x86/include/asm/compat.h:22:22: error: storage class specified for parameter 'compat_dev_t' #define compat_dev_t compat_dev_t ^ /kisskb/src/arch/x86/include/asm/compat.h:23:14: note: in expansion of macro 'compat_dev_t' typedef u16 compat_dev_t; ^ /kisskb/src/arch/x86/include/asm/compat.h:25:26: error: storage class specified for parameter 'compat_ipc_pid_t' #define compat_ipc_pid_t compat_ipc_pid_t ^ /kisskb/src/arch/x86/include/asm/compat.h:26:15: note: in expansion of macro 'compat_ipc_pid_t' typedef u16 compat_ipc_pid_t; ^ In file included from /kisskb/src/arch/x86/include/asm/compat.h:30:0, from /kisskb/src/include/linux/compat.h:22, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/include/asm-generic/compat.h:25:13: error: storage class specified for parameter 'compat_size_t' typedef u32 compat_size_t; ^ /kisskb/src/include/asm-generic/compat.h:26:13: error: storage class specified for parameter 'compat_ssize_t' typedef s32 compat_ssize_t; ^ /kisskb/src/include/asm-generic/compat.h:27:13: error: storage class specified for parameter 'compat_clock_t' typedef s32 compat_clock_t; ^ /kisskb/src/include/asm-generic/compat.h:28:13: error: storage class specified for parameter 'compat_pid_t' typedef s32 compat_pid_t; ^ /kisskb/src/include/asm-generic/compat.h:29:13: error: storage class specified for parameter 'compat_ino_t' typedef u32 compat_ino_t; ^ /kisskb/src/include/asm-generic/compat.h:30:13: error: storage class specified for parameter 'compat_off_t' typedef s32 compat_off_t; ^ /kisskb/src/include/asm-generic/compat.h:31:13: error: storage class specified for parameter 'compat_loff_t' typedef s64 compat_loff_t; ^ /kisskb/src/include/asm-generic/compat.h:32:13: error: storage class specified for parameter 'compat_daddr_t' typedef s32 compat_daddr_t; ^ /kisskb/src/include/asm-generic/compat.h:33:13: error: storage class specified for parameter 'compat_timer_t' typedef s32 compat_timer_t; ^ /kisskb/src/include/asm-generic/compat.h:34:13: error: storage class specified for parameter 'compat_key_t' typedef s32 compat_key_t; ^ /kisskb/src/include/asm-generic/compat.h:35:13: error: storage class specified for parameter 'compat_short_t' typedef s16 compat_short_t; ^ /kisskb/src/include/asm-generic/compat.h:36:13: error: storage class specified for parameter 'compat_int_t' typedef s32 compat_int_t; ^ /kisskb/src/include/asm-generic/compat.h:37:13: error: storage class specified for parameter 'compat_long_t' typedef s32 compat_long_t; ^ /kisskb/src/include/asm-generic/compat.h:38:13: error: storage class specified for parameter 'compat_ushort_t' typedef u16 compat_ushort_t; ^ /kisskb/src/include/asm-generic/compat.h:39:13: error: storage class specified for parameter 'compat_uint_t' typedef u32 compat_uint_t; ^ /kisskb/src/include/asm-generic/compat.h:40:13: error: storage class specified for parameter 'compat_ulong_t' typedef u32 compat_ulong_t; ^ /kisskb/src/include/asm-generic/compat.h:41:13: error: storage class specified for parameter 'compat_uptr_t' typedef u32 compat_uptr_t; ^ /kisskb/src/include/asm-generic/compat.h:42:13: error: storage class specified for parameter 'compat_caddr_t' typedef u32 compat_caddr_t; ^ /kisskb/src/include/asm-generic/compat.h:43:13: error: storage class specified for parameter 'compat_aio_context_t' typedef u32 compat_aio_context_t; ^ /kisskb/src/include/asm-generic/compat.h:44: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_uid32_t' typedef u32 __compat_uid32_t; ^ /kisskb/src/include/asm-generic/compat.h:53:13: error: storage class specified for parameter '__compat_gid32_t' typedef u32 __compat_gid32_t; ^ /kisskb/src/include/asm-generic/compat.h:61:41: error: storage class specified for parameter 'compat_s64' typedef s64 __attribute__((aligned(4))) compat_s64; ^ /kisskb/src/include/asm-generic/compat.h:61:41: error: alignment may not be specified for 'compat_s64' /kisskb/src/include/asm-generic/compat.h:62:41: error: storage class specified for parameter 'compat_u64' typedef u64 __attribute__((aligned(4))) compat_u64; ^ /kisskb/src/include/asm-generic/compat.h:62:41: error: alignment may not be specified for 'compat_u64' /kisskb/src/include/asm-generic/compat.h:69:13: error: storage class specified for parameter 'compat_sigset_word' typedef u32 compat_sigset_word; ^ /kisskb/src/include/asm-generic/compat.h:83:25: error: storage class specified for parameter 'compat_fsid_t' typedef __kernel_fsid_t compat_fsid_t; ^ /kisskb/src/include/asm-generic/compat.h:105:2: error: expected specifier-qualifier-list before 'compat_key_t' compat_key_t key; ^ /kisskb/src/include/asm-generic/compat.h:104:1: error: empty declaration [-Werror] struct compat_ipc64_perm { ^ /kisskb/src/include/asm-generic/compat.h:120:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t sem_otime; ^ /kisskb/src/include/asm-generic/compat.h:118:1: error: empty declaration [-Werror] struct compat_semid64_ds { ^ /kisskb/src/include/asm-generic/compat.h:131:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t msg_stime; ^ /kisskb/src/include/asm-generic/compat.h:129:1: error: empty declaration [-Werror] struct compat_msqid64_ds { ^ /kisskb/src/include/asm-generic/compat.h:148:2: error: expected specifier-qualifier-list before 'compat_size_t' compat_size_t shm_segsz; ^ /kisskb/src/include/asm-generic/compat.h:146:1: error: empty declaration [-Werror] struct compat_shmid64_ds { ^ In file included from /kisskb/src/include/linux/compat.h:22:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/arch/x86/include/asm/compat.h:34:14: error: storage class specified for parameter 'compat_nlink_t' typedef u16 compat_nlink_t; ^ /kisskb/src/arch/x86/include/asm/compat.h:38:2: error: expected specifier-qualifier-list before 'compat_ino_t' compat_ino_t st_ino; ^ /kisskb/src/arch/x86/include/asm/compat.h:36:1: error: empty declaration [-Werror] struct compat_stat { ^ /kisskb/src/arch/x86/include/asm/compat.h:71:2: error: expected specifier-qualifier-list before 'compat_fsid_t' compat_fsid_t f_fsid; ^ /kisskb/src/arch/x86/include/asm/compat.h:63:1: error: empty declaration [-Werror] struct compat_statfs { ^ /kisskb/src/arch/x86/include/asm/compat.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/compat.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/compat.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/compat.h:106:1: error: empty declaration [-Werror] struct compat_siginfo; ^ /kisskb/src/arch/x86/include/asm/compat.h:110:9: error: type defaults to 'int' in declaration of 'kernel_siginfo_t' [-Werror=implicit-int] const kernel_siginfo_t *from); ^ /kisskb/src/arch/x86/include/asm/compat.h:110:26: error: expected ';', ',' or ')' before '*' token const kernel_siginfo_t *from); ^ In file included from /kisskb/src/include/linux/compat.h:34:0, from /kisskb/src/arch/x86/include/asm/sigframe.h:8, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/arch/x86/include/asm/syscall_wrapper.h:9:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/x86/include/asm/syscall_wrapper.h:11:13: error: storage class specified for parameter '__x64_sys_ni_syscall' extern long __x64_sys_ni_syscall(const struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/syscall_wrapper.h:12:13: error: storage class specified for parameter '__ia32_sys_ni_syscall' extern long __ia32_sys_ni_syscall(const struct pt_regs *regs); ^ In file included from /kisskb/src/arch/x86/include/asm/sigframe.h:8:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /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:202: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/x86/include/asm/sigframe.h:8:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /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/x86/include/asm/sigframe.h:8:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /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: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/x86/include/asm/sigframe.h:8:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /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/arch/x86/include/asm/sigframe.h:17:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:17: /kisskb/src/arch/x86/include/asm/ia32.h:21:2: error: expected specifier-qualifier-list before 'compat_stack_t' compat_stack_t uc_stack; ^ /kisskb/src/arch/x86/include/asm/ia32.h:18:1: error: empty declaration [-Werror] struct ucontext_ia32 { ^ /kisskb/src/arch/x86/include/asm/ia32.h:29:1: error: empty declaration [-Werror] struct stat64 { ^ /kisskb/src/arch/x86/include/asm/ia32.h:63:1: error: empty declaration [-Werror] struct linux_binprm; ^ /kisskb/src/arch/x86/include/asm/ia32.h:64:12: error: storage class specified for parameter 'ia32_setup_arg_pages' extern int ia32_setup_arg_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/x86/include/asm/ia32.h:66:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/arch/x86/include/asm/ia32.h:67:13: error: storage class specified for parameter 'ia32_pick_mmap_layout' extern void ia32_pick_mmap_layout(struct mm_struct *mm); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:17:0: /kisskb/src/arch/x86/include/asm/sigframe.h:23:1: error: empty declaration [-Werror] struct sigframe_ia32 { ^ /kisskb/src/arch/x86/include/asm/sigframe.h:47:2: error: expected specifier-qualifier-list before 'compat_siginfo_t' compat_siginfo_t info; ^ /kisskb/src/arch/x86/include/asm/sigframe.h:41:1: error: empty declaration [-Werror] struct rt_sigframe_ia32 { ^ /kisskb/src/arch/x86/include/asm/sigframe.h:59:1: error: empty declaration [-Werror] struct rt_sigframe { ^ /kisskb/src/arch/x86/include/asm/sigframe.h:71:2: error: expected specifier-qualifier-list before 'compat_stack_t' compat_stack_t uc_stack; ^ /kisskb/src/arch/x86/include/asm/sigframe.h:68:1: error: empty declaration [-Werror] struct ucontext_x32 { ^ /kisskb/src/arch/x86/include/asm/sigframe.h:80:2: error: expected specifier-qualifier-list before 'compat_siginfo_t' compat_siginfo_t info; ^ /kisskb/src/arch/x86/include/asm/sigframe.h:77:1: error: empty declaration [-Werror] struct rt_sigframe_x32 { ^ /kisskb/src/arch/x86/include/asm/sigframe.h:88:13: error: section attribute not allowed for 'init_sigframe_size' void __init init_sigframe_size(void); ^ /kisskb/src/arch/x86/include/asm/sigframe.h:88:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init init_sigframe_size(void); ^ /kisskb/src/arch/x86/include/asm/sigframe.h:88:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:8:0, from /kisskb/src/arch/x86/include/asm/desc.h:10, from /kisskb/src/arch/x86/include/asm/suspend_64.h:10, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/intel_ds.h:19:1: error: empty declaration [-Werror] struct debug_store { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cpu_debug_store' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:158:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \ ^ /kisskb/src/arch/x86/include/asm/intel_ds.h:31:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cpu_debug_store' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:158:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \ ^ /kisskb/src/arch/x86/include/asm/intel_ds.h:31:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /kisskb/src/arch/x86/include/asm/intel_ds.h:31:50: error: storage class specified for parameter 'cpu_debug_store' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /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/x86/include/asm/intel_ds.h:31:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /kisskb/src/arch/x86/include/asm/intel_ds.h:31:50: error: alignment may not be specified for 'cpu_debug_store' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /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/x86/include/asm/intel_ds.h:31:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /kisskb/src/arch/x86/include/asm/intel_ds.h:31:50: error: section attribute not allowed for 'cpu_debug_store' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ /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/x86/include/asm/intel_ds.h:31:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct debug_store, cpu_debug_store); ^ In file included from /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:8:0, from /kisskb/src/arch/x86/include/asm/desc.h:10, from /kisskb/src/arch/x86/include/asm/suspend_64.h:10, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/intel_ds.h:33:1: error: empty declaration [-Werror] struct debug_store_buffers { ^ In file included from /kisskb/src/arch/x86/include/asm/desc.h:10:0, from /kisskb/src/arch/x86/include/asm/suspend_64.h:10, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:36:1: error: empty declaration [-Werror] struct exception_stacks { ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:41:1: error: empty declaration [-Werror] struct cea_exception_stacks { ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:48:1: error: empty declaration [-Werror] enum exception_stack_ordering { ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:90:1: error: empty declaration [-Werror] struct cpu_entry_area { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cpu_entry_area' 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/x86/include/asm/cpu_entry_area.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cpu_entry_area' 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/x86/include/asm/cpu_entry_area.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:138:42: error: storage class specified for parameter 'cpu_entry_area' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /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/x86/include/asm/cpu_entry_area.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:138:42: error: section attribute not allowed for 'cpu_entry_area' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /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/x86/include/asm/cpu_entry_area.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cpu_entry_area *, cpu_entry_area); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cea_exception_stacks' 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/x86/include/asm/cpu_entry_area.h:139:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cea_exception_stacks' 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/x86/include/asm/cpu_entry_area.h:139:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:139:48: error: storage class specified for parameter 'cea_exception_stacks' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ /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/x86/include/asm/cpu_entry_area.h:139:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:139:48: error: section attribute not allowed for 'cea_exception_stacks' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ /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/x86/include/asm/cpu_entry_area.h:139:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct cea_exception_stacks *, cea_exception_stacks); ^ In file included from /kisskb/src/arch/x86/include/asm/desc.h:10:0, from /kisskb/src/arch/x86/include/asm/suspend_64.h:10, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:141:13: error: storage class specified for parameter 'setup_cpu_entry_areas' extern void setup_cpu_entry_areas(void); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:142:13: error: storage class specified for parameter 'cea_set_pte' extern void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:144:31: error: storage class specified for parameter 'get_cpu_entry_area' extern struct cpu_entry_area *get_cpu_entry_area(int cpu); ^ /kisskb/src/arch/x86/include/asm/cpu_entry_area.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/suspend_64.h:10:0, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/desc.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:44:1: error: empty declaration [-Werror] struct gdt_page { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_gdt_page' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:158:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \ ^ /kisskb/src/arch/x86/include/asm/desc.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_gdt_page' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:158:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \ ^ /kisskb/src/arch/x86/include/asm/desc.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /kisskb/src/arch/x86/include/asm/desc.h:48:47: error: storage class specified for parameter 'gdt_page' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /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/x86/include/asm/desc.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /kisskb/src/arch/x86/include/asm/desc.h:48:47: error: alignment may not be specified for 'gdt_page' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /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/x86/include/asm/desc.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /kisskb/src/arch/x86/include/asm/desc.h:48:47: error: section attribute not allowed for 'gdt_page' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ /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/x86/include/asm/desc.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU_PAGE_ALIGNED' DECLARE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page); ^ In file included from /kisskb/src/arch/x86/include/asm/suspend_64.h:10:0, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/desc.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:193:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:293: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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope___tss_limit_invalid' 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/x86/include/asm/desc.h:301:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope___tss_limit_invalid' 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/x86/include/asm/desc.h:301:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ /kisskb/src/arch/x86/include/asm/desc.h:301:23: error: storage class specified for parameter '__tss_limit_invalid' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ /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/x86/include/asm/desc.h:301:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ /kisskb/src/arch/x86/include/asm/desc.h:301:23: error: section attribute not allowed for '__tss_limit_invalid' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ /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/x86/include/asm/desc.h:301:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(bool, __tss_limit_invalid); ^ In file included from /kisskb/src/arch/x86/include/asm/suspend_64.h:10:0, from /kisskb/src/arch/x86/include/asm/suspend.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/desc.h:304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:366:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:378:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:400:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/desc.h:434:22: error: storage class specified for parameter 'system_vectors' extern unsigned long system_vectors[]; ^ /kisskb/src/arch/x86/include/asm/desc.h:436:13: error: storage class specified for parameter 'load_current_idt' extern void load_current_idt(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:437:13: error: storage class specified for parameter 'idt_setup_early_handler' extern void idt_setup_early_handler(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:438:13: error: storage class specified for parameter 'idt_setup_early_traps' extern void idt_setup_early_traps(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:439:13: error: storage class specified for parameter 'idt_setup_traps' extern void idt_setup_traps(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:440:13: error: storage class specified for parameter 'idt_setup_apic_and_irq_gates' extern void idt_setup_apic_and_irq_gates(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:441:13: error: storage class specified for parameter 'idt_is_f00f_address' extern bool idt_is_f00f_address(unsigned long address); ^ /kisskb/src/arch/x86/include/asm/desc.h:444:13: error: storage class specified for parameter 'idt_setup_early_pf' extern void idt_setup_early_pf(void); ^ /kisskb/src/arch/x86/include/asm/desc.h:449:13: error: storage class specified for parameter 'idt_invalidate' extern void idt_invalidate(void); ^ In file included from /kisskb/src/arch/x86/include/asm/suspend.h:5:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:19: /kisskb/src/arch/x86/include/asm/suspend_64.h:26:17: error: field 'regs' has incomplete type struct pt_regs regs; ^ /kisskb/src/arch/x86/include/asm/suspend_64.h:25:1: error: empty declaration [-Werror] struct saved_context { ^ /kisskb/src/arch/x86/include/asm/suspend_64.h:61:13: error: storage class specified for parameter 'core_restore_code' extern char core_restore_code[]; ^ /kisskb/src/arch/x86/include/asm/suspend_64.h:62:13: error: storage class specified for parameter 'restore_registers' extern char restore_registers[]; ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:19:0: /kisskb/src/arch/x86/include/asm/suspend.h:7:22: error: storage class specified for parameter 'restore_jump_address' extern unsigned long restore_jump_address __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:7:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern unsigned long restore_jump_address __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:8:22: error: storage class specified for parameter 'jump_address_phys' extern unsigned long jump_address_phys; ^ /kisskb/src/arch/x86/include/asm/suspend.h:9:22: error: storage class specified for parameter 'restore_cr3' extern unsigned long restore_cr3 __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:9:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern unsigned long restore_cr3 __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:10:22: error: storage class specified for parameter 'temp_pgt' extern unsigned long temp_pgt __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:10:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern unsigned long temp_pgt __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:11:22: error: storage class specified for parameter 'relocated_restore_code' extern unsigned long relocated_restore_code __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:11:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern unsigned long relocated_restore_code __visible; ^ /kisskb/src/arch/x86/include/asm/suspend.h:12:12: error: storage class specified for parameter 'relocate_restore_code' extern int relocate_restore_code(void); ^ /kisskb/src/arch/x86/include/asm/suspend.h:14:33: error: storage class specified for parameter 'restore_image' extern asmlinkage __visible int restore_image(void); ^ /kisskb/src/arch/x86/include/asm/suspend.h:14:1: error: '__externally_visible__' attribute ignored [-Werror=attributes] extern asmlinkage __visible int restore_image(void); ^ In file included from /kisskb/src/arch/x86/include/asm/tlbflush.h:12:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:20: /kisskb/src/arch/x86/include/asm/invpcid.h:7:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/invpcid.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/invpcid.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/invpcid.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/invpcid.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/tlbflush.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:20: /kisskb/src/arch/x86/include/asm/pti.h:7:13: error: storage class specified for parameter 'pti_init' extern void pti_init(void); ^ /kisskb/src/arch/x86/include/asm/pti.h:8:13: error: storage class specified for parameter 'pti_check_boottime_disable' extern void pti_check_boottime_disable(void); ^ /kisskb/src/arch/x86/include/asm/pti.h:9:13: error: storage class specified for parameter 'pti_finalize' extern void pti_finalize(void); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:20:0: /kisskb/src/arch/x86/include/asm/tlbflush.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:63:1: error: empty declaration [-Werror] struct tlb_context { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:68:1: error: empty declaration [-Werror] struct tlb_state { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cpu_tlbstate' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:147:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_ALIGNED_SECTION) \ ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cpu_tlbstate' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:147:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, PER_CPU_ALIGNED_SECTION) \ ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:138:43: error: storage class specified for parameter 'cpu_tlbstate' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /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/x86/include/asm/tlbflush.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:138:43: error: alignment may not be specified for 'cpu_tlbstate' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /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/x86/include/asm/tlbflush.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:138:43: error: section attribute not allowed for 'cpu_tlbstate' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ /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/x86/include/asm/tlbflush.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:20:0: /kisskb/src/arch/x86/include/asm/tlbflush.h:140:1: error: empty declaration [-Werror] struct tlb_state_shared { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_cpu_tlbstate_shared' 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/x86/include/asm/tlbflush.h:158:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_cpu_tlbstate_shared' 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/x86/include/asm/tlbflush.h:158:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:158:57: error: storage class specified for parameter 'cpu_tlbstate_shared' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /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/x86/include/asm/tlbflush.h:158:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:158:57: error: alignment may not be specified for 'cpu_tlbstate_shared' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /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/x86/include/asm/tlbflush.h:158:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:158:57: error: section attribute not allowed for 'cpu_tlbstate_shared' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ /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/x86/include/asm/tlbflush.h:158:1: note: in expansion of macro 'DECLARE_PER_CPU_SHARED_ALIGNED' DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:20:0: /kisskb/src/arch/x86/include/asm/tlbflush.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:169:22: error: storage class specified for parameter 'mmu_cr4_features' extern unsigned long mmu_cr4_features; ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:170:13: error: storage class specified for parameter 'trampoline_cr4_features' extern u32 *trampoline_cr4_features; ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:172:13: error: storage class specified for parameter 'initialize_tlbstate_and_flush' extern void initialize_tlbstate_and_flush(void); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:187:1: error: empty declaration [-Werror] struct flush_tlb_info { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:232:13: error: storage class specified for parameter 'flush_tlb_all' extern void flush_tlb_all(void); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:233:13: error: storage class specified for parameter 'flush_tlb_mm_range' extern void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:236:13: error: storage class specified for parameter 'flush_tlb_kernel_range' extern void flush_tlb_kernel_range(unsigned long start, unsigned long end); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:256:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:261:13: error: storage class specified for parameter 'arch_tlbbatch_flush' extern void arch_tlbbatch_flush(struct arch_tlbflush_unmap_batch *batch); ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:319:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/tlbflush.h:363:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/tdx.h:9:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:21: /kisskb/src/arch/x86/include/asm/shared/tdx.h:24:1: error: empty declaration [-Werror] struct tdx_hypercall_args { ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:21:0: /kisskb/src/arch/x86/include/asm/tdx.h:29:1: error: empty declaration [-Werror] struct tdx_module_output { ^ /kisskb/src/arch/x86/include/asm/tdx.h:43:1: error: empty declaration [-Werror] struct ve_info { ^ /kisskb/src/arch/x86/include/asm/tdx.h:56:13: error: section attribute not allowed for 'tdx_early_init' void __init tdx_early_init(void); ^ /kisskb/src/arch/x86/include/asm/tdx.h:56:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init tdx_early_init(void); ^ /kisskb/src/arch/x86/include/asm/tdx.h:56:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/linux/kvm_host.h:13:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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 /kisskb/src/arch/x86/include/asm/hw_irq.h:24:0, from /kisskb/src/arch/x86/include/asm/msi.h:4, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/profile.h:17:1: error: empty declaration [-Werror] struct proc_dir_entry; ^ /kisskb/src/include/linux/profile.h:18:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/profile.h:36:12: error: storage class specified for parameter 'prof_on' extern int prof_on __read_mostly; ^ /kisskb/src/include/linux/profile.h:36:12: error: section attribute not allowed for 'prof_on' /kisskb/src/include/linux/profile.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/profile.h:61:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/profile.h:62:1: error: empty declaration [-Werror] struct mm_struct; ^ In file included from /kisskb/src/arch/x86/include/asm/msi.h:4:0, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/hw_irq.h:32:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:33:1: error: empty declaration [-Werror] struct pci_dev; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:34:1: error: empty declaration [-Werror] struct msi_desc; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:36:1: error: empty declaration [-Werror] enum irq_alloc_type { ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:46:1: error: empty declaration [-Werror] struct ioapic_alloc_info { ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:54:1: error: empty declaration [-Werror] struct uv_alloc_info { ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:75:1: error: empty declaration [-Werror] struct irq_alloc_info { ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:90:1: error: empty declaration [-Werror] struct irq_cfg { ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:95:24: error: storage class specified for parameter 'irq_cfg' extern struct irq_cfg *irq_cfg(unsigned int irq); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:96:24: error: storage class specified for parameter 'irqd_cfg' extern struct irq_cfg *irqd_cfg(struct irq_data *irq_data); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:97:13: error: storage class specified for parameter 'lock_vector_lock' extern void lock_vector_lock(void); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:98:13: error: storage class specified for parameter 'unlock_vector_lock' extern void unlock_vector_lock(void); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:100:13: error: storage class specified for parameter 'send_cleanup_vector' extern void send_cleanup_vector(struct irq_cfg *); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:101:13: error: storage class specified for parameter 'irq_complete_move' extern void irq_complete_move(struct irq_cfg *cfg); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:107:13: error: storage class specified for parameter 'apic_ack_edge' extern void apic_ack_edge(struct irq_data *data); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:114:17: error: storage class specified for parameter 'irq_err_count' extern atomic_t irq_err_count; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:115:17: error: storage class specified for parameter 'irq_mis_count' extern atomic_t irq_mis_count; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:117:13: error: storage class specified for parameter 'elcr_set_level_irq' extern void elcr_set_level_irq(unsigned int irq); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:119:13: error: storage class specified for parameter 'irq_entries_start' extern char irq_entries_start[]; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:124:13: error: storage class specified for parameter 'spurious_entries_start' extern char spurious_entries_start[]; ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:130:26: error: storage class specified for parameter 'vector_irq_t' typedef struct irq_desc* vector_irq_t[NR_VECTORS]; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_vector_irq' 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/x86/include/asm/hw_irq.h:131:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_vector_irq' 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/x86/include/asm/hw_irq.h:131:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:131:31: error: storage class specified for parameter 'vector_irq' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ /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/x86/include/asm/hw_irq.h:131:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ /kisskb/src/arch/x86/include/asm/hw_irq.h:131:31: error: section attribute not allowed for 'vector_irq' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ /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/x86/include/asm/hw_irq.h:131:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(vector_irq_t, vector_irq); ^ In file included from /kisskb/src/include/linux/irqdomain.h:34:0, from /kisskb/src/arch/x86/include/asm/irqdomain.h:5, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/of.h:18:0, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/arch/x86/include/asm/irqdomain.h:5, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/mod_devicetable.h:14:23: error: storage class specified for parameter 'kernel_ulong_t' typedef unsigned long kernel_ulong_t; ^ /kisskb/src/include/linux/mod_devicetable.h:19:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mod_devicetable.h:47:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:43:1: error: empty declaration [-Werror] struct pci_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:63:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:57:1: error: empty declaration [-Werror] struct ieee1394_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:151:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_info ^ /kisskb/src/include/linux/mod_devicetable.h:127:1: error: empty declaration [-Werror] struct usb_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:177:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:172:1: error: empty declaration [-Werror] struct hid_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:189:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_info; ^ /kisskb/src/include/linux/mod_devicetable.h:181:1: error: empty declaration [-Werror] struct ccw_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:201:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_info; ^ /kisskb/src/include/linux/mod_devicetable.h:198:1: error: empty declaration [-Werror] struct ap_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:211:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:208:1: error: empty declaration [-Werror] struct css_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:218:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:216:1: error: empty declaration [-Werror] struct acpi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:228:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:226:1: error: empty declaration [-Werror] struct pnp_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:233:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:231:1: error: empty declaration [-Werror] struct pnp_card_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:242:1: error: empty declaration [-Werror] struct serio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:249:1: error: empty declaration [-Werror] struct hda_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:262:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:257:1: error: empty declaration [-Werror] struct sdw_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:268:1: error: empty declaration [-Werror] struct of_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:276:1: error: empty declaration [-Werror] struct vio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:303:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_info; ^ /kisskb/src/include/linux/mod_devicetable.h:283:1: error: empty declaration [-Werror] struct pcmcia_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:350:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t flags; ^ /kisskb/src/include/linux/mod_devicetable.h:348:1: error: empty declaration [-Werror] struct input_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:378:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:376:1: error: empty declaration [-Werror] struct eisa_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:383:1: error: empty declaration [-Werror] struct parisc_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:403:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:399:1: error: empty declaration [-Werror] struct sdio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:407:1: error: empty declaration [-Werror] struct ssb_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:421:1: error: empty declaration [-Werror] struct bcma_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:435:1: error: empty declaration [-Werror] struct virtio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:445:2: error: expected specifier-qualifier-list before 'guid_t' guid_t guid; ^ /kisskb/src/include/linux/mod_devicetable.h:444:1: error: empty declaration [-Werror] struct hv_vmbus_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:456:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:454:1: error: empty declaration [-Werror] struct rpmsg_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:466:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:464:1: error: empty declaration [-Werror] struct i2c_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:476:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:474:1: error: empty declaration [-Werror] struct pci_epf_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:486:1: error: empty declaration [-Werror] struct i3c_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:503:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:501:1: error: empty declaration [-Werror] struct spi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:516:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:511:1: error: empty declaration [-Werror] struct slim_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:527:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:522:1: error: empty declaration [-Werror] struct apr_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:535:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:533:1: error: empty declaration [-Werror] struct spmi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:539:1: error: empty declaration [-Werror] enum dmi_field { ^ /kisskb/src/include/linux/mod_devicetable.h:567:1: error: empty declaration [-Werror] struct dmi_strmatch { ^ /kisskb/src/include/linux/mod_devicetable.h:573:1: error: empty declaration [-Werror] struct dmi_system_id { ^ /kisskb/src/include/linux/mod_devicetable.h:595:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:593:1: error: empty declaration [-Werror] struct platform_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:620:1: error: empty declaration [-Werror] struct mdio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:627:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* Data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:625:1: error: empty declaration [-Werror] struct zorro_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:638:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; /* data private to the driver */ ^ /kisskb/src/include/linux/mod_devicetable.h:635:1: error: empty declaration [-Werror] struct isapnp_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:649:1: error: empty declaration [-Werror] struct amba_id { ^ /kisskb/src/include/linux/mod_devicetable.h:659:1: error: empty declaration [-Werror] struct mips_cdmm_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:679:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:673:1: error: empty declaration [-Werror] struct x86_cpu_id { ^ /kisskb/src/include/linux/mod_devicetable.h:694:1: error: empty declaration [-Werror] struct cpu_feature { ^ /kisskb/src/include/linux/mod_devicetable.h:700:1: error: empty declaration [-Werror] struct ipack_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:721:2: error: unknown type name 'uuid_le' uuid_le uuid; ^ /kisskb/src/include/linux/mod_devicetable.h:723:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_info; ^ /kisskb/src/include/linux/mod_devicetable.h:719:1: error: empty declaration [-Werror] struct mei_cl_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:740:1: error: empty declaration [-Werror] struct rio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:747:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:745:1: error: empty declaration [-Werror] struct mcb_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:753:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:750:1: error: empty declaration [-Werror] struct ulpi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:764:1: error: empty declaration [-Werror] struct fsl_mc_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:788:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:782:1: error: empty declaration [-Werror] struct tb_service_id { ^ /kisskb/src/include/linux/mod_devicetable.h:809:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:806:1: error: empty declaration [-Werror] struct typec_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:818:2: error: expected specifier-qualifier-list before 'uuid_t' uuid_t uuid; ^ /kisskb/src/include/linux/mod_devicetable.h:817:1: error: empty declaration [-Werror] struct tee_client_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:830:1: error: empty declaration [-Werror] struct wmi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:847:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:845:1: error: empty declaration [-Werror] struct mhi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:855:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:853:1: error: empty declaration [-Werror] struct auxiliary_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:873:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:864:1: error: empty declaration [-Werror] struct ssam_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:897:2: error: expected specifier-qualifier-list before 'kernel_ulong_t' kernel_ulong_t driver_data; ^ /kisskb/src/include/linux/mod_devicetable.h:894:1: error: empty declaration [-Werror] struct dfl_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:910:2: error: expected specifier-qualifier-list before 'guid_t' guid_t guid; ^ /kisskb/src/include/linux/mod_devicetable.h:909:1: error: empty declaration [-Werror] struct ishtp_device_id { ^ In file included from /kisskb/src/include/linux/property.h:14:0, from /kisskb/src/include/linux/of.h:22, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/arch/x86/include/asm/irqdomain.h:5, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/linux/of.h:22:0, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/arch/x86/include/asm/irqdomain.h:5, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/property.h:17:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/property.h:18:1: error: empty declaration [-Werror] struct net_device; ^ /kisskb/src/include/linux/property.h:20:1: error: empty declaration [-Werror] enum dev_prop_type { ^ /kisskb/src/include/linux/property.h:29:1: error: empty declaration [-Werror] enum dev_dma_attr { ^ /kisskb/src/include/linux/property.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:158:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:249:1: error: empty declaration [-Werror] struct software_node; ^ /kisskb/src/include/linux/property.h:257:1: error: empty declaration [-Werror] struct software_node_ref_args { ^ /kisskb/src/include/linux/property.h:279:1: error: empty declaration [-Werror] struct property_entry { ^ /kisskb/src/include/linux/property.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/property.h:440:17: error: storage class specified for parameter 'devcon_match_fn_t' typedef void *(*devcon_match_fn_t)(struct fwnode_handle *fwnode, const char *id, ^ /kisskb/src/include/linux/property.h:445:8: error: expected declaration specifiers or '...' before 'devcon_match_fn_t' devcon_match_fn_t match); ^ /kisskb/src/include/linux/property.h:449:8: error: expected declaration specifiers or '...' before 'devcon_match_fn_t' devcon_match_fn_t match) ^ /kisskb/src/include/linux/property.h:456:8: error: expected declaration specifiers or '...' before 'devcon_match_fn_t' devcon_match_fn_t match, ^ /kisskb/src/include/linux/property.h:468:1: error: empty declaration [-Werror] struct software_node { ^ In file included from /kisskb/src/include/linux/irqdomain.h:35:0, from /kisskb/src/arch/x86/include/asm/irqdomain.h:5, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/of.h:28:13: error: storage class specified for parameter 'phandle' typedef u32 phandle; ^ /kisskb/src/include/linux/of.h:29:13: error: storage class specified for parameter 'ihandle' typedef u32 ihandle; ^ /kisskb/src/include/linux/of.h:31:1: error: empty declaration [-Werror] struct property { ^ /kisskb/src/include/linux/of.h:53:2: error: expected specifier-qualifier-list before 'phandle' phandle phandle; ^ /kisskb/src/include/linux/of.h:51:1: error: empty declaration [-Werror] struct device_node { ^ /kisskb/src/include/linux/of.h:74:1: error: empty declaration [-Werror] struct of_phandle_args { ^ /kisskb/src/include/linux/of.h:93:2: error: expected specifier-qualifier-list before 'phandle' phandle phandle; ^ /kisskb/src/include/linux/of.h:80:1: error: empty declaration [-Werror] struct of_phandle_iterator { ^ /kisskb/src/include/linux/of.h:97:1: error: empty declaration [-Werror] struct of_reconfig_data { ^ /kisskb/src/include/linux/of.h:104:25: error: storage class specified for parameter 'of_node_ktype' extern struct kobj_type of_node_ktype; ^ /kisskb/src/include/linux/of.h:105:39: error: storage class specified for parameter 'of_fwnode_ops' extern const struct fwnode_operations of_fwnode_ops; ^ /kisskb/src/include/linux/of.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:121:28: error: storage class specified for parameter 'of_node_get' extern struct device_node *of_node_get(struct device_node *node); ^ /kisskb/src/include/linux/of.h:122:13: error: storage class specified for parameter 'of_node_put' extern void of_node_put(struct device_node *node); ^ /kisskb/src/include/linux/of.h:133:28: error: storage class specified for parameter 'of_root' extern struct device_node *of_root; ^ /kisskb/src/include/linux/of.h:134:28: error: storage class specified for parameter 'of_chosen' extern struct device_node *of_chosen; ^ /kisskb/src/include/linux/of.h:135:28: error: storage class specified for parameter 'of_aliases' extern struct device_node *of_aliases; ^ /kisskb/src/include/linux/of.h:136:28: error: storage class specified for parameter 'of_stdout' extern struct device_node *of_stdout; ^ /kisskb/src/include/linux/of.h:137:23: error: storage class specified for parameter 'devtree_lock' extern raw_spinlock_t devtree_lock; ^ /kisskb/src/include/linux/of.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:226:28: error: storage class specified for parameter '__of_find_all_nodes' extern struct device_node *__of_find_all_nodes(struct device_node *prev); ^ /kisskb/src/include/linux/of.h:227:28: error: storage class specified for parameter 'of_find_all_nodes' extern struct device_node *of_find_all_nodes(struct device_node *prev); ^ /kisskb/src/include/linux/of.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:256:13: error: storage class specified for parameter 'of_node_name_eq' extern bool of_node_name_eq(const struct device_node *np, const char *name); ^ /kisskb/src/include/linux/of.h:257:13: error: storage class specified for parameter 'of_node_name_prefix' extern bool of_node_name_prefix(const struct device_node *np, const char *prefix); ^ /kisskb/src/include/linux/of.h:260:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:267:28: error: storage class specified for parameter 'of_find_node_by_name' extern struct device_node *of_find_node_by_name(struct device_node *from, ^ /kisskb/src/include/linux/of.h:269:28: error: storage class specified for parameter 'of_find_node_by_type' extern struct device_node *of_find_node_by_type(struct device_node *from, ^ /kisskb/src/include/linux/of.h:271:28: error: storage class specified for parameter 'of_find_compatible_node' extern struct device_node *of_find_compatible_node(struct device_node *from, ^ /kisskb/src/include/linux/of.h:273:28: error: storage class specified for parameter 'of_find_matching_node_and_match' extern struct device_node *of_find_matching_node_and_match( ^ /kisskb/src/include/linux/of.h:278:28: error: storage class specified for parameter 'of_find_node_opts_by_path' extern struct device_node *of_find_node_opts_by_path(const char *path, ^ /kisskb/src/include/linux/of.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:285:52: error: expected declaration specifiers or '...' before 'phandle' extern struct device_node *of_find_node_by_phandle(phandle handle); ^ /kisskb/src/include/linux/of.h:286:28: error: storage class specified for parameter 'of_get_parent' extern struct device_node *of_get_parent(const struct device_node *node); ^ /kisskb/src/include/linux/of.h:287:28: error: storage class specified for parameter 'of_get_next_parent' extern struct device_node *of_get_next_parent(struct device_node *node); ^ /kisskb/src/include/linux/of.h:288:28: error: storage class specified for parameter 'of_get_next_child' extern struct device_node *of_get_next_child(const struct device_node *node, ^ /kisskb/src/include/linux/of.h:290:28: error: storage class specified for parameter 'of_get_next_available_child' extern struct device_node *of_get_next_available_child( ^ /kisskb/src/include/linux/of.h:293:28: error: storage class specified for parameter 'of_get_compatible_child' extern struct device_node *of_get_compatible_child(const struct device_node *parent, ^ /kisskb/src/include/linux/of.h:295:28: error: storage class specified for parameter 'of_get_child_by_name' extern struct device_node *of_get_child_by_name(const struct device_node *node, ^ /kisskb/src/include/linux/of.h:299:28: error: storage class specified for parameter 'of_find_next_cache_node' extern struct device_node *of_find_next_cache_node(const struct device_node *); ^ /kisskb/src/include/linux/of.h:300:12: error: storage class specified for parameter 'of_find_last_cache_level' extern int of_find_last_cache_level(unsigned int cpu); ^ /kisskb/src/include/linux/of.h:301:28: error: storage class specified for parameter 'of_find_node_with_property' extern struct device_node *of_find_node_with_property( ^ /kisskb/src/include/linux/of.h:304:25: error: storage class specified for parameter 'of_find_property' extern struct property *of_find_property(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:307:12: error: storage class specified for parameter 'of_property_count_elems_of_size' extern int of_property_count_elems_of_size(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:309:12: error: storage class specified for parameter 'of_property_read_u32_index' extern int of_property_read_u32_index(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:312:12: error: storage class specified for parameter 'of_property_read_u64_index' extern int of_property_read_u64_index(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:315:12: error: storage class specified for parameter 'of_property_read_variable_u8_array' extern int of_property_read_variable_u8_array(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:318:12: error: storage class specified for parameter 'of_property_read_variable_u16_array' extern int of_property_read_variable_u16_array(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:321:12: error: storage class specified for parameter 'of_property_read_variable_u32_array' extern int of_property_read_variable_u32_array(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:326:12: error: storage class specified for parameter 'of_property_read_u64' extern int of_property_read_u64(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:328:12: error: storage class specified for parameter 'of_property_read_variable_u64_array' extern int of_property_read_variable_u64_array(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:334:12: error: storage class specified for parameter 'of_property_read_string' extern int of_property_read_string(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:337:12: error: storage class specified for parameter 'of_property_match_string' extern int of_property_match_string(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:340:12: error: storage class specified for parameter 'of_property_read_string_helper' extern int of_property_read_string_helper(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:343:12: error: storage class specified for parameter 'of_device_is_compatible' extern int of_device_is_compatible(const struct device_node *device, ^ /kisskb/src/include/linux/of.h:345:12: error: storage class specified for parameter 'of_device_compatible_match' extern int of_device_compatible_match(struct device_node *device, ^ /kisskb/src/include/linux/of.h:347:13: error: storage class specified for parameter 'of_device_is_available' extern bool of_device_is_available(const struct device_node *device); ^ /kisskb/src/include/linux/of.h:348:13: error: storage class specified for parameter 'of_device_is_big_endian' extern bool of_device_is_big_endian(const struct device_node *device); ^ /kisskb/src/include/linux/of.h:349:20: error: storage class specified for parameter 'of_get_property' extern const void *of_get_property(const struct device_node *node, ^ /kisskb/src/include/linux/of.h:352:28: error: storage class specified for parameter 'of_get_cpu_node' extern struct device_node *of_get_cpu_node(int cpu, unsigned int *thread); ^ /kisskb/src/include/linux/of.h:353:28: error: storage class specified for parameter 'of_get_next_cpu_node' extern struct device_node *of_get_next_cpu_node(struct device_node *prev); ^ /kisskb/src/include/linux/of.h:354:28: error: storage class specified for parameter 'of_get_cpu_state_node' extern struct device_node *of_get_cpu_state_node(struct device_node *cpu_node, ^ /kisskb/src/include/linux/of.h:356:12: error: storage class specified for parameter 'of_get_cpu_hwid' extern u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread); ^ /kisskb/src/include/linux/of.h:361:12: error: storage class specified for parameter 'of_n_addr_cells' extern int of_n_addr_cells(struct device_node *np); ^ /kisskb/src/include/linux/of.h:362:12: error: storage class specified for parameter 'of_n_size_cells' extern int of_n_size_cells(struct device_node *np); ^ /kisskb/src/include/linux/of.h:363:35: error: storage class specified for parameter 'of_match_node' extern const struct of_device_id *of_match_node( ^ /kisskb/src/include/linux/of.h:365:12: error: storage class specified for parameter 'of_modalias_node' extern int of_modalias_node(struct device_node *node, char *modalias, int len); ^ /kisskb/src/include/linux/of.h:366:13: error: storage class specified for parameter 'of_print_phandle_args' extern void of_print_phandle_args(const char *msg, const struct of_phandle_args *args); ^ /kisskb/src/include/linux/of.h:367:12: error: storage class specified for parameter '__of_parse_phandle_with_args' extern int __of_parse_phandle_with_args(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:370:12: error: storage class specified for parameter 'of_parse_phandle_with_args_map' extern int of_parse_phandle_with_args_map(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:373:12: error: storage class specified for parameter 'of_count_phandle_with_args' extern int of_count_phandle_with_args(const struct device_node *np, ^ /kisskb/src/include/linux/of.h:377:12: error: storage class specified for parameter 'of_phandle_iterator_init' extern int of_phandle_iterator_init(struct of_phandle_iterator *it, ^ /kisskb/src/include/linux/of.h:383:12: error: storage class specified for parameter 'of_phandle_iterator_next' extern int of_phandle_iterator_next(struct of_phandle_iterator *it); ^ /kisskb/src/include/linux/of.h:384:12: error: storage class specified for parameter 'of_phandle_iterator_args' extern int of_phandle_iterator_args(struct of_phandle_iterator *it, ^ /kisskb/src/include/linux/of.h:388:13: error: storage class specified for parameter 'of_alias_scan' extern void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)); ^ /kisskb/src/include/linux/of.h:389:12: error: storage class specified for parameter 'of_alias_get_id' extern int of_alias_get_id(struct device_node *np, const char *stem); ^ /kisskb/src/include/linux/of.h:390:12: error: storage class specified for parameter 'of_alias_get_highest_id' extern int of_alias_get_highest_id(const char *stem); ^ /kisskb/src/include/linux/of.h:392:12: error: storage class specified for parameter 'of_machine_is_compatible' extern int of_machine_is_compatible(const char *compat); ^ /kisskb/src/include/linux/of.h:394:12: error: storage class specified for parameter 'of_add_property' extern int of_add_property(struct device_node *np, struct property *prop); ^ /kisskb/src/include/linux/of.h:395:12: error: storage class specified for parameter 'of_remove_property' extern int of_remove_property(struct device_node *np, struct property *prop); ^ /kisskb/src/include/linux/of.h:396:12: error: storage class specified for parameter 'of_update_property' extern int of_update_property(struct device_node *np, struct property *newprop); ^ /kisskb/src/include/linux/of.h:405:12: error: storage class specified for parameter 'of_attach_node' extern int of_attach_node(struct device_node *); ^ /kisskb/src/include/linux/of.h:406:12: error: storage class specified for parameter 'of_detach_node' extern int of_detach_node(struct device_node *); ^ /kisskb/src/include/linux/of.h:431:12: error: storage class specified for parameter 'of_cpu_node_to_id' extern int of_cpu_node_to_id(struct device_node *np); ^ /kisskb/src/include/linux/of.h:439:1: error: empty declaration [-Werror] struct kimage; ^ /kisskb/src/include/linux/of.h:858:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:864:12: error: storage class specified for parameter 'of_node_to_nid' extern int of_node_to_nid(struct device_node *np); ^ /kisskb/src/include/linux/of.h:876:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:884:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:889:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:894:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:913:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:960:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1006:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1026:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1045:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1064:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1083:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1193:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1372:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1411:15: error: storage class specified for parameter 'of_init_fn_2' typedef int (*of_init_fn_2)(struct device_node *, struct device_node *); ^ /kisskb/src/include/linux/of.h:1412:15: error: storage class specified for parameter 'of_init_fn_1_ret' typedef int (*of_init_fn_1_ret)(struct device_node *); ^ /kisskb/src/include/linux/of.h:1413:16: error: storage class specified for parameter 'of_init_fn_1' typedef void (*of_init_fn_1)(struct device_node *); ^ /kisskb/src/include/linux/of.h:1436:1: error: empty declaration [-Werror] struct of_changeset_entry { ^ /kisskb/src/include/linux/of.h:1454:1: error: empty declaration [-Werror] struct of_changeset { ^ /kisskb/src/include/linux/of.h:1458:1: error: empty declaration [-Werror] enum of_reconfig_change { ^ /kisskb/src/include/linux/of.h:1465:12: error: storage class specified for parameter 'of_reconfig_notifier_register' extern int of_reconfig_notifier_register(struct notifier_block *); ^ /kisskb/src/include/linux/of.h:1466:12: error: storage class specified for parameter 'of_reconfig_notifier_unregister' extern int of_reconfig_notifier_unregister(struct notifier_block *); ^ /kisskb/src/include/linux/of.h:1467:12: error: storage class specified for parameter 'of_reconfig_notify' extern int of_reconfig_notify(unsigned long, struct of_reconfig_data *rd); ^ /kisskb/src/include/linux/of.h:1468:12: error: storage class specified for parameter 'of_reconfig_get_state_change' extern int of_reconfig_get_state_change(unsigned long action, ^ /kisskb/src/include/linux/of.h:1471:13: error: storage class specified for parameter 'of_changeset_init' extern void of_changeset_init(struct of_changeset *ocs); ^ /kisskb/src/include/linux/of.h:1472:13: error: storage class specified for parameter 'of_changeset_destroy' extern void of_changeset_destroy(struct of_changeset *ocs); ^ /kisskb/src/include/linux/of.h:1473:12: error: storage class specified for parameter 'of_changeset_apply' extern int of_changeset_apply(struct of_changeset *ocs); ^ /kisskb/src/include/linux/of.h:1474:12: error: storage class specified for parameter 'of_changeset_revert' extern int of_changeset_revert(struct of_changeset *ocs); ^ /kisskb/src/include/linux/of.h:1475:12: error: storage class specified for parameter 'of_changeset_action' extern int of_changeset_action(struct of_changeset *ocs, ^ /kisskb/src/include/linux/of.h:1481:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1493:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1499:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1536:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1544:1: error: empty declaration [-Werror] enum of_overlay_notify_action { ^ /kisskb/src/include/linux/of.h:1553:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/of.h:1565:1: error: empty declaration [-Werror] struct of_overlay_notify_data { ^ In file included from /kisskb/src/arch/x86/include/asm/irqdomain.h:5:0, from /kisskb/src/arch/x86/include/asm/msi.h:5, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/irqdomain.h:39:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/include/linux/irqdomain.h:40:1: error: empty declaration [-Werror] struct fwnode_handle; ^ /kisskb/src/include/linux/irqdomain.h:41:1: error: empty declaration [-Werror] struct irq_domain; ^ /kisskb/src/include/linux/irqdomain.h:42:1: error: empty declaration [-Werror] struct irq_chip; ^ /kisskb/src/include/linux/irqdomain.h:43:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/include/linux/irqdomain.h:44:1: error: empty declaration [-Werror] struct irq_desc; ^ /kisskb/src/include/linux/irqdomain.h:45:1: error: empty declaration [-Werror] struct cpumask; ^ /kisskb/src/include/linux/irqdomain.h:46:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/irqdomain.h:47:1: error: empty declaration [-Werror] struct irq_affinity_desc; ^ /kisskb/src/include/linux/irqdomain.h:61:1: error: empty declaration [-Werror] struct irq_fwspec { ^ /kisskb/src/include/linux/irqdomain.h:78:1: error: empty declaration [-Werror] enum irq_domain_bus_token { ^ /kisskb/src/include/linux/irqdomain.h:107:1: error: empty declaration [-Werror] struct irq_domain_ops { ^ /kisskb/src/include/linux/irqdomain.h:134:36: error: storage class specified for parameter 'irq_generic_chip_ops' extern const struct irq_domain_ops irq_generic_chip_ops; ^ /kisskb/src/include/linux/irqdomain.h:136:1: error: empty declaration [-Werror] struct irq_domain_chip_generic; ^ /kisskb/src/include/linux/irqdomain.h:164:1: error: empty declaration [-Werror] struct irq_domain { ^ /kisskb/src/include/linux/irqdomain.h:190:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/irqdomain.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:243:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/irqdomain.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:257:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:289:27: error: storage class specified for parameter 'irq_find_matching_fwspec' extern struct irq_domain *irq_find_matching_fwspec(struct irq_fwspec *fwspec, ^ /kisskb/src/include/linux/irqdomain.h:291:13: error: storage class specified for parameter 'irq_domain_check_msi_remap' extern bool irq_domain_check_msi_remap(void); ^ /kisskb/src/include/linux/irqdomain.h:292:13: error: storage class specified for parameter 'irq_set_default_host' extern void irq_set_default_host(struct irq_domain *host); ^ /kisskb/src/include/linux/irqdomain.h:293:27: error: storage class specified for parameter 'irq_get_default_host' extern struct irq_domain *irq_get_default_host(void); ^ /kisskb/src/include/linux/irqdomain.h:294:12: error: storage class specified for parameter 'irq_domain_alloc_descs' extern int irq_domain_alloc_descs(int virq, unsigned int nr_irqs, ^ /kisskb/src/include/linux/irqdomain.h:299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:303:39: error: storage class specified for parameter 'irqchip_fwnode_ops' extern const struct fwnode_operations irqchip_fwnode_ops; ^ /kisskb/src/include/linux/irqdomain.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:310:13: error: storage class specified for parameter 'irq_domain_update_bus_token' extern void irq_domain_update_bus_token(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:380:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:399:13: error: storage class specified for parameter 'irq_domain_remove' extern void irq_domain_remove(struct irq_domain *host); ^ /kisskb/src/include/linux/irqdomain.h:401:12: error: storage class specified for parameter 'irq_domain_associate' extern int irq_domain_associate(struct irq_domain *domain, unsigned int irq, ^ /kisskb/src/include/linux/irqdomain.h:403:13: error: storage class specified for parameter 'irq_domain_associate_many' extern void irq_domain_associate_many(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:407:21: error: storage class specified for parameter 'irq_create_mapping_affinity' extern unsigned int irq_create_mapping_affinity(struct irq_domain *host, ^ /kisskb/src/include/linux/irqdomain.h:410:21: error: storage class specified for parameter 'irq_create_fwspec_mapping' extern unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec); ^ /kisskb/src/include/linux/irqdomain.h:411:13: error: storage class specified for parameter 'irq_dispose_mapping' extern void irq_dispose_mapping(unsigned int virq); ^ /kisskb/src/include/linux/irqdomain.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:419:25: error: storage class specified for parameter '__irq_resolve_mapping' extern struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:451:36: error: storage class specified for parameter 'irq_domain_simple_ops' extern const struct irq_domain_ops irq_domain_simple_ops; ^ /kisskb/src/include/linux/irqdomain.h:479:25: error: storage class specified for parameter 'irq_domain_get_irq_data' extern struct irq_data *irq_domain_get_irq_data(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:484:22: error: expected declaration specifiers or '...' before 'irq_flow_handler_t' void *chip_data, irq_flow_handler_t handler, ^ /kisskb/src/include/linux/irqdomain.h:486:13: error: storage class specified for parameter 'irq_domain_reset_irq_data' extern void irq_domain_reset_irq_data(struct irq_data *irq_data); ^ /kisskb/src/include/linux/irqdomain.h:488:27: error: storage class specified for parameter 'irq_domain_create_hierarchy' extern struct irq_domain *irq_domain_create_hierarchy(struct irq_domain *parent, ^ /kisskb/src/include/linux/irqdomain.h:499:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:505:12: error: storage class specified for parameter '__irq_domain_alloc_irqs' extern int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, ^ /kisskb/src/include/linux/irqdomain.h:509:13: error: storage class specified for parameter 'irq_domain_free_irqs' extern void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs); ^ /kisskb/src/include/linux/irqdomain.h:510:12: error: storage class specified for parameter 'irq_domain_activate_irq' extern int irq_domain_activate_irq(struct irq_data *irq_data, bool early); ^ /kisskb/src/include/linux/irqdomain.h:511:13: error: storage class specified for parameter 'irq_domain_deactivate_irq' extern void irq_domain_deactivate_irq(struct irq_data *irq_data); ^ /kisskb/src/include/linux/irqdomain.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:520:12: error: storage class specified for parameter 'irq_domain_alloc_irqs_hierarchy' extern int irq_domain_alloc_irqs_hierarchy(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:523:12: error: storage class specified for parameter 'irq_domain_set_hwirq_and_chip' extern int irq_domain_set_hwirq_and_chip(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:528:13: error: storage class specified for parameter 'irq_domain_free_irqs_common' extern void irq_domain_free_irqs_common(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:531:13: error: storage class specified for parameter 'irq_domain_free_irqs_top' extern void irq_domain_free_irqs_top(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:534:12: error: storage class specified for parameter 'irq_domain_push_irq' extern int irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg); ^ /kisskb/src/include/linux/irqdomain.h:535:12: error: storage class specified for parameter 'irq_domain_pop_irq' extern int irq_domain_pop_irq(struct irq_domain *domain, int virq); ^ /kisskb/src/include/linux/irqdomain.h:537:12: error: storage class specified for parameter 'irq_domain_alloc_irqs_parent' extern int irq_domain_alloc_irqs_parent(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:541:13: error: storage class specified for parameter 'irq_domain_free_irqs_parent' extern void irq_domain_free_irqs_parent(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:545:12: error: storage class specified for parameter 'irq_domain_disconnect_hierarchy' extern int irq_domain_disconnect_hierarchy(struct irq_domain *domain, ^ /kisskb/src/include/linux/irqdomain.h:549:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:554:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:560:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:565:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:570:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:575:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdomain.h:579:13: error: storage class specified for parameter 'irq_domain_hierarchical_is_msi_remap' extern bool irq_domain_hierarchical_is_msi_remap(struct irq_domain *domain); ^ In file included from /kisskb/src/arch/x86/include/asm/msi.h:5:0, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/irqdomain.h:9:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:15:12: error: storage class specified for parameter 'x86_fwspec_is_ioapic' extern int x86_fwspec_is_ioapic(struct irq_fwspec *fwspec); ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:16:12: error: storage class specified for parameter 'x86_fwspec_is_hpet' extern int x86_fwspec_is_hpet(struct irq_fwspec *fwspec); ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:18:27: error: storage class specified for parameter 'x86_vector_domain' extern struct irq_domain *x86_vector_domain; ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:20:13: error: storage class specified for parameter 'init_irq_alloc_info' extern void init_irq_alloc_info(struct irq_alloc_info *info, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:22:13: error: storage class specified for parameter 'copy_irq_alloc_info' extern void copy_irq_alloc_info(struct irq_alloc_info *dst, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:27:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:28:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:30:1: error: empty declaration [-Werror] enum ioapic_domain_type { ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:37:1: error: empty declaration [-Werror] struct ioapic_domain_cfg { ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:43:36: error: storage class specified for parameter 'mp_ioapic_irqdomain_ops' extern const struct irq_domain_ops mp_ioapic_irqdomain_ops; ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:45:12: error: storage class specified for parameter 'mp_irqdomain_alloc' extern int mp_irqdomain_alloc(struct irq_domain *domain, unsigned int virq, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:47:13: error: storage class specified for parameter 'mp_irqdomain_free' extern void mp_irqdomain_free(struct irq_domain *domain, unsigned int virq, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:49:12: error: storage class specified for parameter 'mp_irqdomain_activate' extern int mp_irqdomain_activate(struct irq_domain *domain, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:51:13: error: storage class specified for parameter 'mp_irqdomain_deactivate' extern void mp_irqdomain_deactivate(struct irq_domain *domain, ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:53:12: error: storage class specified for parameter 'mp_irqdomain_ioapic_idx' extern int mp_irqdomain_ioapic_idx(struct irq_domain *domain); ^ /kisskb/src/arch/x86/include/asm/irqdomain.h:59:27: error: storage class specified for parameter 'x86_pci_msi_default_domain' extern struct irq_domain *x86_pci_msi_default_domain; ^ In file included from /kisskb/src/include/linux/msi.h:23:0, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/msi.h:7:31: error: storage class specified for parameter 'msi_alloc_info_t' typedef struct irq_alloc_info msi_alloc_info_t; ^ /kisskb/src/arch/x86/include/asm/msi.h:10:7: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' msi_alloc_info_t *arg); ^ /kisskb/src/arch/x86/include/asm/msi.h:26:28: error: storage class specified for parameter 'arch_msi_msg_data_t' } __attribute__ ((packed)) arch_msi_msg_data_t; ^ /kisskb/src/arch/x86/include/asm/msi.h:49:28: error: storage class specified for parameter 'arch_msi_msg_addr_lo_t' } __attribute__ ((packed)) arch_msi_msg_addr_lo_t; ^ /kisskb/src/arch/x86/include/asm/msi.h:57:28: error: storage class specified for parameter 'arch_msi_msg_addr_hi_t' } __attribute__ ((packed)) arch_msi_msg_addr_hi_t; ^ /kisskb/src/arch/x86/include/asm/msi.h:62:1: error: empty declaration [-Werror] struct msi_msg; ^ In file included from /kisskb/src/include/linux/kvm_host.h:19:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/msi.h:225: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/vmalloc.h:13:0, from /kisskb/src/include/linux/kvm_host.h:21, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/vmalloc.h:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmalloc.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/include/linux/kvm_host.h:26:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/nospec.h:12:1: error: empty declaration [-Werror] struct task_struct; ^ 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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/trace_clock.h:10:20: error: storage class specified for parameter 'trace_clock_x86_tsc' extern u64 notrace trace_clock_x86_tsc(void); ^ /kisskb/src/arch/x86/include/asm/trace_clock.h:10: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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/arch/x86/kernel/asm-offsets.c:10: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/ftrace.h:26:17: error: storage class specified for parameter 'modifying_ftrace_code' extern atomic_t modifying_ftrace_code; ^ /kisskb/src/arch/x86/include/asm/ftrace.h:27:13: error: storage class specified for parameter '__fentry__' extern void __fentry__(void); ^ /kisskb/src/arch/x86/include/asm/ftrace.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/ftrace.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/ftrace.h:53:18: error: field 'regs' has incomplete type struct pt_regs regs; ^ /kisskb/src/arch/x86/include/asm/ftrace.h:52:1: error: empty declaration [-Werror] struct ftrace_regs { ^ /kisskb/src/arch/x86/include/asm/ftrace.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/ftrace.h:68:1: error: empty declaration [-Werror] struct ftrace_ops; ^ /kisskb/src/arch/x86/include/asm/ftrace.h:78:1: error: empty declaration [-Werror] struct dyn_arch_ftrace { ^ /kisskb/src/arch/x86/include/asm/ftrace.h:90:13: error: storage class specified for parameter 'set_ftrace_ops_ro' extern void set_ftrace_ops_ro(void); ^ /kisskb/src/arch/x86/include/asm/ftrace.h:97: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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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: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:368:12: error: storage class specified for parameter 'ftrace_direct_func_count' extern int ftrace_direct_func_count; ^ /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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:818:12: error: storage class specified for parameter 'ftrace_modify_call' extern int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, ^ /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:959:15: error: storage class specified for parameter 'trace_preempt_on' extern void trace_preempt_on(unsigned long a0, unsigned long a1); ^ /kisskb/src/include/linux/ftrace.h:960:15: error: storage class specified for parameter 'trace_preempt_off' extern void trace_preempt_off(unsigned long a0, unsigned long a1); ^ /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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:1127:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:1131:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/ftrace.h:1137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1166:1: error: empty declaration [-Werror] enum ftrace_dump_mode; ^ /kisskb/src/include/linux/ftrace.h:1168: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:1169:12: error: storage class specified for parameter 'tracepoint_printk' extern int tracepoint_printk; ^ /kisskb/src/include/linux/ftrace.h:1171:13: error: storage class specified for parameter 'disable_trace_on_warning' extern void disable_trace_on_warning(void); ^ /kisskb/src/include/linux/ftrace.h:1172: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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/uapi/asm/kvm.h:56:1: error: empty declaration [-Werror] struct kvm_memory_alias { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:65:1: error: empty declaration [-Werror] struct kvm_pic_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:85:1: error: empty declaration [-Werror] struct kvm_ioapic_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:118:1: error: empty declaration [-Werror] struct kvm_regs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:129:1: error: empty declaration [-Werror] struct kvm_lapic_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:133:1: error: empty declaration [-Werror] struct kvm_segment { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:143:1: error: empty declaration [-Werror] struct kvm_dtable { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:151:1: error: empty declaration [-Werror] struct kvm_sregs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:162:1: error: empty declaration [-Werror] struct kvm_sregs2 { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:176:1: error: empty declaration [-Werror] struct kvm_fpu { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:190:1: error: empty declaration [-Werror] struct kvm_msr_entry { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:197:1: error: empty declaration [-Werror] struct kvm_msrs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:205:1: error: empty declaration [-Werror] struct kvm_msr_list { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:214:1: error: empty declaration [-Werror] struct kvm_msr_filter_range { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:224:1: error: empty declaration [-Werror] struct kvm_msr_filter { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:231:1: error: empty declaration [-Werror] struct kvm_cpuid_entry { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:241:1: error: empty declaration [-Werror] struct kvm_cpuid { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:247:1: error: empty declaration [-Werror] struct kvm_cpuid_entry2 { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:263:1: error: empty declaration [-Werror] struct kvm_cpuid2 { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:270:1: error: empty declaration [-Werror] struct kvm_pit_channel_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:286:1: error: empty declaration [-Werror] struct kvm_debug_exit_arch { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:301:1: error: empty declaration [-Werror] struct kvm_guest_debug_arch { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:305:1: error: empty declaration [-Werror] struct kvm_pit_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:312:1: error: empty declaration [-Werror] struct kvm_pit_state2 { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:318:1: error: empty declaration [-Werror] struct kvm_reinject_control { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:336:1: error: empty declaration [-Werror] struct kvm_vcpu_events { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:373:1: error: empty declaration [-Werror] struct kvm_debugregs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:382:1: error: empty declaration [-Werror] struct kvm_xsave { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:402:1: error: empty declaration [-Werror] struct kvm_xcr { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:408:1: error: empty declaration [-Werror] struct kvm_xcrs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:425:1: error: empty declaration [-Werror] struct kvm_sync_regs { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:465:1: error: empty declaration [-Werror] struct kvm_vmx_nested_state_data { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:470:1: error: empty declaration [-Werror] struct kvm_vmx_nested_state_hdr { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:484:1: error: empty declaration [-Werror] struct kvm_svm_nested_state_data { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:489:1: error: empty declaration [-Werror] struct kvm_svm_nested_state_hdr { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:494:1: error: empty declaration [-Werror] struct kvm_nested_state { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm.h:519:1: error: empty declaration [-Werror] struct kvm_pmu_event_filter { ^ In file included from /kisskb/src/include/linux/kvm_host.h:40:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:1183:1: error: empty declaration [-Werror] struct kvm_irq_routing_irqchip { ^ /kisskb/src/include/uapi/linux/kvm.h:1188:1: error: empty declaration [-Werror] struct kvm_irq_routing_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1198:1: error: empty declaration [-Werror] struct kvm_irq_routing_s390_adapter { ^ /kisskb/src/include/uapi/linux/kvm.h:1206:1: error: empty declaration [-Werror] struct kvm_irq_routing_hv_sint { ^ /kisskb/src/include/uapi/linux/kvm.h:1211:1: error: empty declaration [-Werror] struct kvm_irq_routing_xen_evtchn { ^ /kisskb/src/include/uapi/linux/kvm.h:1226:1: error: empty declaration [-Werror] struct kvm_irq_routing_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:1241:1: error: empty declaration [-Werror] struct kvm_irq_routing { ^ /kisskb/src/include/uapi/linux/kvm.h:1251:1: error: empty declaration [-Werror] struct kvm_x86_mce { ^ /kisskb/src/include/uapi/linux/kvm.h:1270:1: error: empty declaration [-Werror] struct kvm_xen_hvm_config { ^ /kisskb/src/include/uapi/linux/kvm.h:1291:1: error: empty declaration [-Werror] struct kvm_irqfd { ^ /kisskb/src/include/uapi/linux/kvm.h:1306:1: error: empty declaration [-Werror] struct kvm_clock_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1320:1: error: empty declaration [-Werror] struct kvm_config_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1327:1: error: empty declaration [-Werror] struct kvm_dirty_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1362:1: error: empty declaration [-Werror] struct kvm_reg_list { ^ /kisskb/src/include/uapi/linux/kvm.h:1367:1: error: empty declaration [-Werror] struct kvm_one_reg { ^ /kisskb/src/include/uapi/linux/kvm.h:1373:1: error: empty declaration [-Werror] struct kvm_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1382:1: error: empty declaration [-Werror] struct kvm_arm_device_addr { ^ /kisskb/src/include/uapi/linux/kvm.h:1392:1: error: empty declaration [-Werror] struct kvm_create_device { ^ /kisskb/src/include/uapi/linux/kvm.h:1398:1: error: empty declaration [-Werror] struct kvm_device_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1410:1: error: empty declaration [-Werror] enum kvm_device_type { ^ /kisskb/src/include/uapi/linux/kvm.h:1434:1: error: empty declaration [-Werror] struct kvm_vfio_spapr_tce { ^ /kisskb/src/include/uapi/linux/kvm.h:1459:1: error: empty declaration [-Werror] struct kvm_s390_ucas_mapping { ^ /kisskb/src/include/uapi/linux/kvm.h:1644:1: error: empty declaration [-Werror] struct kvm_enc_region { ^ /kisskb/src/include/uapi/linux/kvm.h:1672:1: error: empty declaration [-Werror] struct kvm_s390_pv_sec_parm { ^ /kisskb/src/include/uapi/linux/kvm.h:1677:1: error: empty declaration [-Werror] struct kvm_s390_pv_unp { ^ /kisskb/src/include/uapi/linux/kvm.h:1683:1: error: empty declaration [-Werror] enum pv_cmd_dmp_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1690:1: error: empty declaration [-Werror] struct kvm_s390_pv_dmp { ^ /kisskb/src/include/uapi/linux/kvm.h:1698:1: error: empty declaration [-Werror] enum pv_cmd_info_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1703:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_dump { ^ /kisskb/src/include/uapi/linux/kvm.h:1709:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_vm { ^ /kisskb/src/include/uapi/linux/kvm.h:1717:1: error: empty declaration [-Werror] struct kvm_s390_pv_info_header { ^ /kisskb/src/include/uapi/linux/kvm.h:1724:1: error: empty declaration [-Werror] struct kvm_s390_pv_info { ^ /kisskb/src/include/uapi/linux/kvm.h:1732:1: error: empty declaration [-Werror] enum pv_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1744:1: error: empty declaration [-Werror] struct kvm_pv_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1766:1: error: empty declaration [-Werror] struct kvm_xen_hvm_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1823:1: error: empty declaration [-Werror] struct kvm_xen_vcpu_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1860:1: error: empty declaration [-Werror] enum sev_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1895:1: error: empty declaration [-Werror] struct kvm_sev_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1902:1: error: empty declaration [-Werror] struct kvm_sev_launch_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1911:1: error: empty declaration [-Werror] struct kvm_sev_launch_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1917:1: error: empty declaration [-Werror] struct kvm_sev_launch_secret { ^ /kisskb/src/include/uapi/linux/kvm.h:1926:1: error: empty declaration [-Werror] struct kvm_sev_launch_measure { ^ /kisskb/src/include/uapi/linux/kvm.h:1931:1: error: empty declaration [-Werror] struct kvm_sev_guest_status { ^ /kisskb/src/include/uapi/linux/kvm.h:1937:1: error: empty declaration [-Werror] struct kvm_sev_dbg { ^ /kisskb/src/include/uapi/linux/kvm.h:1943:1: error: empty declaration [-Werror] struct kvm_sev_attestation_report { ^ /kisskb/src/include/uapi/linux/kvm.h:1949:1: error: empty declaration [-Werror] struct kvm_sev_send_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1961:1: error: empty declaration [-Werror] struct kvm_sev_send_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1970:1: error: empty declaration [-Werror] struct kvm_sev_receive_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1979:1: error: empty declaration [-Werror] struct kvm_sev_receive_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1992:1: error: empty declaration [-Werror] struct kvm_assigned_pci_dev { ^ /kisskb/src/include/uapi/linux/kvm.h:2014:1: error: empty declaration [-Werror] struct kvm_assigned_irq { ^ /kisskb/src/include/uapi/linux/kvm.h:2024:1: error: empty declaration [-Werror] struct kvm_assigned_msix_nr { ^ /kisskb/src/include/uapi/linux/kvm.h:2031:1: error: empty declaration [-Werror] struct kvm_assigned_msix_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:2048:1: error: empty declaration [-Werror] struct kvm_hyperv_eventfd { ^ /kisskb/src/include/uapi/linux/kvm.h:2103:1: error: empty declaration [-Werror] struct kvm_dirty_gfn { ^ /kisskb/src/include/uapi/linux/kvm.h:2133:1: error: empty declaration [-Werror] struct kvm_stats_header { ^ /kisskb/src/include/uapi/linux/kvm.h:2179:1: error: empty declaration [-Werror] struct kvm_stats_desc { ^ /kisskb/src/include/uapi/linux/kvm.h:2203:1: error: empty declaration [-Werror] struct kvm_s390_zpci_op { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_para.h:8: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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:62:1: error: empty declaration [-Werror] struct kvm_steal_time { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:75:1: error: empty declaration [-Werror] struct kvm_clock_pairing { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:114:1: error: empty declaration [-Werror] struct kvm_mmu_op_header { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:119:1: error: empty declaration [-Werror] struct kvm_mmu_op_write_pte { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:125:1: error: empty declaration [-Werror] struct kvm_mmu_op_flush_tlb { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:129:1: error: empty declaration [-Werror] struct kvm_mmu_op_release_pt { ^ /kisskb/src/arch/x86/include/uapi/asm/kvm_para.h:137:1: error: empty declaration [-Werror] struct kvm_vcpu_pv_apf_data { ^ 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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_para.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:110: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/kvm_para.h:131:26: error: storage class specified for parameter 'kvm_async_pf_enabled' DECLARE_STATIC_KEY_FALSE(kvm_async_pf_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/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/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_para.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:142:13: error: section attribute not allowed for 'kvm_spinlock_init' void __init kvm_spinlock_init(void); ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:142:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init kvm_spinlock_init(void); ^ /kisskb/src/arch/x86/include/asm/kvm_para.h:142:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/include/linux/kvm_host.h:41:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:43:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/include/linux/kvm_host.h:43:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:92:1: error: empty declaration [-Werror] struct kvm_mmu_memory_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/cpu.h:20:0, from /kisskb/src/include/linux/static_call.h:135, from /kisskb/src/include/linux/tracepoint.h:22, from /kisskb/src/arch/x86/include/asm/kvm_host.h:14, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/cpuhotplug.h:57:1: error: empty declaration [-Werror] enum cpuhp_state { ^ /kisskb/src/include/linux/cpuhotplug.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:348:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:454:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:498:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpuhotplug.h:512:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/static_call.h:135:0, from /kisskb/src/include/linux/tracepoint.h:22, from /kisskb/src/arch/x86/include/asm/kvm_host.h:14, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/cpu.h:22:1: error: empty declaration [-Werror] struct device; ^ /kisskb/src/include/linux/cpu.h:23:1: error: empty declaration [-Werror] struct device_node; ^ /kisskb/src/include/linux/cpu.h:24:1: error: empty declaration [-Werror] struct attribute_group; ^ /kisskb/src/include/linux/cpu.h:26:1: error: empty declaration [-Werror] struct cpu { ^ /kisskb/src/include/linux/cpu.h:32:13: error: storage class specified for parameter 'boot_cpu_init' extern void boot_cpu_init(void); ^ /kisskb/src/include/linux/cpu.h:33:13: error: storage class specified for parameter 'boot_cpu_hotplug_init' extern void boot_cpu_hotplug_init(void); ^ /kisskb/src/include/linux/cpu.h:34:13: error: storage class specified for parameter 'cpu_init' extern void cpu_init(void); ^ /kisskb/src/include/linux/cpu.h:35:13: error: storage class specified for parameter 'trap_init' extern void trap_init(void); ^ /kisskb/src/include/linux/cpu.h:37:12: error: storage class specified for parameter 'register_cpu' extern int register_cpu(struct cpu *cpu, int num); ^ /kisskb/src/include/linux/cpu.h:38:23: error: storage class specified for parameter 'get_cpu_device' extern struct device *get_cpu_device(unsigned cpu); ^ /kisskb/src/include/linux/cpu.h:39:13: error: storage class specified for parameter 'cpu_is_hotpluggable' extern bool cpu_is_hotpluggable(unsigned cpu); ^ /kisskb/src/include/linux/cpu.h:40:13: error: storage class specified for parameter 'arch_match_cpu_phys_id' extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id); ^ /kisskb/src/include/linux/cpu.h:41:13: error: storage class specified for parameter 'arch_find_n_match_cpu_physical_id' extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun, ^ /kisskb/src/include/linux/cpu.h:44:12: error: storage class specified for parameter 'cpu_add_dev_attr' extern int cpu_add_dev_attr(struct device_attribute *attr); ^ /kisskb/src/include/linux/cpu.h:45:13: error: storage class specified for parameter 'cpu_remove_dev_attr' extern void cpu_remove_dev_attr(struct device_attribute *attr); ^ /kisskb/src/include/linux/cpu.h:47:12: error: storage class specified for parameter 'cpu_add_dev_attr_group' extern int cpu_add_dev_attr_group(struct attribute_group *attrs); ^ /kisskb/src/include/linux/cpu.h:48:13: error: storage class specified for parameter 'cpu_remove_dev_attr_group' extern void cpu_remove_dev_attr_group(struct attribute_group *attrs); ^ /kisskb/src/include/linux/cpu.h:50:16: error: storage class specified for parameter 'cpu_show_meltdown' extern ssize_t cpu_show_meltdown(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:52:16: error: storage class specified for parameter 'cpu_show_spectre_v1' extern ssize_t cpu_show_spectre_v1(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:54:16: error: storage class specified for parameter 'cpu_show_spectre_v2' extern ssize_t cpu_show_spectre_v2(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:56:16: error: storage class specified for parameter 'cpu_show_spec_store_bypass' extern ssize_t cpu_show_spec_store_bypass(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:58:16: error: storage class specified for parameter 'cpu_show_l1tf' extern ssize_t cpu_show_l1tf(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:60:16: error: storage class specified for parameter 'cpu_show_mds' extern ssize_t cpu_show_mds(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:62:16: error: storage class specified for parameter 'cpu_show_tsx_async_abort' extern ssize_t cpu_show_tsx_async_abort(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:65:16: error: storage class specified for parameter 'cpu_show_itlb_multihit' extern ssize_t cpu_show_itlb_multihit(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:67:16: error: storage class specified for parameter 'cpu_show_srbds' extern ssize_t cpu_show_srbds(struct device *dev, struct device_attribute *attr, char *buf); ^ /kisskb/src/include/linux/cpu.h:68:16: error: storage class specified for parameter 'cpu_show_mmio_stale_data' extern ssize_t cpu_show_mmio_stale_data(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:71:16: error: storage class specified for parameter 'cpu_show_retbleed' extern ssize_t cpu_show_retbleed(struct device *dev, ^ /kisskb/src/include/linux/cpu.h:75:16: error: storage class specified for parameter 'cpu_device_create' struct device *cpu_device_create(struct device *parent, void *drvdata, ^ /kisskb/src/include/linux/cpu.h:79:13: error: storage class specified for parameter 'unregister_cpu' extern void unregister_cpu(struct cpu *cpu); ^ /kisskb/src/include/linux/cpu.h:80:16: error: storage class specified for parameter 'arch_cpu_probe' extern ssize_t arch_cpu_probe(const char *, size_t); ^ /kisskb/src/include/linux/cpu.h:81:16: error: storage class specified for parameter 'arch_cpu_release' extern ssize_t arch_cpu_release(const char *, size_t); ^ /kisskb/src/include/linux/cpu.h:96:13: error: storage class specified for parameter 'cpuhp_tasks_frozen' extern bool cpuhp_tasks_frozen; ^ /kisskb/src/include/linux/cpu.h:100:13: error: storage class specified for parameter 'cpu_maps_update_begin' extern void cpu_maps_update_begin(void); ^ /kisskb/src/include/linux/cpu.h:101:13: error: storage class specified for parameter 'cpu_maps_update_done' extern void cpu_maps_update_done(void); ^ /kisskb/src/include/linux/cpu.h:119:24: error: storage class specified for parameter 'cpu_subsys' extern struct bus_type cpu_subsys; ^ /kisskb/src/include/linux/cpu.h:121:12: error: storage class specified for parameter 'lockdep_is_cpus_held' extern int lockdep_is_cpus_held(void); ^ /kisskb/src/include/linux/cpu.h:124:13: error: storage class specified for parameter 'cpus_write_lock' extern void cpus_write_lock(void); ^ /kisskb/src/include/linux/cpu.h:125:13: error: storage class specified for parameter 'cpus_write_unlock' extern void cpus_write_unlock(void); ^ /kisskb/src/include/linux/cpu.h:126:13: error: storage class specified for parameter 'cpus_read_lock' extern void cpus_read_lock(void); ^ /kisskb/src/include/linux/cpu.h:127:13: error: storage class specified for parameter 'cpus_read_unlock' extern void cpus_read_unlock(void); ^ /kisskb/src/include/linux/cpu.h:128:13: error: storage class specified for parameter 'cpus_read_trylock' extern int cpus_read_trylock(void); ^ /kisskb/src/include/linux/cpu.h:129:13: error: storage class specified for parameter 'lockdep_assert_cpus_held' extern void lockdep_assert_cpus_held(void); ^ /kisskb/src/include/linux/cpu.h:130:13: error: storage class specified for parameter 'cpu_hotplug_disable' extern void cpu_hotplug_disable(void); ^ /kisskb/src/include/linux/cpu.h:131:13: error: storage class specified for parameter 'cpu_hotplug_enable' extern void cpu_hotplug_enable(void); ^ /kisskb/src/include/linux/cpu.h:135:13: error: storage class specified for parameter 'smp_shutdown_nonboot_cpus' extern void smp_shutdown_nonboot_cpus(unsigned int primary_cpu); ^ /kisskb/src/include/linux/cpu.h:152:12: error: storage class specified for parameter 'freeze_secondary_cpus' extern int freeze_secondary_cpus(int primary); ^ /kisskb/src/include/linux/cpu.h:153:13: error: storage class specified for parameter 'thaw_secondary_cpus' extern void thaw_secondary_cpus(void); ^ /kisskb/src/include/linux/cpu.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpu.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpu.h:196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cpu.h:208:1: error: empty declaration [-Werror] enum cpuhp_smt_control { ^ /kisskb/src/include/linux/cpu.h:217:31: error: storage class specified for parameter 'cpu_smt_control' extern enum cpuhp_smt_control cpu_smt_control; ^ /kisskb/src/include/linux/cpu.h:218:13: error: storage class specified for parameter 'cpu_smt_disable' extern void cpu_smt_disable(bool force); ^ /kisskb/src/include/linux/cpu.h:219:13: error: storage class specified for parameter 'cpu_smt_check_topology' extern void cpu_smt_check_topology(void); ^ /kisskb/src/include/linux/cpu.h:220:13: error: storage class specified for parameter 'cpu_smt_possible' extern bool cpu_smt_possible(void); ^ /kisskb/src/include/linux/cpu.h:221:12: error: storage class specified for parameter 'cpuhp_smt_enable' extern int cpuhp_smt_enable(void); ^ /kisskb/src/include/linux/cpu.h:222:12: error: storage class specified for parameter 'cpuhp_smt_disable' extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval); ^ /kisskb/src/include/linux/cpu.h:232:13: error: storage class specified for parameter 'cpu_mitigations_off' extern bool cpu_mitigations_off(void); ^ /kisskb/src/include/linux/cpu.h:233:13: error: storage class specified for parameter 'cpu_mitigations_auto_nosmt' extern bool cpu_mitigations_auto_nosmt(void); ^ In file included from /kisskb/src/arch/x86/include/asm/static_call.h:5:0, from /kisskb/src/include/linux/static_call.h:139, from /kisskb/src/include/linux/tracepoint.h:22, from /kisskb/src/arch/x86/include/asm/kvm_host.h:14, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/text-patching.h:9:1: error: empty declaration [-Werror] struct paravirt_patch_site; ^ /kisskb/src/arch/x86/include/asm/text-patching.h:28:13: error: storage class specified for parameter 'text_poke_early' extern void text_poke_early(void *addr, const void *opcode, size_t len); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:44:14: error: storage class specified for parameter 'text_poke' extern void *text_poke(void *addr, const void *opcode, size_t len); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:45:13: error: storage class specified for parameter 'text_poke_sync' extern void text_poke_sync(void); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:46:14: error: storage class specified for parameter 'text_poke_kgdb' extern void *text_poke_kgdb(void *addr, const void *opcode, size_t len); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:47:14: error: storage class specified for parameter 'text_poke_copy' extern void *text_poke_copy(void *addr, const void *opcode, size_t len); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:48:14: error: storage class specified for parameter 'text_poke_set' extern void *text_poke_set(void *addr, int c, size_t len); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:49:12: error: storage class specified for parameter 'poke_int3_handler' extern int poke_int3_handler(struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:50:13: error: storage class specified for parameter 'text_poke_bp' extern void text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:52:13: error: storage class specified for parameter 'text_poke_queue' extern void text_poke_queue(void *addr, const void *opcode, size_t len, const void *emulate); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:53:13: error: storage class specified for parameter 'text_poke_finish' extern void text_poke_finish(void); ^ /kisskb/src/arch/x86/include/asm/text-patching.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:92:1: error: empty declaration [-Werror] union text_poke_insn { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:138:12: error: storage class specified for parameter 'after_bootmem' extern int after_bootmem; ^ /kisskb/src/arch/x86/include/asm/text-patching.h:139:42: error: storage class specified for parameter 'poking_mm' extern __ro_after_init struct mm_struct *poking_mm; ^ /kisskb/src/arch/x86/include/asm/text-patching.h:139:42: error: section attribute not allowed for 'poking_mm' /kisskb/src/arch/x86/include/asm/text-patching.h:140:38: error: storage class specified for parameter 'poking_addr' extern __ro_after_init unsigned long poking_addr; ^ /kisskb/src/arch/x86/include/asm/text-patching.h:140:38: error: section attribute not allowed for 'poking_addr' /kisskb/src/arch/x86/include/asm/text-patching.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/text-patching.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/static_call.h:139:0, from /kisskb/src/include/linux/tracepoint.h:22, from /kisskb/src/arch/x86/include/asm/kvm_host.h:14, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/static_call.h:66:13: error: storage class specified for parameter '__static_call_fixup' extern bool __static_call_fixup(void *tramp, u8 op, void *dest); ^ In file included from /kisskb/src/include/linux/tracepoint.h:22:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:14, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/static_call.h:144:13: error: storage class specified for parameter 'arch_static_call_transform' extern void arch_static_call_transform(void *site, void *tramp, void *func, bool tail); ^ /kisskb/src/include/linux/static_call.h:163:19: error: storage class specified for parameter 'static_call_init' extern int __init static_call_init(void); ^ /kisskb/src/include/linux/static_call.h:163:19: error: section attribute not allowed for 'static_call_init' /kisskb/src/include/linux/static_call.h:163:1: error: '__cold__' attribute ignored [-Werror=attributes] extern int __init static_call_init(void); ^ /kisskb/src/include/linux/static_call.h:163:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/linux/static_call.h:165:1: error: empty declaration [-Werror] struct static_call_mod { ^ /kisskb/src/include/linux/static_call.h:172:1: error: empty declaration [-Werror] struct static_call_tramp_key { ^ /kisskb/src/include/linux/static_call.h:177:13: error: storage class specified for parameter '__static_call_update' extern void __static_call_update(struct static_call_key *key, void *tramp, void *func); ^ /kisskb/src/include/linux/static_call.h:178:12: error: storage class specified for parameter 'static_call_mod_init' extern int static_call_mod_init(struct module *mod); ^ /kisskb/src/include/linux/static_call.h:179:12: error: storage class specified for parameter 'static_call_text_reserved' extern int static_call_text_reserved(void *start, void *end); ^ /kisskb/src/include/linux/static_call.h:181:13: error: storage class specified for parameter '__static_call_return0' extern long __static_call_return0(void); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:14:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/tracepoint.h:24:1: error: empty declaration [-Werror] struct module; ^ /kisskb/src/include/linux/tracepoint.h:25:1: error: empty declaration [-Werror] struct tracepoint; ^ /kisskb/src/include/linux/tracepoint.h:26:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/tracepoint.h:28:1: error: empty declaration [-Werror] struct trace_eval_map { ^ /kisskb/src/include/linux/tracepoint.h:36:27: error: storage class specified for parameter 'tracepoint_srcu' extern struct srcu_struct tracepoint_srcu; ^ /kisskb/src/include/linux/tracepoint.h:39:1: error: storage class specified for parameter 'tracepoint_probe_register' tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data); ^ /kisskb/src/include/linux/tracepoint.h:41:1: error: storage class specified for parameter 'tracepoint_probe_register_prio' tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, void *data, ^ /kisskb/src/include/linux/tracepoint.h:44:1: error: storage class specified for parameter 'tracepoint_probe_register_prio_may_exist' tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, void *data, ^ /kisskb/src/include/linux/tracepoint.h:47:1: error: storage class specified for parameter 'tracepoint_probe_unregister' tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data); ^ /kisskb/src/include/linux/tracepoint.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/tracepoint.h:56:1: error: storage class specified for parameter 'for_each_kernel_tracepoint' for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), ^ /kisskb/src/include/linux/tracepoint.h:60:1: error: empty declaration [-Werror] struct tp_module { ^ /kisskb/src/include/linux/tracepoint.h:66:12: error: storage class specified for parameter 'register_tracepoint_module_notifier' extern int register_tracepoint_module_notifier(struct notifier_block *nb); ^ /kisskb/src/include/linux/tracepoint.h:67:12: error: storage class specified for parameter 'unregister_tracepoint_module_notifier' extern int unregister_tracepoint_module_notifier(struct notifier_block *nb); ^ /kisskb/src/include/linux/tracepoint.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/tracepoint.h:102:12: error: storage class specified for parameter 'syscall_regfunc' extern int syscall_regfunc(void); ^ /kisskb/src/include/linux/tracepoint.h:103:13: error: storage class specified for parameter 'syscall_unregfunc' extern void syscall_unregfunc(void); ^ /kisskb/src/include/linux/tracepoint.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:16:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/irq_work.h:17:1: error: empty declaration [-Werror] struct irq_work { ^ /kisskb/src/include/linux/irq_work.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq_work.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq_work.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq_work.h:53:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/irq_work.h:64:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:16, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/irq_work.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/irq_work.h:12:13: error: storage class specified for parameter 'arch_irq_work_raise' extern void arch_irq_work_raise(void); ^ In file included from ./arch/x86/include/generated/asm/early_ioremap.h:1:0, from /kisskb/src/arch/x86/include/asm/io.h:45, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/asm-generic/early_ioremap.h:11:22: error: storage class specified for parameter 'early_ioremap' extern void __iomem *early_ioremap(resource_size_t phys_addr, ^ /kisskb/src/include/asm-generic/early_ioremap.h:13:14: error: storage class specified for parameter 'early_memremap' extern void *early_memremap(resource_size_t phys_addr, ^ /kisskb/src/include/asm-generic/early_ioremap.h:15:14: error: storage class specified for parameter 'early_memremap_ro' extern void *early_memremap_ro(resource_size_t phys_addr, ^ /kisskb/src/include/asm-generic/early_ioremap.h:17:14: error: storage class specified for parameter 'early_memremap_prot' extern void *early_memremap_prot(resource_size_t phys_addr, ^ /kisskb/src/include/asm-generic/early_ioremap.h:19:13: error: storage class specified for parameter 'early_iounmap' extern void early_iounmap(void __iomem *addr, unsigned long size); ^ /kisskb/src/include/asm-generic/early_ioremap.h:20:13: error: storage class specified for parameter 'early_memunmap' extern void early_memunmap(void *addr, unsigned long size); ^ /kisskb/src/include/asm-generic/early_ioremap.h:24:13: error: storage class specified for parameter 'early_ioremap_init' extern void early_ioremap_init(void); ^ /kisskb/src/include/asm-generic/early_ioremap.h:27:13: error: storage class specified for parameter 'early_ioremap_setup' extern void early_ioremap_setup(void); ^ /kisskb/src/include/asm-generic/early_ioremap.h:33:13: error: storage class specified for parameter 'early_ioremap_reset' extern void early_ioremap_reset(void); ^ /kisskb/src/include/asm-generic/early_ioremap.h:38:13: error: storage class specified for parameter 'copy_from_early_mem' extern void copy_from_early_mem(void *dest, phys_addr_t src, ^ In file included from /kisskb/src/arch/x86/include/asm/io.h:47:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/shared/io.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:22:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/shared/io.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:22:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/shared/io.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:23:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/shared/io.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:23:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/shared/io.h:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:24:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ /kisskb/src/arch/x86/include/asm/shared/io.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/shared/io.h:24:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:59:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(readb, "b", unsigned char, "=q", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:60:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(readw, "w", unsigned short, "=r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:61:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(readl, "l", unsigned int, "=r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:63:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(__readb, "b", unsigned char, "=q", ) ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:64:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(__readw, "w", unsigned short, "=r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:65:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(__readl, "l", unsigned int, "=r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:67:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(writeb, "b", unsigned char, "q", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:68:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(writew, "w", unsigned short, "r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:69:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(writel, "l", unsigned int, "r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:71:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(__writeb, "b", unsigned char, "q", ) ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:72:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(__writew, "w", unsigned short, "r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:73:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(__writel, "l", unsigned int, "r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:97:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(readq, "q", u64, "=r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ ^ /kisskb/src/arch/x86/include/asm/io.h:98:1: note: in expansion of macro 'build_mmio_read' build_mmio_read(__readq, "q", u64, "=r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:99:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(writeq, "q", u64, "r", :"memory") ^ /kisskb/src/arch/x86/include/asm/io.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/arch/x86/include/asm/io.h:100:1: note: in expansion of macro 'build_mmio_write' build_mmio_write(__writeq, "q", u64, "r", ) ^ /kisskb/src/arch/x86/include/asm/io.h:115:12: error: storage class specified for parameter 'valid_phys_addr_range' extern int valid_phys_addr_range(phys_addr_t addr, size_t size); ^ /kisskb/src/arch/x86/include/asm/io.h:116:12: error: storage class specified for parameter 'valid_mmap_phys_addr_range' extern int valid_mmap_phys_addr_range(unsigned long pfn, size_t size); ^ /kisskb/src/arch/x86/include/asm/io.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/io.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/io.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/io.h:176:22: error: storage class specified for parameter 'ioremap_uc' extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/io.h:178:22: error: storage class specified for parameter 'ioremap_cache' extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/io.h:180:22: error: storage class specified for parameter 'ioremap_prot' extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_val); ^ /kisskb/src/arch/x86/include/asm/io.h:182:22: error: storage class specified for parameter 'ioremap_encrypted' extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/io.h:202:13: error: storage class specified for parameter 'iounmap' extern void iounmap(volatile void __iomem *addr); ^ In file included from /kisskb/src/arch/x86/include/asm/io.h:215:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/io.h:215, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/io.h:229:13: error: storage class specified for parameter 'native_io_delay' extern void native_io_delay(void); ^ /kisskb/src/arch/x86/include/asm/io.h:231:12: error: storage class specified for parameter 'io_delay_type' extern int io_delay_type; ^ /kisskb/src/arch/x86/include/asm/io.h:232:13: error: storage class specified for parameter 'io_delay_init' extern void io_delay_init(void); ^ /kisskb/src/arch/x86/include/asm/io.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:296:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/io.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:296:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/io.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:296:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/io.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:296:1: note: in expansion of macro 'BUILDIO' BUILDIO(b, b, u8) ^ /kisskb/src/arch/x86/include/asm/io.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:297:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/io.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:297:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/io.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:297:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/io.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:297:1: note: in expansion of macro 'BUILDIO' BUILDIO(w, w, u16) ^ /kisskb/src/arch/x86/include/asm/io.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:298:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ /kisskb/src/arch/x86/include/asm/io.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:298:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ /kisskb/src/arch/x86/include/asm/io.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:298:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ /kisskb/src/arch/x86/include/asm/io.h:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/include/asm/io.h:298:1: note: in expansion of macro 'BUILDIO' BUILDIO(l, , u32) ^ /kisskb/src/arch/x86/include/asm/io.h:315:14: error: storage class specified for parameter 'xlate_dev_mem_ptr' extern void *xlate_dev_mem_ptr(phys_addr_t phys); ^ /kisskb/src/arch/x86/include/asm/io.h:316:13: error: storage class specified for parameter 'unxlate_dev_mem_ptr' extern void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr); ^ /kisskb/src/arch/x86/include/asm/io.h:321:12: error: storage class specified for parameter 'ioremap_change_attr' extern int ioremap_change_attr(unsigned long vaddr, unsigned long size, ^ /kisskb/src/arch/x86/include/asm/io.h:323:22: error: storage class specified for parameter 'ioremap_wc' extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/io.h:325:22: error: storage class specified for parameter 'ioremap_wt' extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/io.h:328:13: error: storage class specified for parameter 'is_early_ioremap_ptep' extern bool is_early_ioremap_ptep(pte_t *ptep); ^ In file included from /kisskb/src/arch/x86/include/asm/io.h:332:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:434:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:468:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:483:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:498: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/asm-generic/io.h:609:0, from /kisskb/src/arch/x86/include/asm/io.h:332, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/io.h:332:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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 { ^ /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/x86/include/asm/io.h:215:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/io.h:332:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/io.h:215:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/io.h:332:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/io.h:13:0, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/io.h:336:25: error: storage class specified for parameter 'arch_phys_wc_index' extern int __must_check arch_phys_wc_index(int handle); ^ /kisskb/src/arch/x86/include/asm/io.h:339:25: error: storage class specified for parameter 'arch_phys_wc_add' extern int __must_check arch_phys_wc_add(unsigned long base, ^ /kisskb/src/arch/x86/include/asm/io.h:341:13: error: storage class specified for parameter 'arch_phys_wc_del' extern void arch_phys_wc_del(int handle); ^ /kisskb/src/arch/x86/include/asm/io.h:346:12: error: storage class specified for parameter 'arch_io_reserve_memtype_wc' extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size); ^ /kisskb/src/arch/x86/include/asm/io.h:347:13: error: storage class specified for parameter 'arch_io_free_memtype_wc' extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size); ^ /kisskb/src/arch/x86/include/asm/io.h:352:13: error: storage class specified for parameter 'arch_memremap_can_ram_remap' extern bool arch_memremap_can_ram_remap(resource_size_t offset, ^ /kisskb/src/arch/x86/include/asm/io.h:357:13: error: storage class specified for parameter 'phys_mem_access_encrypted' extern bool phys_mem_access_encrypted(unsigned long phys_addr, ^ /kisskb/src/arch/x86/include/asm/io.h:382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/irq.h:20:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/io.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:135:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/include/generated/asm/irq_regs.h:1:0, from /kisskb/src/include/linux/irq.h:25, from /kisskb/src/arch/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/kvm_host.h:17:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/kvm_host.h:17, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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/x86/include/asm/kvm_host.h:17:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:630:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:51: error: expected declaration specifiers or '...' before 'irqreturn_t' 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:912:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:917: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/perf_event.h:17:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/uapi/linux/perf_event.h:29:1: error: empty declaration [-Werror] enum perf_type_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:60:1: error: empty declaration [-Werror] enum perf_hw_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:85:1: error: empty declaration [-Werror] enum perf_hw_cache_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:97:1: error: empty declaration [-Werror] enum perf_hw_cache_op_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:105:1: error: empty declaration [-Werror] enum perf_hw_cache_op_result_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:118:1: error: empty declaration [-Werror] enum perf_sw_ids { ^ /kisskb/src/include/uapi/linux/perf_event.h:139:1: error: empty declaration [-Werror] enum perf_event_sample_format { ^ /kisskb/src/include/uapi/linux/perf_event.h:180:1: error: empty declaration [-Werror] enum perf_branch_sample_type_shift { ^ /kisskb/src/include/uapi/linux/perf_event.h:210:1: error: empty declaration [-Werror] enum perf_branch_sample_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:244:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:267:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:275:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:287:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:308:1: error: empty declaration [-Werror] enum perf_sample_regs_abi { ^ /kisskb/src/include/uapi/linux/perf_event.h:318:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:358:1: error: empty declaration [-Werror] enum perf_event_read_format { ^ /kisskb/src/include/uapi/linux/perf_event.h:384:1: error: empty declaration [-Werror] struct perf_event_attr { ^ /kisskb/src/include/uapi/linux/perf_event.h:525:1: error: empty declaration [-Werror] struct perf_event_query_bpf { ^ /kisskb/src/include/uapi/linux/perf_event.h:557:1: error: empty declaration [-Werror] enum perf_event_ioc_flags { ^ /kisskb/src/include/uapi/linux/perf_event.h:564:1: error: empty declaration [-Werror] struct perf_event_mmap_page { ^ /kisskb/src/include/uapi/linux/perf_event.h:808:1: error: empty declaration [-Werror] struct perf_event_header { ^ /kisskb/src/include/uapi/linux/perf_event.h:814:1: error: empty declaration [-Werror] struct perf_ns_link_info { ^ /kisskb/src/include/uapi/linux/perf_event.h:819:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:831:1: error: empty declaration [-Werror] enum perf_event_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1210:1: error: empty declaration [-Werror] enum perf_record_ksymbol_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1223:1: error: empty declaration [-Werror] enum perf_bpf_event_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1233:1: error: empty declaration [-Werror] enum perf_callchain_context { ^ /kisskb/src/include/uapi/linux/perf_event.h:1264:1: error: empty declaration [-Werror] union perf_mem_data_src { ^ /kisskb/src/include/uapi/linux/perf_event.h:1409:1: error: empty declaration [-Werror] struct perf_branch_entry { ^ /kisskb/src/include/uapi/linux/perf_event.h:1424:1: error: empty declaration [-Werror] union perf_sample_weight { ^ In file included from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1:0, from /kisskb/src/include/uapi/linux/bpf_perf_event.h:11, from /kisskb/src/include/linux/perf_event.h:18, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/uapi/asm-generic/bpf_perf_event.h:7:24: error: storage class specified for parameter 'bpf_user_pt_regs_t' typedef struct pt_regs bpf_user_pt_regs_t; ^ In file included from /kisskb/src/include/linux/perf_event.h:18:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/uapi/linux/bpf_perf_event.h:14:2: error: expected specifier-qualifier-list before 'bpf_user_pt_regs_t' bpf_user_pt_regs_t regs; ^ /kisskb/src/include/uapi/linux/bpf_perf_event.h:13:1: error: empty declaration [-Werror] struct bpf_perf_event_data { ^ In file included from /kisskb/src/include/linux/perf_event.h:25:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/perf_event.h:128:1: error: empty declaration [-Werror] union cpuid10_eax { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:138:1: error: empty declaration [-Werror] union cpuid10_ebx { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:151:1: error: empty declaration [-Werror] union cpuid10_edx { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:165:1: error: empty declaration [-Werror] union cpuid28_eax { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:178:1: error: empty declaration [-Werror] union cpuid28_ebx { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:190:1: error: empty declaration [-Werror] union cpuid28_ecx { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:206:1: error: empty declaration [-Werror] union cpuid_0x80000022_ebx { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:218:1: error: empty declaration [-Werror] struct x86_pmu_capability { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:382:1: error: empty declaration [-Werror] struct pebs_basic { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:389:1: error: empty declaration [-Werror] struct pebs_meminfo { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:396:1: error: empty declaration [-Werror] struct pebs_gprs { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:401:1: error: empty declaration [-Werror] struct pebs_xmm { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:469:12: error: storage class specified for parameter 'get_ibs_caps' extern u32 get_ibs_caps(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:475:13: error: storage class specified for parameter 'perf_events_lapic_init' extern void perf_events_lapic_init(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:489:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/x86/include/asm/perf_event.h:491:17: error: field 'regs' has incomplete type struct pt_regs regs; ^ /kisskb/src/arch/x86/include/asm/perf_event.h:490:1: error: empty declaration [-Werror] struct x86_perf_regs { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:495:22: error: storage class specified for parameter 'perf_instruction_pointer' extern unsigned long perf_instruction_pointer(struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:496:22: error: storage class specified for parameter 'perf_misc_flags' extern unsigned long perf_misc_flags(struct pt_regs *regs); ^ In file included from /kisskb/src/arch/x86/include/asm/stacktrace.h:14:0, from /kisskb/src/arch/x86/include/asm/perf_event.h:499, from /kisskb/src/include/linux/perf_event.h:25, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/switch_to.h:7:1: error: empty declaration [-Werror] struct task_struct; /* one of the stranger aspects of C forward declarations */ ^ 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/arch/x86/include/asm/switch_to.h:12:1: note: in expansion of macro '__visible' __visible struct task_struct *__switch_to(struct task_struct *prev, ^ In file included from /kisskb/src/arch/x86/include/asm/stacktrace.h:14:0, from /kisskb/src/arch/x86/include/asm/perf_event.h:499, from /kisskb/src/include/linux/perf_event.h:25, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/switch_to.h:21:1: error: empty declaration [-Werror] struct inactive_task_frame { ^ /kisskb/src/arch/x86/include/asm/switch_to.h:44:17: error: field 'regs' has incomplete type struct pt_regs regs; ^ /kisskb/src/arch/x86/include/asm/switch_to.h:42:1: error: empty declaration [-Werror] struct fork_frame { ^ /kisskb/src/arch/x86/include/asm/switch_to.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/switch_to.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/perf_event.h:499:0, from /kisskb/src/include/linux/perf_event.h:25, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/stacktrace.h:16:1: error: empty declaration [-Werror] enum stack_type { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:26:1: error: empty declaration [-Werror] struct stack_info { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:102:1: error: empty declaration [-Werror] struct stack_frame { ^ /kisskb/src/arch/x86/include/asm/stacktrace.h:107:1: error: empty declaration [-Werror] struct stack_frame_ia32 { ^ In file included from /kisskb/src/include/linux/perf_event.h:25:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/perf_event.h:512:1: error: empty declaration [-Werror] struct perf_guest_switch_msr { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:517:1: error: empty declaration [-Werror] struct x86_pmu_lbr { ^ /kisskb/src/arch/x86/include/asm/perf_event.h:524:13: error: storage class specified for parameter 'perf_get_x86_pmu_capability' extern void perf_get_x86_pmu_capability(struct x86_pmu_capability *cap); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:525:12: error: storage class specified for parameter 'perf_get_hw_event_config' extern u64 perf_get_hw_event_config(int hw_event); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:526:13: error: storage class specified for parameter 'perf_check_microcode' extern void perf_check_microcode(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:527:13: error: storage class specified for parameter 'perf_clear_dirty_counters' extern void perf_clear_dirty_counters(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:528:12: error: storage class specified for parameter 'x86_perf_rdpmc_index' extern int x86_perf_rdpmc_index(struct perf_event *event); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:545:38: error: storage class specified for parameter 'perf_guest_get_msrs' extern struct perf_guest_switch_msr *perf_guest_get_msrs(int *nr, void *data); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:546:12: error: storage class specified for parameter 'x86_perf_get_lbr' extern int x86_perf_get_lbr(struct x86_pmu_lbr *lbr); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:556:14: error: storage class specified for parameter 'intel_pt_handle_vmx' extern void intel_pt_handle_vmx(int on); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:565:14: error: storage class specified for parameter 'amd_pmu_enable_virt' extern void amd_pmu_enable_virt(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:566:14: error: storage class specified for parameter 'amd_pmu_disable_virt' extern void amd_pmu_disable_virt(void); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:577:13: error: storage class specified for parameter 'perf_amd_brs_lopwr_cb' extern void perf_amd_brs_lopwr_cb(bool lopwr_in); ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__perf_lopwr_cb' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/perf_event.h:579:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(perf_lopwr_cb, perf_amd_brs_lopwr_cb); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__perf_lopwr_cb' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:579:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(perf_lopwr_cb, perf_amd_brs_lopwr_cb); ^ In file included from /kisskb/src/include/linux/perf_event.h:25:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/perf_event.h:579:58: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(perf_lopwr_cb, perf_amd_brs_lopwr_cb); ^ /kisskb/src/arch/x86/include/asm/perf_event.h:582:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:32:1: error: empty declaration [-Werror] struct perf_guest_info_callbacks { ^ In file included from /kisskb/src/include/linux/perf_event.h:40:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:14:1: error: empty declaration [-Werror] struct arch_hw_breakpoint { ^ In file included from /kisskb/src/include/linux/kdebug.h:5:0, from /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:21, from /kisskb/src/include/linux/perf_event.h:40, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kdebug.h:7:1: error: empty declaration [-Werror] struct pt_regs; ^ /kisskb/src/arch/x86/include/asm/kdebug.h:10:1: error: empty declaration [-Werror] enum die_val { ^ /kisskb/src/arch/x86/include/asm/kdebug.h:25:1: error: empty declaration [-Werror] enum show_regs_mode { ^ /kisskb/src/arch/x86/include/asm/kdebug.h:35:13: error: storage class specified for parameter 'die' extern void die(const char *, struct pt_regs *,long); ^ /kisskb/src/arch/x86/include/asm/kdebug.h:37:25: error: storage class specified for parameter '__die' extern int __must_check __die(const char *, struct pt_regs *, long); ^ /kisskb/src/arch/x86/include/asm/kdebug.h:38:13: error: storage class specified for parameter 'show_stack_regs' extern void show_stack_regs(struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/kdebug.h:39:13: error: storage class specified for parameter '__show_regs' extern void __show_regs(struct pt_regs *regs, enum show_regs_mode, ^ /kisskb/src/arch/x86/include/asm/kdebug.h:41:13: error: storage class specified for parameter 'show_iret_regs' extern void show_iret_regs(struct pt_regs *regs, const char *log_lvl); ^ /kisskb/src/arch/x86/include/asm/kdebug.h:42:22: error: storage class specified for parameter 'oops_begin' extern unsigned long oops_begin(void); ^ /kisskb/src/arch/x86/include/asm/kdebug.h:43:13: error: storage class specified for parameter 'oops_end' extern void oops_end(unsigned long, struct pt_regs *, int signr); ^ In file included from /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:21:0, from /kisskb/src/include/linux/perf_event.h:40, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/kdebug.h:7:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/kdebug.h:9:1: error: empty declaration [-Werror] struct die_args { ^ In file included from /kisskb/src/include/linux/perf_event.h:40:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:49:1: error: empty declaration [-Werror] struct perf_event_attr; ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:50:1: error: empty declaration [-Werror] struct perf_event; ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:51:1: error: empty declaration [-Werror] struct pmu; ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:53:12: error: storage class specified for parameter 'arch_check_bp_in_kernelspace' extern int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw); ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:54:12: error: storage class specified for parameter 'hw_breakpoint_arch_parse' extern int hw_breakpoint_arch_parse(struct perf_event *bp, ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:57:12: error: storage class specified for parameter 'hw_breakpoint_exceptions_notify' extern int hw_breakpoint_exceptions_notify(struct notifier_block *unused, ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:67:1: error: storage class specified for parameter 'arch_fill_perf_breakpoint' arch_fill_perf_breakpoint(struct perf_event *bp); ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:72:12: error: storage class specified for parameter 'arch_bp_generic_fields' extern int arch_bp_generic_fields(int x86_len, int x86_type, ^ /kisskb/src/arch/x86/include/asm/hw_breakpoint.h:75:19: error: storage class specified for parameter 'perf_ops_bp' extern struct pmu perf_ops_bp; ^ In file included from /kisskb/src/include/linux/perf_event.h:56:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/jump_label_ratelimit.h:9:1: error: empty declaration [-Werror] struct static_key_deferred { ^ /kisskb/src/include/linux/jump_label_ratelimit.h:15:1: error: empty declaration [-Werror] struct static_key_true_deferred { ^ /kisskb/src/include/linux/jump_label_ratelimit.h:21:1: error: empty declaration [-Werror] struct static_key_false_deferred { ^ /kisskb/src/include/linux/jump_label_ratelimit.h:36:1: error: storage class specified for parameter '__static_key_slow_dec_deferred' __static_key_slow_dec_deferred(struct static_key *key, ^ /kisskb/src/include/linux/jump_label_ratelimit.h:39:13: error: storage class specified for parameter '__static_key_deferred_flush' extern void __static_key_deferred_flush(void *key, struct delayed_work *work); ^ /kisskb/src/include/linux/jump_label_ratelimit.h:41:1: error: storage class specified for parameter 'jump_label_rate_limit' jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl); ^ /kisskb/src/include/linux/jump_label_ratelimit.h:43:13: error: storage class specified for parameter 'jump_label_update_timeout' extern void jump_label_update_timeout(struct work_struct *work); ^ In file included from /kisskb/src/include/linux/perf_event.h:59:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_regs.h:7:1: error: empty declaration [-Werror] struct perf_regs { ^ In file included from /kisskb/src/include/linux/perf_regs.h:13:0, from /kisskb/src/include/linux/perf_event.h:59, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/uapi/asm/perf_regs.h:5:1: error: empty declaration [-Werror] enum perf_event_x86_regs { ^ In file included from /kisskb/src/include/linux/kernel_read_file.h:5:0, from /kisskb/src/include/linux/security.h:26, from /kisskb/src/include/linux/perf_event.h:62, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/file.h:14:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/file.h:16:13: error: storage class specified for parameter 'fput' extern void fput(struct file *); ^ /kisskb/src/include/linux/file.h:18:1: error: empty declaration [-Werror] struct file_operations; ^ /kisskb/src/include/linux/file.h:19:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/file.h:20:1: error: empty declaration [-Werror] struct vfsmount; ^ /kisskb/src/include/linux/file.h:21:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/file.h:22:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/file.h:23:1: error: empty declaration [-Werror] struct path; ^ /kisskb/src/include/linux/file.h:24:21: error: storage class specified for parameter 'alloc_file_pseudo' extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *, ^ /kisskb/src/include/linux/file.h:26:21: error: storage class specified for parameter 'alloc_file_clone' extern struct file *alloc_file_clone(struct file *, int flags, ^ /kisskb/src/include/linux/file.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:35:1: error: empty declaration [-Werror] struct fd { ^ /kisskb/src/include/linux/file.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:48:21: error: storage class specified for parameter 'fget' extern struct file *fget(unsigned int fd); ^ /kisskb/src/include/linux/file.h:49:21: error: storage class specified for parameter 'fget_raw' extern struct file *fget_raw(unsigned int fd); ^ /kisskb/src/include/linux/file.h:50:21: error: storage class specified for parameter 'fget_task' extern struct file *fget_task(struct task_struct *task, unsigned int fd); ^ /kisskb/src/include/linux/file.h:51:22: error: storage class specified for parameter '__fdget' extern unsigned long __fdget(unsigned int fd); ^ /kisskb/src/include/linux/file.h:52:22: error: storage class specified for parameter '__fdget_raw' extern unsigned long __fdget_raw(unsigned int fd); ^ /kisskb/src/include/linux/file.h:53:22: error: storage class specified for parameter '__fdget_pos' extern unsigned long __fdget_pos(unsigned int fd); ^ /kisskb/src/include/linux/file.h:54:13: error: storage class specified for parameter '__f_unlock_pos' extern void __f_unlock_pos(struct file *); ^ /kisskb/src/include/linux/file.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:83:12: error: storage class specified for parameter 'f_dupfd' extern int f_dupfd(unsigned int from, struct file *file, unsigned flags); ^ /kisskb/src/include/linux/file.h:84:12: error: storage class specified for parameter 'replace_fd' extern int replace_fd(unsigned fd, struct file *file, unsigned flags); ^ /kisskb/src/include/linux/file.h:85:13: error: storage class specified for parameter 'set_close_on_exec' extern void set_close_on_exec(unsigned int fd, int flag); ^ /kisskb/src/include/linux/file.h:86:13: error: storage class specified for parameter 'get_close_on_exec' extern bool get_close_on_exec(unsigned int fd); ^ /kisskb/src/include/linux/file.h:87:12: error: storage class specified for parameter '__get_unused_fd_flags' extern int __get_unused_fd_flags(unsigned flags, unsigned long nofile); ^ /kisskb/src/include/linux/file.h:88:12: error: storage class specified for parameter 'get_unused_fd_flags' extern int get_unused_fd_flags(unsigned flags); ^ /kisskb/src/include/linux/file.h:89:13: error: storage class specified for parameter 'put_unused_fd' extern void put_unused_fd(unsigned int fd); ^ /kisskb/src/include/linux/file.h:91:13: error: storage class specified for parameter 'fd_install' extern void fd_install(unsigned int fd, struct file *file); ^ /kisskb/src/include/linux/file.h:93:12: error: storage class specified for parameter '__receive_fd' extern int __receive_fd(struct file *file, int __user *ufd, ^ /kisskb/src/include/linux/file.h:96:12: error: storage class specified for parameter 'receive_fd' extern int receive_fd(struct file *file, unsigned int o_flags); ^ /kisskb/src/include/linux/file.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/file.h:107:13: error: storage class specified for parameter 'flush_delayed_fput' extern void flush_delayed_fput(void); ^ /kisskb/src/include/linux/file.h:108:13: error: storage class specified for parameter '__fput_sync' extern void __fput_sync(struct file *); ^ /kisskb/src/include/linux/file.h:110:21: error: storage class specified for parameter 'sysctl_nr_open_min' extern unsigned int sysctl_nr_open_min, sysctl_nr_open_max; ^ /kisskb/src/include/linux/file.h:110:41: error: storage class specified for parameter 'sysctl_nr_open_max' extern unsigned int sysctl_nr_open_min, sysctl_nr_open_max; ^ In file included from /kisskb/src/include/linux/security.h:26:0, from /kisskb/src/include/linux/perf_event.h:62, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/kernel_read_file.h:22:1: error: empty declaration [-Werror] enum kernel_read_file_id { ^ /kisskb/src/include/linux/kernel_read_file.h:26:27: error: storage class specified for parameter 'kernel_read_file_str' static const char * const kernel_read_file_str[] = { ^ /kisskb/src/include/linux/kernel_read_file.h:26:1: error: parameter 'kernel_read_file_str' is initialized static const char * const kernel_read_file_str[] = { ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:27:39: note: (near initialization for 'kernel_read_file_str') __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:20:38: note: in definition of macro '__fid_stringify' #define __fid_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/kernel_read_file.h:27:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__fid_stringify) ^ /kisskb/src/include/linux/kernel_read_file.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/perf_event.h:62:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/security.h:35:1: error: empty declaration [-Werror] struct linux_binprm; ^ /kisskb/src/include/linux/security.h:36:1: error: empty declaration [-Werror] struct cred; ^ /kisskb/src/include/linux/security.h:37:1: error: empty declaration [-Werror] struct rlimit; ^ /kisskb/src/include/linux/security.h:38:1: error: empty declaration [-Werror] struct kernel_siginfo; ^ /kisskb/src/include/linux/security.h:39:1: error: empty declaration [-Werror] struct sembuf; ^ /kisskb/src/include/linux/security.h:40:1: error: empty declaration [-Werror] struct kern_ipc_perm; ^ /kisskb/src/include/linux/security.h:41:1: error: empty declaration [-Werror] struct audit_context; ^ /kisskb/src/include/linux/security.h:42:1: error: empty declaration [-Werror] struct super_block; ^ /kisskb/src/include/linux/security.h:43:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/security.h:44:1: error: empty declaration [-Werror] struct dentry; ^ /kisskb/src/include/linux/security.h:45:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/security.h:46:1: error: empty declaration [-Werror] struct vfsmount; ^ /kisskb/src/include/linux/security.h:47:1: error: empty declaration [-Werror] struct path; ^ /kisskb/src/include/linux/security.h:48:1: error: empty declaration [-Werror] struct qstr; ^ /kisskb/src/include/linux/security.h:49:1: error: empty declaration [-Werror] struct iattr; ^ /kisskb/src/include/linux/security.h:50:1: error: empty declaration [-Werror] struct fown_struct; ^ /kisskb/src/include/linux/security.h:51:1: error: empty declaration [-Werror] struct file_operations; ^ /kisskb/src/include/linux/security.h:52:1: error: empty declaration [-Werror] struct msg_msg; ^ /kisskb/src/include/linux/security.h:53:1: error: empty declaration [-Werror] struct xattr; ^ /kisskb/src/include/linux/security.h:54:1: error: empty declaration [-Werror] struct kernfs_node; ^ /kisskb/src/include/linux/security.h:55:1: error: empty declaration [-Werror] struct xfrm_sec_ctx; ^ /kisskb/src/include/linux/security.h:56:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/include/linux/security.h:57:1: error: empty declaration [-Werror] struct fs_context; ^ /kisskb/src/include/linux/security.h:58:1: error: empty declaration [-Werror] struct fs_parameter; ^ /kisskb/src/include/linux/security.h:59:1: error: empty declaration [-Werror] enum fs_value_type; ^ /kisskb/src/include/linux/security.h:60:1: error: empty declaration [-Werror] struct watch; ^ /kisskb/src/include/linux/security.h:61:1: error: empty declaration [-Werror] struct watch_notification; ^ /kisskb/src/include/linux/security.h:73:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/include/linux/security.h:74:1: error: empty declaration [-Werror] struct audit_krule; ^ /kisskb/src/include/linux/security.h:75:1: error: empty declaration [-Werror] struct user_namespace; ^ /kisskb/src/include/linux/security.h:76:1: error: empty declaration [-Werror] struct timezone; ^ /kisskb/src/include/linux/security.h:78:1: error: empty declaration [-Werror] enum lsm_event { ^ /kisskb/src/include/linux/security.h:106:1: error: empty declaration [-Werror] enum lockdown_reason { ^ /kisskb/src/include/linux/security.h:137:26: error: storage class specified for parameter 'lockdown_reasons' extern const char *const lockdown_reasons[LOCKDOWN_CONFIDENTIALITY_MAX+1]; ^ /kisskb/src/include/linux/security.h:140:12: error: storage class specified for parameter 'cap_capable' extern int cap_capable(const struct cred *cred, struct user_namespace *ns, ^ /kisskb/src/include/linux/security.h:142:12: error: storage class specified for parameter 'cap_settime' extern int cap_settime(const struct timespec64 *ts, const struct timezone *tz); ^ /kisskb/src/include/linux/security.h:143:12: error: storage class specified for parameter 'cap_ptrace_access_check' extern int cap_ptrace_access_check(struct task_struct *child, unsigned int mode); ^ /kisskb/src/include/linux/security.h:144:12: error: storage class specified for parameter 'cap_ptrace_traceme' extern int cap_ptrace_traceme(struct task_struct *parent); ^ /kisskb/src/include/linux/security.h:145:51: error: expected declaration specifiers or '...' before 'kernel_cap_t' extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted); ^ /kisskb/src/include/linux/security.h:145:76: error: expected declaration specifiers or '...' before 'kernel_cap_t' extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted); ^ /kisskb/src/include/linux/security.h:145:103: error: expected declaration specifiers or '...' before 'kernel_cap_t' extern int cap_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted); ^ In file included from /kisskb/src/include/linux/perf_event.h:62:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:23, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/security.h:147:15: error: type defaults to 'int' in declaration of 'kernel_cap_t' [-Werror=implicit-int] const kernel_cap_t *effective, ^ /kisskb/src/include/linux/security.h:147:28: error: expected ';', ',' or ')' before '*' token const kernel_cap_t *effective, ^ /kisskb/src/include/linux/security.h:150:12: error: storage class specified for parameter 'cap_bprm_creds_from_file' extern int cap_bprm_creds_from_file(struct linux_binprm *bprm, struct file *file); ^ /kisskb/src/include/linux/security.h:161:12: error: storage class specified for parameter 'cap_mmap_addr' extern int cap_mmap_addr(unsigned long addr); ^ /kisskb/src/include/linux/security.h:162:12: error: storage class specified for parameter 'cap_mmap_file' extern int cap_mmap_file(struct file *file, unsigned long reqprot, ^ /kisskb/src/include/linux/security.h:164:12: error: storage class specified for parameter 'cap_task_fix_setuid' extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags); ^ /kisskb/src/include/linux/security.h:165:12: error: storage class specified for parameter 'cap_task_prctl' extern int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, ^ /kisskb/src/include/linux/security.h:167:12: error: storage class specified for parameter 'cap_task_setscheduler' extern int cap_task_setscheduler(struct task_struct *p); ^ /kisskb/src/include/linux/security.h:168:12: error: storage class specified for parameter 'cap_task_setioprio' extern int cap_task_setioprio(struct task_struct *p, int ioprio); ^ /kisskb/src/include/linux/security.h:169:12: error: storage class specified for parameter 'cap_task_setnice' extern int cap_task_setnice(struct task_struct *p, int nice); ^ /kisskb/src/include/linux/security.h:170:12: error: storage class specified for parameter 'cap_vm_enough_memory' extern int cap_vm_enough_memory(struct mm_struct *mm, long pages); ^ /kisskb/src/include/linux/security.h:172:1: error: empty declaration [-Werror] struct msghdr; ^ /kisskb/src/include/linux/security.h:173:1: error: empty declaration [-Werror] struct sk_buff; ^ /kisskb/src/include/linux/security.h:174:1: error: empty declaration [-Werror] struct sock; ^ /kisskb/src/include/linux/security.h:175:1: error: empty declaration [-Werror] struct sockaddr; ^ /kisskb/src/include/linux/security.h:176:1: error: empty declaration [-Werror] struct socket; ^ /kisskb/src/include/linux/security.h:177:1: error: empty declaration [-Werror] struct flowi_common; ^ /kisskb/src/include/linux/security.h:178:1: error: empty declaration [-Werror] struct dst_entry; ^ /kisskb/src/include/linux/security.h:179:1: error: empty declaration [-Werror] struct xfrm_selector; ^ /kisskb/src/include/linux/security.h:180:1: error: empty declaration [-Werror] struct xfrm_policy; ^ /kisskb/src/include/linux/security.h:181:1: error: empty declaration [-Werror] struct xfrm_state; ^ /kisskb/src/include/linux/security.h:182:1: error: empty declaration [-Werror] struct xfrm_user_sec_ctx; ^ /kisskb/src/include/linux/security.h:183:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/security.h:184:1: error: empty declaration [-Werror] struct sctp_association; ^ /kisskb/src/include/linux/security.h:187:22: error: storage class specified for parameter 'mmap_min_addr' extern unsigned long mmap_min_addr; ^ /kisskb/src/include/linux/security.h:188:22: error: storage class specified for parameter 'dac_mmap_min_addr' extern unsigned long dac_mmap_min_addr; ^ /kisskb/src/include/linux/security.h:214:1: error: empty declaration [-Werror] struct sched_param; ^ /kisskb/src/include/linux/security.h:215:1: error: empty declaration [-Werror] struct request_sock; ^ /kisskb/src/include/linux/security.h:223:12: error: storage class specified for parameter 'mmap_min_addr_handler' extern int mmap_min_addr_handler(struct ctl_table *table, int write, ^ /kisskb/src/include/linux/security.h:228:15: error: storage class specified for parameter 'initxattrs' typedef int (*initxattrs) (struct inode *inode, ^ /kisskb/src/include/linux/security.h:236:1: error: empty declaration [-Werror] enum kernel_load_data_id { ^ /kisskb/src/include/linux/security.h:240:27: error: storage class specified for parameter 'kernel_load_data_str' static const char * const kernel_load_data_str[] = { ^ /kisskb/src/include/linux/security.h:240:1: error: parameter 'kernel_load_data_str' is initialized static const char * const kernel_load_data_str[] = { ^ /kisskb/src/include/linux/security.h:241:43: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: error: excess elements in scalar initializer [-Werror] __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:241:43: note: (near initialization for 'kernel_load_data_str') __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:234:42: note: in definition of macro '__data_id_stringify' #define __data_id_stringify(dummy, str) #str, ^ /kisskb/src/include/linux/security.h:241:2: note: in expansion of macro '__kernel_read_file_id' __kernel_read_file_id(__data_id_stringify) ^ /kisskb/src/include/linux/security.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:259:12: error: storage class specified for parameter 'security_init' extern int security_init(void); ^ /kisskb/src/include/linux/security.h:260:12: error: storage class specified for parameter 'early_security_init' extern int early_security_init(void); ^ /kisskb/src/include/linux/security.h:273:7: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel_cap_t *effective, ^ /kisskb/src/include/linux/security.h:274:7: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel_cap_t *inheritable, ^ /kisskb/src/include/linux/security.h:275:7: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel_cap_t *permitted); ^ /kisskb/src/include/linux/security.h:277:13: error: type defaults to 'int' in declaration of 'kernel_cap_t' [-Werror=implicit-int] const kernel_cap_t *effective, ^ /kisskb/src/include/linux/security.h:277:26: error: expected ';', ',' or ')' before '*' token const kernel_cap_t *effective, ^ /kisskb/src/include/linux/security.h:333:6: error: expected declaration specifiers or '...' before 'initxattrs' initxattrs initxattrs, void *fs_data); ^ /kisskb/src/include/linux/security.h:1799:50: error: expected declaration specifiers or '...' before 'kuid_t' int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid); ^ /kisskb/src/include/linux/security.h:1799:62: error: expected declaration specifiers or '...' before 'kgid_t' int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid); ^ /kisskb/src/include/linux/security.h:1872:29: error: expected declaration specifiers or '...' before 'key_ref_t' int security_key_permission(key_ref_t key_ref, const struct cred *cred, ^ /kisskb/src/include/linux/security.h:1939:23: error: storage class specified for parameter 'securityfs_create_file' extern struct dentry *securityfs_create_file(const char *name, umode_t mode, ^ /kisskb/src/include/linux/security.h:1942:23: error: storage class specified for parameter 'securityfs_create_dir' extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent); ^ /kisskb/src/include/linux/security.h:1947:13: error: storage class specified for parameter 'securityfs_remove' extern void securityfs_remove(struct dentry *dentry); ^ /kisskb/src/include/linux/security.h:1980:1: error: empty declaration [-Werror] union bpf_attr; ^ /kisskb/src/include/linux/security.h:1981:1: error: empty declaration [-Werror] struct bpf_map; ^ /kisskb/src/include/linux/security.h:1982:1: error: empty declaration [-Werror] struct bpf_prog; ^ /kisskb/src/include/linux/security.h:1983:1: error: empty declaration [-Werror] struct bpf_prog_aux; ^ /kisskb/src/include/linux/security.h:1985:12: error: storage class specified for parameter 'security_bpf' extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size); ^ /kisskb/src/include/linux/security.h:1986:12: error: storage class specified for parameter 'security_bpf_map' extern int security_bpf_map(struct bpf_map *map, fmode_t fmode); ^ /kisskb/src/include/linux/security.h:1987:12: error: storage class specified for parameter 'security_bpf_prog' extern int security_bpf_prog(struct bpf_prog *prog); ^ /kisskb/src/include/linux/security.h:1988:12: error: storage class specified for parameter 'security_bpf_map_alloc' extern int security_bpf_map_alloc(struct bpf_map *map); ^ /kisskb/src/include/linux/security.h:1989:13: error: storage class specified for parameter 'security_bpf_map_free' extern void security_bpf_map_free(struct bpf_map *map); ^ /kisskb/src/include/linux/security.h:1990:12: error: storage class specified for parameter 'security_bpf_prog_alloc' extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux); ^ /kisskb/src/include/linux/security.h:1991:13: error: storage class specified for parameter 'security_bpf_prog_free' extern void security_bpf_prog_free(struct bpf_prog_aux *aux); ^ /kisskb/src/include/linux/security.h:2028:1: error: empty declaration [-Werror] struct perf_event_attr; ^ /kisskb/src/include/linux/security.h:2029:1: error: empty declaration [-Werror] struct perf_event; ^ /kisskb/src/include/linux/security.h:2032:12: error: storage class specified for parameter 'security_perf_event_open' extern int security_perf_event_open(struct perf_event_attr *attr, int type); ^ /kisskb/src/include/linux/security.h:2033:12: error: storage class specified for parameter 'security_perf_event_alloc' extern int security_perf_event_alloc(struct perf_event *event); ^ /kisskb/src/include/linux/security.h:2034:13: error: storage class specified for parameter 'security_perf_event_free' extern void security_perf_event_free(struct perf_event *event); ^ /kisskb/src/include/linux/security.h:2035:12: error: storage class specified for parameter 'security_perf_event_read' extern int security_perf_event_read(struct perf_event *event); ^ /kisskb/src/include/linux/security.h:2036:12: error: storage class specified for parameter 'security_perf_event_write' extern int security_perf_event_write(struct perf_event *event); ^ /kisskb/src/include/linux/security.h:2067:12: error: storage class specified for parameter 'security_uring_override_creds' extern int security_uring_override_creds(const struct cred *new); ^ /kisskb/src/include/linux/security.h:2068:12: error: storage class specified for parameter 'security_uring_sqpoll' extern int security_uring_sqpoll(void); ^ /kisskb/src/include/linux/security.h:2069:12: error: storage class specified for parameter 'security_uring_cmd' extern int security_uring_cmd(struct io_uring_cmd *ioucmd); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:67:1: error: empty declaration [-Werror] struct perf_callchain_entry { ^ /kisskb/src/include/linux/perf_event.h:72:1: error: empty declaration [-Werror] struct perf_callchain_entry_ctx { ^ /kisskb/src/include/linux/perf_event.h:80:25: error: storage class specified for parameter 'perf_copy_f' typedef unsigned long (*perf_copy_f)(void *dst, const void *src, ^ /kisskb/src/include/linux/perf_event.h:88:2: error: expected specifier-qualifier-list before 'perf_copy_f' perf_copy_f copy; ^ /kisskb/src/include/linux/perf_event.h:83:1: error: empty declaration [-Werror] struct perf_raw_frag { ^ /kisskb/src/include/linux/perf_event.h:93:1: error: empty declaration [-Werror] struct perf_raw_record { ^ /kisskb/src/include/linux/perf_event.h:118:1: error: empty declaration [-Werror] struct perf_branch_stack { ^ /kisskb/src/include/linux/perf_event.h:124:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/perf_event.h:129:1: error: empty declaration [-Werror] struct hw_perf_event_extra { ^ In file included from /kisskb/src/include/linux/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/perf_event.h:145:1: note: in expansion of macro 'static_assert' static_assert((PERF_EVENT_FLAG_USER_READ_CNT & PERF_EVENT_FLAG_ARCH) == 0); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:224:2: error: expected specifier-qualifier-list before 'local64_t' local64_t prev_count; ^ /kisskb/src/include/linux/perf_event.h:150:1: error: empty declaration [-Werror] struct hw_perf_event { ^ /kisskb/src/include/linux/perf_event.h:268:1: error: empty declaration [-Werror] struct perf_event; ^ /kisskb/src/include/linux/perf_event.h:290:1: error: empty declaration [-Werror] struct perf_output_handle; ^ /kisskb/src/include/linux/perf_event.h:295:1: error: empty declaration [-Werror] struct pmu { ^ /kisskb/src/include/linux/perf_event.h:535:1: error: empty declaration [-Werror] enum perf_addr_filter_action_t { ^ /kisskb/src/include/linux/perf_event.h:551:1: error: empty declaration [-Werror] struct perf_addr_filter { ^ /kisskb/src/include/linux/perf_event.h:569:1: error: empty declaration [-Werror] struct perf_addr_filters_head { ^ /kisskb/src/include/linux/perf_event.h:575:1: error: empty declaration [-Werror] struct perf_addr_filter_range { ^ /kisskb/src/include/linux/perf_event.h:583:1: error: empty declaration [-Werror] enum perf_event_state { ^ /kisskb/src/include/linux/perf_event.h:592:1: error: empty declaration [-Werror] struct file; ^ /kisskb/src/include/linux/perf_event.h:593:1: error: empty declaration [-Werror] struct perf_sample_data; ^ /kisskb/src/include/linux/perf_event.h:595:16: error: storage class specified for parameter 'perf_overflow_handler_t' typedef void (*perf_overflow_handler_t)(struct perf_event *, ^ /kisskb/src/include/linux/perf_event.h:616:1: error: empty declaration [-Werror] struct swevent_hlist { ^ /kisskb/src/include/linux/perf_event.h:629:1: error: empty declaration [-Werror] struct bpf_prog; ^ /kisskb/src/include/linux/perf_event.h:630:1: error: empty declaration [-Werror] struct perf_cgroup; ^ /kisskb/src/include/linux/perf_event.h:631:1: error: empty declaration [-Werror] struct perf_buffer; ^ /kisskb/src/include/linux/perf_event.h:633:1: error: empty declaration [-Werror] struct pmu_event_list { ^ /kisskb/src/include/linux/perf_event.h:703:2: error: expected specifier-qualifier-list before 'local64_t' local64_t count; ^ /kisskb/src/include/linux/perf_event.h:661:1: error: empty declaration [-Werror] struct perf_event { ^ /kisskb/src/include/linux/perf_event.h:813:1: error: empty declaration [-Werror] struct perf_event_groups { ^ /kisskb/src/include/linux/perf_event.h:823:1: error: empty declaration [-Werror] struct perf_event_context { ^ /kisskb/src/include/linux/perf_event.h:899:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t hrtimer_interval; ^ /kisskb/src/include/linux/perf_event.h:891:1: error: empty declaration [-Werror] struct perf_cpu_context { ^ /kisskb/src/include/linux/perf_event.h:920:1: error: empty declaration [-Werror] struct perf_output_handle { ^ /kisskb/src/include/linux/perf_event.h:934:2: error: expected specifier-qualifier-list before 'bpf_user_pt_regs_t' bpf_user_pt_regs_t *regs; ^ /kisskb/src/include/linux/perf_event.h:933:1: error: empty declaration [-Werror] struct bpf_perf_event_data_kern { ^ /kisskb/src/include/linux/perf_event.h:945:1: error: empty declaration [-Werror] struct perf_cgroup_info { ^ /kisskb/src/include/linux/perf_event.h:952:1: error: empty declaration [-Werror] struct perf_cgroup { ^ /kisskb/src/include/linux/perf_event.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:974:14: error: storage class specified for parameter 'perf_aux_output_begin' extern void *perf_aux_output_begin(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:976:13: error: storage class specified for parameter 'perf_aux_output_end' extern void perf_aux_output_end(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:978:12: error: storage class specified for parameter 'perf_aux_output_skip' extern int perf_aux_output_skip(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:980:14: error: storage class specified for parameter 'perf_get_aux' extern void *perf_get_aux(struct perf_output_handle *handle); ^ /kisskb/src/include/linux/perf_event.h:981:13: error: storage class specified for parameter 'perf_aux_output_flag' extern void perf_aux_output_flag(struct perf_output_handle *handle, u64 flags); ^ /kisskb/src/include/linux/perf_event.h:982:13: error: storage class specified for parameter 'perf_event_itrace_started' extern void perf_event_itrace_started(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:984:12: error: storage class specified for parameter 'perf_pmu_register' extern int perf_pmu_register(struct pmu *pmu, const char *name, int type); ^ /kisskb/src/include/linux/perf_event.h:985:13: error: storage class specified for parameter 'perf_pmu_unregister' extern void perf_pmu_unregister(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:987:13: error: storage class specified for parameter '__perf_event_task_sched_in' extern void __perf_event_task_sched_in(struct task_struct *prev, ^ /kisskb/src/include/linux/perf_event.h:989:13: error: storage class specified for parameter '__perf_event_task_sched_out' extern void __perf_event_task_sched_out(struct task_struct *prev, ^ /kisskb/src/include/linux/perf_event.h:991:12: error: storage class specified for parameter 'perf_event_init_task' extern int perf_event_init_task(struct task_struct *child, u64 clone_flags); ^ /kisskb/src/include/linux/perf_event.h:992:13: error: storage class specified for parameter 'perf_event_exit_task' extern void perf_event_exit_task(struct task_struct *child); ^ /kisskb/src/include/linux/perf_event.h:993:13: error: storage class specified for parameter 'perf_event_free_task' extern void perf_event_free_task(struct task_struct *task); ^ /kisskb/src/include/linux/perf_event.h:994:13: error: storage class specified for parameter 'perf_event_delayed_put' extern void perf_event_delayed_put(struct task_struct *task); ^ /kisskb/src/include/linux/perf_event.h:995:21: error: storage class specified for parameter 'perf_event_get' extern struct file *perf_event_get(unsigned int fd); ^ /kisskb/src/include/linux/perf_event.h:996:33: error: storage class specified for parameter 'perf_get_event' extern const struct perf_event *perf_get_event(struct file *file); ^ /kisskb/src/include/linux/perf_event.h:997:38: error: storage class specified for parameter 'perf_event_attrs' extern const struct perf_event_attr *perf_event_attrs(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:998:13: error: storage class specified for parameter 'perf_event_print_debug' extern void perf_event_print_debug(void); ^ /kisskb/src/include/linux/perf_event.h:999:13: error: storage class specified for parameter 'perf_pmu_disable' extern void perf_pmu_disable(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:1000:13: error: storage class specified for parameter 'perf_pmu_enable' extern void perf_pmu_enable(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:1001:13: error: storage class specified for parameter 'perf_sched_cb_dec' extern void perf_sched_cb_dec(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:1002:13: error: storage class specified for parameter 'perf_sched_cb_inc' extern void perf_sched_cb_inc(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:1003:12: error: storage class specified for parameter 'perf_event_task_disable' extern int perf_event_task_disable(void); ^ /kisskb/src/include/linux/perf_event.h:1004:12: error: storage class specified for parameter 'perf_event_task_enable' extern int perf_event_task_enable(void); ^ /kisskb/src/include/linux/perf_event.h:1006:13: error: storage class specified for parameter 'perf_pmu_resched' extern void perf_pmu_resched(struct pmu *pmu); ^ /kisskb/src/include/linux/perf_event.h:1008:12: error: storage class specified for parameter 'perf_event_refresh' extern int perf_event_refresh(struct perf_event *event, int refresh); ^ /kisskb/src/include/linux/perf_event.h:1009:13: error: storage class specified for parameter 'perf_event_update_userpage' extern void perf_event_update_userpage(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1010:12: error: storage class specified for parameter 'perf_event_release_kernel' extern int perf_event_release_kernel(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1015:5: error: expected declaration specifiers or '...' before 'perf_overflow_handler_t' perf_overflow_handler_t callback, ^ /kisskb/src/include/linux/perf_event.h:1017:13: error: storage class specified for parameter 'perf_pmu_migrate_context' extern void perf_pmu_migrate_context(struct pmu *pmu, ^ /kisskb/src/include/linux/perf_event.h:1021:12: error: storage class specified for parameter 'perf_event_read_value' extern u64 perf_event_read_value(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1025:1: error: empty declaration [-Werror] struct perf_sample_data { ^ /kisskb/src/include/linux/perf_event.h:1079:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1096:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1107:13: error: storage class specified for parameter 'perf_output_sample' extern void perf_output_sample(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1111:13: error: storage class specified for parameter 'perf_prepare_sample' extern void perf_prepare_sample(struct perf_event_header *header, ^ /kisskb/src/include/linux/perf_event.h:1116:12: error: storage class specified for parameter 'perf_event_overflow' extern int perf_event_overflow(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1120:13: error: storage class specified for parameter 'perf_event_output_forward' extern void perf_event_output_forward(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1123:13: error: storage class specified for parameter 'perf_event_output_backward' extern void perf_event_output_backward(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1126:12: error: storage class specified for parameter 'perf_event_output' extern int perf_event_output(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1141:1: error: storage class specified for parameter 'perf_event_header__init_id' perf_event_header__init_id(struct perf_event_header *header, ^ /kisskb/src/include/linux/perf_event.h:1145:1: error: storage class specified for parameter 'perf_event__output_id_sample' perf_event__output_id_sample(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1150:1: error: storage class specified for parameter 'perf_log_lost_samples' perf_log_lost_samples(struct perf_event *event, u64 lost); ^ /kisskb/src/include/linux/perf_event.h:1153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1187:26: error: storage class specified for parameter 'perf_swevent_enabled' extern struct static_key perf_swevent_enabled[PERF_COUNT_SW_MAX]; ^ /kisskb/src/include/linux/perf_event.h:1189:13: error: storage class specified for parameter '___perf_sw_event' extern void ___perf_sw_event(u32, u64, struct pt_regs *, u64); ^ /kisskb/src/include/linux/perf_event.h:1190:13: error: storage class specified for parameter '__perf_sw_event' extern void __perf_sw_event(u32, u64, struct pt_regs *, u64); ^ /kisskb/src/include/linux/perf_event.h:1211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1217: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/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope___perf_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/linux/perf_event.h:1222:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope___perf_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/linux/perf_event.h:1222:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ /kisskb/src/include/linux/perf_event.h:1222:33: error: storage class specified for parameter '__perf_regs' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ /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/perf_event.h:1222:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ /kisskb/src/include/linux/perf_event.h:1222:33: error: array type has incomplete element type 'struct pt_regs' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ /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/perf_event.h:1222:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1237:32: error: storage class specified for parameter 'perf_sched_events' extern struct static_key_false perf_sched_events; ^ /kisskb/src/include/linux/perf_event.h:1240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1280:13: error: storage class specified for parameter 'perf_event_mmap' extern void perf_event_mmap(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/perf_event.h:1282:13: error: storage class specified for parameter 'perf_event_ksymbol' extern void perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, ^ /kisskb/src/include/linux/perf_event.h:1284:13: error: storage class specified for parameter 'perf_event_bpf_event' extern void perf_event_bpf_event(struct bpf_prog *prog, ^ /kisskb/src/include/linux/perf_event.h:1289:48: error: storage class specified for parameter 'perf_guest_cbs' extern struct perf_guest_info_callbacks __rcu *perf_guest_cbs; ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK____perf_guest_state' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/include/linux/perf_event.h:1291:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT____perf_guest_state' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/include/linux/perf_event.h:1291:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1291:64: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state); ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK____perf_guest_get_ip' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/include/linux/perf_event.h:1292:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_get_ip, *perf_guest_cbs->get_ip); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT____perf_guest_get_ip' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/include/linux/perf_event.h:1292:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_get_ip, *perf_guest_cbs->get_ip); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1292:66: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(__perf_guest_get_ip, *perf_guest_cbs->get_ip); ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK____perf_guest_handle_intel_pt_intr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/include/linux/perf_event.h:1293:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT____perf_guest_handle_intel_pt_intr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/include/linux/perf_event.h:1293:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1293:94: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr); ^ /kisskb/src/include/linux/perf_event.h:1296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1300:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1307:13: error: storage class specified for parameter 'perf_register_guest_info_callbacks' extern void perf_register_guest_info_callbacks(struct perf_guest_info_callbacks *cbs); ^ /kisskb/src/include/linux/perf_event.h:1308:13: error: storage class specified for parameter 'perf_unregister_guest_info_callbacks' extern void perf_unregister_guest_info_callbacks(struct perf_guest_info_callbacks *cbs); ^ /kisskb/src/include/linux/perf_event.h:1315:13: error: storage class specified for parameter 'perf_event_exec' extern void perf_event_exec(void); ^ /kisskb/src/include/linux/perf_event.h:1316:13: error: storage class specified for parameter 'perf_event_comm' extern void perf_event_comm(struct task_struct *tsk, bool exec); ^ /kisskb/src/include/linux/perf_event.h:1317:13: error: storage class specified for parameter 'perf_event_namespaces' extern void perf_event_namespaces(struct task_struct *tsk); ^ /kisskb/src/include/linux/perf_event.h:1318:13: error: storage class specified for parameter 'perf_event_fork' extern void perf_event_fork(struct task_struct *tsk); ^ /kisskb/src/include/linux/perf_event.h:1319:13: error: storage class specified for parameter 'perf_event_text_poke' extern void perf_event_text_poke(const void *addr, ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_perf_callchain_entry' 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/perf_event.h:1324:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_perf_callchain_entry' 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/perf_event.h:1324:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ /kisskb/src/include/linux/perf_event.h:1324:46: error: storage class specified for parameter 'perf_callchain_entry' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ /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/perf_event.h:1324:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ /kisskb/src/include/linux/perf_event.h:1324:46: error: section attribute not allowed for 'perf_callchain_entry' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ /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/perf_event.h:1324:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1326:13: error: storage class specified for parameter 'perf_callchain_user' extern void perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs); ^ /kisskb/src/include/linux/perf_event.h:1327:13: error: storage class specified for parameter 'perf_callchain_kernel' extern void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs); ^ /kisskb/src/include/linux/perf_event.h:1329:1: error: storage class specified for parameter 'get_perf_callchain' get_perf_callchain(struct pt_regs *regs, u32 init_nr, bool kernel, bool user, ^ /kisskb/src/include/linux/perf_event.h:1331:37: error: storage class specified for parameter 'perf_callchain' extern struct perf_callchain_entry *perf_callchain(struct perf_event *event, struct pt_regs *regs); ^ /kisskb/src/include/linux/perf_event.h:1332:12: error: storage class specified for parameter 'get_callchain_buffers' extern int get_callchain_buffers(int max_stack); ^ /kisskb/src/include/linux/perf_event.h:1333:13: error: storage class specified for parameter 'put_callchain_buffers' extern void put_callchain_buffers(void); ^ /kisskb/src/include/linux/perf_event.h:1334:37: error: storage class specified for parameter 'get_callchain_entry' extern struct perf_callchain_entry *get_callchain_entry(int *rctx); ^ /kisskb/src/include/linux/perf_event.h:1335:13: error: storage class specified for parameter 'put_callchain_entry' extern void put_callchain_entry(int rctx); ^ /kisskb/src/include/linux/perf_event.h:1337:12: error: storage class specified for parameter 'sysctl_perf_event_max_stack' extern int sysctl_perf_event_max_stack; ^ /kisskb/src/include/linux/perf_event.h:1338:12: error: storage class specified for parameter 'sysctl_perf_event_max_contexts_per_stack' extern int sysctl_perf_event_max_contexts_per_stack; ^ /kisskb/src/include/linux/perf_event.h:1341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1365:12: error: storage class specified for parameter 'sysctl_perf_event_paranoid' extern int sysctl_perf_event_paranoid; ^ /kisskb/src/include/linux/perf_event.h:1366:12: error: storage class specified for parameter 'sysctl_perf_event_mlock' extern int sysctl_perf_event_mlock; ^ /kisskb/src/include/linux/perf_event.h:1367:12: error: storage class specified for parameter 'sysctl_perf_event_sample_rate' extern int sysctl_perf_event_sample_rate; ^ /kisskb/src/include/linux/perf_event.h:1368:12: error: storage class specified for parameter 'sysctl_perf_cpu_time_max_percent' extern int sysctl_perf_cpu_time_max_percent; ^ /kisskb/src/include/linux/perf_event.h:1370:13: error: storage class specified for parameter 'perf_sample_event_took' extern void perf_sample_event_took(u64 sample_len_ns); ^ /kisskb/src/include/linux/perf_event.h:1388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1393:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1401:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1416:13: error: storage class specified for parameter 'perf_event_init' extern void perf_event_init(void); ^ /kisskb/src/include/linux/perf_event.h:1417:13: error: storage class specified for parameter 'perf_tp_event' extern void perf_tp_event(u16 event_type, u64 count, void *record, ^ /kisskb/src/include/linux/perf_event.h:1421:13: error: storage class specified for parameter 'perf_bp_event' extern void perf_bp_event(struct perf_event *event, void *data); ^ /kisskb/src/include/linux/perf_event.h:1433:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1443:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1462:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1471:13: error: storage class specified for parameter 'perf_event_addr_filters_sync' extern void perf_event_addr_filters_sync(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1472:13: error: storage class specified for parameter 'perf_report_aux_output_id' extern void perf_report_aux_output_id(struct perf_event *event, u64 hw_id); ^ /kisskb/src/include/linux/perf_event.h:1474:12: error: storage class specified for parameter 'perf_output_begin' extern int perf_output_begin(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1477:12: error: storage class specified for parameter 'perf_output_begin_forward' extern int perf_output_begin_forward(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1481:12: error: storage class specified for parameter 'perf_output_begin_backward' extern int perf_output_begin_backward(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1486:13: error: storage class specified for parameter 'perf_output_end' extern void perf_output_end(struct perf_output_handle *handle); ^ /kisskb/src/include/linux/perf_event.h:1487:21: error: storage class specified for parameter 'perf_output_copy' extern unsigned int perf_output_copy(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1489:21: error: storage class specified for parameter 'perf_output_skip' extern unsigned int perf_output_skip(struct perf_output_handle *handle, ^ /kisskb/src/include/linux/perf_event.h:1491:13: error: storage class specified for parameter 'perf_output_copy_aux' extern long perf_output_copy_aux(struct perf_output_handle *aux_handle, ^ /kisskb/src/include/linux/perf_event.h:1494:12: error: storage class specified for parameter 'perf_swevent_get_recursion_context' extern int perf_swevent_get_recursion_context(void); ^ /kisskb/src/include/linux/perf_event.h:1495:13: error: storage class specified for parameter 'perf_swevent_put_recursion_context' extern void perf_swevent_put_recursion_context(int rctx); ^ /kisskb/src/include/linux/perf_event.h:1496:12: error: storage class specified for parameter 'perf_swevent_set_period' extern u64 perf_swevent_set_period(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1497:13: error: storage class specified for parameter 'perf_event_enable' extern void perf_event_enable(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1498:13: error: storage class specified for parameter 'perf_event_disable' extern void perf_event_disable(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1499:13: error: storage class specified for parameter 'perf_event_disable_local' extern void perf_event_disable_local(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1500:13: error: storage class specified for parameter 'perf_event_disable_inatomic' extern void perf_event_disable_inatomic(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1501:13: error: storage class specified for parameter 'perf_event_task_tick' extern void perf_event_task_tick(void); ^ /kisskb/src/include/linux/perf_event.h:1502:12: error: storage class specified for parameter 'perf_event_account_interrupt' extern int perf_event_account_interrupt(struct perf_event *event); ^ /kisskb/src/include/linux/perf_event.h:1503:12: error: storage class specified for parameter 'perf_event_period' extern int perf_event_period(struct perf_event *event, u64 value); ^ /kisskb/src/include/linux/perf_event.h:1504:12: error: storage class specified for parameter 'perf_event_pause' extern u64 perf_event_pause(struct perf_event *event, bool reset); ^ /kisskb/src/include/linux/perf_event.h:1594:13: error: storage class specified for parameter 'perf_restore_debug_store' extern void perf_restore_debug_store(void); ^ /kisskb/src/include/linux/perf_event.h:1600:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1606:1: error: empty declaration [-Werror] struct perf_pmu_events_attr { ^ /kisskb/src/include/linux/perf_event.h:1612:1: error: empty declaration [-Werror] struct perf_pmu_events_ht_attr { ^ /kisskb/src/include/linux/perf_event.h:1619:1: error: empty declaration [-Werror] struct perf_pmu_events_hybrid_attr { ^ /kisskb/src/include/linux/perf_event.h:1626:1: error: empty declaration [-Werror] struct perf_pmu_format_hybrid_attr { ^ /kisskb/src/include/linux/perf_event.h:1674:20: error: storage class specified for parameter 'arch_perf_update_userpage' extern void __weak arch_perf_update_userpage(struct perf_event *event, ^ /kisskb/src/include/linux/perf_event.h:1676:11: error: '__weak__' attribute ignored [-Werror=attributes] u64 now); ^ /kisskb/src/include/linux/perf_event.h:1679:19: error: storage class specified for parameter 'arch_perf_get_page_size' extern __weak u64 arch_perf_get_page_size(struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/perf_event.h:1679:50: error: '__weak__' attribute ignored [-Werror=attributes] extern __weak u64 arch_perf_get_page_size(struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/perf_event.h:1700:14: error: storage class specified for parameter 'perf_snapshot_branch_stack_t' typedef int (perf_snapshot_branch_stack_t)(struct perf_branch_entry *entries, ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__perf_snapshot_branch_stack' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/include/linux/perf_event.h:1702:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(perf_snapshot_branch_stack, perf_snapshot_branch_stack_t); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__perf_snapshot_branch_stack' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/include/linux/perf_event.h:1702:1: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(perf_snapshot_branch_stack, perf_snapshot_branch_stack_t); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:23:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/perf_event.h:1702:78: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(perf_snapshot_branch_stack, perf_snapshot_branch_stack_t); ^ /kisskb/src/include/linux/perf_event.h:1712:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1717:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1722:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1727:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1732:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:24:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/pvclock_gtod.h:14:12: error: storage class specified for parameter 'pvclock_gtod_register_notifier' extern int pvclock_gtod_register_notifier(struct notifier_block *nb); ^ /kisskb/src/include/linux/pvclock_gtod.h:15:12: error: storage class specified for parameter 'pvclock_gtod_unregister_notifier' extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:25:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/clocksource.h:24:1: error: empty declaration [-Werror] struct clocksource; ^ /kisskb/src/include/linux/clocksource.h:25:1: error: empty declaration [-Werror] struct module; ^ In file included from /kisskb/src/include/linux/clocksource.h:29:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:25, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/clocksource.h:9:21: error: storage class specified for parameter 'vclocks_used' extern unsigned int vclocks_used; ^ /kisskb/src/arch/x86/include/asm/clocksource.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/clocksource.h:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/clocksource.h:32:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:25, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/vdso/clocksource.h:11:1: error: empty declaration [-Werror] enum vdso_clock_mode { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:25:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/clocksource.h:96:1: error: empty declaration [-Werror] struct clocksource { ^ /kisskb/src/include/linux/clocksource.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:210:12: error: storage class specified for parameter 'clocksource_unregister' extern int clocksource_unregister(struct clocksource*); ^ /kisskb/src/include/linux/clocksource.h:211:13: error: storage class specified for parameter 'clocksource_touch_watchdog' extern void clocksource_touch_watchdog(void); ^ /kisskb/src/include/linux/clocksource.h:212:13: error: storage class specified for parameter 'clocksource_change_rating' extern void clocksource_change_rating(struct clocksource *cs, int rating); ^ /kisskb/src/include/linux/clocksource.h:213:13: error: storage class specified for parameter 'clocksource_suspend' extern void clocksource_suspend(void); ^ /kisskb/src/include/linux/clocksource.h:214:13: error: storage class specified for parameter 'clocksource_resume' extern void clocksource_resume(void); ^ /kisskb/src/include/linux/clocksource.h:215:36: error: storage class specified for parameter 'clocksource_default_clock' extern struct clocksource * __init clocksource_default_clock(void); ^ /kisskb/src/include/linux/clocksource.h:215:15: error: 'latent_entropy' attribute only applies to functions and variables extern struct clocksource * __init clocksource_default_clock(void); ^ /kisskb/src/include/linux/clocksource.h:215:15: error: '__cold__' attribute ignored [-Werror=attributes] /kisskb/src/include/linux/clocksource.h:215:36: error: section attribute not allowed for 'clocksource_default_clock' extern struct clocksource * __init clocksource_default_clock(void); ^ /kisskb/src/include/linux/clocksource.h:216:13: error: storage class specified for parameter 'clocksource_mark_unstable' extern void clocksource_mark_unstable(struct clocksource *cs); ^ /kisskb/src/include/linux/clocksource.h:218:1: error: storage class specified for parameter 'clocksource_start_suspend_timing' clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles); ^ /kisskb/src/include/linux/clocksource.h:219:12: error: storage class specified for parameter 'clocksource_stop_suspend_timing' extern u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 now); ^ /kisskb/src/include/linux/clocksource.h:222:1: error: storage class specified for parameter 'clocks_calc_max_nsecs' clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles); ^ /kisskb/src/include/linux/clocksource.h:224:1: error: storage class specified for parameter 'clocks_calc_mult_shift' clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec); ^ /kisskb/src/include/linux/clocksource.h:231:1: error: storage class specified for parameter '__clocksource_register_scale' __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq); ^ /kisskb/src/include/linux/clocksource.h:233:1: error: storage class specified for parameter '__clocksource_update_freq_scale' __clocksource_update_freq_scale(struct clocksource *cs, u32 scale, u32 freq); ^ /kisskb/src/include/linux/clocksource.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:250:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:260:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/clocksource.h:265:13: error: storage class specified for parameter 'clocksource_arch_init' extern void clocksource_arch_init(struct clocksource *cs); ^ /kisskb/src/include/linux/clocksource.h:270:12: error: storage class specified for parameter 'timekeeping_notify' extern int timekeeping_notify(struct clocksource *clock); ^ /kisskb/src/include/linux/clocksource.h:272:12: error: storage class specified for parameter 'clocksource_mmio_readl_up' extern u64 clocksource_mmio_readl_up(struct clocksource *); ^ /kisskb/src/include/linux/clocksource.h:273:12: error: storage class specified for parameter 'clocksource_mmio_readl_down' extern u64 clocksource_mmio_readl_down(struct clocksource *); ^ /kisskb/src/include/linux/clocksource.h:274:12: error: storage class specified for parameter 'clocksource_mmio_readw_up' extern u64 clocksource_mmio_readw_up(struct clocksource *); ^ /kisskb/src/include/linux/clocksource.h:275:12: error: storage class specified for parameter 'clocksource_mmio_readw_down' extern u64 clocksource_mmio_readw_down(struct clocksource *); ^ /kisskb/src/include/linux/clocksource.h:277:12: error: storage class specified for parameter 'clocksource_mmio_init' extern int clocksource_mmio_init(void __iomem *, const char *, ^ /kisskb/src/include/linux/clocksource.h:280:12: error: storage class specified for parameter 'clocksource_i8253_init' extern int clocksource_i8253_init(void); ^ /kisskb/src/include/linux/clocksource.h:286:13: error: storage class specified for parameter 'timer_probe' extern void timer_probe(void); ^ /kisskb/src/include/linux/clocksource.h:294:14: error: storage class specified for parameter 'max_cswd_read_retries' extern ulong max_cswd_read_retries; ^ In file included from /kisskb/src/include/linux/hyperv.h:15:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:27, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/uapi/linux/hyperv.h:54:1: error: empty declaration [-Werror] enum hv_vss_op { ^ /kisskb/src/include/uapi/linux/hyperv.h:73:1: error: empty declaration [-Werror] struct hv_vss_hdr { ^ /kisskb/src/include/uapi/linux/hyperv.h:85:1: error: empty declaration [-Werror] struct hv_vss_check_feature { ^ /kisskb/src/include/uapi/linux/hyperv.h:89:1: error: empty declaration [-Werror] struct hv_vss_check_dm_info { ^ /kisskb/src/include/uapi/linux/hyperv.h:104:1: error: empty declaration [-Werror] struct hv_vss_msg { ^ /kisskb/src/include/uapi/linux/hyperv.h:124:1: error: empty declaration [-Werror] enum hv_fcopy_op { ^ /kisskb/src/include/uapi/linux/hyperv.h:131:1: error: empty declaration [-Werror] struct hv_fcopy_hdr { ^ /kisskb/src/include/uapi/linux/hyperv.h:140:1: error: empty declaration [-Werror] struct hv_start_fcopy { ^ /kisskb/src/include/uapi/linux/hyperv.h:153:1: error: empty declaration [-Werror] struct hv_do_fcopy { ^ /kisskb/src/include/uapi/linux/hyperv.h:296:1: error: empty declaration [-Werror] enum hv_kvp_exchg_op { ^ /kisskb/src/include/uapi/linux/hyperv.h:306:1: error: empty declaration [-Werror] enum hv_kvp_exchg_pool { ^ /kisskb/src/include/uapi/linux/hyperv.h:339:1: error: empty declaration [-Werror] struct hv_kvp_ipaddr_value { ^ /kisskb/src/include/uapi/linux/hyperv.h:350:1: error: empty declaration [-Werror] struct hv_kvp_hdr { ^ /kisskb/src/include/uapi/linux/hyperv.h:356:1: error: empty declaration [-Werror] struct hv_kvp_exchg_msg_value { ^ /kisskb/src/include/uapi/linux/hyperv.h:368:1: error: empty declaration [-Werror] struct hv_kvp_msg_enumerate { ^ /kisskb/src/include/uapi/linux/hyperv.h:373:1: error: empty declaration [-Werror] struct hv_kvp_msg_get { ^ /kisskb/src/include/uapi/linux/hyperv.h:377:1: error: empty declaration [-Werror] struct hv_kvp_msg_set { ^ /kisskb/src/include/uapi/linux/hyperv.h:381:1: error: empty declaration [-Werror] struct hv_kvp_msg_delete { ^ /kisskb/src/include/uapi/linux/hyperv.h:386:1: error: empty declaration [-Werror] struct hv_kvp_register { ^ /kisskb/src/include/uapi/linux/hyperv.h:390:1: error: empty declaration [-Werror] struct hv_kvp_msg { ^ /kisskb/src/include/uapi/linux/hyperv.h:405:1: error: empty declaration [-Werror] struct hv_kvp_ip_msg { ^ In file included from /kisskb/src/include/linux/hyperv.h:19:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:27, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/scatterlist.h:11:1: error: empty declaration [-Werror] struct scatterlist { ^ /kisskb/src/include/linux/scatterlist.h:39:1: error: empty declaration [-Werror] struct sg_table { ^ /kisskb/src/include/linux/scatterlist.h:45:1: error: empty declaration [-Werror] struct sg_append_table { ^ /kisskb/src/include/linux/scatterlist.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:298:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:343:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:355:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:371:30: error: storage class specified for parameter 'sg_alloc_fn' typedef struct scatterlist *(sg_alloc_fn)(unsigned int, gfp_t); ^ /kisskb/src/include/linux/scatterlist.h:372:15: error: storage class specified for parameter 'sg_free_fn' typedef void (sg_free_fn)(struct scatterlist *, unsigned int); ^ /kisskb/src/include/linux/scatterlist.h:375:8: error: expected declaration specifiers or '...' before 'sg_free_fn' sg_free_fn *, unsigned int); ^ /kisskb/src/include/linux/scatterlist.h:379:51: error: expected declaration specifiers or '...' before 'sg_alloc_fn' struct scatterlist *, unsigned int, gfp_t, sg_alloc_fn *); ^ /kisskb/src/include/linux/scatterlist.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:490:1: error: empty declaration [-Werror] struct sg_page_iter { ^ /kisskb/src/include/linux/scatterlist.h:507:1: error: empty declaration [-Werror] struct sg_dma_page_iter { ^ /kisskb/src/include/linux/scatterlist.h:521:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:615:1: error: empty declaration [-Werror] struct sg_mapping_iter { ^ In file included from /kisskb/src/include/linux/hyperv.h:26:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:27, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/reciprocal_div.h:23:1: error: empty declaration [-Werror] struct reciprocal_value { ^ /kisskb/src/include/linux/reciprocal_div.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/reciprocal_div.h:39:1: error: empty declaration [-Werror] struct reciprocal_value_adv { ^ In file included from /kisskb/src/include/linux/hyperv.h:27:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:27, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:161:1: error: empty declaration [-Werror] enum hv_isolation_type { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:283:1: error: empty declaration [-Werror] enum hv_mem_host_visibility { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:291:1: error: empty declaration [-Werror] struct hv_gpa_range_for_visibility { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:302:1: error: empty declaration [-Werror] union hv_x64_msr_hypercall_contents { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:311:1: error: empty declaration [-Werror] union hv_vp_assist_msr_contents { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:320:1: error: empty declaration [-Werror] struct hv_reenlightenment_control { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:328:1: error: empty declaration [-Werror] struct hv_tsc_emulation_control { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:333:1: error: empty declaration [-Werror] struct hv_tsc_emulation_status { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:363:1: error: empty declaration [-Werror] struct hv_nested_enlightenments_control { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:374:1: error: empty declaration [-Werror] struct hv_vp_assist_page { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:384:1: error: empty declaration [-Werror] struct hv_enlightened_vmcs { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:601:1: error: empty declaration [-Werror] struct hv_partition_assist_pg { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:605:1: error: empty declaration [-Werror] enum hv_interrupt_type { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:619:1: error: empty declaration [-Werror] union hv_msi_address_register { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:631:1: error: empty declaration [-Werror] union hv_msi_data_register { ^ /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:644:1: error: empty declaration [-Werror] union hv_msi_entry { ^ In file included from /kisskb/src/arch/x86/include/asm/hyperv-tlfs.h:652:0, from /kisskb/src/include/linux/hyperv.h:27, from /kisskb/src/arch/x86/include/asm/kvm_host.h:27, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/asm-generic/hyperv-tlfs.h:98:1: error: empty declaration [-Werror] struct ms_hyperv_tsc_page { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:175:1: error: empty declaration [-Werror] enum HV_GENERIC_SET_FORMAT { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:247:1: error: empty declaration [-Werror] enum hv_message_type { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:275:1: error: empty declaration [-Werror] union hv_message_flags { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:284:1: error: empty declaration [-Werror] union hv_port_id { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:293:1: error: empty declaration [-Werror] struct hv_message_header { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:305:1: error: empty declaration [-Werror] struct hv_message { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:313:1: error: empty declaration [-Werror] struct hv_message_page { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:318:1: error: empty declaration [-Werror] struct hv_timer_message_payload { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:333:1: error: empty declaration [-Werror] union hv_stimer_config { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:350:1: error: empty declaration [-Werror] union hv_synic_event_flags { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:355:1: error: empty declaration [-Werror] union hv_synic_scontrol { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:364:1: error: empty declaration [-Werror] union hv_synic_sint { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:377:1: error: empty declaration [-Werror] union hv_synic_simp { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:387:1: error: empty declaration [-Werror] union hv_synic_siefp { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:396:1: error: empty declaration [-Werror] struct hv_vpset { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:403:1: error: empty declaration [-Werror] struct hv_send_ipi { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:410:1: error: empty declaration [-Werror] struct hv_send_ipi_ex { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:417:1: error: empty declaration [-Werror] struct hv_guest_mapping_flush { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:431:1: error: empty declaration [-Werror] union hv_gpa_page_range { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:454:1: error: empty declaration [-Werror] struct hv_guest_mapping_flush_list { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:461:1: error: empty declaration [-Werror] struct hv_tlb_flush { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:469:1: error: empty declaration [-Werror] struct hv_tlb_flush_ex { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:477:1: error: empty declaration [-Werror] struct hv_get_partition_id { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:482:1: error: empty declaration [-Werror] struct hv_deposit_memory { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:487:1: error: empty declaration [-Werror] struct hv_proximity_domain_flags { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:494:1: error: empty declaration [-Werror] union hv_proximity_domain_info { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:502:1: error: empty declaration [-Werror] struct hv_lp_startup_status { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:513:1: error: empty declaration [-Werror] struct hv_add_logical_processor_in { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:520:1: error: empty declaration [-Werror] struct hv_add_logical_processor_out { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:524:1: error: empty declaration [-Werror] enum HV_SUBNODE_TYPE ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:535:1: error: empty declaration [-Werror] struct hv_create_vp { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:545:1: error: empty declaration [-Werror] enum hv_interrupt_source { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:550:1: error: empty declaration [-Werror] union hv_ioapic_rte { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:574:1: error: empty declaration [-Werror] struct hv_interrupt_entry { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:589:1: error: empty declaration [-Werror] struct hv_device_interrupt_target { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:598:1: error: empty declaration [-Werror] struct hv_retarget_device_interrupt { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:608:1: error: empty declaration [-Werror] struct hv_get_vp_registers_input { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:623:1: error: empty declaration [-Werror] struct hv_get_vp_registers_output { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:639:1: error: empty declaration [-Werror] struct hv_set_vp_registers_input { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:655:1: error: empty declaration [-Werror] enum hv_device_type { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:662:13: error: storage class specified for parameter 'hv_pci_rid' typedef u16 hv_pci_rid; ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:663:13: error: storage class specified for parameter 'hv_pci_segment' typedef u16 hv_pci_segment; ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:664:13: error: storage class specified for parameter 'hv_logical_device_id' typedef u64 hv_logical_device_id; ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:665:1: error: empty declaration [-Werror] union hv_pci_bdf { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:675:1: error: empty declaration [-Werror] union hv_pci_bus_range { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:701:4: error: expected specifier-qualifier-list before 'hv_pci_rid' hv_pci_rid rid; ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:705:3: error: expected specifier-qualifier-list before 'hv_pci_segment' hv_pci_segment segment; ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:684:1: error: empty declaration [-Werror] union hv_device_id { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:734:1: error: empty declaration [-Werror] enum hv_interrupt_trigger_mode { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:739:1: error: empty declaration [-Werror] struct hv_device_interrupt_descriptor { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:747:1: error: empty declaration [-Werror] struct hv_input_map_device_interrupt { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:755:1: error: empty declaration [-Werror] struct hv_output_map_device_interrupt { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:759:1: error: empty declaration [-Werror] struct hv_input_unmap_device_interrupt { ^ /kisskb/src/include/asm-generic/hyperv-tlfs.h:778:1: error: empty declaration [-Werror] struct hv_memory_hint { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:27:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/hyperv.h:32:9: error: expected declaration specifiers before '#pragma' #pragma pack(push, 1) ^ /kisskb/src/include/linux/hyperv.h:74:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/linux/hyperv.h:77:1: error: empty declaration [-Werror] struct hv_page_buffer { ^ /kisskb/src/include/linux/hyperv.h:84:1: error: empty declaration [-Werror] struct hv_multipage_buffer { ^ /kisskb/src/include/linux/hyperv.h:96:1: error: empty declaration [-Werror] struct hv_mpb_array { ^ /kisskb/src/include/linux/hyperv.h:111:9: error: expected declaration specifiers before '#pragma' #pragma pack(pop) ^ In file included from /kisskb/src/include/linux/compiler_types.h:79:0, from :0: /kisskb/src/include/linux/compiler_attributes.h:289:41: error: expected declaration specifiers before '__attribute__' #define __packed __attribute__((__packed__)) ^ /kisskb/src/include/linux/hyperv.h:165:3: note: in expansion of macro '__packed' } __packed; ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:27:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/hyperv.h:171:1: error: empty declaration [-Werror] struct hv_ring_buffer_info { ^ /kisskb/src/include/linux/hyperv.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:206:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:277:2: error: expected specifier-qualifier-list before 'guid_t' guid_t if_type; ^ /kisskb/src/include/linux/hyperv.h:276:1: error: empty declaration [-Werror] struct vmbus_channel_offer { ^ /kisskb/src/include/linux/hyperv.h:327:1: error: empty declaration [-Werror] struct vmpacket_descriptor { ^ /kisskb/src/include/linux/hyperv.h:335:1: error: empty declaration [-Werror] struct vmpacket_header { ^ /kisskb/src/include/linux/hyperv.h:340:1: error: empty declaration [-Werror] struct vmtransfer_page_range { ^ /kisskb/src/include/linux/hyperv.h:345:1: error: empty declaration [-Werror] struct vmtransfer_page_packet_header { ^ /kisskb/src/include/linux/hyperv.h:354:1: error: empty declaration [-Werror] struct vmgpadl_packet_header { ^ /kisskb/src/include/linux/hyperv.h:360:1: error: empty declaration [-Werror] struct vmadd_remove_transfer_page_set { ^ /kisskb/src/include/linux/hyperv.h:371:1: error: empty declaration [-Werror] struct gpa_range { ^ /kisskb/src/include/linux/hyperv.h:384:1: error: empty declaration [-Werror] struct vmestablish_gpadl { ^ /kisskb/src/include/linux/hyperv.h:395:1: error: empty declaration [-Werror] struct vmteardown_gpadl { ^ /kisskb/src/include/linux/hyperv.h:405:1: error: empty declaration [-Werror] struct vmdata_gpa_direct { ^ /kisskb/src/include/linux/hyperv.h:413:1: error: empty declaration [-Werror] struct vmadditional_data { ^ /kisskb/src/include/linux/hyperv.h:421:1: error: empty declaration [-Werror] union vmpacket_largest_possible_header { ^ /kisskb/src/include/linux/hyperv.h:442:1: error: empty declaration [-Werror] enum vmbus_packet_type { ^ /kisskb/src/include/linux/hyperv.h:463:1: error: empty declaration [-Werror] enum vmbus_channel_message_type { ^ /kisskb/src/include/linux/hyperv.h:495:1: error: empty declaration [-Werror] struct vmbus_channel_message_header { ^ /kisskb/src/include/linux/hyperv.h:501:1: error: empty declaration [-Werror] struct vmbus_channel_query_vmbus_version { ^ /kisskb/src/include/linux/hyperv.h:507:1: error: empty declaration [-Werror] struct vmbus_channel_version_supported { ^ /kisskb/src/include/linux/hyperv.h:513:1: error: empty declaration [-Werror] struct vmbus_channel_offer_channel { ^ /kisskb/src/include/linux/hyperv.h:540:1: error: empty declaration [-Werror] struct vmbus_channel_rescind_offer { ^ /kisskb/src/include/linux/hyperv.h:555:1: error: empty declaration [-Werror] struct vmbus_channel_open_channel { ^ /kisskb/src/include/linux/hyperv.h:589:1: error: empty declaration [-Werror] struct vmbus_channel_open_result { ^ /kisskb/src/include/linux/hyperv.h:597:1: error: empty declaration [-Werror] struct vmbus_channel_modifychannel_response { ^ /kisskb/src/include/linux/hyperv.h:604:1: error: empty declaration [-Werror] struct vmbus_channel_close_channel { ^ /kisskb/src/include/linux/hyperv.h:620:1: error: empty declaration [-Werror] struct vmbus_channel_gpadl_header { ^ /kisskb/src/include/linux/hyperv.h:630:1: error: empty declaration [-Werror] struct vmbus_channel_gpadl_body { ^ /kisskb/src/include/linux/hyperv.h:637:1: error: empty declaration [-Werror] struct vmbus_channel_gpadl_created { ^ /kisskb/src/include/linux/hyperv.h:644:1: error: empty declaration [-Werror] struct vmbus_channel_gpadl_teardown { ^ /kisskb/src/include/linux/hyperv.h:650:1: error: empty declaration [-Werror] struct vmbus_channel_gpadl_torndown { ^ /kisskb/src/include/linux/hyperv.h:655:1: error: empty declaration [-Werror] struct vmbus_channel_relid_released { ^ /kisskb/src/include/linux/hyperv.h:660:1: error: empty declaration [-Werror] struct vmbus_channel_initiate_contact { ^ /kisskb/src/include/linux/hyperv.h:679:2: error: expected specifier-qualifier-list before 'guid_t' guid_t guest_endpoint_id; ^ /kisskb/src/include/linux/hyperv.h:677:1: error: empty declaration [-Werror] struct vmbus_channel_tl_connect_request { ^ /kisskb/src/include/linux/hyperv.h:684:1: error: empty declaration [-Werror] struct vmbus_channel_modifychannel { ^ /kisskb/src/include/linux/hyperv.h:690:1: error: empty declaration [-Werror] struct vmbus_channel_version_response { ^ /kisskb/src/include/linux/hyperv.h:708:1: error: empty declaration [-Werror] enum vmbus_channel_state { ^ /kisskb/src/include/linux/hyperv.h:719:1: error: empty declaration [-Werror] struct vmbus_channel_msginfo { ^ /kisskb/src/include/linux/hyperv.h:746:1: error: empty declaration [-Werror] struct vmbus_close_msg { ^ /kisskb/src/include/linux/hyperv.h:752:1: error: empty declaration [-Werror] union hv_connection_id { ^ /kisskb/src/include/linux/hyperv.h:760:1: error: empty declaration [-Werror] enum vmbus_device_type { ^ /kisskb/src/include/linux/hyperv.h:785:1: error: empty declaration [-Werror] struct vmbus_requestor { ^ /kisskb/src/include/linux/hyperv.h:804:2: error: expected specifier-qualifier-list before 'guid_t' guid_t guid; ^ /kisskb/src/include/linux/hyperv.h:802:1: error: empty declaration [-Werror] struct vmbus_device { ^ /kisskb/src/include/linux/hyperv.h:811:1: error: empty declaration [-Werror] struct vmbus_gpadl { ^ /kisskb/src/include/linux/hyperv.h:817:1: error: empty declaration [-Werror] struct vmbus_channel { ^ /kisskb/src/include/linux/hyperv.h:1058:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1072:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1077:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1082:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1088:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1098:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1138:1: error: empty declaration [-Werror] struct vmbus_channel_packet_page_buffer { ^ /kisskb/src/include/linux/hyperv.h:1150:1: error: empty declaration [-Werror] struct vmbus_channel_packet_multipage_buffer { ^ /kisskb/src/include/linux/hyperv.h:1162:1: error: empty declaration [-Werror] struct vmbus_packet_mpb_array { ^ /kisskb/src/include/linux/hyperv.h:1182:12: error: storage class specified for parameter 'vmbus_open' extern int vmbus_open(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1190:13: error: storage class specified for parameter 'vmbus_close' extern void vmbus_close(struct vmbus_channel *channel); ^ /kisskb/src/include/linux/hyperv.h:1192:12: error: storage class specified for parameter 'vmbus_sendpacket_getid' extern int vmbus_sendpacket_getid(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1199:12: error: storage class specified for parameter 'vmbus_sendpacket' extern int vmbus_sendpacket(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1206:12: error: storage class specified for parameter 'vmbus_sendpacket_pagebuffer' extern int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1213:12: error: storage class specified for parameter 'vmbus_sendpacket_mpb_desc' extern int vmbus_sendpacket_mpb_desc(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1220:12: error: storage class specified for parameter 'vmbus_establish_gpadl' extern int vmbus_establish_gpadl(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1225:12: error: storage class specified for parameter 'vmbus_teardown_gpadl' extern int vmbus_teardown_gpadl(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1230:12: error: storage class specified for parameter 'vmbus_recvpacket' extern int vmbus_recvpacket(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1236:12: error: storage class specified for parameter 'vmbus_recvpacket_raw' extern int vmbus_recvpacket_raw(struct vmbus_channel *channel, ^ /kisskb/src/include/linux/hyperv.h:1243:13: error: storage class specified for parameter 'vmbus_ontimer' extern void vmbus_ontimer(unsigned long data); ^ /kisskb/src/include/linux/hyperv.h:1264:2: error: expected specifier-qualifier-list before 'guid_t' guid_t dev_type; ^ /kisskb/src/include/linux/hyperv.h:1246:1: error: empty declaration [-Werror] struct hv_driver { ^ /kisskb/src/include/linux/hyperv.h:1287:2: error: expected specifier-qualifier-list before 'guid_t' guid_t dev_type; ^ /kisskb/src/include/linux/hyperv.h:1285:1: error: empty declaration [-Werror] struct hv_device { ^ /kisskb/src/include/linux/hyperv.h:1313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1332:1: error: empty declaration [-Werror] struct hv_ring_buffer_debug_info { ^ /kisskb/src/include/linux/hyperv.h:1542:1: error: empty declaration [-Werror] struct hv_util_service { ^ /kisskb/src/include/linux/hyperv.h:1552:1: error: empty declaration [-Werror] struct vmbuspipe_hdr { ^ /kisskb/src/include/linux/hyperv.h:1557:1: error: empty declaration [-Werror] struct ic_version { ^ /kisskb/src/include/linux/hyperv.h:1562:1: error: empty declaration [-Werror] struct icmsg_hdr { ^ /kisskb/src/include/linux/hyperv.h:1579:1: error: empty declaration [-Werror] struct icmsg_negotiate { ^ /kisskb/src/include/linux/hyperv.h:1586:1: error: empty declaration [-Werror] struct shutdown_msg_data { ^ /kisskb/src/include/linux/hyperv.h:1593:1: error: empty declaration [-Werror] struct heartbeat_msg_data { ^ /kisskb/src/include/linux/hyperv.h:1609:1: error: empty declaration [-Werror] struct ictimesync_data { ^ /kisskb/src/include/linux/hyperv.h:1616:1: error: empty declaration [-Werror] struct ictimesync_ref_data { ^ /kisskb/src/include/linux/hyperv.h:1628:2: error: expected specifier-qualifier-list before 'guid_t' guid_t data; ^ /kisskb/src/include/linux/hyperv.h:1625:1: error: empty declaration [-Werror] struct hyperv_service_callback { ^ /kisskb/src/include/linux/hyperv.h:1633:1: error: empty declaration [-Werror] struct hv_dma_range { ^ /kisskb/src/include/linux/hyperv.h:1639:13: error: storage class specified for parameter 'vmbus_prep_negotiate_resp' extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, u32 buflen, ^ /kisskb/src/include/linux/hyperv.h:1651:14: error: storage class specified for parameter 'vmbus_proto_version' extern __u32 vmbus_proto_version; ^ /kisskb/src/include/linux/hyperv.h:1653:41: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] int vmbus_send_tl_connect_request(const guid_t *shv_guest_servie_id, ^ /kisskb/src/include/linux/hyperv.h:1653:48: error: expected ';', ',' or ')' before '*' token int vmbus_send_tl_connect_request(const guid_t *shv_guest_servie_id, ^ /kisskb/src/include/linux/hyperv.h:1661:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1669:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1680:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1701:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1707:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1713:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hyperv.h:1760:1: error: empty declaration [-Werror] struct hyperv_pci_block_ops { ^ /kisskb/src/include/linux/hyperv.h:1770:36: error: storage class specified for parameter 'hvpci_block_ops' extern struct hyperv_pci_block_ops hvpci_block_ops; ^ /kisskb/src/include/linux/hyperv.h:1773:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:29:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/apic.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:52:12: error: storage class specified for parameter 'apic_verbosity' extern int apic_verbosity; ^ /kisskb/src/arch/x86/include/asm/apic.h:53:12: error: storage class specified for parameter 'local_apic_timer_c2_ok' extern int local_apic_timer_c2_ok; ^ /kisskb/src/arch/x86/include/asm/apic.h:55:12: error: storage class specified for parameter 'disable_apic' extern int disable_apic; ^ /kisskb/src/arch/x86/include/asm/apic.h:56:21: error: storage class specified for parameter 'lapic_timer_period' extern unsigned int lapic_timer_period; ^ /kisskb/src/arch/x86/include/asm/apic.h:58:31: error: storage class specified for parameter 'apic_intr_mode' extern enum apic_intr_mode_id apic_intr_mode; ^ /kisskb/src/arch/x86/include/asm/apic.h:59:1: error: empty declaration [-Werror] enum apic_intr_mode_id { ^ /kisskb/src/arch/x86/include/asm/apic.h:68:13: error: storage class specified for parameter '__inquire_remote_apic' extern void __inquire_remote_apic(int apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:115:13: error: storage class specified for parameter 'native_apic_wait_icr_idle' extern void native_apic_wait_icr_idle(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:116:12: error: storage class specified for parameter 'native_safe_apic_wait_icr_idle' extern u32 native_safe_apic_wait_icr_idle(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:117:13: error: storage class specified for parameter 'native_apic_icr_write' extern void native_apic_icr_write(u32 low, u32 id); ^ /kisskb/src/arch/x86/include/asm/apic.h:118:12: error: storage class specified for parameter 'native_apic_icr_read' extern u64 native_apic_icr_read(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:129:13: error: storage class specified for parameter 'enable_IR_x2apic' extern void enable_IR_x2apic(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:131:12: error: storage class specified for parameter 'get_physical_broadcast' extern int get_physical_broadcast(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:133:12: error: storage class specified for parameter 'lapic_get_maxlvt' extern int lapic_get_maxlvt(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:134:13: error: storage class specified for parameter 'clear_local_APIC' extern void clear_local_APIC(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:135:13: error: storage class specified for parameter 'disconnect_bsp_APIC' extern void disconnect_bsp_APIC(int virt_wire_setup); ^ /kisskb/src/arch/x86/include/asm/apic.h:136:13: error: storage class specified for parameter 'disable_local_APIC' extern void disable_local_APIC(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:137:13: error: storage class specified for parameter 'apic_soft_disable' extern void apic_soft_disable(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:138:13: error: storage class specified for parameter 'lapic_shutdown' extern void lapic_shutdown(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:139:13: error: storage class specified for parameter 'sync_Arb_IDs' extern void sync_Arb_IDs(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:140:13: error: storage class specified for parameter 'init_bsp_APIC' extern void init_bsp_APIC(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:141:13: error: storage class specified for parameter 'apic_intr_mode_select' extern void apic_intr_mode_select(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:142:13: error: storage class specified for parameter 'apic_intr_mode_init' extern void apic_intr_mode_init(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:143:13: error: storage class specified for parameter 'init_apic_mappings' extern void init_apic_mappings(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:145:13: error: storage class specified for parameter 'setup_boot_APIC_clock' extern void setup_boot_APIC_clock(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:146:13: error: storage class specified for parameter 'setup_secondary_APIC_clock' extern void setup_secondary_APIC_clock(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:147:13: error: storage class specified for parameter 'lapic_update_tsc_freq' extern void lapic_update_tsc_freq(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:158:13: error: storage class specified for parameter 'apic_ap_setup' extern void apic_ap_setup(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:164:12: error: storage class specified for parameter 'apic_is_clustered_box' extern int apic_is_clustered_box(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:172:12: error: storage class specified for parameter 'setup_APIC_eilvt' extern int setup_APIC_eilvt(u8 lvt_off, u8 vector, u8 msg_type, u8 mask); ^ /kisskb/src/arch/x86/include/asm/apic.h:173:13: error: storage class specified for parameter 'lapic_assign_system_vectors' extern void lapic_assign_system_vectors(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:174:13: error: storage class specified for parameter 'lapic_assign_legacy_vector' extern void lapic_assign_legacy_vector(unsigned int isairq, bool replace); ^ /kisskb/src/arch/x86/include/asm/apic.h:175:13: error: storage class specified for parameter 'lapic_update_legacy_vectors' extern void lapic_update_legacy_vectors(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:176:13: error: storage class specified for parameter 'lapic_online' extern void lapic_online(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:177:13: error: storage class specified for parameter 'lapic_offline' extern void lapic_offline(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:178:13: error: storage class specified for parameter 'apic_needs_pit' extern bool apic_needs_pit(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:180:13: error: storage class specified for parameter 'apic_send_IPI_allbutself' extern void apic_send_IPI_allbutself(unsigned int vector); ^ /kisskb/src/arch/x86/include/asm/apic.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:242:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:249:12: error: storage class specified for parameter 'x2apic_mode' extern int x2apic_mode; ^ /kisskb/src/arch/x86/include/asm/apic.h:250:12: error: storage class specified for parameter 'x2apic_phys' extern int x2apic_phys; ^ /kisskb/src/arch/x86/include/asm/apic.h:251:20: error: storage class specified for parameter 'x2apic_set_max_apicid' extern void __init x2apic_set_max_apicid(u32 apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:251:20: error: section attribute not allowed for 'x2apic_set_max_apicid' /kisskb/src/arch/x86/include/asm/apic.h:251:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init x2apic_set_max_apicid(u32 apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:251:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/apic.h:252:20: error: storage class specified for parameter 'check_x2apic' extern void __init check_x2apic(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:252:20: error: section attribute not allowed for 'check_x2apic' /kisskb/src/arch/x86/include/asm/apic.h:252:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init check_x2apic(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:252:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/apic.h:253:13: error: storage class specified for parameter 'x2apic_setup' extern void x2apic_setup(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:269:1: error: empty declaration [-Werror] struct irq_data; ^ /kisskb/src/arch/x86/include/asm/apic.h:315:28: error: expected declaration specifiers or '...' before 'physid_mask_t' bool (*check_apicid_used)(physid_mask_t *map, int apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:317:29: error: expected declaration specifiers or '...' before 'physid_mask_t' void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); ^ /kisskb/src/arch/x86/include/asm/apic.h:317:54: error: expected declaration specifiers or '...' before 'physid_mask_t' void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); ^ /kisskb/src/arch/x86/include/asm/apic.h:320:49: error: expected declaration specifiers or '...' before 'physid_mask_t' void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); ^ /kisskb/src/arch/x86/include/asm/apic.h:280:1: error: empty declaration [-Werror] struct apic { ^ /kisskb/src/arch/x86/include/asm/apic.h:355:21: error: storage class specified for parameter 'apic' extern struct apic *apic; ^ /kisskb/src/arch/x86/include/asm/apic.h:375:21: error: storage class specified for parameter '__apicdrivers' extern struct apic *__apicdrivers[], *__apicdrivers_end[]; ^ /kisskb/src/arch/x86/include/asm/apic.h:375:39: error: storage class specified for parameter '__apicdrivers_end' extern struct apic *__apicdrivers[], *__apicdrivers_end[]; ^ /kisskb/src/arch/x86/include/asm/apic.h:381:12: error: storage class specified for parameter 'wakeup_secondary_cpu_via_nmi' extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip); ^ /kisskb/src/arch/x86/include/asm/apic.h:382:12: error: storage class specified for parameter 'lapic_can_unplug_cpu' extern int lapic_can_unplug_cpu(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:393:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:403:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:422:20: error: storage class specified for parameter 'apic_set_eoi_write' extern void __init apic_set_eoi_write(void (*eoi_write)(u32 reg, u32 v)); ^ /kisskb/src/arch/x86/include/asm/apic.h:422:20: error: section attribute not allowed for 'apic_set_eoi_write' /kisskb/src/arch/x86/include/asm/apic.h:422:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init apic_set_eoi_write(void (*eoi_write)(u32 reg, u32 v)); ^ /kisskb/src/arch/x86/include/asm/apic.h:422:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/apic.h:437:13: error: storage class specified for parameter 'apic_ack_irq' extern void apic_ack_irq(struct irq_data *data); ^ /kisskb/src/arch/x86/include/asm/apic.h:440:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:457:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:472:13: error: storage class specified for parameter 'generic_bigsmp_probe' extern void generic_bigsmp_probe(void); ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_x86_bios_cpu_apicid' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:169:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..read_mostly") ^ /kisskb/src/arch/x86/include/asm/percpu.h:426:2: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/apic.h:480:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_x86_bios_cpu_apicid' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:169:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "..read_mostly") ^ /kisskb/src/arch/x86/include/asm/percpu.h:426:2: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/apic.h:480:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:480:40: error: storage class specified for parameter 'x86_bios_cpu_apicid' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /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/x86/include/asm/percpu.h:426:2: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/apic.h:480:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:480:40: error: section attribute not allowed for 'x86_bios_cpu_apicid' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /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/x86/include/asm/percpu.h:426:2: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(_type, _name); \ ^ /kisskb/src/arch/x86/include/asm/apic.h:480:1: note: in expansion of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ In file included from /kisskb/src/arch/x86/include/asm/preempt.h:6:0, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/apic.h:480:40: error: storage class specified for parameter 'x86_bios_cpu_apicid_early_ptr' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /kisskb/src/arch/x86/include/asm/percpu.h:427:28: note: in definition of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' extern __typeof__(_type) *_name##_early_ptr; \ ^ /kisskb/src/arch/x86/include/asm/apic.h:480:40: error: storage class specified for parameter 'x86_bios_cpu_apicid_early_map' DECLARE_EARLY_PER_CPU_READ_MOSTLY(u16, x86_bios_cpu_apicid); ^ /kisskb/src/arch/x86/include/asm/percpu.h:428:28: note: in definition of macro 'DECLARE_EARLY_PER_CPU_READ_MOSTLY' extern __typeof__(_type) _name##_early_map[] ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:29:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/apic.h:482:20: error: storage class specified for parameter 'apic_noop' extern struct apic apic_noop; ^ /kisskb/src/arch/x86/include/asm/apic.h:485:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/apic.h:492:15: error: storage class specified for parameter 'wakeup_cpu_handler' typedef int (*wakeup_cpu_handler)(int apicid, unsigned long start_eip); ^ /kisskb/src/arch/x86/include/asm/apic.h:493:42: error: expected declaration specifiers or '...' before 'wakeup_cpu_handler' extern void acpi_wake_cpu_handler_update(wakeup_cpu_handler handler); ^ /kisskb/src/arch/x86/include/asm/apic.h:496:12: error: storage class specified for parameter 'default_apic_id_valid' extern int default_apic_id_valid(u32 apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:497:12: error: storage class specified for parameter 'default_acpi_madt_oem_check' extern int default_acpi_madt_oem_check(char *, char *); ^ /kisskb/src/arch/x86/include/asm/apic.h:498:13: error: storage class specified for parameter 'default_setup_apic_routing' extern void default_setup_apic_routing(void); ^ /kisskb/src/arch/x86/include/asm/apic.h:500:12: error: storage class specified for parameter 'apic_default_calc_apicid' extern u32 apic_default_calc_apicid(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/apic.h:501:12: error: storage class specified for parameter 'apic_flat_calc_apicid' extern u32 apic_flat_calc_apicid(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/apic.h:503:39: error: expected declaration specifiers or '...' before 'physid_mask_t' extern bool default_check_apicid_used(physid_mask_t *map, int apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:504:40: error: expected declaration specifiers or '...' before 'physid_mask_t' extern void default_ioapic_phys_id_map(physid_mask_t *phys_map, physid_mask_t *retmap); ^ /kisskb/src/arch/x86/include/asm/apic.h:504:65: error: expected declaration specifiers or '...' before 'physid_mask_t' extern void default_ioapic_phys_id_map(physid_mask_t *phys_map, physid_mask_t *retmap); ^ /kisskb/src/arch/x86/include/asm/apic.h:505:12: error: storage class specified for parameter 'default_cpu_present_to_apicid' extern int default_cpu_present_to_apicid(int mps_cpu); ^ /kisskb/src/arch/x86/include/asm/apic.h:506:12: error: storage class specified for parameter 'default_check_phys_apicid_present' extern int default_check_phys_apicid_present(int phys_apicid); ^ /kisskb/src/arch/x86/include/asm/apic.h:518:1: error: empty declaration [-Werror] struct msi_msg; ^ /kisskb/src/arch/x86/include/asm/apic.h:519:1: error: empty declaration [-Werror] struct irq_cfg; ^ /kisskb/src/arch/x86/include/asm/apic.h:521:13: error: storage class specified for parameter '__irq_msi_compose_msg' extern void __irq_msi_compose_msg(struct irq_cfg *cfg, struct msi_msg *msg, ^ /kisskb/src/arch/x86/include/asm/apic.h:524:13: error: storage class specified for parameter 'ioapic_zap_locks' extern void ioapic_zap_locks(void); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:30:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/pvclock-abi.h:26:1: error: empty declaration [-Werror] struct pvclock_vcpu_time_info { ^ /kisskb/src/arch/x86/include/asm/pvclock-abi.h:37:1: error: empty declaration [-Werror] struct pvclock_wall_clock { ^ In file included from /kisskb/src/arch/x86/include/asm/mtrr.h:26:0, from /kisskb/src/arch/x86/include/asm/kvm_host.h:32, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:54:1: error: empty declaration [-Werror] struct mtrr_sentry { ^ /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:60:1: error: empty declaration [-Werror] struct mtrr_gentry { ^ /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:70:1: error: empty declaration [-Werror] struct mtrr_var_range { ^ /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:79:14: error: storage class specified for parameter 'mtrr_type' typedef __u8 mtrr_type; ^ /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:86:2: error: expected specifier-qualifier-list before 'mtrr_type' mtrr_type fixed_ranges[MTRR_NUM_FIXED_RANGES]; ^ /kisskb/src/arch/x86/include/uapi/asm/mtrr.h:84:1: error: empty declaration [-Werror] struct mtrr_state_type { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:32:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mtrr.h:35:11: error: storage class specified for parameter 'mtrr_type_lookup' extern u8 mtrr_type_lookup(u64 addr, u64 end, u8 *uniform); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:36:13: error: storage class specified for parameter 'mtrr_save_fixed_ranges' extern void mtrr_save_fixed_ranges(void *); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:37:13: error: storage class specified for parameter 'mtrr_save_state' extern void mtrr_save_state(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:38:12: error: storage class specified for parameter 'mtrr_add' extern int mtrr_add(unsigned long base, unsigned long size, ^ /kisskb/src/arch/x86/include/asm/mtrr.h:40:12: error: storage class specified for parameter 'mtrr_add_page' extern int mtrr_add_page(unsigned long base, unsigned long size, ^ /kisskb/src/arch/x86/include/asm/mtrr.h:42:12: error: storage class specified for parameter 'mtrr_del' extern int mtrr_del(int reg, unsigned long base, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:43:12: error: storage class specified for parameter 'mtrr_del_page' extern int mtrr_del_page(int reg, unsigned long base, unsigned long size); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:44:13: error: storage class specified for parameter 'mtrr_centaur_report_mcr' extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:45:13: error: storage class specified for parameter 'mtrr_ap_init' extern void mtrr_ap_init(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:46:13: error: storage class specified for parameter 'set_mtrr_aps_delayed_init' extern void set_mtrr_aps_delayed_init(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:47:13: error: storage class specified for parameter 'mtrr_aps_init' extern void mtrr_aps_init(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:48:13: error: storage class specified for parameter 'mtrr_bp_restore' extern void mtrr_bp_restore(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:49:12: error: storage class specified for parameter 'mtrr_trim_uncached_memory' extern int mtrr_trim_uncached_memory(unsigned long end_pfn); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:50:12: error: storage class specified for parameter 'amd_special_default_mtrr' extern int amd_special_default_mtrr(void); ^ /kisskb/src/arch/x86/include/asm/mtrr.h:96:5: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t base; /* Base address */ ^ /kisskb/src/arch/x86/include/asm/mtrr.h:95:1: error: empty declaration [-Werror] struct mtrr_sentry32 { ^ /kisskb/src/arch/x86/include/asm/mtrr.h:102:5: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t regnum; /* Register number */ ^ /kisskb/src/arch/x86/include/asm/mtrr.h:101:1: error: empty declaration [-Werror] struct mtrr_gentry32 { ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:35:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_page_track.h:5:1: error: empty declaration [-Werror] enum kvm_page_track_mode { ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:17:1: error: empty declaration [-Werror] struct kvm_page_track_notifier_head { ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:35:45: error: expected declaration specifiers or '...' before 'gpa_t' void (*track_write)(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new, ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:22:1: error: empty declaration [-Werror] struct kvm_page_track_notifier_node { ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:61:37: error: expected declaration specifiers or '...' before 'gfn_t' struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:64:40: error: expected declaration specifiers or '...' before 'gfn_t' struct kvm_memory_slot *slot, gfn_t gfn, ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:68:8: error: expected declaration specifiers or '...' before 'gfn_t' gfn_t gfn, enum kvm_page_track_mode mode); ^ /kisskb/src/arch/x86/include/asm/kvm_page_track.h:76:50: error: expected declaration specifiers or '...' before 'gpa_t' void kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new, ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:155:1: error: empty declaration [-Werror] enum kvm_reg { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:187:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:198:1: error: empty declaration [-Werror] enum exit_fastpath_completion { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:203:39: error: storage class specified for parameter 'fastpath_t' typedef enum exit_fastpath_completion fastpath_t; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:205:1: error: empty declaration [-Werror] struct x86_emulate_ctxt; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:206:1: error: empty declaration [-Werror] struct x86_exception; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:207:1: error: empty declaration [-Werror] enum x86_intercept; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:208:1: error: empty declaration [-Werror] enum x86_intercept_stage; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:281:1: error: empty declaration [-Werror] struct kvm_kernel_irq_routing_entry; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:321:1: error: empty declaration [-Werror] union kvm_mmu_page_role { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:368:1: error: empty declaration [-Werror] union kvm_mmu_extended_role { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:382:1: error: empty declaration [-Werror] union kvm_cpu_role { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:390:1: error: empty declaration [-Werror] struct kvm_rmap_head { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:394:1: error: empty declaration [-Werror] struct kvm_pio_request { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:404:1: error: empty declaration [-Werror] struct rsvd_bits_validate { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:410:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t pgd; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:409:1: error: empty declaration [-Werror] struct kvm_mmu_root_info { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:421:1: error: empty declaration [-Werror] struct kvm_mmu_page; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:422:1: error: empty declaration [-Werror] struct kvm_page_fault; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:435:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:429:1: error: empty declaration [-Werror] struct kvm_mmu { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:478:1: error: empty declaration [-Werror] struct kvm_tlb_range { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:483:1: error: empty declaration [-Werror] enum pmc_type { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:488:1: error: empty declaration [-Werror] struct kvm_pmc { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:505:1: error: empty declaration [-Werror] struct kvm_pmu { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:554:1: error: empty declaration [-Werror] struct kvm_pmu_ops; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:556:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:561:1: error: empty declaration [-Werror] struct kvm_mtrr_range { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:569:2: error: expected specifier-qualifier-list before 'mtrr_type' mtrr_type fixed_ranges[KVM_NR_FIXED_MTRR_REGION]; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:567:1: error: empty declaration [-Werror] struct kvm_mtrr { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:576:1: error: empty declaration [-Werror] struct kvm_vcpu_hv_stimer { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:587:1: error: empty declaration [-Werror] struct kvm_vcpu_hv_synic { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:601:1: error: empty declaration [-Werror] struct kvm_vcpu_hv { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:624:1: error: empty declaration [-Werror] struct kvm_vcpu_xen { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:644:1: error: empty declaration [-Werror] struct kvm_queued_exception { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:782:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t time; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:654:1: error: empty declaration [-Werror] struct kvm_vcpu_arch { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:955:1: error: empty declaration [-Werror] struct kvm_lpage_info { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:959:1: error: empty declaration [-Werror] struct kvm_arch_memory_slot { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:976:1: error: empty declaration [-Werror] struct kvm_apic_map { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:988:1: error: empty declaration [-Werror] struct kvm_hv_syndbg { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1000:1: error: empty declaration [-Werror] enum hv_tsc_page_status { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1014:1: error: empty declaration [-Werror] struct kvm_hv { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1046:1: error: empty declaration [-Werror] struct msr_bitmap_range { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1054:1: error: empty declaration [-Werror] struct kvm_xen { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1063:1: error: empty declaration [-Werror] enum kvm_irqchip_mode { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1069:1: error: empty declaration [-Werror] struct kvm_x86_msr_filter { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1075:1: error: empty declaration [-Werror] enum kvm_apicv_inhibit { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1186:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t wall_clock; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1145:1: error: empty declaration [-Werror] struct kvm_arch { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1368:1: error: empty declaration [-Werror] struct kvm_vm_stat { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1390:1: error: empty declaration [-Werror] struct kvm_vcpu_stat { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1429:1: error: empty declaration [-Werror] struct x86_instruction_info; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1431:1: error: empty declaration [-Werror] struct msr_data { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1437:1: error: empty declaration [-Werror] struct kvm_lapic_irq { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1449:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1514:47: error: expected declaration specifiers or '...' before 'gva_t' void (*flush_tlb_gva)(struct kvm_vcpu *vcpu, gva_t addr); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1556:43: error: expected declaration specifiers or '...' before 'gfn_t' u8 (*get_mt_mask)(struct kvm_vcpu *vcpu, gfn_t gfn, bool is_mmio); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1558:46: error: expected declaration specifiers or '...' before 'hpa_t' void (*load_mmu_pgd)(struct kvm_vcpu *vcpu, hpa_t root_hpa, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1453:1: error: empty declaration [-Werror] struct kvm_x86_ops { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1656:48: error: expected declaration specifiers or '...' before 'gpa_t' int (*write_log_dirty)(struct kvm_vcpu *vcpu, gpa_t l2_gpa); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1642:1: error: empty declaration [-Werror] struct kvm_x86_nested_ops { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1663:1: error: empty declaration [-Werror] struct kvm_x86_init_ops { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1676:2: error: expected specifier-qualifier-list before 'gfn_t' gfn_t gfn; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1674:1: error: empty declaration [-Werror] struct kvm_arch_async_pf { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1681:26: error: storage class specified for parameter 'kvm_nr_uret_msrs' extern u32 __read_mostly kvm_nr_uret_msrs; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1681:26: error: section attribute not allowed for 'kvm_nr_uret_msrs' /kisskb/src/arch/x86/include/asm/kvm_host.h:1682:26: error: storage class specified for parameter 'host_efer' extern u64 __read_mostly host_efer; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1682:26: error: section attribute not allowed for 'host_efer' /kisskb/src/arch/x86/include/asm/kvm_host.h:1683:27: error: storage class specified for parameter 'allow_smaller_maxphyaddr' extern bool __read_mostly allow_smaller_maxphyaddr; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1683:27: error: section attribute not allowed for 'allow_smaller_maxphyaddr' /kisskb/src/arch/x86/include/asm/kvm_host.h:1684:27: error: storage class specified for parameter 'enable_apicv' extern bool __read_mostly enable_apicv; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1684:27: error: section attribute not allowed for 'enable_apicv' /kisskb/src/arch/x86/include/asm/kvm_host.h:1685:27: error: storage class specified for parameter 'kvm_x86_ops' extern struct kvm_x86_ops kvm_x86_ops; ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_hardware_enable' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:17:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_enable) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_hardware_enable' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:17:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_enable) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:17:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_enable) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_hardware_disable' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:18:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_disable) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_hardware_disable' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:18:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_disable) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:18:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_disable) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_hardware_unsetup' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:19:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_unsetup) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_hardware_unsetup' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:19:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_unsetup) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:19:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(hardware_unsetup) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_has_emulated_msr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:20:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_emulated_msr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_has_emulated_msr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:20:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_emulated_msr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:20:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_emulated_msr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_after_set_cpuid' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:21:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_after_set_cpuid) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_after_set_cpuid' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:21:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_after_set_cpuid) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:21:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_after_set_cpuid) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vm_init' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:22:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vm_init) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vm_init' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:22:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vm_init) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:22:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vm_init) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vm_destroy' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:23:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_destroy) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vm_destroy' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:23:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_destroy) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:23:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_destroy) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_precreate' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:24:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_precreate) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_precreate' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:24:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_precreate) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:24:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_precreate) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_create' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:25:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_create) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_create' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:25:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_create) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:25:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_create) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_free' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:26:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_free) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_free' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:26:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_free) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:26:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_free) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_reset' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:27:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_reset) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_reset' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:27:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_reset) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:27:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_reset) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_prepare_switch_to_guest' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:28:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(prepare_switch_to_guest) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_prepare_switch_to_guest' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:28:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(prepare_switch_to_guest) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:28:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(prepare_switch_to_guest) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_load' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:29:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_load) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_load' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:29:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_load) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:29:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_load) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_put' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:30:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_put) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_put' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:30:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_put) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:30:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_put) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_update_exception_bitmap' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:31:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(update_exception_bitmap) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_update_exception_bitmap' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:31:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(update_exception_bitmap) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:31:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(update_exception_bitmap) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_msr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:32:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_msr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:32:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:32:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_msr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:33:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_msr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_msr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:33:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_msr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:33:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_msr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_segment_base' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:34:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment_base) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_segment_base' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:34:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment_base) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:34:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment_base) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_segment' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:35:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_segment' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:35:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:35:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_segment) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_cpl' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:36:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cpl) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_cpl' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:36:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cpl) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:36:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cpl) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_segment' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:37:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_segment) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_segment' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:37:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_segment) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:37:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_segment) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_cs_db_l_bits' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:38:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cs_db_l_bits) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_cs_db_l_bits' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:38:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cs_db_l_bits) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:38:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_cs_db_l_bits) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_cr0' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:39:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr0) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_cr0' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:39:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr0) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:39:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr0) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_post_set_cr3' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:40:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(post_set_cr3) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_post_set_cr3' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:40:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(post_set_cr3) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:40:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(post_set_cr3) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_is_valid_cr4' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:41:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(is_valid_cr4) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_is_valid_cr4' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:41:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(is_valid_cr4) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:41:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(is_valid_cr4) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_cr4' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:42:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr4) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_cr4' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:42:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr4) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:42:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_cr4) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_efer' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:43:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_efer) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_efer' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:43:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_efer) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:43:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_efer) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_idt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:44:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_idt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_idt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:44:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_idt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:44:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_idt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_idt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:45:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_idt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_idt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:45:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_idt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:45:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_idt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_gdt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:46:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_gdt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_gdt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:46:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_gdt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:46:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_gdt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_gdt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:47:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_gdt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_gdt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:47:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_gdt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:47:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_gdt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_sync_dirty_debug_regs' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:48:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sync_dirty_debug_regs) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_sync_dirty_debug_regs' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:48:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sync_dirty_debug_regs) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:48:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sync_dirty_debug_regs) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_dr7' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:49:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_dr7) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_dr7' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:49:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_dr7) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:49:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_dr7) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_cache_reg' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:50:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cache_reg) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_cache_reg' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:50:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cache_reg) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:50:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cache_reg) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_rflags' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:51:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_rflags) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_rflags' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:51:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_rflags) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:51:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_rflags) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_rflags' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:52:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_rflags) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_rflags' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:52:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_rflags) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:52:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_rflags) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_if_flag' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:53:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_if_flag) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_if_flag' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:53:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_if_flag) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:53:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_if_flag) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_flush_tlb_all' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:54:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_all) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_flush_tlb_all' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:54:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_all) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:54:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_all) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_flush_tlb_current' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:55:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_current) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_flush_tlb_current' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:55:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_current) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:55:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_current) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_tlb_remote_flush' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:56:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_tlb_remote_flush' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:56:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:56:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_tlb_remote_flush_with_range' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:57:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush_with_range) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_tlb_remote_flush_with_range' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:57:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush_with_range) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:57:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(tlb_remote_flush_with_range) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_flush_tlb_gva' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:58:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_gva) ^ In file included from /kisskb/src/include/linux/kernel.h:31:0, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:65: error: 'struct kvm_x86_ops' has no member named 'flush_tlb_gva' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/include/linux/static_call_types.h:39:16: note: in definition of macro 'DECLARE_STATIC_CALL' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:58:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_gva) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_flush_tlb_gva' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:58:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_gva) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:58:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_gva) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_flush_tlb_guest' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:59:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_guest) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_flush_tlb_guest' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:59:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_guest) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:59:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(flush_tlb_guest) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_pre_run' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:60:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_pre_run) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_pre_run' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:60:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_pre_run) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:60:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_pre_run) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_run' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:61:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_run) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_run' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:61:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_run) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:61:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_run) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_handle_exit' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:62:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_handle_exit' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:62:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:62:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_skip_emulated_instruction' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:63:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(skip_emulated_instruction) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_skip_emulated_instruction' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:63:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(skip_emulated_instruction) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:63:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(skip_emulated_instruction) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_update_emulated_instruction' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:64:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_emulated_instruction) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_update_emulated_instruction' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:64:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_emulated_instruction) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:64:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_emulated_instruction) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_interrupt_shadow' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:65:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_interrupt_shadow) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_interrupt_shadow' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:65:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_interrupt_shadow) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:65:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_interrupt_shadow) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_interrupt_shadow' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:66:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_interrupt_shadow) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_interrupt_shadow' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:66:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_interrupt_shadow) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:66:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_interrupt_shadow) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_patch_hypercall' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:67:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(patch_hypercall) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_patch_hypercall' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:67:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(patch_hypercall) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:67:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(patch_hypercall) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_inject_irq' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:68:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_irq) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_inject_irq' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:68:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_irq) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:68:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_irq) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_inject_nmi' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:69:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_nmi) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_inject_nmi' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:69:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_nmi) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:69:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_nmi) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_inject_exception' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:70:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_exception) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_inject_exception' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:70:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_exception) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:70:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(inject_exception) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_cancel_injection' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:71:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cancel_injection) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_cancel_injection' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:71:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cancel_injection) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:71:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(cancel_injection) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_interrupt_allowed' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:72:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(interrupt_allowed) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_interrupt_allowed' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:72:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(interrupt_allowed) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:72:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(interrupt_allowed) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_nmi_allowed' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:73:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(nmi_allowed) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_nmi_allowed' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:73:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(nmi_allowed) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:73:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(nmi_allowed) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_nmi_mask' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:74:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_nmi_mask) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_nmi_mask' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:74:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_nmi_mask) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:74:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_nmi_mask) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_nmi_mask' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:75:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_nmi_mask) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_nmi_mask' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:75:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_nmi_mask) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:75:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(set_nmi_mask) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_enable_nmi_window' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:76:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_nmi_window) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_enable_nmi_window' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:76:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_nmi_window) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:76:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_nmi_window) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_enable_irq_window' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:77:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_irq_window) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_enable_irq_window' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:77:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_irq_window) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:77:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_irq_window) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_update_cr8_intercept' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:78:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cr8_intercept) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_update_cr8_intercept' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:78:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cr8_intercept) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:78:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cr8_intercept) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_check_apicv_inhibit_reasons' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:79:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_apicv_inhibit_reasons) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_check_apicv_inhibit_reasons' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:79:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_apicv_inhibit_reasons) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:79:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_apicv_inhibit_reasons) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_refresh_apicv_exec_ctrl' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:80:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(refresh_apicv_exec_ctrl) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_refresh_apicv_exec_ctrl' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:80:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(refresh_apicv_exec_ctrl) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:80:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(refresh_apicv_exec_ctrl) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_hwapic_irr_update' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:81:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_irr_update) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_hwapic_irr_update' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:81:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_irr_update) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:81:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_irr_update) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_hwapic_isr_update' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:82:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_isr_update) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_hwapic_isr_update' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:82:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_isr_update) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:82:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(hwapic_isr_update) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_guest_apic_has_interrupt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:83:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(guest_apic_has_interrupt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_guest_apic_has_interrupt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:83:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(guest_apic_has_interrupt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:83:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(guest_apic_has_interrupt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_load_eoi_exitmap' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:84:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(load_eoi_exitmap) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_load_eoi_exitmap' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:84:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(load_eoi_exitmap) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:84:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(load_eoi_exitmap) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_virtual_apic_mode' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:85:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_virtual_apic_mode) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_virtual_apic_mode' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:85:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_virtual_apic_mode) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:85:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_virtual_apic_mode) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_apic_access_page_addr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:86:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_apic_access_page_addr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_apic_access_page_addr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:86:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_apic_access_page_addr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:86:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_apic_access_page_addr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_deliver_interrupt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:87:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(deliver_interrupt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_deliver_interrupt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:87:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(deliver_interrupt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:87:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(deliver_interrupt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_sync_pir_to_irr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:88:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(sync_pir_to_irr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_sync_pir_to_irr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:88:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(sync_pir_to_irr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:88:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(sync_pir_to_irr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_tss_addr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:89:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_tss_addr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_tss_addr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:89:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_tss_addr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:89:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_tss_addr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_identity_map_addr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:90:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_identity_map_addr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_identity_map_addr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:90:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_identity_map_addr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:90:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(set_identity_map_addr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_mt_mask' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:91:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(get_mt_mask) ^ In file included from /kisskb/src/include/linux/kernel.h:31:0, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:65: error: 'struct kvm_x86_ops' has no member named 'get_mt_mask' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/include/linux/static_call_types.h:39:16: note: in definition of macro 'DECLARE_STATIC_CALL' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:91:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(get_mt_mask) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_mt_mask' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:91:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(get_mt_mask) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:91:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(get_mt_mask) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_load_mmu_pgd' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:92:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(load_mmu_pgd) ^ In file included from /kisskb/src/include/linux/kernel.h:31:0, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:65: error: 'struct kvm_x86_ops' has no member named 'load_mmu_pgd' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/include/linux/static_call_types.h:39:16: note: in definition of macro 'DECLARE_STATIC_CALL' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:92:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(load_mmu_pgd) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_load_mmu_pgd' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:92:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(load_mmu_pgd) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:92:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(load_mmu_pgd) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_has_wbinvd_exit' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:93:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_wbinvd_exit) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_has_wbinvd_exit' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:93:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_wbinvd_exit) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:93:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(has_wbinvd_exit) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_l2_tsc_offset' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:94:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_offset) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_l2_tsc_offset' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:94:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_offset) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:94:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_offset) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_l2_tsc_multiplier' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:95:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_multiplier) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_l2_tsc_multiplier' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:95:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_multiplier) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:95:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_l2_tsc_multiplier) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_write_tsc_offset' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:96:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_offset) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_write_tsc_offset' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:96:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_offset) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:96:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_offset) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_write_tsc_multiplier' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:97:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_multiplier) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_write_tsc_multiplier' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:97:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_multiplier) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:97:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(write_tsc_multiplier) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_exit_info' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:98:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_exit_info) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_exit_info' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:98:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_exit_info) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:98:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_exit_info) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_check_intercept' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:99:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_intercept) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_check_intercept' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:99:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_intercept) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:99:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(check_intercept) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_handle_exit_irqoff' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:100:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit_irqoff) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_handle_exit_irqoff' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:100:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit_irqoff) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:100:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(handle_exit_irqoff) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_request_immediate_exit' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:101:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(request_immediate_exit) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_request_immediate_exit' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:101:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(request_immediate_exit) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:101:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(request_immediate_exit) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_sched_in' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:102:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sched_in) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_sched_in' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:102:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sched_in) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:102:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(sched_in) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_update_cpu_dirty_logging' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:103:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cpu_dirty_logging) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_update_cpu_dirty_logging' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:103:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cpu_dirty_logging) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:103:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(update_cpu_dirty_logging) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_blocking' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:104:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_blocking) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_blocking' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:104:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_blocking) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:104:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_blocking) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_unblocking' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:105:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_unblocking) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_unblocking' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:105:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_unblocking) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:105:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vcpu_unblocking) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_pi_update_irte' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:106:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_update_irte) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_pi_update_irte' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:106:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_update_irte) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:106:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_update_irte) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_pi_start_assignment' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:107:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_start_assignment) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_pi_start_assignment' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:107:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_start_assignment) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:107:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(pi_start_assignment) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_apicv_post_state_restore' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:108:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(apicv_post_state_restore) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_apicv_post_state_restore' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:108:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(apicv_post_state_restore) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:108:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(apicv_post_state_restore) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_dy_apicv_has_pending_interrupt' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:109:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(dy_apicv_has_pending_interrupt) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_dy_apicv_has_pending_interrupt' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:109:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(dy_apicv_has_pending_interrupt) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:109:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(dy_apicv_has_pending_interrupt) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_set_hv_timer' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:110:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_hv_timer) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_set_hv_timer' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:110:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_hv_timer) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:110:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(set_hv_timer) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_cancel_hv_timer' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:111:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(cancel_hv_timer) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_cancel_hv_timer' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:111:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(cancel_hv_timer) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:111:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(cancel_hv_timer) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_setup_mce' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:112:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(setup_mce) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_setup_mce' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:112:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(setup_mce) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:112:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(setup_mce) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_smi_allowed' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:113:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(smi_allowed) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_smi_allowed' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:113:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(smi_allowed) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:113:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(smi_allowed) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_enter_smm' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:114:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enter_smm) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_enter_smm' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:114:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enter_smm) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:114:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enter_smm) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_leave_smm' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:115:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(leave_smm) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_leave_smm' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:115:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(leave_smm) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:115:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(leave_smm) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_enable_smi_window' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:116:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_smi_window) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_enable_smi_window' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:116:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_smi_window) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:116:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(enable_smi_window) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_mem_enc_ioctl' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:117:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_ioctl) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_mem_enc_ioctl' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:117:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_ioctl) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:117:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_ioctl) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_mem_enc_register_region' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:118:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_register_region) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_mem_enc_register_region' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:118:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_register_region) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:118:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_register_region) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_mem_enc_unregister_region' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:119:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_unregister_region) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_mem_enc_unregister_region' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:119:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_unregister_region) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:119:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(mem_enc_unregister_region) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vm_copy_enc_context_from' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:120:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_copy_enc_context_from) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vm_copy_enc_context_from' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:120:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_copy_enc_context_from) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:120:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_copy_enc_context_from) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vm_move_enc_context_from' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:121:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_move_enc_context_from) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vm_move_enc_context_from' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:121:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_move_enc_context_from) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:121:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(vm_move_enc_context_from) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_guest_memory_reclaimed' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:122:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(guest_memory_reclaimed) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_guest_memory_reclaimed' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:122:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(guest_memory_reclaimed) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:122:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(guest_memory_reclaimed) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_get_msr_feature' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:123:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr_feature) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_get_msr_feature' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:123:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr_feature) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:123:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(get_msr_feature) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_can_emulate_instruction' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:124:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(can_emulate_instruction) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_can_emulate_instruction' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:124:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(can_emulate_instruction) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:124:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(can_emulate_instruction) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_apic_init_signal_blocked' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:125:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(apic_init_signal_blocked) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_apic_init_signal_blocked' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:125:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(apic_init_signal_blocked) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:125:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(apic_init_signal_blocked) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_enable_direct_tlbflush' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:126:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(enable_direct_tlbflush) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_enable_direct_tlbflush' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:126:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(enable_direct_tlbflush) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:126:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(enable_direct_tlbflush) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_migrate_timers' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:127:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(migrate_timers) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_migrate_timers' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:127:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(migrate_timers) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1689:29: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:127:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL' KVM_X86_OP_OPTIONAL(migrate_timers) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_msr_filter_changed' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:128:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(msr_filter_changed) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_msr_filter_changed' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:128:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(msr_filter_changed) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:128:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(msr_filter_changed) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_complete_emulated_msr' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:129:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(complete_emulated_msr) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_complete_emulated_msr' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:129:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(complete_emulated_msr) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:129:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(complete_emulated_msr) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_deliver_sipi_vector' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:130:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_deliver_sipi_vector) ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_deliver_sipi_vector' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:130:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_deliver_sipi_vector) ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:130:1: note: in expansion of macro 'KVM_X86_OP' KVM_X86_OP(vcpu_deliver_sipi_vector) ^ In file included from :0:0: /kisskb/src/include/linux/static_call_types.h:9:33: error: storage class specified for parameter '__SCK__kvm_x86_vcpu_get_apicv_inhibit_reasons' #define STATIC_CALL_KEY_PREFIX __SCK__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:12:32: note: in expansion of macro '__PASTE' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:12:40: note: in expansion of macro 'STATIC_CALL_KEY_PREFIX' #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:38:32: note: in expansion of macro 'STATIC_CALL_KEY' extern struct static_call_key STATIC_CALL_KEY(name); \ ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:131:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_get_apicv_inhibit_reasons); ^ /kisskb/src/include/linux/static_call_types.h:15:34: error: storage class specified for parameter '__SCT__kvm_x86_vcpu_get_apicv_inhibit_reasons' #define STATIC_CALL_TRAMP_PREFIX __SCT__ ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/static_call_types.h:18:34: note: in expansion of macro '__PASTE' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:18:42: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX' #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) ^ /kisskb/src/include/linux/static_call_types.h:39:22: note: in expansion of macro 'STATIC_CALL_TRAMP' extern typeof(func) STATIC_CALL_TRAMP(name); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:2: note: in expansion of macro 'DECLARE_STATIC_CALL' DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:131:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_get_apicv_inhibit_reasons); ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1688:73: error: expected declaration specifiers before ';' token DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func)); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1690:34: note: in expansion of macro 'KVM_X86_OP' #define KVM_X86_OP_OPTIONAL_RET0 KVM_X86_OP ^ /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:131:1: note: in expansion of macro 'KVM_X86_OP_OPTIONAL_RET0' KVM_X86_OP_OPTIONAL_RET0(vcpu_get_apicv_inhibit_reasons); ^ In file included from /kisskb/src/arch/x86/include/asm/kvm_host.h:1691:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm-x86-ops.h:131:57: error: expected declaration specifiers before ';' token KVM_X86_OP_OPTIONAL_RET0(vcpu_get_apicv_inhibit_reasons); ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/kvm_host.h:1695:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1704:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1715:13: error: section attribute not allowed for 'kvm_mmu_x86_module_init' void __init kvm_mmu_x86_module_init(void); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1715:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init kvm_mmu_x86_module_init(void); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1715:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/kvm_host.h:1746:48: error: expected declaration specifiers or '...' before 'gpa_t' int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1749:1: error: empty declaration [-Werror] struct kvm_irq_mask_notifier { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1762:13: error: storage class specified for parameter 'tdp_enabled' extern bool tdp_enabled; ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1901:45: error: expected declaration specifiers or '...' before 'gfn_t' int kvm_mmu_unprotect_page(struct kvm *kvm, gfn_t gfn); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1905:1: error: expected declaration specifiers before 'gpa_t' gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1907:1: error: expected declaration specifiers before 'gpa_t' gpa_t kvm_mmu_gva_to_gpa_fetch(struct kvm_vcpu *vcpu, gva_t gva, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1909:1: error: expected declaration specifiers before 'gpa_t' gpa_t kvm_mmu_gva_to_gpa_write(struct kvm_vcpu *vcpu, gva_t gva, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1911:1: error: expected declaration specifiers before 'gpa_t' gpa_t kvm_mmu_gva_to_gpa_system(struct kvm_vcpu *vcpu, gva_t gva, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1924:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1930:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1936:47: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, u64 error_code, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1938:44: error: expected declaration specifiers or '...' before 'gva_t' void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1940:8: error: expected declaration specifiers or '...' before 'gva_t' gva_t gva, hpa_t root_hpa); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1940:19: error: expected declaration specifiers or '...' before 'hpa_t' gva_t gva, hpa_t root_hpa); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1941:49: error: expected declaration specifiers or '...' before 'gva_t' void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1942:45: error: expected declaration specifiers or '...' before 'gpa_t' void kvm_mmu_new_pgd(struct kvm_vcpu *vcpu, gpa_t new_pgd); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1948:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1961:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1970:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:1981:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2043:58: error: expected declaration specifiers or '...' before 'gfn_t' extern bool kvm_find_async_pf_gfn(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2049:63: error: expected declaration specifiers or '...' before 'gpa_t' void __user *__x86_set_memory_region(struct kvm *kvm, int id, gpa_t gpa, ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2061:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2068:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2073:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/kvm_host.h:2078:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:46:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/kvm_dirty_ring.h:21:1: error: empty declaration [-Werror] struct kvm_dirty_ring { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:5:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /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:222:17: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /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:233:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t cr2_or_gpa; ^ /kisskb/src/include/linux/kvm_host.h:227:1: error: empty declaration [-Werror] struct kvm_async_pf { ^ /kisskb/src/include/linux/kvm_host.h:242:48: error: expected declaration specifiers or '...' before 'gpa_t' bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, ^ /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:294:38: error: expected declaration specifiers or '...' before 'ktime_t' static inline bool kvm_vcpu_can_poll(ktime_t cur, ktime_t stop) ^ /kisskb/src/include/linux/kvm_host.h:294:51: error: expected declaration specifiers or '...' before 'ktime_t' static inline bool kvm_vcpu_can_poll(ktime_t cur, ktime_t stop) ^ /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:647:1: error: empty declaration [-Werror] struct kvm_irq_routing_table { ^ /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: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:1368:1: error: expected declaration specifiers before 'vm_fault_t' vm_fault_t kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf); ^ /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:1462: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:1549:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: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:2143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2147: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:2216: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:2243:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:8:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/intel_pt.h:8:1: error: empty declaration [-Werror] enum pt_capabilities { ^ /kisskb/src/arch/x86/include/asm/intel_pt.h:31:12: error: storage class specified for parameter 'intel_pt_validate_hw_cap' extern u32 intel_pt_validate_hw_cap(enum pt_capabilities cap); ^ /kisskb/src/arch/x86/include/asm/intel_pt.h:32:12: error: storage class specified for parameter 'intel_pt_validate_cap' extern u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities cap); ^ /kisskb/src/arch/x86/include/asm/intel_pt.h:33:12: error: storage class specified for parameter 'is_intel_pt_event' extern int is_intel_pt_event(struct perf_event *event); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:5:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/vmx.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:165:1: error: empty declaration [-Werror] enum vmcs_field { ^ /kisskb/src/arch/x86/include/asm/vmx.h:520:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/vmx.h:537:1: error: empty declaration [-Werror] struct vmx_msr_entry { ^ /kisskb/src/arch/x86/include/asm/vmx.h:546:1: error: empty declaration [-Werror] enum vm_entry_failure_code { ^ /kisskb/src/arch/x86/include/asm/vmx.h:577:1: error: empty declaration [-Werror] enum vm_instruction_error_number { ^ /kisskb/src/arch/x86/include/asm/vmx.h:619:1: error: empty declaration [-Werror] enum vmx_l1d_flush_state { ^ /kisskb/src/arch/x86/include/asm/vmx.h:628:33: error: storage class specified for parameter 'l1tf_vmx_mitigation' extern enum vmx_l1d_flush_state l1tf_vmx_mitigation; ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:5:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:7, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/kvm/iodev.h:9:1: error: empty declaration [-Werror] struct kvm_io_device; ^ /kisskb/src/include/kvm/iodev.h:10:1: error: empty declaration [-Werror] struct kvm_vcpu; ^ /kisskb/src/include/kvm/iodev.h:20:7: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t addr, ^ /kisskb/src/include/kvm/iodev.h:25:8: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t addr, ^ /kisskb/src/include/kvm/iodev.h:17:1: error: empty declaration [-Werror] struct kvm_io_device_ops { ^ /kisskb/src/include/kvm/iodev.h:32:1: error: empty declaration [-Werror] struct kvm_io_device { ^ /kisskb/src/include/kvm/iodev.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/kvm/iodev.h:43:36: error: expected declaration specifiers or '...' before 'gpa_t' struct kvm_io_device *dev, gpa_t addr, ^ /kisskb/src/include/kvm/iodev.h:51:37: error: expected declaration specifiers or '...' before 'gpa_t' struct kvm_io_device *dev, gpa_t addr, ^ /kisskb/src/include/kvm/iodev.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:9:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:7, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../hyperv.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/atomic/atomic-instrumented.h:20:0, from /kisskb/src/include/linux/atomic.h:82, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:16:1: note: in expansion of macro 'static_assert' static_assert(!(KVM_POSSIBLE_CR0_GUEST_BITS & X86_CR0_PDPTR_BITS)); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:10:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:7, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:28:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rax, RAX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:28:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rax, RAX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:29:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rbx, RBX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:29:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rbx, RBX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:30:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rcx, RCX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:30:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rcx, RCX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:31:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rdx, RDX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:31:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rdx, RDX) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:32:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rbp, RBP) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:32:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rbp, RBP) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:33:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rsi, RSI) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:33:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rsi, RSI) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:34:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rdi, RDI) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:34:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(rdi, RDI) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:36:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r8, R8) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:36:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r8, R8) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:37:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r9, R9) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:37:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r9, R9) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:38:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r10, R10) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:38:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r10, R10) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:39:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r11, R11) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:39:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r11, R11) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:40:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r12, R12) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:40:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r12, R12) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:41:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r13, R13) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:41:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r13, R13) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:42:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r14, R14) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:42:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r14, R14) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:43:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r15, R15) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:43:1: note: in expansion of macro 'BUILD_KVM_GPR_ACCESSORS' BUILD_KVM_GPR_ACCESSORS(r15, R15) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_cache_regs.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:7:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:25:1: error: empty declaration [-Werror] enum lapic_mode { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:32:1: error: empty declaration [-Werror] enum lapic_lvt_entry { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:49:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t target_expiration; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:46:1: error: empty declaration [-Werror] struct kvm_timer { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:79:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t vapic_addr; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:59:1: error: empty declaration [-Werror] struct kvm_lapic { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:86:1: error: empty declaration [-Werror] struct dest_map; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:133:53: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_lapic_set_vapic_addr(struct kvm_vcpu *vcpu, gpa_t vapic_addr); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:176: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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:180:26: error: storage class specified for parameter 'kvm_has_noapic_vcpu' DECLARE_STATIC_KEY_FALSE(kvm_has_noapic_vcpu); ^ /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/x86/kernel/../kvm/vmx/capabilities.h:7:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:183:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:189:41: error: storage class specified for parameter 'apic_hw_disabled' extern struct static_key_false_deferred apic_hw_disabled; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:198:41: error: storage class specified for parameter 'apic_sw_disabled' extern struct static_key_false_deferred apic_sw_disabled; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:233:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:245:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:268:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../lapic.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/mce.h:5:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:6, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/uapi/asm/mce.h:13:1: error: empty declaration [-Werror] struct mce { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:6:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mce.h:163:1: error: empty declaration [-Werror] struct mce_log_buffer { ^ /kisskb/src/arch/x86/include/asm/mce.h:173:1: error: empty declaration [-Werror] enum mce_notifier_prios { ^ /kisskb/src/arch/x86/include/asm/mce.h:185:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/arch/x86/include/asm/mce.h:186:13: error: storage class specified for parameter 'mce_register_decode_chain' extern void mce_register_decode_chain(struct notifier_block *nb); ^ /kisskb/src/arch/x86/include/asm/mce.h:187:13: error: storage class specified for parameter 'mce_unregister_decode_chain' extern void mce_unregister_decode_chain(struct notifier_block *nb); ^ /kisskb/src/arch/x86/include/asm/mce.h:192:12: error: storage class specified for parameter 'mce_p5_enabled' extern int mce_p5_enabled; ^ /kisskb/src/arch/x86/include/asm/mce.h:195:13: error: storage class specified for parameter 'enable_copy_mc_fragile' extern void enable_copy_mc_fragile(void); ^ /kisskb/src/arch/x86/include/asm/mce.h:203:1: error: empty declaration [-Werror] struct cper_ia_proc_ctx; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_mce_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/arch/x86/include/asm/mce.h:221:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct device *, mce_device); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_mce_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/arch/x86/include/asm/mce.h:221:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct device *, mce_device); ^ /kisskb/src/arch/x86/include/asm/mce.h:221:34: error: storage class specified for parameter 'mce_device' DECLARE_PER_CPU(struct device *, mce_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/arch/x86/include/asm/mce.h:221:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct device *, mce_device); ^ /kisskb/src/arch/x86/include/asm/mce.h:221:34: error: section attribute not allowed for 'mce_device' DECLARE_PER_CPU(struct device *, mce_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/arch/x86/include/asm/mce.h:221:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct device *, mce_device); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_mce_exception_count' 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/x86/include/asm/mce.h:247:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_mce_exception_count' 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/x86/include/asm/mce.h:247:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /kisskb/src/arch/x86/include/asm/mce.h:247:27: error: storage class specified for parameter 'mce_exception_count' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /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/x86/include/asm/mce.h:247:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /kisskb/src/arch/x86/include/asm/mce.h:247:27: error: section attribute not allowed for 'mce_exception_count' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /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/x86/include/asm/mce.h:247:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_exception_count); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_mce_poll_count' 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/x86/include/asm/mce.h:248:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_mce_poll_count' 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/x86/include/asm/mce.h:248:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ /kisskb/src/arch/x86/include/asm/mce.h:248:27: error: storage class specified for parameter 'mce_poll_count' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ /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/x86/include/asm/mce.h:248:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ /kisskb/src/arch/x86/include/asm/mce.h:248:27: error: section attribute not allowed for 'mce_poll_count' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ /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/x86/include/asm/mce.h:248:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(unsigned, mce_poll_count); ^ In file included from /kisskb/src/include/linux/atomic.h:5:0, from /kisskb/src/include/linux/crypto.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mce.h:250:24: error: storage class specified for parameter 'mce_banks_t' typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS); ^ /kisskb/src/include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP' unsigned long name[BITS_TO_LONGS(bits)] ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_mce_poll_banks' 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/x86/include/asm/mce.h:251:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_mce_poll_banks' 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/x86/include/asm/mce.h:251:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ /kisskb/src/arch/x86/include/asm/mce.h:251:30: error: storage class specified for parameter 'mce_poll_banks' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ /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/x86/include/asm/mce.h:251:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ /kisskb/src/arch/x86/include/asm/mce.h:251:30: error: section attribute not allowed for 'mce_poll_banks' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ /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/x86/include/asm/mce.h:251:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:6:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mce.h:253:1: error: empty declaration [-Werror] enum mcp_flags { ^ /kisskb/src/arch/x86/include/asm/mce.h:259:47: error: expected declaration specifiers or '...' before 'mce_banks_t' bool machine_check_poll(enum mcp_flags flags, mce_banks_t *b); ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_injectm' 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/x86/include/asm/mce.h:263:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mce, injectm); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_injectm' 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/x86/include/asm/mce.h:263:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mce, injectm); ^ /kisskb/src/arch/x86/include/asm/mce.h:263:29: error: storage class specified for parameter 'injectm' DECLARE_PER_CPU(struct mce, injectm); ^ /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/x86/include/asm/mce.h:263:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mce, injectm); ^ /kisskb/src/arch/x86/include/asm/mce.h:263:29: error: section attribute not allowed for 'injectm' DECLARE_PER_CPU(struct mce, injectm); ^ /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/x86/include/asm/mce.h:263:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct mce, injectm); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:6:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mce.h:266:13: error: storage class specified for parameter 'mce_disable_bank' extern void mce_disable_bank(int bank); ^ /kisskb/src/arch/x86/include/asm/mce.h:276:15: error: storage class specified for parameter 'mce_threshold_vector' extern void (*mce_threshold_vector)(void); ^ /kisskb/src/arch/x86/include/asm/mce.h:279:15: error: storage class specified for parameter 'deferred_error_int_vector' extern void (*deferred_error_int_vector)(void); ^ /kisskb/src/arch/x86/include/asm/mce.h:285:1: error: empty declaration [-Werror] struct cper_sec_mem_err; ^ /kisskb/src/arch/x86/include/asm/mce.h:286:13: error: storage class specified for parameter 'apei_mce_report_mem_error' extern void apei_mce_report_mem_error(int corrected, ^ /kisskb/src/arch/x86/include/asm/mce.h:296:1: error: empty declaration [-Werror] enum smca_bank_types { ^ /kisskb/src/arch/x86/include/asm/mce.h:333:20: error: storage class specified for parameter 'smca_get_long_name' extern const char *smca_get_long_name(enum smca_bank_types t); ^ /kisskb/src/arch/x86/include/asm/mce.h:334:13: error: storage class specified for parameter 'amd_mce_is_memory_error' extern bool amd_mce_is_memory_error(struct mce *m); ^ /kisskb/src/arch/x86/include/asm/mce.h:336:12: error: storage class specified for parameter 'mce_threshold_create_device' extern int mce_threshold_create_device(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/mce.h:337:12: error: storage class specified for parameter 'mce_threshold_remove_device' extern int mce_threshold_remove_device(unsigned int cpu); ^ /kisskb/src/arch/x86/include/asm/mce.h:349:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mce_hygon_feature_init(struct cpuinfo_x86 *c) { return mce_amd_feature_init(c); } ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:7:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/pvclock.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pvclock.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pvclock.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pvclock.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/pvclock.h:90:1: error: empty declaration [-Werror] struct pvclock_vsyscall_time_info { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:16:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:8:47: error: storage class specified for parameter 'sse128_t' typedef u32 __attribute__((vector_size(16))) sse128_t; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:18:47: error: expected declaration specifiers or '...' before 'sse128_t' static inline void _kvm_read_sse_reg(int reg, sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:43:54: error: type defaults to 'int' in declaration of 'sse128_t' [-Werror=implicit-int] static inline void _kvm_write_sse_reg(int reg, const sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:43:63: error: expected ';', ',' or ')' before '*' token static inline void _kvm_write_sse_reg(int reg, const sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:112:46: error: expected declaration specifiers or '...' before 'sse128_t' static inline void kvm_read_sse_reg(int reg, sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:119:53: error: type defaults to 'int' in declaration of 'sse128_t' [-Werror=implicit-int] static inline void kvm_write_sse_reg(int reg, const sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:119:62: error: expected ';', ',' or ')' before '*' token static inline void kvm_write_sse_reg(int reg, const sse128_t *data) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../fpu.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:9:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:18:1: error: empty declaration [-Werror] struct x86_emulate_ctxt; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:19:1: error: empty declaration [-Werror] enum x86_intercept; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:20:1: error: empty declaration [-Werror] enum x86_intercept_stage; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:22:1: error: empty declaration [-Werror] struct x86_exception { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:36:1: error: empty declaration [-Werror] struct x86_instruction_info { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:91:1: error: empty declaration [-Werror] struct x86_emulate_ops { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:265:3: error: expected specifier-qualifier-list before 'sse128_t' sse128_t vec_val; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:244:1: error: empty declaration [-Werror] struct operand { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:271:1: error: empty declaration [-Werror] struct fetch_cache { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:277:1: error: empty declaration [-Werror] struct read_cache { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:284:1: error: empty declaration [-Werror] enum x86emul_mode { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:301:1: error: empty declaration [-Werror] struct fastop; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:303:16: error: storage class specified for parameter 'fastop_t' typedef void (*fastop_t)(struct fastop *); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:338:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t gpa_val; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:317:1: error: empty declaration [-Werror] struct x86_emulate_ctxt { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:439:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:445:1: error: empty declaration [-Werror] enum x86_intercept_stage { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../kvm_emulate.h:452:1: error: empty declaration [-Werror] enum x86_intercept { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:8:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:11:1: error: empty declaration [-Werror] struct kvm_caps { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:204:6: error: expected declaration specifiers or '...' before 'gva_t' gva_t gva, gfn_t gfn, unsigned access) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:204:17: error: expected declaration specifiers or '...' before 'gfn_t' gva_t gva, gfn_t gfn, unsigned access) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:232:64: error: expected declaration specifiers or '...' before 'gva_t' static inline void vcpu_clear_mmio_info(struct kvm_vcpu *vcpu, gva_t gva) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:249:63: error: expected declaration specifiers or '...' before 'gpa_t' static inline bool vcpu_match_mmio_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:283:2: error: expected declaration specifiers or '...' before 'gva_t' gva_t addr, void *val, unsigned int bytes, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:287:2: error: expected declaration specifiers or '...' before 'gva_t' gva_t addr, void *val, unsigned int bytes, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:296:58: error: expected declaration specifiers or '...' before 'gfn_t' u8 kvm_mtrr_get_guest_memory_type(struct kvm_vcpu *vcpu, gfn_t gfn); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:300:66: error: expected declaration specifiers or '...' before 'gfn_t' bool kvm_mtrr_check_gfn_range_consistency(struct kvm_vcpu *vcpu, gfn_t gfn, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:303:59: error: expected declaration specifiers or '...' before 'gva_t' void kvm_fixup_and_inject_pf_error(struct kvm_vcpu *vcpu, gva_t gva, u16 error_code); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:306:52: error: expected declaration specifiers or '...' before 'gpa_t' int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:308:1: error: expected declaration specifiers before 'fastpath_t' fastpath_t handle_fastpath_set_msr_irqoff(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:310:12: error: storage class specified for parameter 'host_xcr0' extern u64 host_xcr0; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:311:12: error: storage class specified for parameter 'host_xss' extern u64 host_xss; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:313:24: error: storage class specified for parameter 'kvm_caps' extern struct kvm_caps kvm_caps; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:315:13: error: storage class specified for parameter 'enable_pmu' extern bool enable_pmu; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:323:21: error: storage class specified for parameter 'min_timer_period_us' extern unsigned int min_timer_period_us; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:325:13: error: storage class specified for parameter 'enable_vmware_backdoor' extern bool enable_vmware_backdoor; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:327:12: error: storage class specified for parameter 'pi_inject_timer' extern int pi_inject_timer; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:329:13: error: storage class specified for parameter 'report_ignored_msrs' extern bool report_ignored_msrs; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:331:13: error: storage class specified for parameter 'eager_page_split' extern bool eager_page_split; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:378:1: error: empty declaration [-Werror] enum kvm_intr_type { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:401:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:444:67: error: expected declaration specifiers or '...' before 'gva_t' int kvm_handle_invpcid(struct kvm_vcpu *vcpu, unsigned long type, gva_t gva); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:480:50: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_sev_es_mmio_write(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../x86.h:482:49: error: expected declaration specifiers or '...' before 'gpa_t' int kvm_sev_es_mmio_read(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes, ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:9:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:21:1: error: empty declaration [-Werror] struct kvm_event_hw_type_mapping { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:27:1: error: empty declaration [-Werror] struct kvm_pmu_ops { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:161:34: error: storage class specified for parameter 'kvm_pmu_cap' extern struct x86_pmu_capability kvm_pmu_cap; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:205:27: error: storage class specified for parameter 'intel_pmu_ops' extern struct kvm_pmu_ops intel_pmu_ops; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../pmu.h:206:27: error: storage class specified for parameter 'amd_pmu_ops' extern struct kvm_pmu_ops amd_pmu_ops; ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:6:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:10, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:14:1: error: empty declaration [-Werror] enum kvm_only_cpuid_leafs { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:27:1: error: empty declaration [-Werror] struct cpuid_reg { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:33:31: error: storage class specified for parameter 'reverse_cpuid' static const struct cpuid_reg reverse_cpuid[] = { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:33:21: error: parameter 'reverse_cpuid' is initialized static const struct cpuid_reg reverse_cpuid[] = { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:3: error: array index in non-array initializer [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:2: error: braces around scalar initializer [-Werror] [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:39: error: excess elements in scalar initializer [-Werror] [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:42: error: excess elements in scalar initializer [-Werror] [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:34:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:3: error: array index in non-array initializer [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:2: error: braces around scalar initializer [-Werror] [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:35:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:3: error: array index in non-array initializer [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:2: error: braces around scalar initializer [-Werror] [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:39: error: excess elements in scalar initializer [-Werror] [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:42: error: excess elements in scalar initializer [-Werror] [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:26: error: excess elements in scalar initializer [-Werror] [CPUID_8086_0001_EDX] = {0x80860001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:36:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:3: error: array index in non-array initializer [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:2: error: braces around scalar initializer [-Werror] [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:39: error: excess elements in scalar initializer [-Werror] [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:42: error: excess elements in scalar initializer [-Werror] [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:26: error: excess elements in scalar initializer [-Werror] [CPUID_1_ECX] = { 1, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:37:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:3: error: array index in non-array initializer [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:2: error: braces around scalar initializer [-Werror] [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:39: error: excess elements in scalar initializer [-Werror] [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:42: error: excess elements in scalar initializer [-Werror] [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:26: error: excess elements in scalar initializer [-Werror] [CPUID_C000_0001_EDX] = {0xc0000001, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:38:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:3: error: array index in non-array initializer [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:2: error: braces around scalar initializer [-Werror] [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0001_ECX] = {0x80000001, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:39:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:3: error: array index in non-array initializer [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:2: error: braces around scalar initializer [-Werror] [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:39: error: excess elements in scalar initializer [-Werror] [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:42: error: excess elements in scalar initializer [-Werror] [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:26: error: excess elements in scalar initializer [-Werror] [CPUID_7_0_EBX] = { 7, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:40:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:3: error: array index in non-array initializer [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:2: error: braces around scalar initializer [-Werror] [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:34: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:34: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:39: error: excess elements in scalar initializer [-Werror] [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:42: error: excess elements in scalar initializer [-Werror] [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:26: error: excess elements in scalar initializer [-Werror] [CPUID_D_1_EAX] = { 0xd, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:41:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:3: error: array index in non-array initializer [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:2: error: braces around scalar initializer [-Werror] [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0008_EBX] = {0x80000008, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:42:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:3: error: array index in non-array initializer [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:2: error: braces around scalar initializer [-Werror] [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:39: error: excess elements in scalar initializer [-Werror] [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:42: error: excess elements in scalar initializer [-Werror] [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:26: error: excess elements in scalar initializer [-Werror] [CPUID_6_EAX] = { 6, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:43:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:3: error: array index in non-array initializer [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:2: error: braces around scalar initializer [-Werror] [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_000A_EDX] = {0x8000000a, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:44:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:3: error: array index in non-array initializer [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:2: error: braces around scalar initializer [-Werror] [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:39: error: excess elements in scalar initializer [-Werror] [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:42: error: excess elements in scalar initializer [-Werror] [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:26: error: excess elements in scalar initializer [-Werror] [CPUID_7_ECX] = { 7, 0, CPUID_ECX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:45:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:3: error: array index in non-array initializer [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:2: error: braces around scalar initializer [-Werror] [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_0007_EBX] = {0x80000007, 0, CPUID_EBX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:46:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:3: error: array index in non-array initializer [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:2: error: braces around scalar initializer [-Werror] [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:39: error: excess elements in scalar initializer [-Werror] [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:42: error: excess elements in scalar initializer [-Werror] [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:26: error: excess elements in scalar initializer [-Werror] [CPUID_7_EDX] = { 7, 0, CPUID_EDX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:47:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:3: error: array index in non-array initializer [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:2: error: braces around scalar initializer [-Werror] [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:36: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:36: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:39: error: excess elements in scalar initializer [-Werror] [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:42: error: excess elements in scalar initializer [-Werror] [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:26: error: excess elements in scalar initializer [-Werror] [CPUID_7_1_EAX] = { 7, 1, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:48:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:3: error: array index in non-array initializer [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:2: error: braces around scalar initializer [-Werror] [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:39: error: excess elements in scalar initializer [-Werror] [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:42: error: excess elements in scalar initializer [-Werror] [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:26: error: excess elements in scalar initializer [-Werror] [CPUID_12_EAX] = {0x00000012, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:49:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:3: error: array index in non-array initializer [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:3: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:2: error: braces around scalar initializer [-Werror] [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:2: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:27: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:39: error: excess elements in scalar initializer [-Werror] [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:39: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:42: error: excess elements in scalar initializer [-Werror] [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:42: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:26: error: excess elements in scalar initializer [-Werror] [CPUID_8000_001F_EAX] = {0x8000001f, 0, CPUID_EAX}, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:50:26: note: (near initialization for 'reverse_cpuid') /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../reverse_cpuid.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:7:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:10, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/cpu.h:14:13: error: storage class specified for parameter 'prefill_possible_map' extern void prefill_possible_map(void); ^ /kisskb/src/arch/x86/include/asm/cpu.h:26:1: error: empty declaration [-Werror] struct x86_cpu { ^ /kisskb/src/arch/x86/include/asm/cpu.h:31:12: error: storage class specified for parameter 'arch_register_cpu' extern int arch_register_cpu(int num); ^ /kisskb/src/arch/x86/include/asm/cpu.h:32:13: error: storage class specified for parameter 'arch_unregister_cpu' extern void arch_unregister_cpu(int); ^ /kisskb/src/arch/x86/include/asm/cpu.h:33:13: error: storage class specified for parameter 'start_cpu0' extern void start_cpu0(void); ^ /kisskb/src/arch/x86/include/asm/cpu.h:35:12: error: storage class specified for parameter '_debug_hotplug_cpu' extern int _debug_hotplug_cpu(int cpu, int action); ^ /kisskb/src/arch/x86/include/asm/cpu.h:39:13: error: storage class specified for parameter 'ap_init_aperfmperf' extern void ap_init_aperfmperf(void); ^ /kisskb/src/arch/x86/include/asm/cpu.h:47:20: error: storage class specified for parameter 'sld_setup' extern void __init sld_setup(struct cpuinfo_x86 *c); ^ /kisskb/src/arch/x86/include/asm/cpu.h:47:20: error: section attribute not allowed for 'sld_setup' /kisskb/src/arch/x86/include/asm/cpu.h:47:37: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init sld_setup(struct cpuinfo_x86 *c); ^ /kisskb/src/arch/x86/include/asm/cpu.h:47:37: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/cpu.h:48:13: error: storage class specified for parameter 'handle_user_split_lock' extern bool handle_user_split_lock(struct pt_regs *regs, long error_code); ^ /kisskb/src/arch/x86/include/asm/cpu.h:49:13: error: storage class specified for parameter 'handle_guest_split_lock' extern bool handle_guest_split_lock(unsigned long ip); ^ /kisskb/src/arch/x86/include/asm/cpu.h:50:13: error: storage class specified for parameter 'handle_bus_lock' extern void handle_bus_lock(struct pt_regs *regs); ^ /kisskb/src/arch/x86/include/asm/cpu.h:77:23: error: storage class specified for parameter 'cet_disable' extern __noendbr void cet_disable(void); ^ /kisskb/src/arch/x86/include/asm/cpu.h:79:1: error: empty declaration [-Werror] struct ucode_cpu_info; ^ /kisskb/src/arch/x86/include/asm/cpu.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/cpu.h:97:12: error: storage class specified for parameter 'x86_read_arch_cap_msr' extern u64 x86_read_arch_cap_msr(void); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:10:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:11:12: error: storage class specified for parameter 'kvm_cpu_caps' extern u32 kvm_cpu_caps[NR_KVM_CPU_CAPS] __read_mostly; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:11:12: error: section attribute not allowed for 'kvm_cpu_caps' /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:45:65: error: expected declaration specifiers or '...' before 'gpa_t' static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:50:67: error: expected declaration specifiers or '...' before 'gpa_t' static inline bool kvm_vcpu_is_illegal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:56:8: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, gpa_t alignment) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:56:19: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, gpa_t alignment) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:61:62: error: expected declaration specifiers or '...' before 'gpa_t' static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:151:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/../cpuid.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:11:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:12:27: error: storage class specified for parameter 'enable_vpid' extern bool __read_mostly enable_vpid; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:12:27: error: section attribute not allowed for 'enable_vpid' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:13:27: error: storage class specified for parameter 'flexpriority_enabled' extern bool __read_mostly flexpriority_enabled; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:13:27: error: section attribute not allowed for 'flexpriority_enabled' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:14:27: error: storage class specified for parameter 'enable_ept' extern bool __read_mostly enable_ept; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:14:27: error: section attribute not allowed for 'enable_ept' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:15:27: error: storage class specified for parameter 'enable_unrestricted_guest' extern bool __read_mostly enable_unrestricted_guest; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:15:27: error: section attribute not allowed for 'enable_unrestricted_guest' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:16:27: error: storage class specified for parameter 'enable_ept_ad_bits' extern bool __read_mostly enable_ept_ad_bits; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:16:27: error: section attribute not allowed for 'enable_ept_ad_bits' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:17:27: error: storage class specified for parameter 'enable_pml' extern bool __read_mostly enable_pml; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:17:27: error: section attribute not allowed for 'enable_pml' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:18:27: error: storage class specified for parameter 'enable_ipiv' extern bool __read_mostly enable_ipiv; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:18:27: error: section attribute not allowed for 'enable_ipiv' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:19:26: error: storage class specified for parameter 'pt_mode' extern int __read_mostly pt_mode; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:19:26: error: section attribute not allowed for 'pt_mode' /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:29:1: error: empty declaration [-Werror] struct nested_vmx_msrs { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:58:1: error: empty declaration [-Werror] struct vmcs_config { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:71:27: error: storage class specified for parameter 'vmcs_config' extern struct vmcs_config vmcs_config; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:73:1: error: empty declaration [-Werror] struct vmx_capability { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:77:30: error: storage class specified for parameter 'vmx_capability' extern struct vmx_capability vmx_capability; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:210:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:250:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:261:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:279:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:302:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:307:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:322:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:366:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:371:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:401:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/capabilities.h:436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:11:1: error: empty declaration [-Werror] struct pi_desc { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:92:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:100:13: error: section attribute not allowed for 'pi_init_cpu' void __init pi_init_cpu(int cpu); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:100:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init pi_init_cpu(int cpu); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/posted_intr.h:100:1: error: 'latent_entropy' attribute only applies to functions and variables In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:14:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:16:1: error: empty declaration [-Werror] struct vmcs_hdr { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:21:1: error: empty declaration [-Werror] struct vmcs { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/x86/include/asm/percpu.h:390, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:56, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_current_vmcs' 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/x86/kernel/../kvm/vmx/vmcs.h:27:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_current_vmcs' 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/x86/kernel/../kvm/vmx/vmcs.h:27:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:27:32: error: storage class specified for parameter 'current_vmcs' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ /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/x86/kernel/../kvm/vmx/vmcs.h:27:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:27:32: error: section attribute not allowed for 'current_vmcs' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ /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/x86/kernel/../kvm/vmx/vmcs.h:27:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct vmcs *, current_vmcs); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:14:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:34:1: error: empty declaration [-Werror] struct vmcs_host_state { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:47:1: error: empty declaration [-Werror] struct vmcs_controls_shadow { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:70:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t entry_time; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:61:1: error: empty declaration [-Werror] struct loaded_vmcs { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:166:1: error: empty declaration [-Werror] enum vmcs_field_width { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/mshyperv.h:6:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/linux/nmi.h:20:12: error: storage class specified for parameter 'watchdog_user_enabled' extern int watchdog_user_enabled; ^ /kisskb/src/include/linux/nmi.h:21:12: error: storage class specified for parameter 'nmi_watchdog_user_enabled' extern int nmi_watchdog_user_enabled; ^ /kisskb/src/include/linux/nmi.h:22:12: error: storage class specified for parameter 'soft_watchdog_user_enabled' extern int soft_watchdog_user_enabled; ^ /kisskb/src/include/linux/nmi.h:23:12: error: storage class specified for parameter 'watchdog_thresh' extern int watchdog_thresh; ^ /kisskb/src/include/linux/nmi.h:24:22: error: storage class specified for parameter 'watchdog_enabled' extern unsigned long watchdog_enabled; ^ /kisskb/src/include/linux/nmi.h:26:23: error: storage class specified for parameter 'watchdog_cpumask' extern struct cpumask watchdog_cpumask; ^ /kisskb/src/include/linux/nmi.h:27:23: error: storage class specified for parameter 'watchdog_cpumask_bits' extern unsigned long *watchdog_cpumask_bits; ^ /kisskb/src/include/linux/nmi.h:29:12: error: storage class specified for parameter 'sysctl_softlockup_all_cpu_backtrace' extern int sysctl_softlockup_all_cpu_backtrace; ^ /kisskb/src/include/linux/nmi.h:30:12: error: storage class specified for parameter 'sysctl_hardlockup_all_cpu_backtrace' extern int sysctl_hardlockup_all_cpu_backtrace; ^ /kisskb/src/include/linux/nmi.h:43:13: error: storage class specified for parameter 'touch_softlockup_watchdog_sched' extern void touch_softlockup_watchdog_sched(void); ^ /kisskb/src/include/linux/nmi.h:44:13: error: storage class specified for parameter 'touch_softlockup_watchdog' extern void touch_softlockup_watchdog(void); ^ /kisskb/src/include/linux/nmi.h:45:13: error: storage class specified for parameter 'touch_softlockup_watchdog_sync' extern void touch_softlockup_watchdog_sync(void); ^ /kisskb/src/include/linux/nmi.h:46:13: error: storage class specified for parameter 'touch_all_softlockup_watchdogs' extern void touch_all_softlockup_watchdogs(void); ^ /kisskb/src/include/linux/nmi.h:47:22: error: storage class specified for parameter 'softlockup_panic' extern unsigned int softlockup_panic; ^ /kisskb/src/include/linux/nmi.h:49:12: error: storage class specified for parameter 'lockup_detector_online_cpu' extern int lockup_detector_online_cpu(unsigned int cpu); ^ /kisskb/src/include/linux/nmi.h:50:12: error: storage class specified for parameter 'lockup_detector_offline_cpu' extern int lockup_detector_offline_cpu(unsigned int cpu); ^ /kisskb/src/include/linux/nmi.h:85:13: error: storage class specified for parameter 'hardlockup_detector_disable' extern void hardlockup_detector_disable(void); ^ /kisskb/src/include/linux/nmi.h:86:21: error: storage class specified for parameter 'hardlockup_panic' extern unsigned int hardlockup_panic; ^ /kisskb/src/include/linux/nmi.h:98:13: error: storage class specified for parameter 'arch_touch_nmi_watchdog' extern void arch_touch_nmi_watchdog(void); ^ /kisskb/src/include/linux/nmi.h:99:13: error: storage class specified for parameter 'hardlockup_detector_perf_stop' extern void hardlockup_detector_perf_stop(void); ^ /kisskb/src/include/linux/nmi.h:100:13: error: storage class specified for parameter 'hardlockup_detector_perf_restart' extern void hardlockup_detector_perf_restart(void); ^ /kisskb/src/include/linux/nmi.h:101:13: error: storage class specified for parameter 'hardlockup_detector_perf_disable' extern void hardlockup_detector_perf_disable(void); ^ /kisskb/src/include/linux/nmi.h:102:13: error: storage class specified for parameter 'hardlockup_detector_perf_enable' extern void hardlockup_detector_perf_enable(void); ^ /kisskb/src/include/linux/nmi.h:103:13: error: storage class specified for parameter 'hardlockup_detector_perf_cleanup' extern void hardlockup_detector_perf_cleanup(void); ^ /kisskb/src/include/linux/nmi.h:104:12: error: storage class specified for parameter 'hardlockup_detector_perf_init' extern int hardlockup_detector_perf_init(void); ^ /kisskb/src/include/linux/nmi.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nmi.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nmi.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nmi.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nmi.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nmi.h:206:1: error: empty declaration [-Werror] struct ctl_table; ^ In file included from /kisskb/src/include/linux/nmi.h:214:0, from /kisskb/src/arch/x86/include/asm/mshyperv.h:6, from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/nmi.h:12:12: error: storage class specified for parameter 'reserve_perfctr_nmi' extern int reserve_perfctr_nmi(unsigned int); ^ /kisskb/src/arch/x86/include/asm/nmi.h:13:13: error: storage class specified for parameter 'release_perfctr_nmi' extern void release_perfctr_nmi(unsigned int); ^ /kisskb/src/arch/x86/include/asm/nmi.h:14:12: error: storage class specified for parameter 'reserve_evntsel_nmi' extern int reserve_evntsel_nmi(unsigned int); ^ /kisskb/src/arch/x86/include/asm/nmi.h:15:13: error: storage class specified for parameter 'release_evntsel_nmi' extern void release_evntsel_nmi(unsigned int); ^ /kisskb/src/arch/x86/include/asm/nmi.h:17:1: error: empty declaration [-Werror] struct ctl_table; ^ /kisskb/src/arch/x86/include/asm/nmi.h:18:12: error: storage class specified for parameter 'proc_nmi_enabled' extern int proc_nmi_enabled(struct ctl_table *, int , ^ /kisskb/src/arch/x86/include/asm/nmi.h:20:12: error: storage class specified for parameter 'unknown_nmi_panic' extern int unknown_nmi_panic; ^ /kisskb/src/arch/x86/include/asm/nmi.h:26:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/arch/x86/include/asm/nmi.h:37:15: error: storage class specified for parameter 'nmi_handler_t' typedef int (*nmi_handler_t)(unsigned int, struct pt_regs *); ^ /kisskb/src/arch/x86/include/asm/nmi.h:41:2: error: expected specifier-qualifier-list before 'nmi_handler_t' nmi_handler_t handler; ^ /kisskb/src/arch/x86/include/asm/nmi.h:39:1: error: empty declaration [-Werror] struct nmiaction { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mshyperv.h:14:1: error: empty declaration [-Werror] union hv_ghcb; ^ 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/include/asm/mshyperv.h:16:26: error: storage class specified for parameter 'isolation_type_snp' DECLARE_STATIC_KEY_FALSE(isolation_type_snp); ^ /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/x86/kernel/../kvm/vmx/evmcs.h:8:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mshyperv.h:18:15: error: storage class specified for parameter 'hyperv_fill_flush_list_func' typedef int (*hyperv_fill_flush_list_func)( ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:27:12: error: storage class specified for parameter 'hyperv_init_cpuhp' extern int hyperv_init_cpuhp; ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:29:14: error: storage class specified for parameter 'hv_hypercall_pg' extern void *hv_hypercall_pg; ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:31:12: error: storage class specified for parameter 'hv_current_partition_id' extern u64 hv_current_partition_id; ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:33:34: error: storage class specified for parameter 'hv_ghcb_pg' extern union hv_ghcb * __percpu *hv_ghcb_pg; ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:142:35: error: storage class specified for parameter 'hv_vp_assist_page' extern struct hv_vp_assist_page **hv_vp_assist_page; ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:145:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:152:13: error: section attribute not allowed for 'hyperv_init' void __init hyperv_init(void); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:152:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init hyperv_init(void); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:152:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/mshyperv.h:159:3: error: expected declaration specifiers or '...' before 'hyperv_fill_flush_list_func' hyperv_fill_flush_list_func fill_func, void *data); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:166:13: error: section attribute not allowed for 'hv_init_spinlocks' void __init hv_init_spinlocks(void); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:166:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init hv_init_spinlocks(void); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:166:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/arch/x86/include/asm/mshyperv.h:191:13: error: storage class specified for parameter 'hv_isolation_type_snp' extern bool hv_isolation_type_snp(void); ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/include/asm/mshyperv.h:213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/include/asm/mshyperv.h:252:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/asm-generic/mshyperv.h:29:1: error: empty declaration [-Werror] struct ms_hyperv_info { ^ /kisskb/src/include/asm-generic/mshyperv.h:50:30: error: storage class specified for parameter 'ms_hyperv' extern struct ms_hyperv_info ms_hyperv; ^ /kisskb/src/include/asm-generic/mshyperv.h:52:25: error: storage class specified for parameter 'hyperv_pcpu_input_arg' extern void * __percpu *hyperv_pcpu_input_arg; ^ /kisskb/src/include/asm-generic/mshyperv.h:53:25: error: storage class specified for parameter 'hyperv_pcpu_output_arg' extern void * __percpu *hyperv_pcpu_output_arg; ^ /kisskb/src/include/asm-generic/mshyperv.h:55:12: error: storage class specified for parameter 'hv_do_hypercall' extern u64 hv_do_hypercall(u64 control, void *inputaddr, void *outputaddr); ^ /kisskb/src/include/asm-generic/mshyperv.h:56:12: error: storage class specified for parameter 'hv_do_fast_hypercall8' extern u64 hv_do_fast_hypercall8(u16 control, u64 input8); ^ /kisskb/src/include/asm-generic/mshyperv.h:57:13: error: storage class specified for parameter 'hv_isolation_type_snp' extern bool hv_isolation_type_snp(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:57:13: error: redefinition of parameter 'hv_isolation_type_snp' In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/include/asm/mshyperv.h:191:13: note: previous definition of 'hv_isolation_type_snp' was here extern bool hv_isolation_type_snp(void); ^ In file included from /kisskb/src/arch/x86/include/asm/mshyperv.h:252:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:8, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/include/asm-generic/mshyperv.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:166:12: error: storage class specified for parameter 'vmbus_interrupt' extern int vmbus_interrupt; ^ /kisskb/src/include/asm-generic/mshyperv.h:167:12: error: storage class specified for parameter 'vmbus_irq' extern int vmbus_irq; ^ /kisskb/src/include/asm-generic/mshyperv.h:169:13: error: storage class specified for parameter 'hv_root_partition' extern bool hv_root_partition; ^ /kisskb/src/include/asm-generic/mshyperv.h:178:13: error: storage class specified for parameter 'hv_vp_index' extern u32 *hv_vp_index; ^ /kisskb/src/include/asm-generic/mshyperv.h:179:12: error: storage class specified for parameter 'hv_max_vp_index' extern u32 hv_max_vp_index; ^ /kisskb/src/include/asm-generic/mshyperv.h:181:14: error: storage class specified for parameter 'hv_read_reference_counter' extern u64 (*hv_read_reference_counter)(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:186:12: error: section attribute not allowed for 'hv_common_init' int __init hv_common_init(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:186:1: error: '__cold__' attribute ignored [-Werror=attributes] int __init hv_common_init(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:186:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/asm-generic/mshyperv.h:187:13: error: section attribute not allowed for 'hv_common_free' void __init hv_common_free(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:187:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init hv_common_free(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:187:1: error: 'latent_entropy' attribute only applies to functions and variables /kisskb/src/include/asm-generic/mshyperv.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:252:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:258:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/mshyperv.h:268:6: error: redefinition of parameter 'hv_isolation_type_snp' bool hv_isolation_type_snp(void); ^ /kisskb/src/include/asm-generic/mshyperv.h:57:13: note: previous definition of 'hv_isolation_type_snp' was here extern bool hv_isolation_type_snp(void); ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:13:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:26:13: error: storage class specified for parameter 'natural_width' typedef u64 natural_width; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:81:2: error: expected specifier-qualifier-list before 'natural_width' natural_width cr0_guest_host_mask; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:27:1: error: empty declaration [-Werror] struct __packed vmcs12 { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:364:29: error: storage class specified for parameter 'vmcs12_field_offsets' extern const unsigned short vmcs12_field_offsets[]; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:365:27: error: storage class specified for parameter 'nr_vmcs12_fields' extern const unsigned int nr_vmcs12_fields; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:368:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmcs12.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:9:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:15:1: error: empty declaration [-Werror] struct vmcs_config; ^ 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/linux/kernel.h:29, from /kisskb/src/include/linux/crypto.h:16, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:17:26: error: storage class specified for parameter 'enable_evmcs' DECLARE_STATIC_KEY_FALSE(enable_evmcs); ^ /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/x86/kernel/../kvm/vmx/vmx_ops.h:9:0, from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:66:1: error: empty declaration [-Werror] struct evmcs_field { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:71:33: error: storage class specified for parameter 'vmcs_field_to_evmcs_1' extern const struct evmcs_field vmcs_field_to_evmcs_1[]; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:72:27: error: storage class specified for parameter 'nr_evmcs_1_fields' extern const unsigned int nr_evmcs_1_fields; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:76:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/evmcs.h:231:1: error: empty declaration [-Werror] enum nested_evmptrld_status { ^ In file included from /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:15:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:22: /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:14:1: error: expected declaration specifiers before '__attribute__' __attribute__((regparm(0))) void vmread_error_trampoline(unsigned long field, ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:19:49: error: expected declaration specifiers or '...' before 'gva_t' void invvpid_error(unsigned long ext, u16 vpid, gva_t gva); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:20:48: error: expected declaration specifiers or '...' before 'gpa_t' void invept_error(unsigned long ext, u64 eptp, gpa_t gpa); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:256:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:282:59: error: expected declaration specifiers or '...' before 'gva_t' static inline void __invvpid(unsigned long ext, u16 vpid, gva_t gva) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:293:58: error: expected declaration specifiers or '...' before 'gpa_t' static inline void __invept(unsigned long ext, u64 eptp, gpa_t gpa) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:323:50: error: expected declaration specifiers or '...' before 'gva_t' static inline void vpid_sync_vcpu_addr(int vpid, gva_t addr) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:335:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx_ops.h:340:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:22:0: /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:33:1: error: empty declaration [-Werror] struct vmx_msrs { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:38:1: error: empty declaration [-Werror] struct vmx_uret_msr { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:44:1: error: empty declaration [-Werror] enum segment_cache_field { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:55:1: error: empty declaration [-Werror] struct pt_ctx { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:65:1: error: empty declaration [-Werror] struct pt_desc { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:73:1: error: empty declaration [-Werror] union vmx_exit_reason { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:108:1: error: empty declaration [-Werror] struct lbr_desc { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:131:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t vmxon_ptr; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:128:1: error: empty declaration [-Werror] struct nested_vmx { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:261:1: error: empty declaration [-Werror] struct vcpu_vmx { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:384:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t ept_identity_map_addr; ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:379:1: error: empty declaration [-Werror] struct kvm_vmx { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:411:43: error: expected declaration specifiers or '...' before 'hpa_t' u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level); ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:468:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, read, 0x0) \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:471:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(bool, test, test) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:469:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, write, 0x800) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:471:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(bool, test, test) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:468:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, read, 0x0) \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:472:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(void, clear, __clear) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:469:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, write, 0x800) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:472:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(void, clear, __clear) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:468:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, read, 0x0) \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:473:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(void, set, __set) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:469:2: note: in expansion of macro '__BUILD_VMX_MSR_BITMAP_HELPER' __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, write, 0x800) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:473:1: note: in expansion of macro 'BUILD_VMX_MSR_BITMAP_HELPERS' BUILD_VMX_MSR_BITMAP_HELPERS(void, set, __set) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:620:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_entry, VM_ENTRY_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:620:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_entry, VM_ENTRY_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:620:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_entry, VM_ENTRY_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:620:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_entry, VM_ENTRY_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:620:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_entry, VM_ENTRY_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:621:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_exit, VM_EXIT_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:621:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_exit, VM_EXIT_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:621:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_exit, VM_EXIT_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:621:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_exit, VM_EXIT_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:621:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(vm_exit, VM_EXIT_CONTROLS, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:622:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(pin, PIN_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:622:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(pin, PIN_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:622:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(pin, PIN_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:622:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(pin, PIN_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:622:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(pin, PIN_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:623:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:623:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:623:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:623:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:623:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(exec, CPU_BASED_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:624:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(secondary_exec, SECONDARY_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:624:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(secondary_exec, SECONDARY_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:624:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(secondary_exec, SECONDARY_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:624:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(secondary_exec, SECONDARY_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:624:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(secondary_exec, SECONDARY_VM_EXEC_CONTROL, 32) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:625:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:603:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:625:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:607:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:625:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:625:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:625:1: note: in expansion of macro 'BUILD_CONTROLS_SHADOW' BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64) ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:644:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:649:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:659:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:664:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:673:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:684:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:701:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:707:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:713:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:721:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:736:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:741:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/../kvm/vmx/vmx.h:746:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:79:23: error: storage class specified for parameter 'xen_pfn_t' typedef unsigned long xen_pfn_t; ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:81:23: error: storage class specified for parameter 'xen_ulong_t' typedef unsigned long xen_ulong_t; ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:83:14: error: storage class specified for parameter 'xen_long_t' typedef long xen_long_t; ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_uchar' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:87:1: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(uchar, unsigned char); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_uint' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:88:1: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(uint, unsigned int); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_char' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:89:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(char); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_int' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:90:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(int); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_void' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:91:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(void); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_uint64_t' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:92:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(uint64_t); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_uint32_t' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:93:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(uint32_t); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:94:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(xen_pfn_t); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:95:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(xen_ulong_t); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:141:1: error: empty declaration [-Werror] struct trap_info { ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_trap_info' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:147:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(trap_info); ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:162:2: error: expected specifier-qualifier-list before 'xen_pfn_t' xen_pfn_t pfn_to_mfn_frame_list_list; ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:149:1: error: empty declaration [-Werror] struct arch_shared_info { ^ In file included from /kisskb/src/arch/x86/include/asm/xen/interface.h:194:0, from /kisskb/src/include/xen/interface/xen.h:13, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface_64.h:82:1: error: empty declaration [-Werror] struct iret_context { ^ /kisskb/src/arch/x86/include/asm/xen/interface_64.h:99:1: error: empty declaration [-Werror] struct cpu_user_regs { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_cpu_user_regs' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/arch/x86/include/asm/xen/interface_64.h:129:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(cpu_user_regs); ^ In file included from /kisskb/src/arch/x86/include/asm/xen/interface.h:194:0, from /kisskb/src/include/xen/interface/xen.h:13, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface_64.h:136:1: error: empty declaration [-Werror] struct arch_vcpu_info { ^ /kisskb/src/arch/x86/include/asm/xen/interface_64.h:141:23: error: storage class specified for parameter 'xen_callback_t' typedef unsigned long xen_callback_t; ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:213:1: error: empty declaration [-Werror] struct vcpu_guest_context { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_vcpu_guest_context' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:255:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(vcpu_guest_context); ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:258:1: error: empty declaration [-Werror] struct xen_pmu_amd_ctxt { ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:275:1: error: empty declaration [-Werror] struct xen_pmu_cntr_pair { ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:280:1: error: empty declaration [-Werror] struct xen_pmu_intel_ctxt { ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:307:1: error: empty declaration [-Werror] struct xen_pmu_regs { ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:331:1: error: empty declaration [-Werror] struct xen_pmu_arch { ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:25:0: /kisskb/src/include/xen/interface/xen.h:346:3: error: expected specifier-qualifier-list before 'xen_pfn_t' xen_pfn_t mfn; ^ /kisskb/src/include/xen/interface/xen.h:356:3: error: expected specifier-qualifier-list before 'xen_pfn_t' xen_pfn_t src_mfn; ^ /kisskb/src/include/xen/interface/xen.h:341:1: error: empty declaration [-Werror] struct mmuext_op { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_mmuext_op' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/include/xen/interface/xen.h:359:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(mmuext_op); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:25:0: /kisskb/src/include/xen/interface/xen.h:420:18: error: storage class specified for parameter 'domid_t' typedef uint16_t domid_t; ^ /kisskb/src/include/xen/interface/xen.h:460:1: error: empty declaration [-Werror] struct mmu_update { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_mmu_update' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/include/xen/interface/xen.h:464:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(mmu_update); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:25:0: /kisskb/src/include/xen/interface/xen.h:473:5: error: expected specifier-qualifier-list before 'xen_ulong_t' xen_ulong_t op; ^ /kisskb/src/include/xen/interface/xen.h:472:1: error: empty declaration [-Werror] struct multicall_entry { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_multicall_entry' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:47:2: note: in expansion of macro '__DEFINE_GUEST_HANDLE' __DEFINE_GUEST_HANDLE(name, struct name) ^ /kisskb/src/include/xen/interface/xen.h:477:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE_STRUCT' DEFINE_GUEST_HANDLE_STRUCT(multicall_entry); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:25:0: /kisskb/src/include/xen/interface/xen.h:479:1: error: empty declaration [-Werror] struct vcpu_time_info { ^ /kisskb/src/include/xen/interface/xen.h:533:2: error: expected specifier-qualifier-list before 'xen_ulong_t' xen_ulong_t evtchn_pending_sel; ^ /kisskb/src/include/xen/interface/xen.h:505:1: error: empty declaration [-Werror] struct vcpu_info { ^ /kisskb/src/include/xen/interface/xen.h:576:2: error: expected specifier-qualifier-list before 'xen_ulong_t' xen_ulong_t evtchn_pending[sizeof(xen_ulong_t) * 8]; ^ /kisskb/src/include/xen/interface/xen.h:542:1: error: empty declaration [-Werror] struct shared_info { ^ /kisskb/src/include/xen/interface/xen.h:626:2: error: expected specifier-qualifier-list before 'xen_pfn_t' xen_pfn_t store_mfn; /* MACHINE page number of shared page. */ ^ /kisskb/src/include/xen/interface/xen.h:620:1: error: empty declaration [-Werror] struct start_info { ^ /kisskb/src/include/xen/interface/xen.h:673:1: error: empty declaration [-Werror] struct xen_multiboot_mod_list { ^ /kisskb/src/include/xen/interface/xen.h:689:1: error: empty declaration [-Werror] struct dom0_vga_console_info { ^ /kisskb/src/include/xen/interface/xen.h:732:18: error: storage class specified for parameter 'cpumap_t' typedef uint64_t cpumap_t; ^ /kisskb/src/include/xen/interface/xen.h:734:17: error: storage class specified for parameter 'xen_domain_handle_t' typedef uint8_t xen_domain_handle_t[16]; ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:49:35: error: expected specifier-qualifier-list before '__guest_handle_void' #define GUEST_HANDLE(name) __guest_handle_ ## name ^ /kisskb/src/include/xen/interface/xen.h:756:4: note: in expansion of macro 'GUEST_HANDLE' GUEST_HANDLE(void) gmfn; /* guest machine page frame */ ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:25:0: /kisskb/src/include/xen/interface/xen.h:742:1: error: empty declaration [-Werror] struct tmem_op { ^ In file included from /kisskb/src/include/xen/interface/xen.h:13:0, from /kisskb/src/arch/x86/kernel/asm-offsets.c:25: /kisskb/src/arch/x86/include/asm/xen/interface.h:43:20: error: storage class specified for parameter '__guest_handle_u64' typedef type * __guest_handle_ ## name ^ /kisskb/src/arch/x86/include/asm/xen/interface.h:48:35: note: in expansion of macro '__DEFINE_GUEST_HANDLE' #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) ^ /kisskb/src/include/xen/interface/xen.h:761:1: note: in expansion of macro 'DEFINE_GUEST_HANDLE' DEFINE_GUEST_HANDLE(u64); ^ In file included from /kisskb/src/arch/x86/kernel/asm-offsets.c:31:0: /kisskb/src/arch/x86/kernel/asm-offsets_64.c:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/x86/kernel/asm-offsets.c:35: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:108, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/arch/x86/kernel/asm-offsets.c:9: /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/x86/kernel/asm-offsets.c:116:1: error: expected '{' at end of input } ^ /kisskb/src/arch/x86/kernel/asm-offsets.c:116: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/x86/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 24 ARCH=x86_64 O=/kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_x86_64-allmodconfig+NO_RETPOLINE_x86_64-gcc5 # Build took: 0:00:13.101045