# git rev-parse -q --verify 1bd8b75fe6adeaa89d02968bdd811ffe708cf839^{commit} 1bd8b75fe6adeaa89d02968bdd811ffe708cf839 already have revision, skipping fetch # git checkout -q -f -B kisskb 1bd8b75fe6adeaa89d02968bdd811ffe708cf839 # git clean -qxdf # < git log -1 # commit 1bd8b75fe6adeaa89d02968bdd811ffe708cf839 # Author: Mark Brown # Date: Tue Sep 27 21:07:30 2022 +0100 # # Add linux-next specific files for 20220927 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 1bd8b75fe6adeaa89d02968bdd811ffe708cf839 # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 8 ARCH=arm64 O=/kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 8 ARCH=arm64 O=/kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- 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/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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/arch/arm64/include/asm/archrandom.h:5:0, from /kisskb/src/include/linux/random.h:110, from /kisskb/src/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/arm-smccc.h:199:1: warning: empty declaration enum arm_smccc_conduit { ^ /kisskb/src/include/linux/arm-smccc.h:225:13: error: section attribute not allowed for 'arm_smccc_version_init' void __init arm_smccc_version_init(u32 version, enum arm_smccc_conduit conduit); ^ /kisskb/src/include/linux/arm-smccc.h:225:54: warning: '__cold__' attribute ignored [-Wattributes] void __init arm_smccc_version_init(u32 version, enum arm_smccc_conduit conduit); ^ /kisskb/src/include/linux/arm-smccc.h:227:12: error: storage class specified for parameter 'smccc_has_sve_hint' extern u64 smccc_has_sve_hint; ^ /kisskb/src/include/linux/arm-smccc.h:233:1: warning: empty declaration struct arm_smccc_res { ^ /kisskb/src/include/linux/arm-smccc.h:245:1: warning: empty declaration struct arm_smccc_1_2_regs { ^ /kisskb/src/include/linux/arm-smccc.h:301:1: warning: empty declaration struct arm_smccc_quirk { ^ In file included from /kisskb/src/include/linux/random.h:110:0, from /kisskb/src/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/archrandom.h:12:13: error: storage class specified for parameter 'smccc_trng_available' extern bool smccc_trng_available; ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/archrandom.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/pointer_auth.h:7:0, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/processor.h:43:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/pointer_auth.h:21:1: warning: empty declaration struct ptrauth_key { ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:29:1: warning: empty declaration struct ptrauth_keys_user { ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:94:12: error: storage class specified for parameter 'ptrauth_prctl_reset_keys' extern int ptrauth_prctl_reset_keys(struct task_struct *tsk, unsigned long arg); ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:96:12: error: storage class specified for parameter 'ptrauth_set_enabled_keys' extern int ptrauth_set_enabled_keys(struct task_struct *tsk, unsigned long keys, ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:98:12: error: storage class specified for parameter 'ptrauth_get_enabled_keys' extern int ptrauth_get_enabled_keys(struct task_struct *tsk); ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pointer_auth.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/processor.h:45:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/spectre.h:23:1: warning: empty declaration enum mitigation_state { ^ /kisskb/src/arch/arm64/include/asm/spectre.h:29:1: warning: empty declaration struct task_struct; ^ /kisskb/src/arch/arm64/include/asm/spectre.h:35:1: warning: empty declaration enum arm64_hyp_spectre_vector { ^ /kisskb/src/arch/arm64/include/asm/spectre.h:61:16: error: storage class specified for parameter 'bp_hardening_cb_t' typedef void (*bp_hardening_cb_t)(void); ^ /kisskb/src/arch/arm64/include/asm/spectre.h:65:2: error: expected specifier-qualifier-list before 'bp_hardening_cb_t' bp_hardening_cb_t fn; ^ /kisskb/src/arch/arm64/include/asm/spectre.h:63:1: warning: empty declaration struct bp_hardening_data { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/spectre.h:68:55: error: storage class specified for parameter 'bp_hardening_data' DECLARE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/spectre.h:68:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data); ^ /kisskb/src/arch/arm64/include/asm/spectre.h:68:55: error: section attribute not allowed for 'bp_hardening_data' DECLARE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/spectre.h:68:1: note: in expansion of macro 'DECLARE_PER_CPU_READ_MOSTLY' DECLARE_PER_CPU_READ_MOSTLY(struct bp_hardening_data, bp_hardening_data); ^ In file included from /kisskb/src/arch/arm64/include/asm/processor.h:45:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/spectre.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mutex.h:19:0, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/processor.h:103:20: error: storage class specified for parameter 'arm64_dma_phys_limit' extern phys_addr_t arm64_dma_phys_limit; ^ /kisskb/src/arch/arm64/include/asm/processor.h:106:1: warning: empty declaration struct debug_info { ^ /kisskb/src/arch/arm64/include/asm/processor.h:119:1: warning: empty declaration enum vec_type { ^ /kisskb/src/arch/arm64/include/asm/processor.h:125:1: warning: empty declaration struct cpu_context { ^ /kisskb/src/arch/arm64/include/asm/processor.h:141:1: warning: empty declaration struct thread_struct { ^ /kisskb/src/arch/arm64/include/asm/processor.h:179:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:210:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:286:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:324:1: warning: empty declaration struct task_struct; ^ /kisskb/src/arch/arm64/include/asm/processor.h:331:28: error: storage class specified for parameter 'cpu_switch_to' extern struct task_struct *cpu_switch_to(struct task_struct *prev, ^ /kisskb/src/arch/arm64/include/asm/processor.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/processor.h:363:38: error: storage class specified for parameter 'signal_minsigstksz' extern unsigned long __ro_after_init signal_minsigstksz; /* sigframe size */ ^ /kisskb/src/arch/arm64/include/asm/processor.h:363:38: error: section attribute not allowed for 'signal_minsigstksz' /kisskb/src/arch/arm64/include/asm/processor.h:364:20: error: storage class specified for parameter 'minsigstksz_setup' extern void __init minsigstksz_setup(void); ^ /kisskb/src/arch/arm64/include/asm/processor.h:364:20: error: section attribute not allowed for 'minsigstksz_setup' /kisskb/src/arch/arm64/include/asm/processor.h:364:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init minsigstksz_setup(void); ^ In file included from /kisskb/src/arch/arm64/include/asm/fpsimd.h:11:0, from /kisskb/src/arch/arm64/include/asm/processor.h:375, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:28:1: warning: empty declaration struct sigcontext { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:66:1: warning: empty declaration struct _aarch64_ctx { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:73:1: warning: empty declaration struct fpsimd_context { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:92:1: warning: empty declaration struct esr_context { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:125:1: warning: empty declaration struct extra_context { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:134:1: warning: empty declaration struct sve_context { ^ /kisskb/src/arch/arm64/include/uapi/asm/sigcontext.h:145:1: warning: empty declaration struct za_context { ^ In file included from /kisskb/src/arch/arm64/include/asm/processor.h:375:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/fpsimd.h:47:1: warning: empty declaration struct task_struct; ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:49:13: error: storage class specified for parameter 'fpsimd_save_state' extern void fpsimd_save_state(struct user_fpsimd_state *state); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:50:13: error: storage class specified for parameter 'fpsimd_load_state' extern void fpsimd_load_state(struct user_fpsimd_state *state); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:52:13: error: storage class specified for parameter 'fpsimd_thread_switch' extern void fpsimd_thread_switch(struct task_struct *next); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:53:13: error: storage class specified for parameter 'fpsimd_flush_thread' extern void fpsimd_flush_thread(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:55:13: error: storage class specified for parameter 'fpsimd_signal_preserve_current_state' extern void fpsimd_signal_preserve_current_state(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:56:13: error: storage class specified for parameter 'fpsimd_preserve_current_state' extern void fpsimd_preserve_current_state(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:57:13: error: storage class specified for parameter 'fpsimd_restore_current_state' extern void fpsimd_restore_current_state(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:58:13: error: storage class specified for parameter 'fpsimd_update_current_state' extern void fpsimd_update_current_state(struct user_fpsimd_state const *state); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:60:13: error: storage class specified for parameter 'fpsimd_bind_state_to_cpu' extern void fpsimd_bind_state_to_cpu(struct user_fpsimd_state *state, ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:65:13: error: storage class specified for parameter 'fpsimd_flush_task_state' extern void fpsimd_flush_task_state(struct task_struct *target); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:66:13: error: storage class specified for parameter 'fpsimd_save_and_flush_cpu_state' extern void fpsimd_save_and_flush_cpu_state(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:99:13: error: storage class specified for parameter 'sve_save_state' extern void sve_save_state(void *state, u32 *pfpsr, int save_ffr); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:100:13: error: storage class specified for parameter 'sve_load_state' extern void sve_load_state(void const *state, u32 const *pfpsr, ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:102:13: error: storage class specified for parameter 'sve_flush_live' extern void sve_flush_live(bool flush_ffr, unsigned long vq_minus_1); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:103:21: error: storage class specified for parameter 'sve_get_vl' extern unsigned int sve_get_vl(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:104:13: error: storage class specified for parameter 'sve_set_vq' extern void sve_set_vq(unsigned long vq_minus_1); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:105:13: error: storage class specified for parameter 'sme_set_vq' extern void sme_set_vq(unsigned long vq_minus_1); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:106:13: error: storage class specified for parameter 'za_save_state' extern void za_save_state(void *state); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:107:13: error: storage class specified for parameter 'za_load_state' extern void za_load_state(void const *state); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:109:1: warning: empty declaration struct arm64_cpu_capabilities; ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:110:13: error: storage class specified for parameter 'sve_kernel_enable' extern void sve_kernel_enable(const struct arm64_cpu_capabilities *__unused); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:111:13: error: storage class specified for parameter 'sme_kernel_enable' extern void sme_kernel_enable(const struct arm64_cpu_capabilities *__unused); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:112:13: error: storage class specified for parameter 'fa64_kernel_enable' extern void fa64_kernel_enable(const struct arm64_cpu_capabilities *__unused); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:114:12: error: storage class specified for parameter 'read_zcr_features' extern u64 read_zcr_features(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:115:12: error: storage class specified for parameter 'read_smcr_features' extern u64 read_smcr_features(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:133:1: warning: empty declaration struct vl_info { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:156:13: error: storage class specified for parameter 'sve_alloc' extern void sve_alloc(struct task_struct *task, bool flush); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:157:13: error: storage class specified for parameter 'fpsimd_release_task' extern void fpsimd_release_task(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:158:13: error: storage class specified for parameter 'fpsimd_sync_to_sve' extern void fpsimd_sync_to_sve(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:159:13: error: storage class specified for parameter 'fpsimd_force_sync_to_sve' extern void fpsimd_force_sync_to_sve(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:160:13: error: storage class specified for parameter 'sve_sync_to_fpsimd' extern void sve_sync_to_fpsimd(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:161:13: error: storage class specified for parameter 'sve_sync_from_fpsimd_zeropad' extern void sve_sync_from_fpsimd_zeropad(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:163:12: error: storage class specified for parameter 'vec_set_vector_length' extern int vec_set_vector_length(struct task_struct *task, enum vec_type type, ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:166:12: error: storage class specified for parameter 'sve_set_current_vl' extern int sve_set_current_vl(unsigned long arg); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:167:12: error: storage class specified for parameter 'sve_get_current_vl' extern int sve_get_current_vl(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:192:1: warning: empty declaration enum vec_type; ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:194:20: error: storage class specified for parameter 'vec_init_vq_map' extern void __init vec_init_vq_map(enum vec_type type); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:194:20: error: section attribute not allowed for 'vec_init_vq_map' /kisskb/src/arch/arm64/include/asm/fpsimd.h:194:41: warning: '__cold__' attribute ignored [-Wattributes] extern void __init vec_init_vq_map(enum vec_type type); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:195:13: error: storage class specified for parameter 'vec_update_vq_map' extern void vec_update_vq_map(enum vec_type type); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:196:12: error: storage class specified for parameter 'vec_verify_vq_map' extern int vec_verify_vq_map(enum vec_type type); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:197:20: error: storage class specified for parameter 'sve_setup' extern void __init sve_setup(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:197:20: error: section attribute not allowed for 'sve_setup' /kisskb/src/arch/arm64/include/asm/fpsimd.h:197:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init sve_setup(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:199:39: error: storage class specified for parameter 'vl_info' extern __ro_after_init struct vl_info vl_info[ARM64_VEC_MAX]; ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:199:39: error: section attribute not allowed for 'vl_info' /kisskb/src/arch/arm64/include/asm/fpsimd.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:330:20: error: storage class specified for parameter 'sme_setup' extern void __init sme_setup(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:330:20: error: section attribute not allowed for 'sme_setup' /kisskb/src/arch/arm64/include/asm/fpsimd.h:330:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init sme_setup(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:333:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:338:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:342:13: error: storage class specified for parameter 'sme_alloc' extern void sme_alloc(struct task_struct *task); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:343:21: error: storage class specified for parameter 'sme_get_vl' extern unsigned int sme_get_vl(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:344:12: error: storage class specified for parameter 'sme_set_current_vl' extern int sme_set_current_vl(unsigned long arg); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:345:12: error: storage class specified for parameter 'sme_get_current_vl' extern int sme_get_current_vl(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:353:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:384:13: error: storage class specified for parameter '__efi_fpsimd_begin' extern void __efi_fpsimd_begin(void); ^ /kisskb/src/arch/arm64/include/asm/fpsimd.h:385:13: error: storage class specified for parameter '__efi_fpsimd_end' extern void __efi_fpsimd_end(void); ^ In file included from /kisskb/src/include/linux/mutex.h:20:0, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/osq_lock.h:9:1: warning: empty declaration struct optimistic_spin_node { ^ /kisskb/src/include/linux/osq_lock.h:15:1: warning: empty declaration struct optimistic_spin_queue { ^ /kisskb/src/include/linux/osq_lock.h:29:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/osq_lock.h:33:13: error: storage class specified for parameter 'osq_lock' extern bool osq_lock(struct optimistic_spin_queue *lock); ^ /kisskb/src/include/linux/osq_lock.h:34:13: error: storage class specified for parameter 'osq_unlock' extern void osq_unlock(struct optimistic_spin_queue *lock); ^ /kisskb/src/include/linux/osq_lock.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mutex.h:21:0, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/debug_locks.h:8:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/debug_locks.h:10:12: error: storage class specified for parameter 'debug_locks' extern int debug_locks __read_mostly; ^ /kisskb/src/include/linux/debug_locks.h:10:12: error: section attribute not allowed for 'debug_locks' /kisskb/src/include/linux/debug_locks.h:11:12: error: storage class specified for parameter 'debug_locks_silent' extern int debug_locks_silent __read_mostly; ^ /kisskb/src/include/linux/debug_locks.h:11:12: error: section attribute not allowed for 'debug_locks_silent' /kisskb/src/include/linux/debug_locks.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/debug_locks.h:22:12: error: storage class specified for parameter 'debug_locks_off' extern int debug_locks_off(void); ^ /kisskb/src/include/linux/debug_locks.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/debug_locks.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/debug_locks.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/debug_locks.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kernfs.h:11:0, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mutex.h:63:1: warning: empty declaration struct mutex { ^ /kisskb/src/include/linux/mutex.h:89:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mutex_destroy(struct mutex *lock) {} ^ /kisskb/src/include/linux/mutex.h:118:13: error: storage class specified for parameter '__mutex_init' extern void __mutex_init(struct mutex *lock, const char *name, ^ /kisskb/src/include/linux/mutex.h:127:13: error: storage class specified for parameter 'mutex_is_locked' extern bool mutex_is_locked(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:199:13: error: storage class specified for parameter 'mutex_lock' extern void mutex_lock(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:200:25: error: storage class specified for parameter 'mutex_lock_interruptible' extern int __must_check mutex_lock_interruptible(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:201:25: error: storage class specified for parameter 'mutex_lock_killable' extern int __must_check mutex_lock_killable(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:202:13: error: storage class specified for parameter 'mutex_lock_io' extern void mutex_lock_io(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:217:12: error: storage class specified for parameter 'mutex_trylock' extern int mutex_trylock(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:218:13: error: storage class specified for parameter 'mutex_unlock' extern void mutex_unlock(struct mutex *lock); ^ /kisskb/src/include/linux/mutex.h:220:12: error: storage class specified for parameter 'atomic_dec_and_mutex_lock' extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock); ^ In file included from /kisskb/src/include/linux/irqflags.h:16:0, from /kisskb/src/include/linux/rcupdate.h:26, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/irqflags.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:97:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/irqflags.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rcupdate.h:26:0, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irqflags.h:27:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_softirqs_on(unsigned long ip) { } ^ /kisskb/src/include/linux/irqflags.h:28:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_softirqs_off(unsigned long ip) { } ^ /kisskb/src/include/linux/irqflags.h:29:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_hardirqs_on_prepare(void) { } ^ /kisskb/src/include/linux/irqflags.h:30:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_hardirqs_on(unsigned long ip) { } ^ /kisskb/src/include/linux/irqflags.h:31:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_hardirqs_off(unsigned long ip) { } ^ In file included from /kisskb/src/include/linux/rcupdate.h:28:0, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/bottom_half.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bottom_half.h:19:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bottom_half.h:23:13: error: storage class specified for parameter '_local_bh_enable' extern void _local_bh_enable(void); ^ /kisskb/src/include/linux/bottom_half.h:24:13: error: storage class specified for parameter '__local_bh_enable_ip' extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt); ^ /kisskb/src/include/linux/bottom_half.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bottom_half.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bottom_half.h:39:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool local_bh_blocked(void) { return false; } ^ In file included from /kisskb/src/include/linux/radix-tree.h:18:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcupdate.h:46:1: warning: empty declaration 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) { } ^ /kisskb/src/include/linux/rcupdate.h:144:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void rcu_init_nohz(void) { } ^ /kisskb/src/include/linux/rcupdate.h:145:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int rcu_nocb_cpu_offload(int cpu) { return -EINVAL; } ^ /kisskb/src/include/linux/rcupdate.h:146:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int rcu_nocb_cpu_deoffload(int cpu) { return 0; } ^ /kisskb/src/include/linux/rcupdate.h:147:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void rcu_nocb_flush_deferred_wakeup(void) { } ^ In file included from /kisskb/src/include/linux/rcupdate.h:262:0, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcutree.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcutree.h:44:1: warning: empty declaration 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:95:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void rcu_irq_exit_check_preempt(void) { } ^ /kisskb/src/include/linux/rcutree.h:98:1: warning: empty declaration 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/radix-tree.h:18:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/radix-tree.h:18:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcupdate.h:283:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void init_rcu_head(struct rcu_head *head) { } ^ /kisskb/src/include/linux/rcupdate.h:284:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void destroy_rcu_head(struct rcu_head *head) { } ^ /kisskb/src/include/linux/rcupdate.h:285:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void init_rcu_head_on_stack(struct rcu_head *head) { } ^ /kisskb/src/include/linux/rcupdate.h:286:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void destroy_rcu_head_on_stack(struct rcu_head *head) { } ^ /kisskb/src/include/linux/rcupdate.h:292:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool rcu_lockdep_current_cpu_online(void) { return true; } ^ /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:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rcupdate.h:339:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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 ./arch/arm64/include/generated/asm/qspinlock.h:1:0, from /kisskb/src/arch/arm64/include/asm/spinlock.h:8, from /kisskb/src/include/linux/spinlock.h:94, from /kisskb/src/include/linux/radix-tree.h:19, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/qspinlock.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:100:13: error: storage class specified for parameter 'queued_spin_lock_slowpath' extern void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val); ^ /kisskb/src/include/asm-generic/qspinlock.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qspinlock.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from ./arch/arm64/include/generated/asm/qrwlock.h:1:0, from /kisskb/src/arch/arm64/include/asm/spinlock.h:9, from /kisskb/src/include/linux/spinlock.h:94, from /kisskb/src/include/linux/radix-tree.h:19, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/qrwlock.h:36:13: error: storage class specified for parameter 'queued_read_lock_slowpath' extern void queued_read_lock_slowpath(struct qrwlock *lock); ^ /kisskb/src/include/asm-generic/qrwlock.h:37:13: error: storage class specified for parameter 'queued_write_lock_slowpath' extern void queued_write_lock_slowpath(struct qrwlock *lock); ^ /kisskb/src/include/asm-generic/qrwlock.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/qrwlock.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/spinlock.h:94:0, from /kisskb/src/include/linux/radix-tree.h:19, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/spinlock.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/radix-tree.h:19:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/spinlock.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/spinlock.h:311:0, from /kisskb/src/include/linux/radix-tree.h:19, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/spinlock_api_smp.h:22:17: error: section attribute not allowed for '_raw_spin_lock' void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:23:17: error: section attribute not allowed for '_raw_spin_lock_nested' void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) ^ /kisskb/src/include/linux/spinlock_api_smp.h:26:1: error: section attribute not allowed for '_raw_spin_lock_nest_lock' _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map) ^ /kisskb/src/include/linux/spinlock_api_smp.h:28:17: error: section attribute not allowed for '_raw_spin_lock_bh' void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:29:17: error: section attribute not allowed for '_raw_spin_lock_irq' void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock) ^ /kisskb/src/include/linux/spinlock_api_smp.h:32:26: error: section attribute not allowed for '_raw_spin_lock_irqsave' unsigned long __lockfunc _raw_spin_lock_irqsave(raw_spinlock_t *lock) ^ /kisskb/src/include/linux/spinlock_api_smp.h:35:1: error: section attribute not allowed for '_raw_spin_lock_irqsave_nested' _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, int subclass) ^ /kisskb/src/include/linux/spinlock_api_smp.h:37:16: error: section attribute not allowed for '_raw_spin_trylock' int __lockfunc _raw_spin_trylock(raw_spinlock_t *lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:38:16: error: section attribute not allowed for '_raw_spin_trylock_bh' int __lockfunc _raw_spin_trylock_bh(raw_spinlock_t *lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:39:17: error: section attribute not allowed for '_raw_spin_unlock' void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:40:17: error: section attribute not allowed for '_raw_spin_unlock_bh' void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:41:17: error: section attribute not allowed for '_raw_spin_unlock_irq' void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/spinlock_api_smp.h:43:1: error: section attribute not allowed for '_raw_spin_unlock_irqrestore' _raw_spin_unlock_irqrestore(raw_spinlock_t *lock, unsigned long flags) ^ /kisskb/src/include/linux/spinlock_api_smp.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock_api_smp.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:183:0, from /kisskb/src/include/linux/spinlock.h:311, from /kisskb/src/include/linux/radix-tree.h:19, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rwlock_api_smp.h:18:17: error: section attribute not allowed for '_raw_read_lock' void __lockfunc _raw_read_lock(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:19:17: error: section attribute not allowed for '_raw_write_lock' void __lockfunc _raw_write_lock(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:20:17: error: section attribute not allowed for '_raw_write_lock_nested' void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:21:17: error: section attribute not allowed for '_raw_read_lock_bh' void __lockfunc _raw_read_lock_bh(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:22:17: error: section attribute not allowed for '_raw_write_lock_bh' void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:23:17: error: section attribute not allowed for '_raw_read_lock_irq' void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:24:17: error: section attribute not allowed for '_raw_write_lock_irq' void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:25:26: error: section attribute not allowed for '_raw_read_lock_irqsave' unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) ^ /kisskb/src/include/linux/rwlock_api_smp.h:27:26: error: section attribute not allowed for '_raw_write_lock_irqsave' unsigned long __lockfunc _raw_write_lock_irqsave(rwlock_t *lock) ^ /kisskb/src/include/linux/rwlock_api_smp.h:29:16: error: section attribute not allowed for '_raw_read_trylock' int __lockfunc _raw_read_trylock(rwlock_t *lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:30:16: error: section attribute not allowed for '_raw_write_trylock' int __lockfunc _raw_write_trylock(rwlock_t *lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:31:17: error: section attribute not allowed for '_raw_read_unlock' void __lockfunc _raw_read_unlock(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:32:17: error: section attribute not allowed for '_raw_write_unlock' void __lockfunc _raw_write_unlock(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:33:17: error: section attribute not allowed for '_raw_read_unlock_bh' void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:34:17: error: section attribute not allowed for '_raw_write_unlock_bh' void __lockfunc _raw_write_unlock_bh(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:35:17: error: section attribute not allowed for '_raw_read_unlock_irq' void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:36:17: error: section attribute not allowed for '_raw_write_unlock_irq' void __lockfunc _raw_write_unlock_irq(rwlock_t *lock) __releases(lock); ^ /kisskb/src/include/linux/rwlock_api_smp.h:38:1: error: section attribute not allowed for '_raw_read_unlock_irqrestore' _raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) ^ /kisskb/src/include/linux/rwlock_api_smp.h:41:1: error: section attribute not allowed for '_raw_write_unlock_irqrestore' _raw_write_unlock_irqrestore(rwlock_t *lock, unsigned long flags) ^ /kisskb/src/include/linux/rwlock_api_smp.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:155:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:200:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwlock_api_smp.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/radix-tree.h:19:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/spinlock.h:324:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:389:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:394:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/spinlock.h:470:12: error: storage class specified for parameter '_atomic_dec_and_lock' extern int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock); ^ /kisskb/src/include/linux/spinlock.h:474:12: error: storage class specified for parameter '_atomic_dec_and_lock_irqsave' extern int _atomic_dec_and_lock_irqsave(atomic_t *atomic, spinlock_t *lock, ^ In file included from /kisskb/src/include/linux/mmzone.h:10:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/wait.h:14:33: error: storage class specified for parameter 'wait_queue_entry_t' typedef struct wait_queue_entry wait_queue_entry_t; ^ /kisskb/src/include/linux/wait.h:16:15: error: storage class specified for parameter 'wait_queue_func_t' typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key); ^ /kisskb/src/include/linux/wait.h:33:2: error: expected specifier-qualifier-list before 'wait_queue_func_t' wait_queue_func_t func; ^ /kisskb/src/include/linux/wait.h:30:1: warning: empty declaration struct wait_queue_entry { ^ /kisskb/src/include/linux/wait.h:37:1: warning: empty declaration struct wait_queue_head { ^ /kisskb/src/include/linux/wait.h:41:32: error: storage class specified for parameter 'wait_queue_head_t' typedef struct wait_queue_head wait_queue_head_t; ^ /kisskb/src/include/linux/wait.h:43:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/wait.h:64:13: error: storage class specified for parameter '__init_waitqueue_head' extern void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *); ^ /kisskb/src/include/linux/wait.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:90:62: error: expected declaration specifiers or '...' before 'wait_queue_func_t' init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) ^ /kisskb/src/include/linux/wait.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:141:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:166:13: error: storage class specified for parameter 'add_wait_queue' extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); ^ /kisskb/src/include/linux/wait.h:167:13: error: storage class specified for parameter 'add_wait_queue_exclusive' extern void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); ^ /kisskb/src/include/linux/wait.h:168:13: error: storage class specified for parameter 'add_wait_queue_priority' extern void add_wait_queue_priority(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); ^ /kisskb/src/include/linux/wait.h:169:13: error: storage class specified for parameter 'remove_wait_queue' extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry); ^ /kisskb/src/include/linux/wait.h:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:215:33: error: expected declaration specifiers or '...' before 'wait_queue_entry_t' unsigned int mode, void *key, wait_queue_entry_t *bookmark); ^ /kisskb/src/include/linux/wait.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/wait.h:286:13: error: storage class specified for parameter 'init_wait_entry' extern void init_wait_entry(struct wait_queue_entry *wq_entry, int flags); ^ /kisskb/src/include/linux/wait.h:771:25: error: expected declaration specifiers or '...' before 'wait_queue_head_t' extern int do_wait_intr(wait_queue_head_t *, wait_queue_entry_t *); ^ /kisskb/src/include/linux/wait.h:771:46: error: expected declaration specifiers or '...' before 'wait_queue_entry_t' extern int do_wait_intr(wait_queue_head_t *, wait_queue_entry_t *); ^ /kisskb/src/include/linux/wait.h:772:29: error: expected declaration specifiers or '...' before 'wait_queue_head_t' extern int do_wait_intr_irq(wait_queue_head_t *, wait_queue_entry_t *); ^ /kisskb/src/include/linux/wait.h:772:50: error: expected declaration specifiers or '...' before 'wait_queue_entry_t' extern int do_wait_intr_irq(wait_queue_head_t *, wait_queue_entry_t *); ^ /kisskb/src/include/linux/wait.h:1218:15: error: storage class specified for parameter 'task_call_f' typedef int (*task_call_f)(struct task_struct *p, void *arg); ^ /kisskb/src/include/linux/wait.h:1219:50: error: expected declaration specifiers or '...' before 'task_call_f' extern int task_call_func(struct task_struct *p, task_call_f func, void *arg); ^ In file included from /kisskb/src/include/linux/mmzone.h:16:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/seqlock.h:69:3: error: storage class specified for parameter 'seqcount_t' } seqcount_t; ^ /kisskb/src/include/linux/seqlock.h:71:36: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void __seqcount_init(seqcount_t *s, const char *name, ^ /kisskb/src/include/linux/seqlock.h:252:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline seqcount_t *__seqprop_ptr(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:257:49: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline unsigned __seqprop_sequence(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:257:60: error: expected ';', ',' or ')' before '*' token static inline unsigned __seqprop_sequence(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:262:48: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline bool __seqprop_preemptible(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:262:59: error: expected ';', ',' or ')' before '*' token static inline bool __seqprop_preemptible(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:267:43: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline void __seqprop_assert(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:267:54: error: expected ';', ',' or ')' before '*' token static inline void __seqprop_assert(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:200:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:202:3: error: storage class specified for parameter 'seqcount_raw_spinlock_t' } seqcount_##lockname##_t; \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:204:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static __always_inline seqcount_t * \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:39: error: type defaults to 'int' in declaration of 'seqcount_raw_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:63: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:42: error: type defaults to 'int' in declaration of 'seqcount_raw_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:66: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:37: error: type defaults to 'int' in declaration of 'seqcount_raw_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:61: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:274:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(raw_spinlock, raw_spinlock_t, false, s->lock, raw_spin, raw_spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:200:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:202:3: error: storage class specified for parameter 'seqcount_spinlock_t' } seqcount_##lockname##_t; \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:204:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static __always_inline seqcount_t * \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:39: error: type defaults to 'int' in declaration of 'seqcount_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:63: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:42: error: type defaults to 'int' in declaration of 'seqcount_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:66: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:37: error: type defaults to 'int' in declaration of 'seqcount_spinlock_t' [-Werror=implicit-int] __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:61: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:275:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(spinlock, spinlock_t, __SEQ_RT, s->lock, spin, spin_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:200:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:202:3: error: storage class specified for parameter 'seqcount_rwlock_t' } seqcount_##lockname##_t; \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:204:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static __always_inline seqcount_t * \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:39: error: type defaults to 'int' in declaration of 'seqcount_rwlock_t' [-Werror=implicit-int] __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:63: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:42: error: type defaults to 'int' in declaration of 'seqcount_rwlock_t' [-Werror=implicit-int] __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:66: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:37: error: type defaults to 'int' in declaration of 'seqcount_rwlock_t' [-Werror=implicit-int] __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:61: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:276:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:200:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:202:3: error: storage class specified for parameter 'seqcount_mutex_t' } seqcount_##lockname##_t; \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:204:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static __always_inline seqcount_t * \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:39: error: type defaults to 'int' in declaration of 'seqcount_mutex_t' [-Werror=implicit-int] __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:211:63: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_sequence(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:42: error: type defaults to 'int' in declaration of 'seqcount_mutex_t' [-Werror=implicit-int] __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:233:66: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_preemptible(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:37: error: type defaults to 'int' in declaration of 'seqcount_mutex_t' [-Werror=implicit-int] __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:243:61: error: expected ';', ',' or ')' before '*' token __seqprop_##lockname##_assert(const seqcount_##lockname##_t *s) \ ^ /kisskb/src/include/linux/seqlock.h:277:1: note: in expansion of macro 'SEQCOUNT_LOCKNAME' SEQCOUNT_LOCKNAME(mutex, struct mutex, true, s->lock, mutex, mutex_lock(s->lock)) ^ /kisskb/src/include/linux/seqlock.h:426:50: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline int do___read_seqcount_retry(const seqcount_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:426:61: error: expected ';', ',' or ')' before '*' token static inline int do___read_seqcount_retry(const seqcount_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:446:48: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline int do_read_seqcount_retry(const seqcount_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:446:59: error: expected ';', ',' or ')' before '*' token static inline int do_read_seqcount_retry(const seqcount_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:466:48: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_raw_write_seqcount_begin(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:487:46: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_raw_write_seqcount_end(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:513:51: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_write_seqcount_begin_nested(seqcount_t *s, int subclass) ^ /kisskb/src/include/linux/seqlock.h:539:44: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_write_seqcount_begin(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:559:42: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_write_seqcount_end(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:609:50: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_raw_write_seqcount_barrier(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:629:49: error: expected declaration specifiers or '...' before 'seqcount_t' static inline void do_write_seqcount_invalidate(seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:648:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; ^ /kisskb/src/include/linux/seqlock.h:649:3: error: storage class specified for parameter 'seqcount_latch_t' } seqcount_latch_t; ^ /kisskb/src/include/linux/seqlock.h:676:54: error: type defaults to 'int' in declaration of 'seqcount_latch_t' [-Werror=implicit-int] static inline unsigned raw_read_seqcount_latch(const seqcount_latch_t *s) ^ /kisskb/src/include/linux/seqlock.h:676:71: error: expected ';', ',' or ')' before '*' token static inline unsigned raw_read_seqcount_latch(const seqcount_latch_t *s) ^ /kisskb/src/include/linux/seqlock.h:693:33: error: type defaults to 'int' in declaration of 'seqcount_latch_t' [-Werror=implicit-int] read_seqcount_latch_retry(const seqcount_latch_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:693:50: error: expected ';', ',' or ')' before '*' token read_seqcount_latch_retry(const seqcount_latch_t *s, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:779:45: error: expected declaration specifiers or '...' before 'seqcount_latch_t' static inline void raw_write_seqcount_latch(seqcount_latch_t *s) ^ /kisskb/src/include/linux/seqlock.h:801:2: error: expected specifier-qualifier-list before 'seqcount_spinlock_t' seqcount_spinlock_t seqcount; ^ /kisskb/src/include/linux/seqlock.h:803:3: error: storage class specified for parameter 'seqlock_t' } seqlock_t; ^ /kisskb/src/include/linux/seqlock.h:834:44: error: type defaults to 'int' in declaration of 'seqlock_t' [-Werror=implicit-int] static inline unsigned read_seqbegin(const seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:834:54: error: expected ';', ',' or ')' before '*' token static inline unsigned read_seqbegin(const seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:854:44: error: type defaults to 'int' in declaration of 'seqlock_t' [-Werror=implicit-int] static inline unsigned read_seqretry(const seqlock_t *sl, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:854:54: error: expected ';', ',' or ')' before '*' token static inline unsigned read_seqretry(const seqlock_t *sl, unsigned start) ^ /kisskb/src/include/linux/seqlock.h:884:34: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_seqlock(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:897:36: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_sequnlock(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:910:37: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_seqlock_bh(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:924:39: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_sequnlock_bh(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:937:38: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_seqlock_irq(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:950:40: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void write_sequnlock_irq(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:956:53: error: expected declaration specifiers or '...' before 'seqlock_t' static inline unsigned long __write_seqlock_irqsave(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:988:28: error: expected declaration specifiers or '...' before 'seqlock_t' write_sequnlock_irqrestore(seqlock_t *sl, unsigned long flags) ^ /kisskb/src/include/linux/seqlock.h:1010:38: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_seqlock_excl(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1019:40: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_sequnlock_excl(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1033:41: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_seqlock_excl_bh(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1043:43: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_sequnlock_excl_bh(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1057:42: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_seqlock_excl_irq(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1067:44: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_sequnlock_excl_irq(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1072:57: error: expected declaration specifiers or '...' before 'seqlock_t' static inline unsigned long __read_seqlock_excl_irqsave(seqlock_t *sl) ^ /kisskb/src/include/linux/seqlock.h:1101:32: error: expected declaration specifiers or '...' before 'seqlock_t' read_sequnlock_excl_irqrestore(seqlock_t *sl, unsigned long flags) ^ /kisskb/src/include/linux/seqlock.h:1137:42: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void read_seqbegin_or_lock(seqlock_t *lock, int *seq) ^ /kisskb/src/include/linux/seqlock.h:1152:33: error: expected declaration specifiers or '...' before 'seqlock_t' static inline int need_seqretry(seqlock_t *lock, int seq) ^ /kisskb/src/include/linux/seqlock.h:1165:34: error: expected declaration specifiers or '...' before 'seqlock_t' static inline void done_seqretry(seqlock_t *lock, int seq) ^ /kisskb/src/include/linux/seqlock.h:1192:31: error: expected declaration specifiers or '...' before 'seqlock_t' read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) ^ /kisskb/src/include/linux/seqlock.h:1217:26: error: expected declaration specifiers or '...' before 'seqlock_t' done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/pageblock-flags.h:18:1: warning: empty declaration enum pageblock_bits { ^ /kisskb/src/include/linux/pageblock-flags.h:62:1: warning: empty declaration struct page; ^ In file included from /kisskb/src/include/linux/personality.h:5:0, from /kisskb/src/arch/arm64/include/asm/page.h:15, from /kisskb/src/include/linux/mm_types_task.h:16, 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/personality.h:11:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/personality.h:42:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/mm_types_task.h:16: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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/page.h:19:1: warning: empty declaration struct page; ^ /kisskb/src/arch/arm64/include/asm/page.h:20:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/arch/arm64/include/asm/page.h:22:13: error: storage class specified for parameter 'copy_page' extern void copy_page(void *to, const void *from); ^ /kisskb/src/arch/arm64/include/asm/page.h:23:13: error: storage class specified for parameter 'clear_page' extern void clear_page(void *to); ^ /kisskb/src/arch/arm64/include/asm/page.h:42:22: error: storage class specified for parameter 'pgtable_t' typedef struct page *pgtable_t; ^ In file included from /kisskb/src/arch/arm64/include/asm/page.h:52:0, from /kisskb/src/include/linux/mm_types_task.h:16, 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/getorder.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mm_types_task.h:31:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/mm_types_task.h:42:1: warning: empty declaration struct task_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:48:1: warning: empty declaration struct mm_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:52:1: warning: empty declaration struct page_frag { ^ /kisskb/src/include/linux/mm_types_task.h:64:1: warning: empty declaration struct tlbflush_unmap_batch { ^ In file included from /kisskb/src/include/linux/kref.h:17:0, from /kisskb/src/include/linux/mm_types.h:8, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/refcount.h:101:1: warning: empty declaration struct mutex; ^ /kisskb/src/include/linux/refcount.h:113:3: error: storage class specified for parameter 'refcount_t' } refcount_t; ^ /kisskb/src/include/linux/refcount.h:119:1: warning: empty declaration enum refcount_saturation_type { ^ /kisskb/src/include/linux/refcount.h:127:29: error: expected declaration specifiers or '...' before 'refcount_t' void refcount_warn_saturate(refcount_t *r, enum refcount_saturation_type t); ^ /kisskb/src/include/linux/refcount.h:134:33: error: expected declaration specifiers or '...' before 'refcount_t' static inline void refcount_set(refcount_t *r, int n) ^ /kisskb/src/include/linux/refcount.h:145:48: error: type defaults to 'int' in declaration of 'refcount_t' [-Werror=implicit-int] static inline unsigned int refcount_read(const refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:145:59: error: expected ';', ',' or ')' before '*' token static inline unsigned int refcount_read(const refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:150:64: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:186:62: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:191:42: error: expected declaration specifiers or '...' before 'refcount_t' static inline void __refcount_add(int i, refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:220:40: error: expected declaration specifiers or '...' before 'refcount_t' static inline void refcount_add(int i, refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:225:57: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:243:55: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool refcount_inc_not_zero(refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:248:35: error: expected declaration specifiers or '...' before 'refcount_t' static inline void __refcount_inc(refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:265:33: error: expected declaration specifiers or '...' before 'refcount_t' static inline void refcount_inc(refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:270:64: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool __refcount_sub_and_test(int i, refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:308:62: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:313:57: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool __refcount_dec_and_test(refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:331:55: error: expected declaration specifiers or '...' before 'refcount_t' static inline __must_check bool refcount_dec_and_test(refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:336:35: error: expected declaration specifiers or '...' before 'refcount_t' static inline void __refcount_dec(refcount_t *r, int *oldp) ^ /kisskb/src/include/linux/refcount.h:357:33: error: expected declaration specifiers or '...' before 'refcount_t' static inline void refcount_dec(refcount_t *r) ^ /kisskb/src/include/linux/refcount.h:362:46: error: expected declaration specifiers or '...' before 'refcount_t' extern __must_check bool refcount_dec_if_one(refcount_t *r); ^ /kisskb/src/include/linux/refcount.h:363:47: error: expected declaration specifiers or '...' before 'refcount_t' extern __must_check bool refcount_dec_not_one(refcount_t *r); ^ /kisskb/src/include/linux/refcount.h:364:54: error: expected declaration specifiers or '...' before 'refcount_t' extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) __cond_acquires(lock); ^ /kisskb/src/include/linux/refcount.h:365:48: error: expected declaration specifiers or '...' before 'refcount_t' extern __must_check bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) __cond_acquires(lock); ^ /kisskb/src/include/linux/refcount.h:366:56: error: expected declaration specifiers or '...' before 'refcount_t' extern __must_check bool refcount_dec_and_lock_irqsave(refcount_t *r, ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kref.h:20:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t refcount; ^ /kisskb/src/include/linux/kref.h:19:1: warning: empty declaration 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rbtree_types.h:5:1: warning: empty declaration struct rb_node { ^ /kisskb/src/include/linux/rbtree_types.h:12:1: warning: empty declaration struct rb_root { ^ /kisskb/src/include/linux/rbtree_types.h:26:1: warning: empty declaration struct rb_root_cached { ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/maple_tree.h:80:1: warning: empty declaration struct maple_metadata { ^ /kisskb/src/include/linux/maple_tree.h:106:1: warning: empty declaration struct maple_range_64 { ^ /kisskb/src/include/linux/maple_tree.h:127:1: warning: empty declaration struct maple_arange_64 { ^ /kisskb/src/include/linux/maple_tree.h:135:1: warning: empty declaration struct maple_alloc { ^ /kisskb/src/include/linux/maple_tree.h:142:1: warning: empty declaration struct maple_topiary { ^ /kisskb/src/include/linux/maple_tree.h:147:1: warning: empty declaration enum maple_type { ^ /kisskb/src/include/linux/maple_tree.h:192:34: error: storage class specified for parameter 'lockdep_map_p' typedef struct { /* nothing */ } 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: warning: empty declaration struct maple_tree { ^ /kisskb/src/include/linux/maple_tree.h:270:1: warning: empty declaration struct maple_node { ^ /kisskb/src/include/linux/maple_tree.h:298:1: warning: empty declaration 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: warning: empty declaration struct ma_state { ^ /kisskb/src/include/linux/maple_tree.h:386:1: warning: empty declaration 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 { ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rwsem.h:47:1: warning: empty declaration 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); ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/swait.h:41:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/swait.h:43:1: warning: empty declaration struct swait_queue_head { ^ /kisskb/src/include/linux/swait.h:48:1: warning: empty declaration 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/completion.h:26:1: warning: empty declaration 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/uprobes.h:19:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/include/linux/uprobes.h:20:1: warning: empty declaration struct mm_struct; ^ /kisskb/src/include/linux/uprobes.h:21:1: warning: empty declaration struct inode; ^ /kisskb/src/include/linux/uprobes.h:22:1: warning: empty declaration struct notifier_block; ^ /kisskb/src/include/linux/uprobes.h:23:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/uprobes.h:30:1: warning: empty declaration enum uprobe_filter_ctx { ^ /kisskb/src/include/linux/uprobes.h:36:1: warning: empty declaration struct uprobe_consumer { ^ /kisskb/src/include/linux/uprobes.h:142:1: warning: empty declaration struct uprobes_state { ^ /kisskb/src/include/linux/uprobes.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/uprobes.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:185:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uprobes.h:201:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/timex.h:97:1: warning: empty declaration struct __kernel_timex_timeval { ^ /kisskb/src/include/uapi/linux/timex.h:102:1: warning: empty declaration struct __kernel_timex { ^ In file included from /kisskb/src/include/clocksource/arm_arch_timer.h:9:0, from /kisskb/src/arch/arm64/include/asm/arch_timer.h:21, from /kisskb/src/arch/arm64/include/asm/timex.h:8, 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/timecounter.h:30:1: warning: empty declaration struct cyclecounter { ^ /kisskb/src/include/linux/timecounter.h:55:1: warning: empty declaration struct timecounter { ^ /kisskb/src/include/linux/timecounter.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timecounter.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timecounter.h:99:13: error: storage class specified for parameter 'timecounter_init' extern void timecounter_init(struct timecounter *tc, ^ /kisskb/src/include/linux/timecounter.h:111:12: error: storage class specified for parameter 'timecounter_read' extern u64 timecounter_read(struct timecounter *tc); ^ /kisskb/src/include/linux/timecounter.h:127:12: error: storage class specified for parameter 'timecounter_cyc2time' extern u64 timecounter_cyc2time(const struct timecounter *tc, ^ In file included from /kisskb/src/arch/arm64/include/asm/arch_timer.h:21:0, from /kisskb/src/arch/arm64/include/asm/timex.h:8, 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/clocksource/arm_arch_timer.h:25:1: warning: empty declaration enum arch_timer_reg { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:30:1: warning: empty declaration enum arch_timer_ppi_nr { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:39:1: warning: empty declaration enum arch_timer_spi_nr { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:65:1: warning: empty declaration struct arch_timer_kvm_info { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:71:1: warning: empty declaration struct arch_timer_mem_frame { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:79:1: warning: empty declaration struct arch_timer_mem { ^ /kisskb/src/include/clocksource/arm_arch_timer.h:87:12: error: storage class specified for parameter 'arch_timer_get_rate' extern u32 arch_timer_get_rate(void); ^ /kisskb/src/include/clocksource/arm_arch_timer.h:88:14: error: storage class specified for parameter 'arch_timer_read_counter' extern u64 (*arch_timer_read_counter)(void); ^ /kisskb/src/include/clocksource/arm_arch_timer.h:89:36: error: storage class specified for parameter 'arch_timer_get_kvm_info' extern struct arch_timer_kvm_info *arch_timer_get_kvm_info(void); ^ /kisskb/src/include/clocksource/arm_arch_timer.h:90:13: error: storage class specified for parameter 'arch_timer_evtstrm_available' extern bool arch_timer_evtstrm_available(void); ^ In file included from /kisskb/src/arch/arm64/include/asm/timex.h:8: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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/arch_timer.h:43:1: warning: empty declaration enum arch_timer_erratum_match_type { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:49:1: warning: empty declaration struct clock_event_device; ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:51:1: warning: empty declaration struct arch_timer_erratum_workaround { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/arch_timer.h:63:3: error: storage class specified for parameter 'timer_unstable_counter_workaround' timer_unstable_counter_workaround); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:62:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(const struct arch_timer_erratum_workaround *, ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:63:3: error: section attribute not allowed for 'timer_unstable_counter_workaround' timer_unstable_counter_workaround); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:62:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(const struct arch_timer_erratum_workaround *, ^ In file included from /kisskb/src/arch/arm64/include/asm/timex.h:8: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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/arch_timer.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:171:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:219:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:224:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_timer.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/timex.h:16: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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/timex.h:8:23: error: storage class specified for parameter 'cycles_t' typedef unsigned long cycles_t; ^ 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/time32.h:17:1: warning: empty declaration 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: warning: empty declaration struct old_utimbuf32 { ^ /kisskb/src/include/linux/time32.h:27:1: warning: empty declaration 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: warning: empty declaration 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/vdso/time.h:7:1: warning: empty declaration 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: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: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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/clocksource_ids.h:6:1: warning: empty declaration 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct system_device_crosststamp { ^ /kisskb/src/include/linux/timekeeping.h:276:1: warning: empty declaration 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); ^ 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/debugobjects.h:8:1: warning: empty declaration enum debug_obj_state { ^ /kisskb/src/include/linux/debugobjects.h:18:1: warning: empty declaration struct debug_obj_descr; ^ /kisskb/src/include/linux/debugobjects.h:28:1: warning: empty declaration struct debug_obj { ^ /kisskb/src/include/linux/debugobjects.h:55:1: warning: empty declaration struct debug_obj_descr { ^ /kisskb/src/include/linux/debugobjects.h:89:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_init (void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:91:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_init_on_stack(void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:93:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_activate (void *addr, const struct debug_obj_descr *descr) { return 0; } ^ /kisskb/src/include/linux/debugobjects.h:95:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_deactivate(void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:97:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_destroy (void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:99:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_free (void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:101:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token debug_object_assert_init(void *addr, const struct debug_obj_descr *descr) { } ^ /kisskb/src/include/linux/debugobjects.h:103:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_objects_early_init(void) { } ^ /kisskb/src/include/linux/debugobjects.h:104:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_objects_mem_init(void) { } ^ /kisskb/src/include/linux/debugobjects.h:111:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 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/mm_types.h:19, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/timer.h:11:1: warning: empty declaration struct timer_list { ^ /kisskb/src/include/linux/timer.h:106:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timer.h:150:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline 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: warning: empty declaration 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/mm_types.h:19:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/workqueue.h:18:1: warning: empty declaration struct workqueue_struct; ^ /kisskb/src/include/linux/workqueue.h:20:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct work_struct { ^ /kisskb/src/include/linux/workqueue.h:110:1: warning: empty declaration struct delayed_work { ^ /kisskb/src/include/linux/workqueue.h:119:1: warning: empty declaration struct rcu_work { ^ /kisskb/src/include/linux/workqueue.h:132:1: warning: empty declaration 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: warning: empty declaration struct execute_work { ^ /kisskb/src/include/linux/workqueue.h:210:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __init_work(struct work_struct *work, int onstack) { } ^ /kisskb/src/include/linux/workqueue.h:211:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void destroy_work_on_stack(struct work_struct *work) { } ^ /kisskb/src/include/linux/workqueue.h:212:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } ^ /kisskb/src/include/linux/workqueue.h:213:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned int work_static(struct work_struct *work) { return 0; } ^ /kisskb/src/include/linux/workqueue.h:303:1: warning: empty declaration 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/mm_types.h:19:0, from /kisskb/src/include/linux/mmzone.h:21, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__warning__' attribute ignored [-Wattributes] __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:703:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void wq_watchdog_touch(int cpu) { } ^ /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: warning: '__cold__' attribute ignored [-Wattributes] void __init workqueue_init_early(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] void __init workqueue_init(void); ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/mmu.h:25:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t pinned; ^ /kisskb/src/arch/arm64/include/asm/mmu.h:28:3: error: storage class specified for parameter 'mm_context_t' } mm_context_t; ^ /kisskb/src/arch/arm64/include/asm/mmu.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mmu.h:63:13: error: storage class specified for parameter 'arm64_memblock_init' extern void arm64_memblock_init(void); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:64:13: error: storage class specified for parameter 'paging_init' extern void paging_init(void); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:65:13: error: storage class specified for parameter 'bootmem_init' extern void bootmem_init(void); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:66:22: error: storage class specified for parameter 'early_io_map' extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:67:13: error: storage class specified for parameter 'init_mem_pgprot' extern void init_mem_pgprot(void); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:68:13: error: storage class specified for parameter 'create_pgd_mapping' extern void create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys, ^ /kisskb/src/arch/arm64/include/asm/mmu.h:71:14: error: storage class specified for parameter 'fixmap_remap_fdt' extern void *fixmap_remap_fdt(phys_addr_t dt_phys, int *size, pgprot_t prot); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:72:13: error: storage class specified for parameter 'mark_linear_text_alias_ro' extern void mark_linear_text_alias_ro(void); ^ /kisskb/src/arch/arm64/include/asm/mmu.h:73:13: error: storage class specified for parameter 'kaslr_requires_kpti' extern bool kaslr_requires_kpti(void); ^ 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mm_types.h:31:1: warning: empty declaration struct address_space; ^ /kisskb/src/include/linux/mm_types.h:32:1: warning: empty declaration struct mem_cgroup; ^ /kisskb/src/include/linux/mm_types.h:157:4: error: expected specifier-qualifier-list before 'pgtable_t' pgtable_t pmd_huge_pte; /* protected by page->ptl */ ^ /kisskb/src/include/linux/mm_types.h:73:1: warning: empty declaration struct page { ^ /kisskb/src/include/linux/mm_types.h:276:1: warning: empty declaration struct folio { ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ioport.h:13, from /kisskb/src/include/linux/acpi.h:12, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration struct vm_region { ^ /kisskb/src/include/linux/mm_types.h:429:1: warning: empty declaration struct vm_userfaultfd_ctx {}; ^ /kisskb/src/include/linux/mm_types.h:432:1: warning: empty declaration struct anon_vma_name { ^ /kisskb/src/include/linux/mm_types.h:444:1: warning: empty declaration struct vm_area_struct { ^ /kisskb/src/include/linux/mm_types.h:511:1: warning: empty declaration struct kioctx_table; ^ /kisskb/src/include/linux/mm_types.h:605:3: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t write_protect_seq; ^ /kisskb/src/include/linux/mm_types.h:512:1: warning: empty declaration 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:783:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:787:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:792:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:797:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:801:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:806:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct vm_special_mapping { ^ /kisskb/src/include/linux/mm_types.h:931:1: warning: empty declaration 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: warning: empty declaration 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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/page-flags.h:100:1: warning: empty declaration enum pageflags { ^ In file included from /kisskb/src/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:473:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Locked, locked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:474:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Waiters, waiters, PF_ONLY_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:475:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:475:36: note: in expansion of macro 'TESTCLEARFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:475:36: note: in expansion of macro 'TESTCLEARFLAG' PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:476:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:477:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:477:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:478:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:478:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Referenced, referenced, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:479:33: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:480:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:480:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:481:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:481:29: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:481:29: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(LRU, lru, PF_HEAD) __CLEARPAGEFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:482:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:482:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(LRU, lru, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:483:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:483:35: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:483:35: note: in expansion of macro '__CLEARPAGEFLAG' PAGEFLAG(Active, active, PF_HEAD) __CLEARPAGEFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:484:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:484:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Active, active, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:485:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:486:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:486:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Workingset, workingset, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:487:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Slab, slab, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:488:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(SlobFree, slob_free, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:489:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Checked, checked, PF_NO_COMPOUND) /* Used by some filesystems */ ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:492:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:493:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:494:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:494:49: error: expected declaration specifiers before ';' token PAGEFLAG(SavePinned, savepinned, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:495:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:495:43: error: expected declaration specifiers before ';' token PAGEFLAG(Foreign, foreign, PF_NO_COMPOUND); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:496:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:497:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:497:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(XenRemapped, xen_remapped, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:499:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:500:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:500:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:501:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:501:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:502:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:503:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:503:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:504:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:504:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:511:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private, private, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:512:39: note: in expansion of macro 'TESTSCFLAG' PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:513:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:514:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:514:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:520:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:520:1: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:521:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Writeback, writeback, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:522:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:525:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:526:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:526:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:527:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:528:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:528:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:537:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(HighMem, highmem) ^ /kisskb/src/include/linux/page-flags.h:542:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:548:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:552:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:552:1: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:553:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:553:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(SwapCache, swapcache, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:558:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:559:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:559:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:560:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:560:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(Unevictable, unevictable, PF_HEAD) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:563:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:564:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:564:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:565:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(Mlocked, mlocked, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:574:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(Uncached, uncached) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:578:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:579:1: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HWPoison, hwpoison, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:582:13: error: storage class specified for parameter 'SetPageHWPoisonTakenOff' extern void SetPageHWPoisonTakenOff(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:583:13: error: storage class specified for parameter 'ClearPageHWPoisonTakenOff' extern void ClearPageHWPoisonTakenOff(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:584:13: error: storage class specified for parameter 'take_page_off_buddy' extern bool take_page_off_buddy(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:585:13: error: storage class specified for parameter 'put_page_back_buddy' extern bool put_page_back_buddy(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:442:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool folio_test_##lname(const struct folio *folio) { return false; } \ ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:443:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int Page##uname(const struct page *page) { return 0; } ^ /kisskb/src/include/linux/page-flags.h:467:38: note: in expansion of macro 'TESTPAGEFLAG_FALSE' #define PAGEFLAG_FALSE(uname, lname) TESTPAGEFLAG_FALSE(uname, lname) \ ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:446:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_set_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:447:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void SetPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:2: note: in expansion of macro 'SETPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:450:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void folio_clear_##lname(struct folio *folio) { } \ ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:451:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ClearPage##uname(struct page *page) { } ^ /kisskb/src/include/linux/page-flags.h:468:33: note: in expansion of macro 'CLEARPAGEFLAG_NOOP' SETPAGEFLAG_NOOP(uname, lname) CLEARPAGEFLAG_NOOP(uname, lname) ^ /kisskb/src/include/linux/page-flags.h:601:1: note: in expansion of macro 'PAGEFLAG_FALSE' PAGEFLAG_FALSE(SkipKASanPoison, skip_kasan_poison) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:433:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:434:2: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:435:2: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:610:1: note: in expansion of macro '__PAGEFLAG' __PAGEFLAG(Reported, reported, PF_NO_COMPOUND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:613:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(VmemmapSelfHosted, vmemmap_self_hosted, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:647:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:652:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:657:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:662:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:667:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:673:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:686:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:692:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:712:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:734:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:740:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:751:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:760:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:760:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Uptodate, uptodate, PF_NO_TAIL) ^ /kisskb/src/include/linux/page-flags.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:781:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:791:1: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:791:1: note: in expansion of macro '__SETPAGEFLAG' __SETPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:792:1: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { __clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:792:1: note: in expansion of macro '__CLEARPAGEFLAG' __CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:793:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:793:1: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(Head, head, PF_ANY) ^ /kisskb/src/include/linux/page-flags.h:802:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:807:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:812:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:818:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:830:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:864:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:874:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:891:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:892:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(DoubleMap, double_map, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:909:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:438:2: note: in expansion of macro 'TESTSETFLAG' TESTSETFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_and_clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:439:2: note: in expansion of macro 'TESTCLEARFLAG' TESTCLEARFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:910:2: note: in expansion of macro 'TESTSCFLAG' TESTSCFLAG(HasHWPoisoned, has_hwpoisoned, PF_SECOND) ^ /kisskb/src/include/linux/page-flags.h:922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:949:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:973:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Buddy, buddy) ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:997:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Offline, offline) ^ /kisskb/src/include/linux/page-flags.h:999:13: error: storage class specified for parameter 'page_offline_freeze' extern void page_offline_freeze(void); ^ /kisskb/src/include/linux/page-flags.h:1000:13: error: storage class specified for parameter 'page_offline_thaw' extern void page_offline_thaw(void); ^ /kisskb/src/include/linux/page-flags.h:1001:13: error: storage class specified for parameter 'page_offline_begin' extern void page_offline_begin(void); ^ /kisskb/src/include/linux/page-flags.h:1002:13: error: storage class specified for parameter 'page_offline_end' extern void page_offline_end(void); ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1007:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Table, table) ^ /kisskb/src/include/linux/page-flags.h:955:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { \ ^ /kisskb/src/include/linux/page-flags.h:1012:1: note: in expansion of macro 'PAGE_TYPE_OPS' PAGE_TYPE_OPS(Guard, guard) ^ /kisskb/src/include/linux/page-flags.h:1014:13: error: storage class specified for parameter 'is_free_buddy_page' extern bool is_free_buddy_page(struct page *page); ^ /kisskb/src/include/linux/page-flags.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:383:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PG_##lname, &policy(page, 0)->flags); } ^ /kisskb/src/include/linux/page-flags.h:428:2: note: in expansion of macro 'TESTPAGEFLAG' TESTPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:388:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:429:2: note: in expansion of macro 'SETPAGEFLAG' SETPAGEFLAG(uname, lname, policy) \ ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:395:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, folio_flags(folio, FOLIO_##policy)); } \ ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PG_##lname, &policy(page, 1)->flags); } ^ /kisskb/src/include/linux/page-flags.h:430:2: note: in expansion of macro 'CLEARPAGEFLAG' CLEARPAGEFLAG(uname, lname, policy) ^ /kisskb/src/include/linux/page-flags.h:1016:1: note: in expansion of macro 'PAGEFLAG' PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:1016:37: error: expected declaration specifiers before ';' token PAGEFLAG(Isolated, isolated, PF_ANY); ^ /kisskb/src/include/linux/page-flags.h:1019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1026:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1033:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1040:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1084:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page-flags.h:1089:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/local_lock.h:5:0, from /kisskb/src/include/linux/mmzone.h:23, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:47: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:48: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:49:42: error: expected declaration specifiers or '...' before 'local_lock_t' static inline void local_lock_debug_init(local_lock_t *l) { } ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mmzone.h:42:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct pglist_data; ^ /kisskb/src/include/linux/mmzone.h:125:1: warning: empty declaration enum numa_stat_item { ^ /kisskb/src/include/linux/mmzone.h:138:1: warning: empty declaration enum zone_stat_item { ^ /kisskb/src/include/linux/mmzone.h:157:1: warning: empty declaration enum node_stat_item { ^ /kisskb/src/include/linux/mmzone.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:265:1: warning: empty declaration enum lru_list { ^ /kisskb/src/include/linux/mmzone.h:274:1: warning: empty declaration enum vmscan_throttle_state { ^ /kisskb/src/include/linux/mmzone.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:300:1: warning: empty declaration enum lruvec_flags { ^ /kisskb/src/include/linux/mmzone.h:363:1: warning: empty declaration struct lruvec; ^ /kisskb/src/include/linux/mmzone.h:364:1: warning: empty declaration struct page_vma_mapped_walk; ^ /kisskb/src/include/linux/mmzone.h:488:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:492:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:497:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:501:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:507:1: warning: empty declaration struct lruvec { ^ /kisskb/src/include/linux/mmzone.h:543:28: error: storage class specified for parameter 'isolate_mode_t' typedef unsigned __bitwise isolate_mode_t; ^ /kisskb/src/include/linux/mmzone.h:545:1: warning: empty declaration enum zone_watermarks { ^ /kisskb/src/include/linux/mmzone.h:573:1: warning: empty declaration struct per_cpu_pages { ^ /kisskb/src/include/linux/mmzone.h:587:1: warning: empty declaration struct per_cpu_zonestat { ^ /kisskb/src/include/linux/mmzone.h:602:1: warning: empty declaration struct per_cpu_nodestat { ^ /kisskb/src/include/linux/mmzone.h:609:1: warning: empty declaration enum zone_type { ^ /kisskb/src/include/linux/mmzone.h:813:2: error: expected specifier-qualifier-list before 'seqlock_t' seqlock_t span_seqlock; ^ /kisskb/src/include/linux/mmzone.h:704:1: warning: empty declaration struct zone { ^ /kisskb/src/include/linux/mmzone.h:874:1: warning: empty declaration enum pgdat_flags { ^ /kisskb/src/include/linux/mmzone.h:885:1: warning: empty declaration enum zone_flags { ^ /kisskb/src/include/linux/mmzone.h:893:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:898:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:907:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:912:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:917:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:973:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:979:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:992:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:998:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1003:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1014:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1034:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/mmzone.h:1050:1: warning: empty declaration struct zoneref { ^ /kisskb/src/include/linux/mmzone.h:1069:1: warning: empty declaration struct zonelist { ^ /kisskb/src/include/linux/mmzone.h:1078:21: error: storage class specified for parameter 'mem_map' extern struct page *mem_map; ^ /kisskb/src/include/linux/mmzone.h:1081:1: warning: empty declaration struct deferred_split { ^ /kisskb/src/include/linux/mmzone.h:1138:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t kswapd_wait; ^ /kisskb/src/include/linux/mmzone.h:1231:3: error: storage class specified for parameter 'pg_data_t' } pg_data_t; ^ /kisskb/src/include/linux/mmzone.h:1239: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/srcu.h:22:0, from /kisskb/src/include/linux/notifier.h:16, from /kisskb/src/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:1244, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcu_segcblist.h:21:1: warning: empty declaration struct rcu_cblist { ^ /kisskb/src/include/linux/rcu_segcblist.h:206:1: warning: empty declaration struct rcu_segcblist { ^ In file included from /kisskb/src/include/linux/notifier.h:16:0, from /kisskb/src/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:1244, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/srcu.h:24:1: warning: empty declaration 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/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:1244, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/srcutree.h:17:1: warning: empty declaration struct srcu_node; ^ /kisskb/src/include/linux/srcutree.h:18:1: warning: empty declaration struct srcu_struct; ^ /kisskb/src/include/linux/srcutree.h:24:1: warning: empty declaration struct srcu_data { ^ /kisskb/src/include/linux/srcutree.h:53:1: warning: empty declaration struct srcu_node { ^ /kisskb/src/include/linux/srcutree.h:67:1: warning: empty declaration struct srcu_struct { ^ In file included from /kisskb/src/include/linux/notifier.h:16:0, from /kisskb/src/include/linux/memory_hotplug.h:7, from /kisskb/src/include/linux/mmzone.h:1244, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/srcu.h:101: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:177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:222:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/srcu.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memory_hotplug.h:7:0, from /kisskb/src/include/linux/mmzone.h:1244, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/notifier.h:49:1: warning: empty declaration 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: warning: empty declaration struct notifier_block { ^ /kisskb/src/include/linux/notifier.h:60:1: warning: empty declaration struct atomic_notifier_head { ^ /kisskb/src/include/linux/notifier.h:65:1: warning: empty declaration struct blocking_notifier_head { ^ /kisskb/src/include/linux/notifier.h:70:1: warning: empty declaration struct raw_notifier_head { ^ /kisskb/src/include/linux/notifier.h:74:1: warning: empty declaration 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/mmzone.h:1244:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/memory_hotplug.h:10:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/memory_hotplug.h:11:1: warning: empty declaration struct zone; ^ /kisskb/src/include/linux/memory_hotplug.h:12:1: warning: empty declaration struct pglist_data; ^ /kisskb/src/include/linux/memory_hotplug.h:13:1: warning: empty declaration struct mem_section; ^ /kisskb/src/include/linux/memory_hotplug.h:14:1: warning: empty declaration struct memory_group; ^ /kisskb/src/include/linux/memory_hotplug.h:15:1: warning: empty declaration struct resource; ^ /kisskb/src/include/linux/memory_hotplug.h:16:1: warning: empty declaration struct vmem_altmap; ^ /kisskb/src/include/linux/memory_hotplug.h:17:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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:196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: '__noinline__' attribute ignored [-Wattributes] extern void __ref free_area_init_core_hotplug(struct pglist_data *pgdat); ^ /kisskb/src/include/linux/memory_hotplug.h:334:55: error: expected declaration specifiers or '...' before 'mhp_t' extern int __add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:335:53: error: expected declaration specifiers or '...' before 'mhp_t' extern int add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:337:11: error: expected declaration specifiers or '...' before 'mhp_t' mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:340:10: error: expected declaration specifiers or '...' before 'mhp_t' mhp_t mhp_flags); ^ /kisskb/src/include/linux/memory_hotplug.h:341:13: error: storage class specified for parameter 'move_pfn_range_to_zone' extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, ^ /kisskb/src/include/linux/memory_hotplug.h:344:13: error: storage class specified for parameter 'remove_pfn_range_from_zone' extern void remove_pfn_range_from_zone(struct zone *zone, ^ /kisskb/src/include/linux/memory_hotplug.h:347:12: error: storage class specified for parameter 'sparse_add_section' extern int sparse_add_section(int nid, unsigned long pfn, ^ /kisskb/src/include/linux/memory_hotplug.h:350:13: error: storage class specified for parameter 'sparse_remove_section' extern void sparse_remove_section(struct mem_section *ms, ^ /kisskb/src/include/linux/memory_hotplug.h:353:21: error: storage class specified for parameter 'sparse_decode_mem_map' extern struct page *sparse_decode_mem_map(unsigned long coded_mem_map, ^ /kisskb/src/include/linux/memory_hotplug.h:355:21: error: storage class specified for parameter 'zone_for_pfn_range' extern struct zone *zone_for_pfn_range(int online_type, int nid, ^ /kisskb/src/include/linux/memory_hotplug.h:358:12: error: storage class specified for parameter 'arch_create_linear_mapping' extern int arch_create_linear_mapping(int nid, u64 start, u64 size, ^ /kisskb/src/include/linux/memory_hotplug.h:361:13: error: storage class specified for parameter 'mhp_supports_memmap_on_memory' extern bool mhp_supports_memmap_on_memory(unsigned long size); ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mmzone.h:1246:26: error: expected declaration specifiers or '...' before 'pg_data_t' void build_all_zonelists(pg_data_t *pgdat); ^ /kisskb/src/include/linux/mmzone.h:1261:1: warning: empty declaration enum meminit_context { ^ /kisskb/src/include/linux/mmzone.h:1266: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:1269:13: error: storage class specified for parameter 'lruvec_init' extern void lruvec_init(struct lruvec *lruvec); ^ /kisskb/src/include/linux/mmzone.h:1272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1283: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:1283: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:1298:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1310:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1322:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1327:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1339:12: error: storage class specified for parameter 'movable_zone' extern int movable_zone; ^ /kisskb/src/include/linux/mmzone.h:1342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1359:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1373:1: warning: empty declaration struct ctl_table; ^ /kisskb/src/include/linux/mmzone.h:1379: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:1390:12: error: storage class specified for parameter 'percpu_pagelist_high_fraction' extern int percpu_pagelist_high_fraction; ^ /kisskb/src/include/linux/mmzone.h:1391:13: error: storage class specified for parameter 'numa_zonelist_order' extern char numa_zonelist_order[]; ^ In file included from /kisskb/src/arch/arm64/include/asm/numa.h:5:0, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/topology.h:9:1: warning: empty declaration struct pci_bus; ^ In file included from /kisskb/src/arch/arm64/include/asm/topology.h:17:0, from /kisskb/src/arch/arm64/include/asm/numa.h:5, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/arch_topology.h:18:1: warning: empty declaration struct device_node; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/arch/arm64/include/asm/topology.h:17:0, from /kisskb/src/arch/arm64/include/asm/numa.h:5, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/arch/arm64/include/asm/topology.h:17:0, from /kisskb/src/arch/arm64/include/asm/numa.h:5, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration enum scale_freq_source { ^ /kisskb/src/include/linux/arch_topology.h:47:1: warning: empty declaration struct scale_freq_data { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/arch/arm64/include/asm/topology.h:17:0, from /kisskb/src/arch/arm64/include/asm/numa.h:5, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct cpu_topology { ^ /kisskb/src/include/linux/arch_topology.h:78:28: error: storage class specified for parameter 'cpu_topology' extern struct cpu_topology cpu_topology[NR_CPUS]; ^ In file included from /kisskb/src/arch/arm64/include/asm/numa.h:6:0, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/numa.h:12:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'numa_nodes_parsed' extern nodemask_t numa_nodes_parsed __initdata; ^ /kisskb/src/include/asm-generic/numa.h:14:13: error: storage class specified for parameter 'numa_off' extern bool numa_off; ^ /kisskb/src/include/asm-generic/numa.h:17:22: error: storage class specified for parameter 'node_to_cpumask_map' extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; ^ /kisskb/src/include/asm-generic/numa.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/numa.h:33:13: error: section attribute not allowed for 'arch_numa_init' void __init arch_numa_init(void); ^ /kisskb/src/include/asm-generic/numa.h:33:1: warning: '__cold__' attribute ignored [-Wattributes] void __init arch_numa_init(void); ^ /kisskb/src/include/asm-generic/numa.h:34:12: error: section attribute not allowed for 'numa_add_memblk' int __init numa_add_memblk(int nodeid, u64 start, u64 end); ^ /kisskb/src/include/asm-generic/numa.h:34:1: warning: '__cold__' attribute ignored [-Wattributes] int __init numa_add_memblk(int nodeid, u64 start, u64 end); ^ /kisskb/src/include/asm-generic/numa.h:35:13: error: section attribute not allowed for 'numa_set_distance' void __init numa_set_distance(int from, int to, int distance); ^ /kisskb/src/include/asm-generic/numa.h:35:1: warning: '__cold__' attribute ignored [-Wattributes] void __init numa_set_distance(int from, int to, int distance); ^ /kisskb/src/include/asm-generic/numa.h:36:13: error: section attribute not allowed for 'numa_free_distance' void __init numa_free_distance(void); ^ /kisskb/src/include/asm-generic/numa.h:36:1: warning: '__cold__' attribute ignored [-Wattributes] void __init numa_free_distance(void); ^ /kisskb/src/include/asm-generic/numa.h:37:13: error: section attribute not allowed for 'early_map_cpu_to_node' void __init early_map_cpu_to_node(unsigned int cpu, int nid); ^ /kisskb/src/include/asm-generic/numa.h:37:1: warning: '__cold__' attribute ignored [-Wattributes] void __init early_map_cpu_to_node(unsigned int cpu, int nid); ^ In file included from /kisskb/src/include/linux/mmzone.h:1404:0, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/mmzone.h:9: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/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mmzone.h:1408:28: error: storage class specified for parameter 'first_online_pgdat' extern struct pglist_data *first_online_pgdat(void); ^ /kisskb/src/include/linux/mmzone.h:1409: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:1410:21: error: storage class specified for parameter 'next_zone' extern struct zone *next_zone(struct zone *zone); ^ /kisskb/src/include/linux/mmzone.h:1441:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1446:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1457:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes); ^ In file included from /kisskb/src/include/linux/gfp.h:7:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mmzone.h:1476:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1502:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1545:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline bool movable_only_nodes(nodemask_t *nodes) ^ /kisskb/src/include/linux/mmzone.h:1596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1600:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1623:1: warning: empty declaration struct mem_section_usage { ^ /kisskb/src/include/linux/mmzone.h:1633:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/mmzone.h:1634:1: warning: empty declaration struct page_ext; ^ /kisskb/src/include/linux/mmzone.h:1635:1: warning: empty declaration struct mem_section { ^ /kisskb/src/include/linux/mmzone.h:1676:29: error: storage class specified for parameter 'mem_section' extern struct mem_section **mem_section; ^ /kisskb/src/include/linux/mmzone.h:1682:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1687:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1699: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:1718:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/mmzone.h:1740:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1747:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1752:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1757:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1762:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1767:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1772:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1791:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1801:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1805:22: error: storage class specified for parameter '__highest_present_section_nr' extern unsigned long __highest_present_section_nr; ^ /kisskb/src/include/linux/mmzone.h:1808:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1814:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1839:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1865:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmzone.h:1872:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/numa.h:5:0, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/topology.h:35:34: error: redefinition of parameter 'topology_update_cpu_topology' #define arch_update_cpu_topology topology_update_cpu_topology ^ /kisskb/src/include/linux/topology.h:46:5: note: in expansion of macro 'arch_update_cpu_topology' int arch_update_cpu_topology(void); ^ In file included from /kisskb/src/arch/arm64/include/asm/topology.h:17:0, from /kisskb/src/arch/arm64/include/asm/numa.h:5, from /kisskb/src/arch/arm64/include/asm/mmzone.h:7, from /kisskb/src/include/linux/mmzone.h:1404, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/arch_topology.h:12:5: note: previous definition of 'topology_update_cpu_topology' was here int topology_update_cpu_topology(void); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/topology.h:83:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(int, numa_node); ^ In file included from /kisskb/src/include/linux/gfp.h:8:0, from /kisskb/src/include/linux/xarray.h:15, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/topology.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/topology.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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/xarray.h:15:0, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/gfp.h:10:1: warning: empty declaration 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/xarray.h:15:0, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct page_frag_cache; ^ /kisskb/src/include/linux/gfp.h:292:13: error: storage class specified for parameter '__page_frag_cache_drain' extern void __page_frag_cache_drain(struct page *page, unsigned int count); ^ /kisskb/src/include/linux/gfp.h:293:14: error: storage class specified for parameter 'page_frag_alloc_align' extern void *page_frag_alloc_align(struct page_frag_cache *nc, ^ /kisskb/src/include/linux/gfp.h:299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gfp.h:303:13: error: storage class specified for parameter 'page_frag_free' extern void page_frag_free(void *addr); ^ /kisskb/src/include/linux/gfp.h:322:14: error: storage class specified for parameter 'gfp_allowed_mask' extern gfp_t gfp_allowed_mask; ^ /kisskb/src/include/linux/gfp.h:327:13: error: storage class specified for parameter 'pm_restrict_gfp_mask' extern void pm_restrict_gfp_mask(void); ^ /kisskb/src/include/linux/gfp.h:328:13: error: storage class specified for parameter 'pm_restore_gfp_mask' extern void pm_restore_gfp_mask(void); ^ /kisskb/src/include/linux/gfp.h:330:14: error: storage class specified for parameter 'vma_thp_gfp_mask' extern gfp_t vma_thp_gfp_mask(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/gfp.h:333:13: error: storage class specified for parameter 'pm_suspended_storage' extern bool pm_suspended_storage(void); ^ /kisskb/src/include/linux/gfp.h:343:12: error: storage class specified for parameter 'alloc_contig_range' extern int alloc_contig_range(unsigned long start, unsigned long end, ^ /kisskb/src/include/linux/gfp.h:346:21: error: expected declaration specifiers or '...' before 'nodemask_t' int nid, nodemask_t *nodemask); ^ /kisskb/src/include/linux/gfp.h:352:13: error: storage class specified for parameter 'init_cma_reserved_pageblock' extern void init_cma_reserved_pageblock(struct page *page); ^ In file included from /kisskb/src/include/linux/sched.h:10:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sched.h:92:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/pid.h:9:1: warning: empty declaration enum pid_type ^ /kisskb/src/include/linux/pid.h:54:1: warning: empty declaration struct upid { ^ /kisskb/src/include/linux/pid.h:61:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t count; ^ /kisskb/src/include/linux/pid.h:59:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/uidgid.h:18:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rhashtable-types.h:17:1: warning: empty declaration struct rhash_head { ^ /kisskb/src/include/linux/rhashtable-types.h:21:1: warning: empty declaration struct rhlist_head { ^ /kisskb/src/include/linux/rhashtable-types.h:26:1: warning: empty declaration struct bucket_table; ^ /kisskb/src/include/linux/rhashtable-types.h:33:1: warning: empty declaration 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: warning: empty declaration struct rhashtable_params { ^ /kisskb/src/include/linux/rhashtable-types.h:81:1: warning: empty declaration struct rhashtable { ^ /kisskb/src/include/linux/rhashtable-types.h:97:1: warning: empty declaration struct rhltable { ^ /kisskb/src/include/linux/rhashtable-types.h:106:1: warning: empty declaration struct rhashtable_walker { ^ /kisskb/src/include/linux/rhashtable-types.h:120:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/ipc.h:10:1: warning: empty declaration struct ipc_perm ^ In file included from ./arch/arm64/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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/ipcbuf.h:22:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/ipc.h:58:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sem.h:25:1: warning: empty declaration struct semid_ds { ^ In file included from ./arch/arm64/include/generated/uapi/asm/sembuf.h:1:0, from /kisskb/src/include/uapi/linux/sem.h:37, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/sched.h:15, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/sembuf.h:29:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sem.h:40:1: warning: empty declaration struct sembuf { ^ /kisskb/src/include/uapi/linux/sem.h:47:1: warning: empty declaration union semun { ^ /kisskb/src/include/uapi/linux/sem.h:55:1: warning: empty declaration struct seminfo { ^ In file included from /kisskb/src/include/linux/sched.h:15:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sem.h:7:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/sem.h:8:1: warning: empty declaration struct sem_undo_list; ^ /kisskb/src/include/linux/sem.h:12:1: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/shm.h:28:1: warning: empty declaration struct shmid_ds { ^ In file included from ./arch/arm64/include/generated/uapi/asm/shmbuf.h:1: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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/shmbuf.h:27:1: warning: empty declaration struct shmid64_ds { ^ /kisskb/src/include/uapi/asm-generic/shmbuf.h:49:1: warning: empty declaration struct shminfo64 { ^ In file included from /kisskb/src/include/linux/shm.h:7:0, from /kisskb/src/include/linux/sched.h:16, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/shm.h:93:1: warning: empty declaration struct shminfo { ^ /kisskb/src/include/uapi/linux/shm.h:101:1: warning: empty declaration struct shm_info { ^ In file included from /kisskb/src/include/linux/sched.h:16:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/shm.h:10:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/shm.h:13:1: warning: empty declaration struct sysv_shm { ^ In file included from /kisskb/src/include/linux/sched.h:17:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kmsan_types.h:16:1: warning: empty declaration struct kmsan_context_state { ^ /kisskb/src/include/linux/kmsan_types.h:29:1: warning: empty declaration struct kmsan_ctx { ^ In file included from /kisskb/src/include/linux/sched.h:19:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/plist.h:82:1: warning: empty declaration struct plist_head { ^ /kisskb/src/include/linux/plist.h:86:1: warning: empty declaration struct plist_node { ^ /kisskb/src/include/linux/plist.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:136:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:142:13: error: storage class specified for parameter 'plist_add' extern void plist_add(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:143:13: error: storage class specified for parameter 'plist_del' extern void plist_del(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:145:13: error: storage class specified for parameter 'plist_requeue' extern void plist_requeue(struct plist_node *node, struct plist_head *head); ^ /kisskb/src/include/linux/plist.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/plist.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/hrtimer.h:22:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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: warning: empty declaration struct timerqueue_node { ^ /kisskb/src/include/linux/timerqueue.h:14:1: warning: empty declaration struct timerqueue_head { ^ /kisskb/src/include/linux/timerqueue.h:19:13: error: storage class specified for parameter 'timerqueue_add' extern bool timerqueue_add(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:21:13: error: storage class specified for parameter 'timerqueue_del' extern bool timerqueue_del(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:23:32: error: storage class specified for parameter 'timerqueue_iterate_next' extern struct timerqueue_node *timerqueue_iterate_next( ^ /kisskb/src/include/linux/timerqueue.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/hrtimer.h:24:1: warning: empty declaration struct hrtimer_clock_base; ^ /kisskb/src/include/linux/hrtimer.h:25:1: warning: empty declaration struct hrtimer_cpu_base; ^ /kisskb/src/include/linux/hrtimer.h:39:1: warning: empty declaration enum hrtimer_mode { ^ /kisskb/src/include/linux/hrtimer.h:65:1: warning: empty declaration 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: warning: empty declaration struct hrtimer { ^ /kisskb/src/include/linux/hrtimer.h:136:1: warning: empty declaration struct hrtimer_sleeper { ^ /kisskb/src/include/linux/hrtimer.h:163:2: error: expected specifier-qualifier-list before 'seqcount_raw_spinlock_t' seqcount_raw_spinlock_t seq; ^ /kisskb/src/include/linux/hrtimer.h:159:1: warning: empty declaration struct hrtimer_clock_base { ^ /kisskb/src/include/linux/hrtimer.h:170:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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:389:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:400:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline 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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init hrtimers_init(void); ^ /kisskb/src/include/linux/hrtimer.h:530:13: error: storage class specified for parameter 'sysrq_timer_list_show' extern void sysrq_timer_list_show(void); ^ In file included from /kisskb/src/include/linux/seccomp.h:5:0, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/seccomp.h:62:1: warning: empty declaration struct seccomp_data { ^ /kisskb/src/include/uapi/linux/seccomp.h:69:1: warning: empty declaration struct seccomp_notif_sizes { ^ /kisskb/src/include/uapi/linux/seccomp.h:75:1: warning: empty declaration struct seccomp_notif { ^ /kisskb/src/include/uapi/linux/seccomp.h:111:1: warning: empty declaration struct seccomp_notif_resp { ^ /kisskb/src/include/uapi/linux/seccomp.h:130:1: warning: empty declaration struct seccomp_notif_addfd { ^ In file included from /kisskb/src/arch/arm64/include/asm/seccomp.h:20:0, from /kisskb/src/include/linux/seccomp.h:22, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/seccomp.h:24:1: warning: empty declaration struct seccomp_filter; ^ /kisskb/src/include/linux/seccomp.h:36:1: warning: empty declaration 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:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seccomp.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/resource.h:5:0, from /kisskb/src/include/linux/sched.h:26, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/resource.h:24:1: warning: empty declaration struct rusage { ^ /kisskb/src/include/uapi/linux/resource.h:43:1: warning: empty declaration struct rlimit { ^ /kisskb/src/include/uapi/linux/resource.h:50:1: warning: empty declaration struct rlimit64 { ^ In file included from /kisskb/src/include/linux/sched.h:26:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/resource.h:8:1: warning: empty declaration struct task_struct; ^ In file included from /kisskb/src/include/linux/sched.h:27:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/latencytop.h:14:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/latencytop.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/latencytop.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:28:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/types.h:17:1: warning: empty declaration struct task_cputime { ^ In file included from /kisskb/src/include/asm-generic/signal.h:5:0, from /kisskb/src/arch/arm64/include/uapi/asm/signal.h:26, from /kisskb/src/arch/arm64/include/asm/signal.h:6, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/signal.h:63:3: error: storage class specified for parameter 'sigset_t' } sigset_t; ^ /kisskb/src/include/uapi/asm-generic/signal.h:66:23: error: storage class specified for parameter 'old_sigset_t' typedef unsigned long old_sigset_t; ^ In file included from /kisskb/src/include/uapi/asm-generic/signal.h:68:0, from /kisskb/src/include/asm-generic/signal.h:5, from /kisskb/src/arch/arm64/include/uapi/asm/signal.h:26, from /kisskb/src/arch/arm64/include/asm/signal.h:6, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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:29: error: expected '=', ',', ';', 'asm' or '__attribute__' 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:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token typedef __restorefn_t __user *__sigrestore_t; ^ In file included from /kisskb/src/include/asm-generic/signal.h:5:0, from /kisskb/src/arch/arm64/include/uapi/asm/signal.h:26, from /kisskb/src/arch/arm64/include/asm/signal.h:6, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/signal.h:89:3: error: storage class specified for parameter 'stack_t' } stack_t; ^ In file included from ./arch/arm64/include/generated/uapi/asm/siginfo.h:1:0, from /kisskb/src/arch/arm64/include/asm/signal.h:7, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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: warning: empty declaration 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/uapi/linux/signal.h:5:0, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/signal.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:30:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct sigaction { ^ /kisskb/src/include/linux/signal_types.h:51:1: warning: empty declaration 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: warning: empty declaration struct ksignal { ^ In file included from /kisskb/src/include/linux/sched.h:31:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/syscall_user_dispatch.h:26:1: warning: empty declaration struct syscall_user_dispatch {}; ^ /kisskb/src/include/linux/syscall_user_dispatch.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/syscall_user_dispatch.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:33:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/task_io_accounting.h:12:1: warning: empty declaration struct task_io_accounting { ^ In file included from /kisskb/src/include/linux/posix-timers.h:7:0, from /kisskb/src/include/linux/sched.h:34, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/alarmtimer.h:9:1: warning: empty declaration struct rtc_device; ^ /kisskb/src/include/linux/alarmtimer.h:11:1: warning: empty declaration enum alarmtimer_type { ^ /kisskb/src/include/linux/alarmtimer.h:23:1: warning: empty declaration 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: warning: empty declaration 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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/posix-timers.h:10:1: warning: empty declaration struct kernel_siginfo; ^ /kisskb/src/include/linux/posix-timers.h:11:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct posix_cputimer_base { ^ /kisskb/src/include/linux/posix-timers.h:129:1: warning: empty declaration struct posix_cputimers { ^ /kisskb/src/include/linux/posix-timers.h:140:1: warning: empty declaration 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: warning: empty declaration struct k_itimer { ^ In file included from /kisskb/src/include/linux/sched.h:35:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/rseq.h:16:1: warning: empty declaration enum rseq_cpu_id_state { ^ /kisskb/src/include/uapi/linux/rseq.h:21:1: warning: empty declaration enum rseq_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:25:1: warning: empty declaration enum rseq_cs_flags_bit { ^ /kisskb/src/include/uapi/linux/rseq.h:31:1: warning: empty declaration enum rseq_cs_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:45:1: warning: empty declaration struct rseq_cs { ^ /kisskb/src/include/uapi/linux/rseq.h:62:1: warning: empty declaration struct rseq { ^ In file included from /kisskb/src/include/linux/sched.h:37:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/mm.h:7:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched.h:42:1: warning: empty declaration struct audit_context; ^ /kisskb/src/include/linux/sched.h:43:1: warning: empty declaration struct backing_dev_info; ^ /kisskb/src/include/linux/sched.h:44:1: warning: empty declaration struct bio_list; ^ /kisskb/src/include/linux/sched.h:45:1: warning: empty declaration struct blk_plug; ^ /kisskb/src/include/linux/sched.h:46:1: warning: empty declaration struct bpf_local_storage; ^ /kisskb/src/include/linux/sched.h:47:1: warning: empty declaration struct bpf_run_ctx; ^ /kisskb/src/include/linux/sched.h:48:1: warning: empty declaration struct capture_control; ^ /kisskb/src/include/linux/sched.h:49:1: warning: empty declaration struct cfs_rq; ^ /kisskb/src/include/linux/sched.h:50:1: warning: empty declaration struct fs_struct; ^ /kisskb/src/include/linux/sched.h:51:1: warning: empty declaration struct futex_pi_state; ^ /kisskb/src/include/linux/sched.h:52:1: warning: empty declaration struct io_context; ^ /kisskb/src/include/linux/sched.h:53:1: warning: empty declaration struct io_uring_task; ^ /kisskb/src/include/linux/sched.h:54:1: warning: empty declaration struct mempolicy; ^ /kisskb/src/include/linux/sched.h:55:1: warning: empty declaration struct nameidata; ^ /kisskb/src/include/linux/sched.h:56:1: warning: empty declaration struct nsproxy; ^ /kisskb/src/include/linux/sched.h:57:1: warning: empty declaration struct perf_event_context; ^ /kisskb/src/include/linux/sched.h:58:1: warning: empty declaration struct pid_namespace; ^ /kisskb/src/include/linux/sched.h:59:1: warning: empty declaration struct pipe_inode_info; ^ /kisskb/src/include/linux/sched.h:60:1: warning: empty declaration struct rcu_node; ^ /kisskb/src/include/linux/sched.h:61:1: warning: empty declaration struct reclaim_state; ^ /kisskb/src/include/linux/sched.h:62:1: warning: empty declaration struct robust_list_head; ^ /kisskb/src/include/linux/sched.h:63:1: warning: empty declaration struct root_domain; ^ /kisskb/src/include/linux/sched.h:64:1: warning: empty declaration struct rq; ^ /kisskb/src/include/linux/sched.h:65:1: warning: empty declaration struct sched_attr; ^ /kisskb/src/include/linux/sched.h:66:1: warning: empty declaration struct sched_param; ^ /kisskb/src/include/linux/sched.h:67:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/sched.h:68:1: warning: empty declaration struct sighand_struct; ^ /kisskb/src/include/linux/sched.h:69:1: warning: empty declaration struct signal_struct; ^ /kisskb/src/include/linux/sched.h:70:1: warning: empty declaration struct task_delay_info; ^ /kisskb/src/include/linux/sched.h:71:1: warning: empty declaration struct task_group; ^ /kisskb/src/include/linux/sched.h:290:1: warning: empty declaration 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: warning: empty declaration struct prev_cputime { ^ /kisskb/src/include/linux/sched.h:332:1: warning: empty declaration enum vtime_state { ^ /kisskb/src/include/linux/sched.h:346:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; ^ /kisskb/src/include/linux/sched.h:345:1: warning: empty declaration struct vtime { ^ /kisskb/src/include/linux/sched.h:361:1: warning: empty declaration 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: warning: empty declaration struct sched_info { ^ /kisskb/src/include/linux/sched.h:407:1: warning: empty declaration struct load_weight { ^ /kisskb/src/include/linux/sched.h:441:1: warning: empty declaration struct util_est { ^ /kisskb/src/include/linux/sched.h:493:1: warning: empty declaration struct sched_avg { ^ /kisskb/src/include/linux/sched.h:505:1: warning: empty declaration struct sched_statistics { ^ /kisskb/src/include/linux/sched.h:547:1: warning: empty declaration struct sched_entity { ^ /kisskb/src/include/linux/sched.h:583:1: warning: empty declaration struct sched_rt_entity { ^ /kisskb/src/include/linux/sched.h:601:1: warning: empty declaration struct sched_dl_entity { ^ /kisskb/src/include/linux/sched.h:709:1: warning: empty declaration union rcu_special { ^ /kisskb/src/include/linux/sched.h:719:1: warning: empty declaration enum perf_event_task_context { ^ /kisskb/src/include/linux/sched.h:726:1: warning: empty declaration struct wake_q_node { ^ /kisskb/src/include/linux/sched.h:730:1: warning: empty declaration struct kmap_ctrl { ^ /kisskb/src/include/linux/sched.h:759:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t usage; ^ /kisskb/src/include/linux/sched.h:737:1: warning: empty declaration 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: warning: empty declaration 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:2104:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int _cond_resched(void) { return 0; } ^ /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:2169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2177:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration enum rseq_event_mask_bits { ^ /kisskb/src/include/linux/sched.h:2314:1: warning: empty declaration 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:2417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2428:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void sched_core_free(struct task_struct *tsk) { } ^ /kisskb/src/include/linux/sched.h:2429:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void sched_core_fork(struct task_struct *p) { } ^ /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/sched/mm.h:10:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sync_core.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched/mm.h:11:0, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration struct ioasid_allocator_ops { ^ /kisskb/src/include/linux/ioasid.h:49:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ioasid_alloc' static inline ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ^ /kisskb/src/include/linux/ioasid.h:55:32: error: expected declaration specifiers or '...' before 'ioasid_t' static inline void ioasid_free(ioasid_t ioasid) { } ^ /kisskb/src/include/linux/ioasid.h:57:57: error: expected declaration specifiers or '...' before 'ioasid_t' static inline void *ioasid_find(struct ioasid_set *set, ioasid_t ioasid, ^ /kisskb/src/include/linux/ioasid.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioasid.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ioasid.h:72:35: error: expected declaration specifiers or '...' before 'ioasid_t' static inline int ioasid_set_data(ioasid_t ioasid, void *data) ^ /kisskb/src/include/linux/ioasid.h:77:32: error: expected declaration specifiers or '...' before 'ioasid_t' static inline bool pasid_valid(ioasid_t ioasid) ^ In file included from /kisskb/src/include/linux/xarray.h:19:0, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:229:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __fs_reclaim_acquire(unsigned long ip) { } ^ /kisskb/src/include/linux/sched/mm.h:230:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __fs_reclaim_release(unsigned long ip) { } ^ /kisskb/src/include/linux/sched/mm.h:231:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } ^ /kisskb/src/include/linux/sched/mm.h:232:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline 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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration enum { ^ /kisskb/src/include/linux/sched/mm.h:412:1: warning: empty declaration 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:474:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_init(struct mm_struct *mm) {} ^ /kisskb/src/include/linux/sched/mm.h:475:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) {} ^ /kisskb/src/include/linux/sched/mm.h:476:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void mm_pasid_drop(struct mm_struct *mm) {} ^ In file included from /kisskb/src/include/linux/radix-tree.h:21:0, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration enum xa_lock_type { ^ /kisskb/src/include/linux/xarray.h:296:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct xa_state { ^ /kisskb/src/include/linux/xarray.h:1408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1433:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1461:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1473:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1488:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1519:44: error: expected declaration specifiers or '...' before 'xa_mark_t' bool xas_get_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1520:44: error: expected declaration specifiers or '...' before 'xa_mark_t' void xas_set_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1521:46: error: expected declaration specifiers or '...' before 'xa_mark_t' void xas_clear_mark(const struct xa_state *, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1522:61: error: expected declaration specifiers or '...' before 'xa_mark_t' void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t); ^ /kisskb/src/include/linux/xarray.h:1568:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/xarray.h:1648:57: error: expected declaration specifiers or '...' before 'xa_update_node_t' static inline void xas_set_update(struct xa_state *xas, xa_update_node_t update) ^ /kisskb/src/include/linux/xarray.h:1653:61: warning: 'struct list_lru' declared inside parameter list static inline void xas_set_lru(struct xa_state *xas, struct list_lru *lru) ^ /kisskb/src/include/linux/xarray.h:1653:61: warning: its scope is only this definition or declaration, which is probably not what you want /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: warning: empty declaration 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/idr.h:15:0, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct radix_tree_preload { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/idr.h:15:0, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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/kernfs.h:12:0, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/idr.h:19:1: warning: empty declaration 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: warning: empty declaration struct ida_bitmap { ^ /kisskb/src/include/linux/idr.h:244:1: warning: empty declaration 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/sysfs.h:16:0, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kernfs.h:23:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/kernfs.h:24:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/kernfs.h:25:1: warning: empty declaration struct iattr; ^ /kisskb/src/include/linux/kernfs.h:26:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/kernfs.h:27:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/include/linux/kernfs.h:28:1: warning: empty declaration struct vm_operations_struct; ^ /kisskb/src/include/linux/kernfs.h:29:1: warning: empty declaration struct super_block; ^ /kisskb/src/include/linux/kernfs.h:30:1: warning: empty declaration struct file_system_type; ^ /kisskb/src/include/linux/kernfs.h:31:1: warning: empty declaration struct poll_table_struct; ^ /kisskb/src/include/linux/kernfs.h:32:1: warning: empty declaration struct fs_context; ^ /kisskb/src/include/linux/kernfs.h:34:1: warning: empty declaration struct kernfs_fs_context; ^ /kisskb/src/include/linux/kernfs.h:35:1: warning: empty declaration struct kernfs_open_node; ^ /kisskb/src/include/linux/kernfs.h:36:1: warning: empty declaration struct kernfs_iattrs; ^ /kisskb/src/include/linux/kernfs.h:90:1: warning: empty declaration struct kernfs_global_locks { ^ /kisskb/src/include/linux/kernfs.h:94:1: warning: empty declaration enum kernfs_node_type { ^ /kisskb/src/include/linux/kernfs.h:105:1: warning: empty declaration enum kernfs_node_flag { ^ /kisskb/src/include/linux/kernfs.h:120:1: warning: empty declaration enum kernfs_root_flag { ^ /kisskb/src/include/linux/kernfs.h:153:1: warning: empty declaration struct kernfs_elem_dir { ^ /kisskb/src/include/linux/kernfs.h:170:1: warning: empty declaration struct kernfs_elem_symlink { ^ /kisskb/src/include/linux/kernfs.h:174:1: warning: empty declaration struct kernfs_elem_attr { ^ /kisskb/src/include/linux/kernfs.h:190:1: warning: empty declaration struct kernfs_node { ^ /kisskb/src/include/linux/kernfs.h:235:1: warning: empty declaration struct kernfs_syscall_ops { ^ /kisskb/src/include/linux/kernfs.h:249:1: warning: empty declaration struct kernfs_open_file { ^ /kisskb/src/include/linux/kernfs.h:269:1: warning: empty declaration struct kernfs_ops { ^ /kisskb/src/include/linux/kernfs.h:324:1: warning: empty declaration 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/sysfs.h:21:0, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kobject_ns.h:19:1: warning: empty declaration struct sock; ^ /kisskb/src/include/linux/kobject_ns.h:20:1: warning: empty declaration struct kobject; ^ /kisskb/src/include/linux/kobject_ns.h:26:1: warning: empty declaration enum kobj_ns_type { ^ /kisskb/src/include/linux/kobject_ns.h:39:1: warning: empty declaration struct kobj_ns_type_operations { ^ In file included from ./arch/arm64/include/generated/uapi/asm/stat.h:1:0, from /kisskb/src/arch/arm64/include/asm/stat.h:8, from /kisskb/src/include/linux/stat.h:6, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/stat.h:24:1: warning: empty declaration struct stat { ^ In file included from /kisskb/src/arch/arm64/include/asm/stat.h:13:0, from /kisskb/src/include/linux/stat.h:6, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/compat.h:8:23: error: storage class specified for parameter 'compat_mode_t' #define compat_mode_t compat_mode_t ^ /kisskb/src/arch/arm64/include/asm/compat.h:9:14: note: in expansion of macro 'compat_mode_t' typedef u16 compat_mode_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:11:24: error: storage class specified for parameter '__compat_uid_t' #define __compat_uid_t __compat_uid_t ^ /kisskb/src/arch/arm64/include/asm/compat.h:12:14: note: in expansion of macro '__compat_uid_t' typedef u16 __compat_uid_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:13:14: error: storage class specified for parameter '__compat_gid_t' typedef u16 __compat_gid_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:15:26: error: storage class specified for parameter 'compat_ipc_pid_t' #define compat_ipc_pid_t compat_ipc_pid_t ^ /kisskb/src/arch/arm64/include/asm/compat.h:16:14: note: in expansion of macro 'compat_ipc_pid_t' typedef u16 compat_ipc_pid_t; ^ In file included from /kisskb/src/arch/arm64/include/asm/compat.h:20:0, from /kisskb/src/arch/arm64/include/asm/stat.h:13, from /kisskb/src/include/linux/stat.h:6, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:64:13: error: storage class specified for parameter 'compat_s64' typedef s64 compat_s64; ^ /kisskb/src/include/asm-generic/compat.h:65:13: error: storage class specified for parameter 'compat_u64' typedef u64 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:75:13: error: storage class specified for parameter 'compat_dev_t' typedef u32 compat_dev_t; ^ /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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct compat_shmid64_ds { ^ In file included from /kisskb/src/arch/arm64/include/asm/compat.h:29:0, from /kisskb/src/arch/arm64/include/asm/stat.h:13, from /kisskb/src/include/linux/stat.h:6, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: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/arm64/include/asm/stat.h:13:0, from /kisskb/src/include/linux/stat.h:6, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/compat.h:37:14: error: storage class specified for parameter '__compat_uid16_t' typedef u16 __compat_uid16_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:38:14: error: storage class specified for parameter '__compat_gid16_t' typedef u16 __compat_gid16_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:39:14: error: storage class specified for parameter 'compat_nlink_t' typedef s32 compat_nlink_t; ^ /kisskb/src/arch/arm64/include/asm/compat.h:46:2: error: expected specifier-qualifier-list before 'compat_dev_t' compat_dev_t st_dev; ^ /kisskb/src/arch/arm64/include/asm/compat.h:41:1: warning: empty declaration struct compat_stat { ^ /kisskb/src/arch/arm64/include/asm/compat.h:79:2: error: expected specifier-qualifier-list before 'compat_fsid_t' compat_fsid_t f_fsid; ^ /kisskb/src/arch/arm64/include/asm/compat.h:71:1: warning: empty declaration struct compat_statfs { ^ /kisskb/src/arch/arm64/include/asm/compat.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/compat.h:99: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/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/stat.h:20:2: error: expected specifier-qualifier-list before 'compat_u64' compat_u64 st_dev; ^ /kisskb/src/arch/arm64/include/asm/stat.h:19:1: warning: empty declaration struct stat64 { ^ In file included from /kisskb/src/include/linux/stat.h:7:0, from /kisskb/src/include/linux/sysfs.h:22, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/stat.h:56:1: warning: empty declaration struct statx_timestamp { ^ /kisskb/src/include/uapi/linux/stat.h:99:1: warning: empty declaration struct statx { ^ In file included from /kisskb/src/include/linux/sysfs.h:22:0, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct kstat { ^ In file included from /kisskb/src/include/linux/kobject.h:20:0, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sysfs.h:25:1: warning: empty declaration struct kobject; ^ /kisskb/src/include/linux/sysfs.h:26:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/sysfs.h:27:1: warning: empty declaration struct bin_attribute; ^ /kisskb/src/include/linux/sysfs.h:28:1: warning: empty declaration enum kobj_ns_type; ^ /kisskb/src/include/linux/sysfs.h:30:1: warning: empty declaration struct attribute { ^ /kisskb/src/include/linux/sysfs.h:84:1: warning: empty declaration struct attribute_group { ^ /kisskb/src/include/linux/sysfs.h:171:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/sysfs.h:172:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/include/linux/sysfs.h:173:1: warning: empty declaration struct address_space; ^ /kisskb/src/include/linux/sysfs.h:175:1: warning: empty declaration struct bin_attribute { ^ /kisskb/src/include/linux/sysfs.h:254:1: warning: empty declaration 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/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/of.h:17:0, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration enum kobject_action { ^ /kisskb/src/include/linux/kobject.h:64:1: warning: empty declaration 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: warning: no semicolon at end of struct or union }; ^ /kisskb/src/include/linux/kobject.h:120:1: warning: empty declaration struct kobj_type { ^ /kisskb/src/include/linux/kobject.h:129:1: warning: empty declaration struct kobj_uevent_env { ^ /kisskb/src/include/linux/kobject.h:137:1: warning: empty declaration struct kset_uevent_ops { ^ /kisskb/src/include/linux/kobject.h:143:1: warning: empty declaration 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: warning: empty declaration struct sock; ^ /kisskb/src/include/linux/kobject.h:172:1: warning: empty declaration 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/uuid.h:11:0, from /kisskb/src/include/linux/mod_devicetable.h:13, from /kisskb/src/include/linux/of.h:18, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/mod_devicetable.h:13:0, from /kisskb/src/include/linux/of.h:18, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/of.h:18:0, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct pnp_card_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:242:1: warning: empty declaration struct serio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:249:1: warning: empty declaration 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: warning: empty declaration struct sdw_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:268:1: warning: empty declaration struct of_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:276:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct eisa_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:383:1: warning: empty declaration 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: warning: empty declaration struct sdio_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:407:1: warning: empty declaration struct ssb_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:421:1: warning: empty declaration struct bcma_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:435:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct pci_epf_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:486:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct spmi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:539:1: warning: empty declaration enum dmi_field { ^ /kisskb/src/include/linux/mod_devicetable.h:567:1: warning: empty declaration struct dmi_strmatch { ^ /kisskb/src/include/linux/mod_devicetable.h:573:1: warning: empty declaration 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: warning: empty declaration struct platform_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:620:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct isapnp_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:649:1: warning: empty declaration struct amba_id { ^ /kisskb/src/include/linux/mod_devicetable.h:659:1: warning: empty declaration 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: warning: empty declaration struct x86_cpu_id { ^ /kisskb/src/include/linux/mod_devicetable.h:694:1: warning: empty declaration struct cpu_feature { ^ /kisskb/src/include/linux/mod_devicetable.h:700:1: warning: empty declaration 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: warning: empty declaration struct mei_cl_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:740:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct ulpi_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:764:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct tee_client_device_id { ^ /kisskb/src/include/linux/mod_devicetable.h:830:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/fwnode.h:17:1: warning: empty declaration struct fwnode_operations; ^ /kisskb/src/include/linux/fwnode.h:18:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/fwnode.h:40:1: warning: empty declaration struct fwnode_handle { ^ /kisskb/src/include/linux/fwnode.h:49:1: warning: empty declaration struct fwnode_link { ^ /kisskb/src/include/linux/fwnode.h:62:1: warning: empty declaration struct fwnode_endpoint { ^ /kisskb/src/include/linux/fwnode.h:83:1: warning: empty declaration struct fwnode_reference_args { ^ /kisskb/src/include/linux/fwnode.h:114:1: warning: empty declaration 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/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/property.h:17:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/property.h:18:1: warning: empty declaration struct net_device; ^ /kisskb/src/include/linux/property.h:20:1: warning: empty declaration enum dev_prop_type { ^ /kisskb/src/include/linux/property.h:29:1: warning: empty declaration 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: warning: empty declaration struct software_node; ^ /kisskb/src/include/linux/property.h:257:1: warning: empty declaration struct software_node_ref_args { ^ /kisskb/src/include/linux/property.h:279:1: warning: empty declaration 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: warning: empty declaration struct software_node { ^ In file included from /kisskb/src/include/linux/irqdomain.h:35:0, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration struct device_node { ^ /kisskb/src/include/linux/of.h:74:1: warning: empty declaration 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: warning: empty declaration struct of_phandle_iterator { ^ /kisskb/src/include/linux/of.h:97:1: warning: empty declaration 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: warning: empty declaration 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:873:12: error: storage class specified for parameter 'of_numa_init' extern int of_numa_init(void); ^ /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: warning: empty declaration struct of_changeset_entry { ^ /kisskb/src/include/linux/of.h:1454:1: warning: empty declaration struct of_changeset { ^ /kisskb/src/include/linux/of.h:1458:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct of_overlay_notify_data { ^ In file included from /kisskb/src/include/linux/acpi.h:13:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irqdomain.h:39:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/irqdomain.h:40:1: warning: empty declaration struct fwnode_handle; ^ /kisskb/src/include/linux/irqdomain.h:41:1: warning: empty declaration struct irq_domain; ^ /kisskb/src/include/linux/irqdomain.h:42:1: warning: empty declaration struct irq_chip; ^ /kisskb/src/include/linux/irqdomain.h:43:1: warning: empty declaration struct irq_data; ^ /kisskb/src/include/linux/irqdomain.h:44:1: warning: empty declaration struct irq_desc; ^ /kisskb/src/include/linux/irqdomain.h:45:1: warning: empty declaration struct cpumask; ^ /kisskb/src/include/linux/irqdomain.h:46:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/irqdomain.h:47:1: warning: empty declaration struct irq_affinity_desc; ^ /kisskb/src/include/linux/irqdomain.h:61:1: warning: empty declaration struct irq_fwspec { ^ /kisskb/src/include/linux/irqdomain.h:78:1: warning: empty declaration enum irq_domain_bus_token { ^ /kisskb/src/include/linux/irqdomain.h:107:1: warning: empty declaration 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: warning: empty declaration struct irq_domain_chip_generic; ^ /kisskb/src/include/linux/irqdomain.h:164:1: warning: empty declaration struct irq_domain { ^ /kisskb/src/include/linux/irqdomain.h:190:1: warning: empty declaration 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: warning: empty declaration 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:481:13: error: storage class specified for parameter 'irq_domain_set_info' extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, ^ /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/include/linux/slab.h:16:0, from /kisskb/src/include/linux/resource_ext.h:11, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/resource_ext.h:11, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/percpu-refcount.h:59:1: warning: empty declaration 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: warning: empty declaration enum { ^ /kisskb/src/include/linux/percpu-refcount.h:72:1: warning: empty declaration 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: warning: empty declaration struct percpu_ref_data { ^ /kisskb/src/include/linux/percpu-refcount.h:105:1: warning: empty declaration 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/slab.h:148:0, from /kisskb/src/include/linux/resource_ext.h:11, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kasan.h:11:1: warning: empty declaration struct kmem_cache; ^ /kisskb/src/include/linux/kasan.h:12:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/kasan.h:13:1: warning: empty declaration struct slab; ^ /kisskb/src/include/linux/kasan.h:14:1: warning: empty declaration struct vm_struct; ^ /kisskb/src/include/linux/kasan.h:15:1: warning: empty declaration 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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/slab.h:150:1: warning: empty declaration struct list_lru; ^ /kisskb/src/include/linux/slab.h:151:1: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] void __init kmem_cache_init(void); ^ 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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/slab.h:248:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/slab.h:332:1: warning: empty declaration 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/bits.h:22:0, from /kisskb/src/include/linux/ioport.h:13, from /kisskb/src/include/linux/acpi.h:12, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/slab.h:444:31: warning: '__malloc__' attribute ignored [-Wattributes] void *kmem_cache_alloc(struct kmem_cache *s, gfp_t flags) __assume_slab_alignment __malloc; ^ /kisskb/src/include/linux/slab.h:446:7: warning: '__malloc__' attribute ignored [-Wattributes] 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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/slab.h:471:11: warning: '__malloc__' attribute ignored [-Wattributes] __malloc; ^ In file included from :0:0: /kisskb/src/include/linux/slab.h:482:37: error: expected declaration specifiers or '...' before numeric constant static __always_inline __alloc_size(3) ^ /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:491:37: error: expected declaration specifiers or '...' before numeric constant static __always_inline __alloc_size(4) ^ /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 ',' 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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/resource_ext.h:11:0, from /kisskb/src/include/linux/acpi.h:14, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__cold__' attribute ignored [-Wattributes] void __init kmem_cache_init_late(void); ^ In file included from /kisskb/src/include/linux/acpi.h:14:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/resource_ext.h:15:18: error: field 'res' has incomplete type struct resource res; /* In master (CPU) address space */ ^ /kisskb/src/include/linux/resource_ext.h:14:1: warning: empty declaration struct resource_win { ^ /kisskb/src/include/linux/resource_ext.h:27:19: error: field '__res' has incomplete type struct resource __res; /* Default storage for res */ ^ /kisskb/src/include/linux/resource_ext.h:23:1: warning: empty declaration struct resource_entry { ^ /kisskb/src/include/linux/resource_ext.h:31:1: error: storage class specified for parameter 'resource_list_create_entry' resource_list_create_entry(struct resource *res, size_t extra_size); ^ /kisskb/src/include/linux/resource_ext.h:32:13: error: storage class specified for parameter 'resource_list_free' extern void resource_list_free(struct list_head *head); ^ /kisskb/src/include/linux/resource_ext.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/resource_ext.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/resource_ext.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/resource_ext.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/resource_ext.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/resource_ext.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/dev_printk.h:16:0, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/device.h:15:0, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/dev_printk.h:22:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/dev_printk.h:27:1: warning: empty declaration 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/energy_model.h:9:0, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/cpufreq.h:14:1: warning: empty declaration struct cpufreq_policy; ^ /kisskb/src/include/linux/sched/cpufreq.h:16:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/idle.h:7:1: warning: empty declaration 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:63:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __current_set_polling(void) { } ^ /kisskb/src/include/linux/sched/idle.h:64:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __current_clr_polling(void) { } ^ /kisskb/src/include/linux/sched/idle.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/idle.h:71: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/topology.h:16:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/topology.h:23:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/topology.h:40: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: warning: empty declaration 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: warning: empty declaration struct sched_group; ^ /kisskb/src/include/linux/sched/topology.h:80:1: warning: empty declaration struct sched_domain_shared { ^ /kisskb/src/include/linux/sched/topology.h:87:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/energy_model.h:22:1: warning: empty declaration struct em_perf_state { ^ /kisskb/src/include/linux/energy_model.h:55:1: warning: empty declaration struct em_perf_domain { ^ /kisskb/src/include/linux/energy_model.h:122:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/klist.h:17:1: warning: empty declaration struct klist_node; ^ /kisskb/src/include/linux/klist.h:18:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration struct dev_pm_ops { ^ /kisskb/src/include/linux/pm.h:560:1: warning: empty declaration enum rpm_status { ^ /kisskb/src/include/linux/pm.h:583:1: warning: empty declaration enum rpm_request { ^ /kisskb/src/include/linux/pm.h:591:1: warning: empty declaration struct wakeup_source; ^ /kisskb/src/include/linux/pm.h:592:1: warning: empty declaration struct wake_irq; ^ /kisskb/src/include/linux/pm.h:593:1: warning: empty declaration struct pm_domain_data; ^ /kisskb/src/include/linux/pm.h:595:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration enum dpm_order { ^ In file included from /kisskb/src/include/linux/device.h:30:0, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/device/bus.h:21:1: warning: empty declaration struct device_driver; ^ /kisskb/src/include/linux/device/bus.h:22:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/device/class.h:22:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/device/class.h:23:1: warning: empty declaration 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: warning: empty declaration struct class { ^ /kisskb/src/include/linux/device/class.h:80:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/sysctl.h:30:0, from /kisskb/src/include/linux/umh.h:9, from /kisskb/src/include/linux/kmod.h:9, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/sysctl.h:35:1: warning: empty declaration struct __sysctl_args { ^ /kisskb/src/include/uapi/linux/sysctl.h:49:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:69:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:75:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:83:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:162:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:203:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:229:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:240:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:247:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:255:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:287:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:295:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:332:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:431:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:453:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:461:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:489:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:522:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:535:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:548:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:580:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:586:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:609:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:614:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:620:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:626:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:631:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:636:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:644:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:653:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:669:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:687:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:701:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:711:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:717:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:736:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:748:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:759:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:780:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:790:1: warning: empty declaration enum ^ /kisskb/src/include/uapi/linux/sysctl.h:816:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:831:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:842:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:852:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:857:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:863:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:869:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:880:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:885:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:890:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:900:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:905:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/sysctl.h:910:1: warning: empty declaration enum ^ In file included from /kisskb/src/include/linux/umh.h:9:0, from /kisskb/src/include/linux/kmod.h:9, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sysctl.h:33:1: warning: empty declaration struct completion; ^ /kisskb/src/include/linux/sysctl.h:34:1: warning: empty declaration struct ctl_table; ^ /kisskb/src/include/linux/sysctl.h:35:1: warning: empty declaration struct nsproxy; ^ /kisskb/src/include/linux/sysctl.h:36:1: warning: empty declaration struct ctl_table_root; ^ /kisskb/src/include/linux/sysctl.h:37:1: warning: empty declaration struct ctl_table_header; ^ /kisskb/src/include/linux/sysctl.h:38:1: warning: empty declaration 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:119:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t wait; ^ /kisskb/src/include/linux/sysctl.h:117:1: warning: empty declaration 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: warning: empty declaration struct ctl_table { ^ /kisskb/src/include/linux/sysctl.h:147:1: warning: empty declaration struct ctl_node { ^ /kisskb/src/include/linux/sysctl.h:154:1: warning: empty declaration struct ctl_table_header { ^ /kisskb/src/include/linux/sysctl.h:173:1: warning: empty declaration struct ctl_dir { ^ /kisskb/src/include/linux/sysctl.h:179:1: warning: empty declaration 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: warning: empty declaration struct ctl_table_root { ^ /kisskb/src/include/linux/sysctl.h:194:1: warning: empty declaration 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/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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/umh.h:11:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/umh.h:12:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/umh.h:20:1: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/include/asm/elf.h:138: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/fs.h:6:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/wait_bit.h:10:1: warning: empty declaration struct wait_bit_key { ^ /kisskb/src/include/linux/wait_bit.h:16:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init wait_bit_init(void); ^ /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:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/list_bl.h:34:1: warning: empty declaration struct hlist_bl_head { ^ /kisskb/src/include/linux/list_bl.h:38:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/lockref.h:25:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__pure__' attribute ignored [-Wattributes] 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: warning: '__pure__' attribute ignored [-Wattributes] 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/dcache.h:18:1: warning: empty declaration struct path; ^ /kisskb/src/include/linux/dcache.h:19:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/dcache.h:20:1: warning: empty declaration struct vfsmount; ^ /kisskb/src/include/linux/dcache.h:49:1: warning: empty declaration 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:85:2: error: expected specifier-qualifier-list before 'seqcount_spinlock_t' seqcount_spinlock_t d_seq; /* per dentry seqlock */ ^ /kisskb/src/include/linux/dcache.h:82:1: warning: empty declaration struct dentry { ^ /kisskb/src/include/linux/dcache.h:122:1: warning: empty declaration enum dentry_d_lock_class ^ /kisskb/src/include/linux/dcache.h:128:1: warning: empty declaration struct dentry_operations { ^ /kisskb/src/include/linux/dcache.h:216:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '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:234:6: error: expected declaration specifiers or '...' before 'wait_queue_head_t' wait_queue_head_t *); ^ /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: warning: empty declaration struct name_snapshot { ^ In file included from /kisskb/src/include/linux/fs.h:9:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/path.h:5:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/path.h:6:1: warning: empty declaration struct vfsmount; ^ /kisskb/src/include/linux/path.h:8:1: warning: empty declaration 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/list_lru.h:13:0, from /kisskb/src/include/linux/fs.h:13, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/shrinker.h:12:1: warning: empty declaration struct shrink_control { ^ /kisskb/src/include/linux/shrinker.h:60:1: warning: empty declaration 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:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/shrinker.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/shrinker.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/fs.h:13:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/list_lru.h:16:1: warning: empty declaration struct mem_cgroup; ^ /kisskb/src/include/linux/list_lru.h:19:1: warning: empty declaration enum lru_status { ^ /kisskb/src/include/linux/list_lru.h:29:1: warning: empty declaration struct list_lru_one { ^ /kisskb/src/include/linux/list_lru.h:35:1: warning: empty declaration struct list_lru_memcg { ^ /kisskb/src/include/linux/list_lru.h:41:1: warning: empty declaration struct list_lru_node { ^ /kisskb/src/include/linux/list_lru.h:49:1: warning: empty declaration 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/capability.h:16:0, from /kisskb/src/include/linux/fs.h:24, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct vfs_cap_data { ^ /kisskb/src/include/uapi/linux/capability.h:83:1: warning: empty declaration struct vfs_ns_cap_data { ^ In file included from /kisskb/src/include/linux/fs.h:24:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct cpu_vfs_cap_data { ^ /kisskb/src/include/linux/capability.h:40:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/capability.h:41:1: warning: empty declaration struct inode; ^ /kisskb/src/include/linux/capability.h:42:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/capability.h:43:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/capability.h:44:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/semaphore.h:15:1: warning: empty declaration struct semaphore { ^ /kisskb/src/include/linux/semaphore.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/semaphore.h:38:13: error: storage class specified for parameter 'down' extern void down(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:39:25: error: storage class specified for parameter 'down_interruptible' extern int __must_check down_interruptible(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:40:25: error: storage class specified for parameter 'down_killable' extern int __must_check down_killable(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:41:25: error: storage class specified for parameter 'down_trylock' extern int __must_check down_trylock(struct semaphore *sem); ^ /kisskb/src/include/linux/semaphore.h:42:25: error: storage class specified for parameter 'down_timeout' extern int __must_check down_timeout(struct semaphore *sem, long jiffies); ^ /kisskb/src/include/linux/semaphore.h:43:13: error: storage class specified for parameter 'up' extern void up(struct semaphore *sem); ^ In file included from /kisskb/src/arch/arm64/include/uapi/asm/fcntl.h:28: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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/fcntl.h:156:1: warning: empty declaration struct f_owner_ex { ^ /kisskb/src/include/uapi/asm-generic/fcntl.h:196:1: warning: empty declaration struct flock { ^ /kisskb/src/include/uapi/asm-generic/fcntl.h:210:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/openat2.h:19:1: warning: empty declaration struct open_how { ^ In file included from /kisskb/src/include/linux/fs.h:30:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/migrate_mode.h:15:1: warning: empty declaration enum migrate_mode { ^ /kisskb/src/include/linux/migrate_mode.h:22:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/signal.h:9:1: warning: empty declaration 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) ^ /kisskb/src/include/linux/signal.h:35:26: error: expected declaration specifiers or '...' before 'siginfo_t' int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from); ^ /kisskb/src/include/linux/signal.h:35:54: error: type defaults to 'int' in declaration of 'kernel_siginfo_t' [-Werror=implicit-int] int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from); ^ /kisskb/src/include/linux/signal.h:35:71: error: expected ';', ',' or ')' before '*' token int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from); ^ /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: warning: empty declaration 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: warning: empty declaration struct timespec; ^ /kisskb/src/include/linux/signal.h:277:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/linux/signal.h:278:1: warning: empty declaration 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 *); ^ /kisskb/src/include/linux/signal.h:457:21: error: expected declaration specifiers or '...' before 'stack_t' int __save_altstack(stack_t __user *, unsigned long); ^ /kisskb/src/include/linux/signal.h:470:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool sigaltstack_size_valid(size_t size) { return true; } ^ /kisskb/src/include/linux/signal.h:474:1: warning: empty declaration 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 *); ^ 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/jobctl.h:7:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/sched/jobctl.h:43:13: error: storage class specified for parameter 'task_set_jobctl_pending' extern bool task_set_jobctl_pending(struct task_struct *task, unsigned long mask); ^ /kisskb/src/include/linux/sched/jobctl.h:44:13: error: storage class specified for parameter 'task_clear_jobctl_trapping' extern void task_clear_jobctl_trapping(struct task_struct *task); ^ /kisskb/src/include/linux/sched/jobctl.h:45:13: error: storage class specified for parameter 'task_clear_jobctl_pending' extern void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask); ^ In file included from /kisskb/src/include/linux/uaccess.h:5: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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/fault-inject-usercopy.h:18:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool should_fail_usercopy(void) { return false; } ^ In file included from /kisskb/src/arch/arm64/include/asm/uaccess.h:24: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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/mte.h:28:23: error: expected declaration specifiers or '...' before 'swp_entry_t' bool mte_restore_tags(swp_entry_t entry, struct page *page); ^ /kisskb/src/arch/arm64/include/asm/mte.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:75:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:153:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/mte.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/uaccess.h:27: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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/extable.h:18:1: warning: empty declaration struct exception_table_entry ^ 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/uaccess.h:29:19: error: storage class specified for parameter '__access_ok' static inline int __access_ok(const void __user *ptr, unsigned long size); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:29:19: warning: parameter '__access_ok' declared 'inline' /kisskb/src/arch/arm64/include/asm/uaccess.h:29:1: warning: '__gnu_inline__' attribute ignored [-Wattributes] static inline int __access_ok(const void __user *ptr, unsigned long size); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:29:19: error: '__no_instrument_function__' attribute applies only to functions static inline int __access_ok(const void __user *ptr, unsigned long size); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/uaccess.h:53: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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/uaccess.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:163:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:186:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:196:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:410:35: error: storage class specified for parameter '__arch_copy_from_user' extern unsigned long __must_check __arch_copy_from_user(void *to, const void __user *from, unsigned long n); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:421:35: error: storage class specified for parameter '__arch_copy_to_user' extern unsigned long __must_check __arch_copy_to_user(void __user *to, const void *from, unsigned long n); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:435:35: error: storage class specified for parameter '__arch_clear_user' extern unsigned long __must_check __arch_clear_user(void __user *to, unsigned long n); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:447:13: error: storage class specified for parameter 'strncpy_from_user' extern long strncpy_from_user(char *dest, const char __user *src, long count); ^ /kisskb/src/arch/arm64/include/asm/uaccess.h:449: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/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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:192:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:214:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:276:25: error: storage class specified for parameter 'check_zeroed_user' extern __must_check int check_zeroed_user(const void __user *from, size_t size); ^ /kisskb/src/include/linux/uaccess.h:328:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/uaccess.h:349:14: error: '__no_instrument_function__' attribute applies only to functions long notrace copy_to_kernel_nofault(void *dst, const void *src, size_t size); ^ /kisskb/src/include/linux/uaccess.h:352:14: error: '__no_instrument_function__' attribute applies only to functions long notrace copy_to_user_nofault(void __user *dst, const void *src, ^ /kisskb/src/include/linux/uaccess.h:401:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned long user_access_save(void) { return 0UL; } ^ /kisskb/src/include/linux/uaccess.h:402:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void user_access_restore(unsigned long flags) { } ^ 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/task.h:13:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/sched/task.h:14:1: warning: empty declaration struct rusage; ^ /kisskb/src/include/linux/sched/task.h:15:1: warning: empty declaration union thread_union; ^ /kisskb/src/include/linux/sched/task.h:16:1: warning: empty declaration struct css_set; ^ /kisskb/src/include/linux/sched/task.h:21:1: warning: empty declaration struct kernel_clone_args { ^ /kisskb/src/include/linux/sched/task.h:49:17: error: storage class specified for parameter 'tasklist_lock' extern rwlock_t tasklist_lock; ^ /kisskb/src/include/linux/sched/task.h:50:19: error: storage class specified for parameter 'mmlist_lock' extern spinlock_t mmlist_lock; ^ /kisskb/src/include/linux/sched/task.h:52:27: error: storage class specified for parameter 'init_thread_union' extern union thread_union init_thread_union; ^ /kisskb/src/include/linux/sched/task.h:53:27: error: storage class specified for parameter 'init_task' extern struct task_struct init_task; ^ /kisskb/src/include/linux/sched/task.h:55:12: error: storage class specified for parameter 'lockdep_tasklist_lock_is_held' extern int lockdep_tasklist_lock_is_held(void); ^ /kisskb/src/include/linux/sched/task.h:57:24: error: storage class specified for parameter 'schedule_tail' extern asmlinkage void schedule_tail(struct task_struct *prev); ^ /kisskb/src/include/linux/sched/task.h:58:13: error: storage class specified for parameter 'init_idle' extern void init_idle(struct task_struct *idle, int cpu); ^ /kisskb/src/include/linux/sched/task.h:60:12: error: storage class specified for parameter 'sched_fork' extern int sched_fork(unsigned long clone_flags, struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:61:13: error: storage class specified for parameter 'sched_cgroup_fork' extern void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); ^ /kisskb/src/include/linux/sched/task.h:62:13: error: storage class specified for parameter 'sched_post_fork' extern void sched_post_fork(struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:63:13: error: storage class specified for parameter 'sched_dead' extern void sched_dead(struct task_struct *p); ^ /kisskb/src/include/linux/sched/task.h:68:13: error: storage class specified for parameter 'proc_caches_init' extern void proc_caches_init(void); ^ /kisskb/src/include/linux/sched/task.h:70:13: error: storage class specified for parameter 'fork_init' extern void fork_init(void); ^ /kisskb/src/include/linux/sched/task.h:72:13: error: storage class specified for parameter 'release_task' extern void release_task(struct task_struct * p); ^ /kisskb/src/include/linux/sched/task.h:74:12: error: storage class specified for parameter 'copy_thread' extern int copy_thread(struct task_struct *, const struct kernel_clone_args *); ^ /kisskb/src/include/linux/sched/task.h:76:13: error: storage class specified for parameter 'flush_thread' extern void flush_thread(void); ^ /kisskb/src/include/linux/sched/task.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:85:24: error: storage class specified for parameter 'do_group_exit' extern __noreturn void do_group_exit(int); ^ /kisskb/src/include/linux/sched/task.h:87:13: error: storage class specified for parameter 'exit_files' extern void exit_files(struct task_struct *); ^ /kisskb/src/include/linux/sched/task.h:88:13: error: storage class specified for parameter 'exit_itimers' extern void exit_itimers(struct task_struct *); ^ /kisskb/src/include/linux/sched/task.h:90:14: error: storage class specified for parameter 'kernel_clone' extern pid_t kernel_clone(struct kernel_clone_args *kargs); ^ /kisskb/src/include/linux/sched/task.h:94:14: error: storage class specified for parameter 'kernel_thread' extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); ^ /kisskb/src/include/linux/sched/task.h:95:14: error: storage class specified for parameter 'user_mode_thread' extern pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags); ^ /kisskb/src/include/linux/sched/task.h:96:13: error: storage class specified for parameter 'kernel_wait4' extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); ^ /kisskb/src/include/linux/sched/task.h:99:13: error: storage class specified for parameter 'free_task' extern void free_task(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched/task.h:103:13: error: storage class specified for parameter 'sched_exec' extern void sched_exec(void); ^ /kisskb/src/include/linux/sched/task.h:109:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:114:13: error: storage class specified for parameter '__put_task_struct' extern void __put_task_struct(struct task_struct *t); ^ /kisskb/src/include/linux/sched/task.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/task.h: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/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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/assoc_array.h:22:1: warning: empty declaration struct assoc_array { ^ /kisskb/src/include/linux/assoc_array.h:30:1: warning: empty declaration struct assoc_array_ops { ^ /kisskb/src/include/linux/assoc_array.h:52:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct key; ^ /kisskb/src/include/linux/key.h:34:1: warning: empty declaration struct net; ^ /kisskb/src/include/linux/key.h:77:1: warning: empty declaration enum key_need_perm { ^ /kisskb/src/include/linux/key.h:91:1: warning: empty declaration enum key_lookup_flag { ^ /kisskb/src/include/linux/key.h:97:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/key.h:98:1: warning: empty declaration struct user_struct; ^ /kisskb/src/include/linux/key.h:99:1: warning: empty declaration struct signal_struct; ^ /kisskb/src/include/linux/key.h:100:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/key.h:102:1: warning: empty declaration struct key_type; ^ /kisskb/src/include/linux/key.h:103:1: warning: empty declaration struct key_owner; ^ /kisskb/src/include/linux/key.h:104:1: warning: empty declaration struct key_tag; ^ /kisskb/src/include/linux/key.h:105:1: warning: empty declaration struct keyring_list; ^ /kisskb/src/include/linux/key.h:106:1: warning: empty declaration struct keyring_name; ^ /kisskb/src/include/linux/key.h:110:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t usage; ^ /kisskb/src/include/linux/key.h:108:1: warning: empty declaration struct key_tag { ^ /kisskb/src/include/linux/key.h:114:1: warning: empty declaration struct keyring_index_key { ^ /kisskb/src/include/linux/key.h:134:1: warning: empty declaration 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: warning: empty declaration struct key_restriction { ^ /kisskb/src/include/linux/key.h:182:1: warning: empty declaration enum key_state { ^ /kisskb/src/include/linux/key.h:196:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t usage; /* number of references */ ^ /kisskb/src/include/linux/key.h:195:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/percpu_counter.h:23:1: warning: empty declaration 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/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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/user.h:15:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t __count; /* reference count */ ^ /kisskb/src/include/linux/sched/user.h:14:1: warning: empty declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/cred.h:19:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/cred.h:20:1: warning: empty declaration 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: warning: empty declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init cred_init(void); ^ /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:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cred.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/signal.h:22:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t count; ^ /kisskb/src/include/linux/sched/signal.h:20:1: warning: empty declaration struct sighand_struct { ^ /kisskb/src/include/linux/sched/signal.h:30:1: warning: empty declaration struct pacct_struct { ^ /kisskb/src/include/linux/sched/signal.h:38:1: warning: empty declaration struct cpu_itimer { ^ /kisskb/src/include/linux/sched/signal.h:47:1: warning: empty declaration struct task_cputime_atomic { ^ /kisskb/src/include/linux/sched/signal.h:66:1: warning: empty declaration 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: warning: empty declaration struct multiprocess_signals { ^ /kisskb/src/include/linux/sched/signal.h:75:1: warning: empty declaration struct core_thread { ^ /kisskb/src/include/linux/sched/signal.h:80:1: warning: empty declaration struct core_state { ^ /kisskb/src/include/linux/sched/signal.h:94:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t sigcnt; ^ /kisskb/src/include/linux/sched/signal.h:93:1: warning: empty declaration 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:489:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:494:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:499:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:507:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/signal.h:511: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:759:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcuwait.h:16:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rcu_sync.h:20:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t gp_wait; ^ /kisskb/src/include/linux/rcu_sync.h:17:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/percpu-rwsem.h:16:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t waiters; ^ /kisskb/src/include/linux/percpu-rwsem.h:12:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/delayed_call.h:10:1: warning: empty declaration 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/fs.h:37:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/sched/rt.h:7:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/iocontext.h:9:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/iocontext.h:73:1: warning: empty declaration struct io_cq { ^ /kisskb/src/include/linux/iocontext.h:99:1: warning: empty declaration struct io_context { ^ /kisskb/src/include/linux/iocontext.h:117:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/ioprio.h:27:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/ioprio.h:40:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/fs.h:38:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mount.h:16:1: warning: empty declaration struct super_block; ^ /kisskb/src/include/linux/mount.h:17:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/mount.h:18:1: warning: empty declaration struct user_namespace; ^ /kisskb/src/include/linux/mount.h:19:1: warning: empty declaration struct file_system_type; ^ /kisskb/src/include/linux/mount.h:20:1: warning: empty declaration struct fs_context; ^ /kisskb/src/include/linux/mount.h:21:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/mount.h:22:1: warning: empty declaration struct path; ^ /kisskb/src/include/linux/mount.h:69:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mnt_idmapping.h:8:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/bits.h:22:0, from /kisskb/src/include/linux/ioport.h:13, from /kisskb/src/include/linux/acpi.h:12, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/fs.h:54:1: warning: empty declaration struct file_clone_range { ^ /kisskb/src/include/uapi/linux/fs.h:61:1: warning: empty declaration struct fstrim_range { ^ /kisskb/src/include/uapi/linux/fs.h:72:1: warning: empty declaration struct file_dedupe_range_info { ^ /kisskb/src/include/uapi/linux/fs.h:87:1: warning: empty declaration struct file_dedupe_range { ^ /kisskb/src/include/uapi/linux/fs.h:97:1: warning: empty declaration struct files_stat_struct { ^ /kisskb/src/include/uapi/linux/fs.h:103:1: warning: empty declaration struct inodes_stat_t { ^ /kisskb/src/include/uapi/linux/fs.h:115:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/fs.h:50:1: warning: empty declaration struct backing_dev_info; ^ /kisskb/src/include/linux/fs.h:51:1: warning: empty declaration struct bdi_writeback; ^ /kisskb/src/include/linux/fs.h:52:1: warning: empty declaration struct bio; ^ /kisskb/src/include/linux/fs.h:53:1: warning: empty declaration struct io_comp_batch; ^ /kisskb/src/include/linux/fs.h:54:1: warning: empty declaration struct export_operations; ^ /kisskb/src/include/linux/fs.h:55:1: warning: empty declaration struct fiemap_extent_info; ^ /kisskb/src/include/linux/fs.h:56:1: warning: empty declaration struct hd_geometry; ^ /kisskb/src/include/linux/fs.h:57:1: warning: empty declaration struct iovec; ^ /kisskb/src/include/linux/fs.h:58:1: warning: empty declaration struct kiocb; ^ /kisskb/src/include/linux/fs.h:59:1: warning: empty declaration struct kobject; ^ /kisskb/src/include/linux/fs.h:60:1: warning: empty declaration struct pipe_inode_info; ^ /kisskb/src/include/linux/fs.h:61:1: warning: empty declaration struct poll_table_struct; ^ /kisskb/src/include/linux/fs.h:62:1: warning: empty declaration struct kstatfs; ^ /kisskb/src/include/linux/fs.h:63:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/include/linux/fs.h:64:1: warning: empty declaration struct vfsmount; ^ /kisskb/src/include/linux/fs.h:65:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/fs.h:66:1: warning: empty declaration struct swap_info_struct; ^ /kisskb/src/include/linux/fs.h:67:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/fs.h:68:1: warning: empty declaration struct workqueue_struct; ^ /kisskb/src/include/linux/fs.h:69:1: warning: empty declaration struct iov_iter; ^ /kisskb/src/include/linux/fs.h:70:1: warning: empty declaration struct fscrypt_info; ^ /kisskb/src/include/linux/fs.h:71:1: warning: empty declaration struct fscrypt_operations; ^ /kisskb/src/include/linux/fs.h:72:1: warning: empty declaration struct fsverity_info; ^ /kisskb/src/include/linux/fs.h:73:1: warning: empty declaration struct fsverity_operations; ^ /kisskb/src/include/linux/fs.h:74:1: warning: empty declaration struct fs_context; ^ /kisskb/src/include/linux/fs.h:75:1: warning: empty declaration struct fs_parameter_spec; ^ /kisskb/src/include/linux/fs.h:76:1: warning: empty declaration struct fileattr; ^ /kisskb/src/include/linux/fs.h:77:1: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init inode_init(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init inode_init_early(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init files_init(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init files_maxfiles_init(void); ^ /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: warning: empty declaration 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:225:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct fs_qfilestatv { ^ /kisskb/src/include/uapi/linux/dqblk_xfs.h:209:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/dqblk_qtree.h:18:1: warning: empty declaration struct dquot; ^ /kisskb/src/include/linux/dqblk_qtree.h:19:1: warning: empty declaration struct kqid; ^ /kisskb/src/include/linux/dqblk_qtree.h:22:1: warning: empty declaration struct qtree_fmt_operations { ^ /kisskb/src/include/linux/dqblk_qtree.h:29:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/projid.h:17:1: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/quota.h:90:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/quota.h:110:1: warning: empty declaration struct if_dqblk { ^ /kisskb/src/include/uapi/linux/quota.h:122:1: warning: empty declaration struct if_nextdqblk { ^ /kisskb/src/include/uapi/linux/quota.h:144:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/quota.h:156:1: warning: empty declaration struct if_dqinfo { ^ /kisskb/src/include/uapi/linux/quota.h:178:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/quota.h:185:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/fs.h:264:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/quota.h:54:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct mem_dqblk { ^ /kisskb/src/include/linux/quota.h:220:1: warning: empty declaration 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: warning: empty declaration struct mem_dqinfo { ^ /kisskb/src/include/linux/quota.h:235:1: warning: empty declaration struct super_block; ^ /kisskb/src/include/linux/quota.h:242:1: warning: empty declaration 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: warning: empty declaration enum { ^ /kisskb/src/include/linux/quota.h:265:1: warning: empty declaration 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: warning: empty declaration struct dquot { ^ /kisskb/src/include/linux/quota.h:310:1: warning: empty declaration 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: warning: empty declaration struct dquot_operations { ^ /kisskb/src/include/linux/quota.h:340:1: warning: empty declaration struct path; ^ /kisskb/src/include/linux/quota.h:343:1: warning: empty declaration struct qc_dqblk { ^ /kisskb/src/include/linux/quota.h:395:1: warning: empty declaration struct qc_type_state { ^ /kisskb/src/include/linux/quota.h:409:1: warning: empty declaration struct qc_state { ^ /kisskb/src/include/linux/quota.h:415:1: warning: empty declaration struct qc_info { ^ /kisskb/src/include/linux/quota.h:428:1: warning: empty declaration struct quotactl_ops { ^ /kisskb/src/include/linux/quota.h:443:1: warning: empty declaration struct quota_format_type { ^ /kisskb/src/include/linux/quota.h:464:1: warning: empty declaration 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:514:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/quota.h:519:1: warning: empty declaration struct quota_info { ^ /kisskb/src/include/linux/quota.h:530:1: warning: empty declaration struct quota_module_name { ^ In file included from /kisskb/src/arch/arm64/include/asm/elf.h:141: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/fs.h:298:1: warning: empty declaration enum positive_aop_returns { ^ /kisskb/src/include/linux/fs.h:306:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/fs.h:307:1: warning: empty declaration struct address_space; ^ /kisskb/src/include/linux/fs.h:308:1: warning: empty declaration struct writeback_control; ^ /kisskb/src/include/linux/fs.h:309:1: warning: empty declaration struct readahead_control; ^ /kisskb/src/include/linux/fs.h:315:1: warning: empty declaration enum rw_hint { ^ /kisskb/src/include/linux/fs.h:341:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct fown_struct { ^ /kisskb/src/include/linux/fs.h:922:1: warning: empty declaration 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: warning: empty declaration struct file { ^ /kisskb/src/include/linux/fs.h:981:1: warning: empty declaration 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: warning: empty declaration struct file_lock; ^ /kisskb/src/include/linux/fs.h:1033:1: warning: empty declaration 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: warning: empty declaration struct lock_manager_operations { ^ /kisskb/src/include/linux/fs.h:1052:1: warning: empty declaration struct lock_manager { ^ /kisskb/src/include/linux/fs.h:1061:1: warning: empty declaration struct net; ^ In file included from /kisskb/src/include/linux/fs.h:1068:0, from /kisskb/src/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/nfs_fs_i.h:5:1: warning: empty declaration struct nlm_lockowner; ^ /kisskb/src/include/linux/nfs_fs_i.h:10:1: warning: empty declaration struct nfs_lock_info { ^ /kisskb/src/include/linux/nfs_fs_i.h:16:1: warning: empty declaration struct nfs4_lock_state; ^ /kisskb/src/include/linux/nfs_fs_i.h:17:1: warning: empty declaration struct nfs4_lock_info { ^ In file included from /kisskb/src/arch/arm64/include/asm/elf.h:141: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct file_lock { ^ /kisskb/src/include/linux/fs.h:1125:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration enum { ^ /kisskb/src/include/linux/fs.h:1447:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t wait_unfrozen; /* wait for thaw */ ^ /kisskb/src/include/linux/fs.h:1445:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct dir_context { ^ /kisskb/src/include/linux/fs.h:2092:1: warning: empty declaration struct iov_iter; ^ /kisskb/src/include/linux/fs.h:2093:1: warning: empty declaration 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: warning: empty declaration struct file_operations { ^ /kisskb/src/include/linux/fs.h:2141:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct audit_names; ^ /kisskb/src/include/linux/fs.h:2720:1: warning: empty declaration struct filename { ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ioport.h:13, from /kisskb/src/include/linux/acpi.h:12, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/elf.h:141: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init vfs_caches_init_early(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init vfs_caches_init(void); ^ /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/arch/arm64/include/asm/elf.h:141: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:3076:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; ^ /kisskb/src/include/linux/fs.h:3076:77: error: expected declaration specifiers before ';' token static inline 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] int __init list_bdev_fs_names(char *buf, size_t size); ^ /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/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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/elf.h:145:23: error: storage class specified for parameter 'elf_greg_t' typedef unsigned long elf_greg_t; ^ /kisskb/src/arch/arm64/include/asm/elf.h:151:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_gregset_t' typedef elf_greg_t elf_gregset_t[ELF_NGREG]; ^ /kisskb/src/arch/arm64/include/asm/elf.h:152:34: error: storage class specified for parameter 'elf_fpregset_t' typedef struct user_fpsimd_state elf_fpregset_t; ^ /kisskb/src/arch/arm64/include/asm/elf.h:185:1: warning: empty declaration struct linux_binprm; ^ /kisskb/src/arch/arm64/include/asm/elf.h:186:12: error: storage class specified for parameter 'arch_setup_additional_pages' extern int arch_setup_additional_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/arm64/include/asm/elf.h:211:24: error: storage class specified for parameter 'compat_elf_greg_t' typedef unsigned int compat_elf_greg_t; ^ /kisskb/src/arch/arm64/include/asm/elf.h:212:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compat_elf_gregset_t' typedef compat_elf_greg_t compat_elf_gregset_t[COMPAT_ELF_NGREG]; ^ /kisskb/src/arch/arm64/include/asm/elf.h:243:12: error: storage class specified for parameter 'aarch32_setup_additional_pages' extern int aarch32_setup_additional_pages(struct linux_binprm *bprm, ^ /kisskb/src/arch/arm64/include/asm/elf.h:250:1: warning: empty declaration struct arch_elf_state { ^ /kisskb/src/arch/arm64/include/asm/elf.h:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/elf.h:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/elf.h:292:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration struct file; ^ /kisskb/src/include/linux/elf.h:66:1: warning: empty declaration 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: warning: empty declaration struct gnu_property { ^ /kisskb/src/include/linux/elf.h:86:1: warning: empty declaration struct arch_elf_state; ^ /kisskb/src/include/linux/elf.h:96:12: error: storage class specified for parameter 'arch_parse_elf_property' extern int arch_parse_elf_property(u32 type, const void *data, size_t datasz, ^ 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/moduleparam.h:36:1: warning: empty declaration struct kernel_param; ^ /kisskb/src/include/linux/moduleparam.h:43:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/moduleparam.h:47:1: warning: empty declaration struct kernel_param_ops { ^ /kisskb/src/include/linux/moduleparam.h:64:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/moduleparam.h:69:1: warning: empty declaration 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: warning: empty declaration struct kparam_string { ^ /kisskb/src/include/linux/moduleparam.h:92:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rbtree_latch.h:40:1: warning: empty declaration struct latch_tree_node { ^ /kisskb/src/include/linux/rbtree_latch.h:45:2: error: expected specifier-qualifier-list before 'seqcount_latch_t' seqcount_latch_t seq; ^ /kisskb/src/include/linux/rbtree_latch.h:44:1: warning: empty declaration struct latch_tree_root { ^ /kisskb/src/include/linux/rbtree_latch.h:64:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/error-injection.h:6:1: warning: empty declaration enum { ^ /kisskb/src/include/asm-generic/error-injection.h:14:1: warning: empty declaration struct error_injection_entry { ^ /kisskb/src/include/asm-generic/error-injection.h:19:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/asm-generic/error-injection.h:38:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void override_function_with_return(struct pt_regs *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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/error-injection.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/error-injection.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/module.h:27:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/tracepoint-defs.h:14:1: warning: empty declaration struct static_call_key; ^ /kisskb/src/include/linux/tracepoint-defs.h:16:1: warning: empty declaration struct trace_print_flags { ^ /kisskb/src/include/linux/tracepoint-defs.h:21:1: warning: empty declaration struct trace_print_flags_u64 { ^ /kisskb/src/include/linux/tracepoint-defs.h:26:1: warning: empty declaration struct tracepoint_func { ^ /kisskb/src/include/linux/tracepoint-defs.h:32:1: warning: empty declaration struct tracepoint { ^ /kisskb/src/include/linux/tracepoint-defs.h:44:19: error: storage class specified for parameter 'tracepoint_ptr_t' typedef const int tracepoint_ptr_t; ^ /kisskb/src/include/linux/tracepoint-defs.h:49:1: warning: empty declaration struct bpf_raw_event_map { ^ 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/module.h:11:1: warning: empty declaration struct mod_plt_sec { ^ /kisskb/src/arch/arm64/include/asm/module.h:17:1: warning: empty declaration struct mod_arch_specific { ^ /kisskb/src/arch/arm64/include/asm/module.h:26:47: error: expected declaration specifiers or '...' before 'Elf64_Shdr' u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs, ^ /kisskb/src/arch/arm64/include/asm/module.h:27:23: error: type defaults to 'int' in declaration of 'Elf64_Rela' [-Werror=implicit-int] void *loc, const Elf64_Rela *rela, ^ /kisskb/src/arch/arm64/include/asm/module.h:27:34: error: expected ';', ',' or ')' before '*' token void *loc, const Elf64_Rela *rela, ^ /kisskb/src/arch/arm64/include/asm/module.h:30:53: error: expected declaration specifiers or '...' before 'Elf64_Shdr' u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs, ^ /kisskb/src/arch/arm64/include/asm/module.h:34:12: error: storage class specified for parameter 'module_alloc_base' extern u64 module_alloc_base; ^ /kisskb/src/arch/arm64/include/asm/module.h:39:1: warning: empty declaration struct plt_entry { ^ /kisskb/src/arch/arm64/include/asm/module.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/module.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/module.h:68:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline const Elf_Shdr *find_section(const 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/module.h:36:1: warning: empty declaration struct modversion_info { ^ /kisskb/src/include/linux/module.h:41:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/module.h:42:1: warning: empty declaration struct exception_table_entry; ^ /kisskb/src/include/linux/module.h:44:1: warning: empty declaration struct module_kobject { ^ /kisskb/src/include/linux/module.h:52:1: warning: empty declaration struct module_attribute { ^ /kisskb/src/include/linux/module.h:63:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct module_use { ^ /kisskb/src/include/linux/module.h:311:1: warning: empty declaration enum module_state { ^ /kisskb/src/include/linux/module.h:318:1: warning: empty declaration struct mod_tree_node { ^ /kisskb/src/include/linux/module.h:323:1: warning: empty declaration struct module_layout { ^ In file included from /kisskb/src/arch/arm64/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/module.h:347:1: warning: empty declaration struct mod_kallsyms { ^ /kisskb/src/include/linux/module.h:363:1: warning: empty declaration struct module { ^ In file included from /kisskb/src/arch/arm64/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:872:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/module.h:877: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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/device/driver.h:45:1: warning: empty declaration 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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] void __init wait_for_init_devices_probe(void); ^ /kisskb/src/include/linux/device/driver.h:136:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/device.h:8:1: warning: empty declaration struct dev_archdata { ^ /kisskb/src/arch/arm64/include/asm/device.h:11:1: warning: empty declaration struct pdev_archdata { ^ In file included from /kisskb/src/include/linux/acpi.h:15:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/device.h:35:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/device.h:36:1: warning: empty declaration struct device_private; ^ /kisskb/src/include/linux/device.h:37:1: warning: empty declaration struct device_driver; ^ /kisskb/src/include/linux/device.h:38:1: warning: empty declaration struct driver_private; ^ /kisskb/src/include/linux/device.h:39:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/device.h:40:1: warning: empty declaration struct class; ^ /kisskb/src/include/linux/device.h:41:1: warning: empty declaration struct subsys_private; ^ /kisskb/src/include/linux/device.h:42:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/device.h:43:1: warning: empty declaration struct fwnode_handle; ^ /kisskb/src/include/linux/device.h:44:1: warning: empty declaration struct iommu_ops; ^ /kisskb/src/include/linux/device.h:45:1: warning: empty declaration struct iommu_group; ^ /kisskb/src/include/linux/device.h:46:1: warning: empty declaration struct dev_pin_info; ^ /kisskb/src/include/linux/device.h:47:1: warning: empty declaration struct dev_iommu; ^ /kisskb/src/include/linux/device.h:48:1: warning: empty declaration struct msi_device_data; ^ /kisskb/src/include/linux/device.h:63:1: warning: empty declaration 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: warning: empty declaration struct device_type { ^ /kisskb/src/include/linux/device.h:100:1: warning: empty declaration struct device_attribute { ^ /kisskb/src/include/linux/device.h:108:1: warning: empty declaration 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: warning: '__malloc__' attribute ignored [-Wattributes] 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/acpi.h:15:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__malloc__' attribute ignored [-Wattributes] 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: warning: empty declaration struct device_dma_parameters { ^ /kisskb/src/include/linux/device.h:299:1: warning: empty declaration enum device_link_state { ^ /kisskb/src/include/linux/device.h:338:1: warning: empty declaration enum dl_dev_state { ^ /kisskb/src/include/linux/device.h:354:1: warning: empty declaration enum device_removable { ^ /kisskb/src/include/linux/device.h:368:1: warning: empty declaration struct dev_links_info { ^ /kisskb/src/include/linux/device.h:380:1: warning: empty declaration struct dev_msi_info { ^ /kisskb/src/include/linux/device.h:400:1: warning: empty declaration enum device_physical_location_panel { ^ /kisskb/src/include/linux/device.h:417:1: warning: empty declaration enum device_physical_location_vertical_position { ^ /kisskb/src/include/linux/device.h:430:1: warning: empty declaration enum device_physical_location_horizontal_position { ^ /kisskb/src/include/linux/device.h:450:1: warning: empty declaration struct device_physical_location { ^ /kisskb/src/include/linux/device.h:555:1: warning: empty declaration struct device { ^ /kisskb/src/include/linux/device.h:677:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t rpm_active; ^ /kisskb/src/include/linux/device.h:669:1: warning: empty declaration 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/pm_wakeup.h:18:1: warning: empty declaration 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: warning: empty declaration 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/acpi.h:15:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi.h:15:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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, ...); ^ In file included from /kisskb/src/include/acpi/platform/aclinux.h:54:0, from /kisskb/src/include/acpi/platform/acenv.h:163, from /kisskb/src/include/acpi/acpi.h:22, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/acpi/acpi.h:24:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actypes.h:125:13: error: storage class specified for parameter 'acpi_native_int' typedef s64 acpi_native_int; ^ /kisskb/src/include/acpi/actypes.h:127:13: error: storage class specified for parameter 'acpi_size' typedef u64 acpi_size; ^ /kisskb/src/include/acpi/actypes.h:128:13: error: storage class specified for parameter 'acpi_io_address' typedef u64 acpi_io_address; ^ /kisskb/src/include/acpi/actypes.h:129:13: error: storage class specified for parameter 'acpi_physical_address' typedef u64 acpi_physical_address; ^ /kisskb/src/include/acpi/actypes.h:421:13: error: storage class specified for parameter 'acpi_status' typedef u32 acpi_status; /* All ACPI Exceptions */ ^ /kisskb/src/include/acpi/actypes.h:422:13: error: storage class specified for parameter 'acpi_name' typedef u32 acpi_name; /* 4-byte ACPI name */ ^ /kisskb/src/include/acpi/actypes.h:423:15: error: storage class specified for parameter 'acpi_string' typedef char *acpi_string; /* Null terminated ASCII string */ ^ /kisskb/src/include/acpi/actypes.h:424:15: error: storage class specified for parameter 'acpi_handle' typedef void *acpi_handle; /* Actually a ptr to a NS Node */ ^ /kisskb/src/include/acpi/actypes.h:445:13: error: storage class specified for parameter 'acpi_owner_id' typedef u16 acpi_owner_id; ^ /kisskb/src/include/acpi/actypes.h:472:13: error: storage class specified for parameter 'acpi_integer' typedef u64 acpi_integer; ^ In file included from /kisskb/src/include/acpi/acpi.h:24:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actypes.h:644:13: error: storage class specified for parameter 'acpi_object_type' typedef u32 acpi_object_type; ^ /kisskb/src/include/acpi/actypes.h:716:13: error: storage class specified for parameter 'acpi_event_type' typedef u32 acpi_event_type; ^ /kisskb/src/include/acpi/actypes.h:747:13: error: storage class specified for parameter 'acpi_event_status' typedef u32 acpi_event_status; ^ /kisskb/src/include/acpi/actypes.h:814:12: error: storage class specified for parameter 'acpi_adr_space_type' typedef u8 acpi_adr_space_type; ^ /kisskb/src/include/acpi/actypes.h:909:2: error: expected specifier-qualifier-list before 'acpi_object_type' acpi_object_type type; /* See definition of acpi_ns_type for values */ ^ /kisskb/src/include/acpi/actypes.h:908:1: warning: empty declaration union acpi_object { ^ /kisskb/src/include/acpi/actypes.h:956:1: warning: empty declaration struct acpi_object_list { ^ /kisskb/src/include/acpi/actypes.h:979:2: error: expected specifier-qualifier-list before 'acpi_size' acpi_size length; /* Length in bytes of the buffer */ ^ /kisskb/src/include/acpi/actypes.h:978:1: warning: empty declaration struct acpi_buffer { ^ /kisskb/src/include/acpi/actypes.h:994:1: warning: empty declaration struct acpi_predefined_names { ^ /kisskb/src/include/acpi/actypes.h:1011:1: warning: empty declaration struct acpi_system_info { ^ /kisskb/src/include/acpi/actypes.h:1024:1: warning: empty declaration struct acpi_statistics { ^ /kisskb/src/include/acpi/actypes.h:1035:23: error: storage class specified for parameter 'acpi_osd_handler' (ACPI_SYSTEM_XFACE * acpi_osd_handler) (void *context); ^ /kisskb/src/include/acpi/actypes.h:1038:23: error: storage class specified for parameter 'acpi_osd_exec_callback' (ACPI_SYSTEM_XFACE * acpi_osd_exec_callback) (void *context); ^ /kisskb/src/include/acpi/actypes.h:1044:7: error: storage class specified for parameter 'acpi_sci_handler' u32 (*acpi_sci_handler) (void *context); ^ /kisskb/src/include/acpi/actypes.h:1048:11: error: expected declaration specifiers or '...' before 'acpi_handle' acpi_handle device, ^ /kisskb/src/include/acpi/actypes.h:1055:6: error: storage class specified for parameter 'acpi_event_handler' u32(*acpi_event_handler) (void *context); ^ /kisskb/src/include/acpi/actypes.h:1058:26: error: expected declaration specifiers or '...' before 'acpi_handle' u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context); ^ /kisskb/src/include/acpi/actypes.h:1061:30: error: expected declaration specifiers or '...' before 'acpi_handle' void (*acpi_notify_handler) (acpi_handle device, u32 value, void *context); ^ /kisskb/src/include/acpi/actypes.h:1064:30: error: expected declaration specifiers or '...' before 'acpi_handle' void (*acpi_object_handler) (acpi_handle object, void *data); ^ /kisskb/src/include/acpi/actypes.h:1067:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_init_handler) (acpi_handle object, u32 function); ^ /kisskb/src/include/acpi/actypes.h:1072:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_exception_handler) (acpi_status aml_status, ^ /kisskb/src/include/acpi/actypes.h:1080:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_table_handler) (u32 event, void *table, void *context); ^ /kisskb/src/include/acpi/actypes.h:1093:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_adr_space_handler) (u32 function, ^ /kisskb/src/include/acpi/actypes.h:1104:1: warning: empty declaration struct acpi_connection_info { ^ /kisskb/src/include/acpi/actypes.h:1112:1: warning: empty declaration struct acpi_pcc_info { ^ /kisskb/src/include/acpi/actypes.h:1119:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_adr_space_setup) (acpi_handle region_handle, ^ /kisskb/src/include/acpi/actypes.h:1128:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_walk_callback) (acpi_handle object, ^ /kisskb/src/include/acpi/actypes.h:1133:32: error: expected declaration specifiers or '...' before 'acpi_string' u32 (*acpi_interface_handler) (acpi_string interface_name, u32 supported); ^ /kisskb/src/include/acpi/actypes.h:1158:1: warning: empty declaration struct acpi_pnp_device_id { ^ /kisskb/src/include/acpi/actypes.h:1163:1: warning: empty declaration struct acpi_pnp_device_id_list { ^ /kisskb/src/include/acpi/actypes.h:1176:2: error: expected specifier-qualifier-list before 'acpi_object_type' acpi_object_type type; /* ACPI object Type */ ^ /kisskb/src/include/acpi/actypes.h:1173:1: warning: empty declaration struct acpi_device_info { ^ /kisskb/src/include/acpi/actypes.h:1214:1: warning: empty declaration struct acpi_pci_id { ^ /kisskb/src/include/acpi/actypes.h:1222:2: error: expected specifier-qualifier-list before 'acpi_physical_address' acpi_physical_address physical_address; ^ /kisskb/src/include/acpi/actypes.h:1221:1: warning: empty declaration struct acpi_mem_mapping { ^ /kisskb/src/include/acpi/actypes.h:1230:2: error: expected specifier-qualifier-list before 'acpi_physical_address' acpi_physical_address address; ^ /kisskb/src/include/acpi/actypes.h:1228:1: warning: empty declaration struct acpi_mem_space_context { ^ /kisskb/src/include/acpi/actypes.h:1235:1: warning: empty declaration struct acpi_data_table_space_context { ^ /kisskb/src/include/acpi/actypes.h:1242:1: warning: empty declaration struct acpi_memory_list { ^ /kisskb/src/include/acpi/actypes.h:1269:3: error: storage class specified for parameter 'acpi_trace_event_type' } acpi_trace_event_type; ^ In file included from /kisskb/src/include/acpi/acpi.h:25:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acexcep.h:40:1: warning: empty declaration struct acpi_exception_info { ^ In file included from /kisskb/src/include/acpi/acpi.h:26:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actbl.h:47:9: error: expected declaration specifiers before '#pragma' #pragma pack(1) ^ /kisskb/src/include/acpi/actbl.h:78:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/actbl.h:90:1: warning: empty declaration struct acpi_generic_address { ^ /kisskb/src/include/acpi/actbl.h:105:1: warning: empty declaration struct acpi_table_rsdp { ^ /kisskb/src/include/acpi/actbl.h:119:1: warning: empty declaration struct acpi_rsdp_common { ^ /kisskb/src/include/acpi/actbl.h:129:1: warning: empty declaration struct acpi_rsdp_extension { ^ /kisskb/src/include/acpi/actbl.h:144:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl.h:143:1: warning: empty declaration struct acpi_table_rsdt { ^ /kisskb/src/include/acpi/actbl.h:149:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl.h:148:1: warning: empty declaration struct acpi_table_xsdt { ^ /kisskb/src/include/acpi/actbl.h:162:1: warning: empty declaration struct acpi_table_facs { ^ /kisskb/src/include/acpi/actbl.h:200:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl.h:199:1: warning: empty declaration struct acpi_table_fadt { ^ /kisskb/src/include/acpi/actbl.h:301:1: warning: empty declaration enum acpi_preferred_pm_profiles { ^ /kisskb/src/include/acpi/actbl.h:322:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ /kisskb/src/include/acpi/actbl.h:330:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/actbl.h:335:2: error: expected specifier-qualifier-list before 'acpi_physical_address' acpi_physical_address address; ^ /kisskb/src/include/acpi/actbl.h:334:1: warning: empty declaration struct acpi_table_desc { ^ In file included from /kisskb/src/include/acpi/actbl.h:370:0, from /kisskb/src/include/acpi/acpi.h:26, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actbl1.h:70:9: error: expected declaration specifiers before '#pragma' #pragma pack(1) ^ /kisskb/src/include/acpi/actbl1.h:95:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/actbl1.h:99:1: warning: empty declaration struct acpi_whea_header { ^ /kisskb/src/include/acpi/actbl1.h:119:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:118:1: warning: empty declaration struct acpi_table_asf { ^ /kisskb/src/include/acpi/actbl1.h:124:1: warning: empty declaration struct acpi_asf_header { ^ /kisskb/src/include/acpi/actbl1.h:132:1: warning: empty declaration enum acpi_asf_type { ^ /kisskb/src/include/acpi/actbl1.h:147:1: warning: empty declaration struct acpi_asf_info { ^ /kisskb/src/include/acpi/actbl1.h:163:1: warning: empty declaration struct acpi_asf_alert { ^ /kisskb/src/include/acpi/actbl1.h:171:1: warning: empty declaration struct acpi_asf_alert_data { ^ /kisskb/src/include/acpi/actbl1.h:188:1: warning: empty declaration struct acpi_asf_remote { ^ /kisskb/src/include/acpi/actbl1.h:195:1: warning: empty declaration struct acpi_asf_control_data { ^ /kisskb/src/include/acpi/actbl1.h:204:1: warning: empty declaration struct acpi_asf_rmcp { ^ /kisskb/src/include/acpi/actbl1.h:217:1: warning: empty declaration struct acpi_asf_address { ^ /kisskb/src/include/acpi/actbl1.h:231:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:230:1: warning: empty declaration struct acpi_table_bert { ^ /kisskb/src/include/acpi/actbl1.h:238:1: warning: empty declaration struct acpi_bert_region { ^ /kisskb/src/include/acpi/actbl1.h:256:1: warning: empty declaration enum acpi_bert_error_severity { ^ /kisskb/src/include/acpi/actbl1.h:277:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:276:1: warning: empty declaration struct acpi_table_bgrt { ^ /kisskb/src/include/acpi/actbl1.h:301:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:300:1: warning: empty declaration struct acpi_table_boot { ^ /kisskb/src/include/acpi/actbl1.h:316:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:315:1: warning: empty declaration struct acpi_table_cedt { ^ /kisskb/src/include/acpi/actbl1.h:321:1: warning: empty declaration struct acpi_cedt_header { ^ /kisskb/src/include/acpi/actbl1.h:329:1: warning: empty declaration enum acpi_cedt_type { ^ /kisskb/src/include/acpi/actbl1.h:351:1: warning: empty declaration struct acpi_cedt_chbs { ^ /kisskb/src/include/acpi/actbl1.h:362:1: warning: empty declaration struct acpi_cedt_cfmws { ^ /kisskb/src/include/acpi/actbl1.h:376:1: warning: empty declaration struct acpi_cedt_cfmws_target_element { ^ /kisskb/src/include/acpi/actbl1.h:400:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:399:1: warning: empty declaration struct acpi_table_cpep { ^ /kisskb/src/include/acpi/actbl1.h:407:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl1.h:406:1: warning: empty declaration struct acpi_cpep_polling { ^ /kisskb/src/include/acpi/actbl1.h:423:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:422:1: warning: empty declaration struct acpi_table_csrt { ^ /kisskb/src/include/acpi/actbl1.h:428:1: warning: empty declaration struct acpi_csrt_group { ^ /kisskb/src/include/acpi/actbl1.h:443:1: warning: empty declaration struct acpi_csrt_shared_info { ^ /kisskb/src/include/acpi/actbl1.h:462:1: warning: empty declaration struct acpi_csrt_descriptor { ^ /kisskb/src/include/acpi/actbl1.h:495:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:494:1: warning: empty declaration struct acpi_table_dbg2 { ^ /kisskb/src/include/acpi/actbl1.h:500:1: warning: empty declaration struct acpi_dbg2_header { ^ /kisskb/src/include/acpi/actbl1.h:507:1: warning: empty declaration struct acpi_dbg2_device { ^ /kisskb/src/include/acpi/actbl1.h:574:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:573:1: warning: empty declaration struct acpi_table_dbgp { ^ /kisskb/src/include/acpi/actbl1.h:591:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:590:1: warning: empty declaration struct acpi_table_dmar { ^ /kisskb/src/include/acpi/actbl1.h:605:1: warning: empty declaration struct acpi_dmar_header { ^ /kisskb/src/include/acpi/actbl1.h:612:1: warning: empty declaration enum acpi_dmar_type { ^ /kisskb/src/include/acpi/actbl1.h:624:1: warning: empty declaration struct acpi_dmar_device_scope { ^ /kisskb/src/include/acpi/actbl1.h:634:1: warning: empty declaration enum acpi_dmar_scope_type { ^ /kisskb/src/include/acpi/actbl1.h:644:1: warning: empty declaration struct acpi_dmar_pci_path { ^ /kisskb/src/include/acpi/actbl1.h:655:1: warning: empty declaration struct acpi_dmar_hardware_unit { ^ /kisskb/src/include/acpi/actbl1.h:669:1: warning: empty declaration struct acpi_dmar_reserved_memory { ^ /kisskb/src/include/acpi/actbl1.h:683:1: warning: empty declaration struct acpi_dmar_atsr { ^ /kisskb/src/include/acpi/actbl1.h:696:1: warning: empty declaration struct acpi_dmar_rhsa { ^ /kisskb/src/include/acpi/actbl1.h:705:1: warning: empty declaration struct acpi_dmar_andd { ^ /kisskb/src/include/acpi/actbl1.h:714:1: warning: empty declaration struct acpi_dmar_satc { ^ /kisskb/src/include/acpi/actbl1.h:729:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:728:1: warning: empty declaration struct acpi_table_drtm { ^ /kisskb/src/include/acpi/actbl1.h:750:1: warning: empty declaration struct acpi_drtm_vtable_list { ^ /kisskb/src/include/acpi/actbl1.h:759:1: warning: empty declaration struct acpi_drtm_resource { ^ /kisskb/src/include/acpi/actbl1.h:765:1: warning: empty declaration struct acpi_drtm_resource_list { ^ /kisskb/src/include/acpi/actbl1.h:772:1: warning: empty declaration struct acpi_drtm_dps_id { ^ /kisskb/src/include/acpi/actbl1.h:785:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:784:1: warning: empty declaration struct acpi_table_ecdt { ^ /kisskb/src/include/acpi/actbl1.h:801:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:800:1: warning: empty declaration struct acpi_table_einj { ^ /kisskb/src/include/acpi/actbl1.h:810:1: warning: empty declaration struct acpi_einj_entry { ^ /kisskb/src/include/acpi/actbl1.h:820:1: warning: empty declaration enum acpi_einj_actions { ^ /kisskb/src/include/acpi/actbl1.h:837:1: warning: empty declaration enum acpi_einj_instructions { ^ /kisskb/src/include/acpi/actbl1.h:847:1: warning: empty declaration struct acpi_einj_error_type_with_addr { ^ /kisskb/src/include/acpi/actbl1.h:857:1: warning: empty declaration struct acpi_einj_vendor { ^ /kisskb/src/include/acpi/actbl1.h:868:1: warning: empty declaration struct acpi_einj_trigger { ^ /kisskb/src/include/acpi/actbl1.h:877:1: warning: empty declaration enum acpi_einj_command_status { ^ /kisskb/src/include/acpi/actbl1.h:908:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:907:1: warning: empty declaration struct acpi_table_erst { ^ /kisskb/src/include/acpi/actbl1.h:916:1: warning: empty declaration struct acpi_erst_entry { ^ /kisskb/src/include/acpi/actbl1.h:926:1: warning: empty declaration enum acpi_erst_actions { ^ /kisskb/src/include/acpi/actbl1.h:949:1: warning: empty declaration enum acpi_erst_instructions { ^ /kisskb/src/include/acpi/actbl1.h:974:1: warning: empty declaration enum acpi_erst_command_status { ^ /kisskb/src/include/acpi/actbl1.h:986:1: warning: empty declaration struct acpi_erst_info { ^ /kisskb/src/include/acpi/actbl1.h:999:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:998:1: warning: empty declaration struct acpi_table_fpdt { ^ /kisskb/src/include/acpi/actbl1.h:1004:1: warning: empty declaration struct acpi_fpdt_header { ^ /kisskb/src/include/acpi/actbl1.h:1012:1: warning: empty declaration enum acpi_fpdt_type { ^ /kisskb/src/include/acpi/actbl1.h:1023:1: warning: empty declaration struct acpi_fpdt_boot_pointer { ^ /kisskb/src/include/acpi/actbl1.h:1031:1: warning: empty declaration struct acpi_fpdt_s3pt_pointer { ^ /kisskb/src/include/acpi/actbl1.h:1041:1: warning: empty declaration struct acpi_table_s3pt { ^ /kisskb/src/include/acpi/actbl1.h:1052:1: warning: empty declaration enum acpi_s3pt_type { ^ /kisskb/src/include/acpi/actbl1.h:1058:1: warning: empty declaration struct acpi_s3pt_resume { ^ /kisskb/src/include/acpi/actbl1.h:1065:1: warning: empty declaration struct acpi_s3pt_suspend { ^ /kisskb/src/include/acpi/actbl1.h:1074:1: warning: empty declaration struct acpi_fpdt_boot { ^ /kisskb/src/include/acpi/actbl1.h:1092:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:1091:1: warning: empty declaration struct acpi_table_gtdt { ^ /kisskb/src/include/acpi/actbl1.h:1114:1: warning: empty declaration struct acpi_gtdt_el2 { ^ /kisskb/src/include/acpi/actbl1.h:1121:1: warning: empty declaration struct acpi_gtdt_header { ^ /kisskb/src/include/acpi/actbl1.h:1128:1: warning: empty declaration enum acpi_gtdt_type { ^ /kisskb/src/include/acpi/actbl1.h:1138:1: warning: empty declaration struct acpi_gtdt_timer_block { ^ /kisskb/src/include/acpi/actbl1.h:1148:1: warning: empty declaration struct acpi_gtdt_timer_entry { ^ /kisskb/src/include/acpi/actbl1.h:1172:1: warning: empty declaration struct acpi_gtdt_watchdog { ^ /kisskb/src/include/acpi/actbl1.h:1195:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:1194:1: warning: empty declaration struct acpi_table_hest { ^ /kisskb/src/include/acpi/actbl1.h:1201:1: warning: empty declaration struct acpi_hest_header { ^ /kisskb/src/include/acpi/actbl1.h:1208:1: warning: empty declaration enum acpi_hest_types { ^ /kisskb/src/include/acpi/actbl1.h:1232:1: warning: empty declaration struct acpi_hest_ia_error_bank { ^ /kisskb/src/include/acpi/actbl1.h:1246:1: warning: empty declaration struct acpi_hest_aer_common { ^ /kisskb/src/include/acpi/actbl1.h:1279:1: warning: empty declaration struct acpi_hest_notify { ^ /kisskb/src/include/acpi/actbl1.h:1293:1: warning: empty declaration enum acpi_hest_notify_types { ^ /kisskb/src/include/acpi/actbl1.h:1324:1: warning: empty declaration struct acpi_hest_ia_machine_check { ^ /kisskb/src/include/acpi/actbl1.h:1339:1: warning: empty declaration struct acpi_hest_ia_corrected { ^ /kisskb/src/include/acpi/actbl1.h:1353:1: warning: empty declaration struct acpi_hest_ia_nmi { ^ /kisskb/src/include/acpi/actbl1.h:1365:1: warning: empty declaration struct acpi_hest_aer_root { ^ /kisskb/src/include/acpi/actbl1.h:1373:1: warning: empty declaration struct acpi_hest_aer { ^ /kisskb/src/include/acpi/actbl1.h:1380:1: warning: empty declaration struct acpi_hest_aer_bridge { ^ /kisskb/src/include/acpi/actbl1.h:1390:1: warning: empty declaration struct acpi_hest_generic { ^ /kisskb/src/include/acpi/actbl1.h:1405:1: warning: empty declaration struct acpi_hest_generic_v2 { ^ /kisskb/src/include/acpi/actbl1.h:1423:1: warning: empty declaration struct acpi_hest_generic_status { ^ /kisskb/src/include/acpi/actbl1.h:1441:1: warning: empty declaration struct acpi_hest_generic_data { ^ /kisskb/src/include/acpi/actbl1.h:1454:1: warning: empty declaration struct acpi_hest_generic_data_v300 { ^ /kisskb/src/include/acpi/actbl1.h:1481:1: warning: empty declaration struct acpi_hest_ia_deferred_check { ^ /kisskb/src/include/acpi/actbl1.h:1501:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:1500:1: warning: empty declaration struct acpi_table_hmat { ^ /kisskb/src/include/acpi/actbl1.h:1507:1: warning: empty declaration enum acpi_hmat_type { ^ /kisskb/src/include/acpi/actbl1.h:1514:1: warning: empty declaration struct acpi_hmat_structure { ^ /kisskb/src/include/acpi/actbl1.h:1526:1: warning: empty declaration struct acpi_hmat_proximity_domain { ^ /kisskb/src/include/acpi/actbl1.h:1545:1: warning: empty declaration struct acpi_hmat_locality { ^ /kisskb/src/include/acpi/actbl1.h:1583:1: warning: empty declaration struct acpi_hmat_cache { ^ /kisskb/src/include/acpi/actbl1.h:1624:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:1623:1: warning: empty declaration struct acpi_table_hpet { ^ /kisskb/src/include/acpi/actbl1.h:1638:1: warning: empty declaration enum acpi_hpet_page_protect { ^ /kisskb/src/include/acpi/actbl1.h:1658:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl1.h:1657:1: warning: empty declaration struct acpi_table_ibft { ^ /kisskb/src/include/acpi/actbl1.h:1664:1: warning: empty declaration struct acpi_ibft_header { ^ /kisskb/src/include/acpi/actbl1.h:1674:1: warning: empty declaration enum acpi_ibft_type { ^ /kisskb/src/include/acpi/actbl1.h:1686:1: warning: empty declaration struct acpi_ibft_control { ^ /kisskb/src/include/acpi/actbl1.h:1696:1: warning: empty declaration struct acpi_ibft_initiator { ^ /kisskb/src/include/acpi/actbl1.h:1706:1: warning: empty declaration struct acpi_ibft_nic { ^ /kisskb/src/include/acpi/actbl1.h:1722:1: warning: empty declaration struct acpi_ibft_target { ^ /kisskb/src/include/acpi/actbl1.h:1743:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ In file included from /kisskb/src/include/acpi/actbl.h:371:0, from /kisskb/src/include/acpi/acpi.h:26, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actbl2.h:85:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/actbl2.h:89:1: warning: empty declaration struct acpi_aest_hdr { ^ /kisskb/src/include/acpi/actbl2.h:125:3: error: storage class specified for parameter 'acpi_aest_processor' } acpi_aest_processor; ^ /kisskb/src/include/acpi/actbl2.h:140:3: error: storage class specified for parameter 'acpi_aest_processor_cache' } acpi_aest_processor_cache; ^ /kisskb/src/include/acpi/actbl2.h:155:3: error: storage class specified for parameter 'acpi_aest_processor_tlb' } acpi_aest_processor_tlb; ^ /kisskb/src/include/acpi/actbl2.h:162:3: error: storage class specified for parameter 'acpi_aest_processor_generic' } acpi_aest_processor_generic; ^ /kisskb/src/include/acpi/actbl2.h:169:3: error: storage class specified for parameter 'acpi_aest_memory' } acpi_aest_memory; ^ /kisskb/src/include/acpi/actbl2.h:177:3: error: storage class specified for parameter 'acpi_aest_smmu' } acpi_aest_smmu; ^ /kisskb/src/include/acpi/actbl2.h:186:3: error: storage class specified for parameter 'acpi_aest_vendor' } acpi_aest_vendor; ^ /kisskb/src/include/acpi/actbl2.h:194:3: error: storage class specified for parameter 'acpi_aest_gic' } acpi_aest_gic; ^ /kisskb/src/include/acpi/actbl2.h:217:3: error: storage class specified for parameter 'acpi_aest_node_interface' } acpi_aest_node_interface; ^ /kisskb/src/include/acpi/actbl2.h:235:3: error: storage class specified for parameter 'acpi_aest_node_interrupt' } acpi_aest_node_interrupt; ^ /kisskb/src/include/acpi/actbl2.h:251:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:250:1: warning: empty declaration struct acpi_table_agdi { ^ /kisskb/src/include/acpi/actbl2.h:273:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:272:1: warning: empty declaration struct acpi_table_apmt { ^ /kisskb/src/include/acpi/actbl2.h:281:1: warning: empty declaration struct acpi_apmt_node { ^ /kisskb/src/include/acpi/actbl2.h:318:1: warning: empty declaration enum acpi_apmt_node_type { ^ /kisskb/src/include/acpi/actbl2.h:351:27: error: field 'header' has incomplete type struct acpi_table_header header; ^ /kisskb/src/include/acpi/actbl2.h:350:1: warning: empty declaration struct acpi_table_bdat { ^ /kisskb/src/include/acpi/actbl2.h:365:27: error: field 'header' has incomplete type struct acpi_table_header header; ^ /kisskb/src/include/acpi/actbl2.h:364:1: warning: empty declaration struct acpi_table_iort { ^ /kisskb/src/include/acpi/actbl2.h:374:1: warning: empty declaration struct acpi_iort_node { ^ /kisskb/src/include/acpi/actbl2.h:386:1: warning: empty declaration enum acpi_iort_node_type { ^ /kisskb/src/include/acpi/actbl2.h:396:1: warning: empty declaration struct acpi_iort_id_mapping { ^ /kisskb/src/include/acpi/actbl2.h:408:1: warning: empty declaration struct acpi_iort_memory_access { ^ /kisskb/src/include/acpi/actbl2.h:435:1: warning: empty declaration struct acpi_iort_its_group { ^ /kisskb/src/include/acpi/actbl2.h:440:1: warning: empty declaration struct acpi_iort_named_component { ^ /kisskb/src/include/acpi/actbl2.h:452:1: warning: empty declaration struct acpi_iort_root_complex { ^ /kisskb/src/include/acpi/actbl2.h:470:1: warning: empty declaration struct acpi_iort_smmu { ^ /kisskb/src/include/acpi/actbl2.h:499:1: warning: empty declaration struct acpi_iort_smmu_gsi { ^ /kisskb/src/include/acpi/actbl2.h:506:1: warning: empty declaration struct acpi_iort_smmu_v3 { ^ /kisskb/src/include/acpi/actbl2.h:532:1: warning: empty declaration struct acpi_iort_pmcg { ^ /kisskb/src/include/acpi/actbl2.h:539:1: warning: empty declaration struct acpi_iort_rmr { ^ /kisskb/src/include/acpi/actbl2.h:564:1: warning: empty declaration struct acpi_iort_rmr_desc { ^ /kisskb/src/include/acpi/actbl2.h:581:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:580:1: warning: empty declaration struct acpi_table_ivrs { ^ /kisskb/src/include/acpi/actbl2.h:594:1: warning: empty declaration struct acpi_ivrs_header { ^ /kisskb/src/include/acpi/actbl2.h:603:1: warning: empty declaration enum acpi_ivrs_type { ^ /kisskb/src/include/acpi/actbl2.h:633:1: warning: empty declaration struct acpi_ivrs_hardware_10 { ^ /kisskb/src/include/acpi/actbl2.h:644:1: warning: empty declaration struct acpi_ivrs_hardware_11 { ^ /kisskb/src/include/acpi/actbl2.h:666:1: warning: empty declaration struct acpi_ivrs_de_header { ^ /kisskb/src/include/acpi/actbl2.h:678:1: warning: empty declaration enum acpi_ivrs_device_entry_type { ^ /kisskb/src/include/acpi/actbl2.h:713:1: warning: empty declaration struct acpi_ivrs_device4 { ^ /kisskb/src/include/acpi/actbl2.h:719:1: warning: empty declaration struct acpi_ivrs_device8a { ^ /kisskb/src/include/acpi/actbl2.h:728:1: warning: empty declaration struct acpi_ivrs_device8b { ^ /kisskb/src/include/acpi/actbl2.h:739:1: warning: empty declaration struct acpi_ivrs_device8c { ^ /kisskb/src/include/acpi/actbl2.h:753:1: warning: empty declaration struct acpi_ivrs_device_hid { ^ /kisskb/src/include/acpi/actbl2.h:769:1: warning: empty declaration struct acpi_ivrs_memory { ^ /kisskb/src/include/acpi/actbl2.h:786:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:785:1: warning: empty declaration struct acpi_table_lpit { ^ /kisskb/src/include/acpi/actbl2.h:791:1: warning: empty declaration struct acpi_lpit_header { ^ /kisskb/src/include/acpi/actbl2.h:801:1: warning: empty declaration enum acpi_lpit_type { ^ /kisskb/src/include/acpi/actbl2.h:817:1: warning: empty declaration struct acpi_lpit_native { ^ /kisskb/src/include/acpi/actbl2.h:834:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:833:1: warning: empty declaration struct acpi_table_madt { ^ /kisskb/src/include/acpi/actbl2.h:850:1: warning: empty declaration enum acpi_madt_type { ^ /kisskb/src/include/acpi/actbl2.h:879:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:878:1: warning: empty declaration struct acpi_madt_local_apic { ^ /kisskb/src/include/acpi/actbl2.h:888:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:887:1: warning: empty declaration struct acpi_madt_io_apic { ^ /kisskb/src/include/acpi/actbl2.h:898:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:897:1: warning: empty declaration struct acpi_madt_interrupt_override { ^ /kisskb/src/include/acpi/actbl2.h:908:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:907:1: warning: empty declaration struct acpi_madt_nmi_source { ^ /kisskb/src/include/acpi/actbl2.h:916:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:915:1: warning: empty declaration struct acpi_madt_local_apic_nmi { ^ /kisskb/src/include/acpi/actbl2.h:925:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:924:1: warning: empty declaration struct acpi_madt_local_apic_override { ^ /kisskb/src/include/acpi/actbl2.h:933:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:932:1: warning: empty declaration struct acpi_madt_io_sapic { ^ /kisskb/src/include/acpi/actbl2.h:943:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:942:1: warning: empty declaration struct acpi_madt_local_sapic { ^ /kisskb/src/include/acpi/actbl2.h:956:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:955:1: warning: empty declaration struct acpi_madt_interrupt_source { ^ /kisskb/src/include/acpi/actbl2.h:973:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:972:1: warning: empty declaration struct acpi_madt_local_x2apic { ^ /kisskb/src/include/acpi/actbl2.h:983:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:982:1: warning: empty declaration struct acpi_madt_local_x2apic_nmi { ^ /kisskb/src/include/acpi/actbl2.h:993:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:992:1: warning: empty declaration struct acpi_madt_generic_interrupt { ^ /kisskb/src/include/acpi/actbl2.h:1021:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1020:1: warning: empty declaration struct acpi_madt_generic_distributor { ^ /kisskb/src/include/acpi/actbl2.h:1032:1: warning: empty declaration enum acpi_madt_gic_version { ^ /kisskb/src/include/acpi/actbl2.h:1044:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1043:1: warning: empty declaration struct acpi_madt_generic_msi_frame { ^ /kisskb/src/include/acpi/actbl2.h:1060:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1059:1: warning: empty declaration struct acpi_madt_generic_redistributor { ^ /kisskb/src/include/acpi/actbl2.h:1069:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1068:1: warning: empty declaration struct acpi_madt_generic_translator { ^ /kisskb/src/include/acpi/actbl2.h:1079:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1078:1: warning: empty declaration struct acpi_madt_multiproc_wakeup { ^ /kisskb/src/include/acpi/actbl2.h:1088:1: warning: empty declaration struct acpi_madt_multiproc_wakeup_mailbox { ^ /kisskb/src/include/acpi/actbl2.h:1101:1: warning: empty declaration struct acpi_madt_oem_data { ^ /kisskb/src/include/acpi/actbl2.h:1141:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1140:1: warning: empty declaration struct acpi_table_mcfg { ^ /kisskb/src/include/acpi/actbl2.h:1147:1: warning: empty declaration struct acpi_mcfg_allocation { ^ /kisskb/src/include/acpi/actbl2.h:1166:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1165:1: warning: empty declaration struct acpi_table_mchi { ^ /kisskb/src/include/acpi/actbl2.h:1197:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1196:1: warning: empty declaration struct acpi_table_mpst { ^ /kisskb/src/include/acpi/actbl2.h:1203:1: warning: empty declaration struct acpi_mpst_channel { ^ /kisskb/src/include/acpi/actbl2.h:1209:1: warning: empty declaration struct acpi_mpst_power_node { ^ /kisskb/src/include/acpi/actbl2.h:1228:1: warning: empty declaration struct acpi_mpst_power_state { ^ /kisskb/src/include/acpi/actbl2.h:1235:1: warning: empty declaration struct acpi_mpst_component { ^ /kisskb/src/include/acpi/actbl2.h:1241:1: warning: empty declaration struct acpi_mpst_data_hdr { ^ /kisskb/src/include/acpi/actbl2.h:1246:1: warning: empty declaration struct acpi_mpst_power_data { ^ /kisskb/src/include/acpi/actbl2.h:1264:1: warning: empty declaration struct acpi_mpst_shared { ^ /kisskb/src/include/acpi/actbl2.h:1284:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1283:1: warning: empty declaration struct acpi_table_msct { ^ /kisskb/src/include/acpi/actbl2.h:1293:1: warning: empty declaration struct acpi_msct_proximity { ^ /kisskb/src/include/acpi/actbl2.h:1314:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1313:1: warning: empty declaration struct acpi_table_msdm { ^ /kisskb/src/include/acpi/actbl2.h:1325:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1324:1: warning: empty declaration struct acpi_table_nfit { ^ /kisskb/src/include/acpi/actbl2.h:1331:1: warning: empty declaration struct acpi_nfit_header { ^ /kisskb/src/include/acpi/actbl2.h:1338:1: warning: empty declaration enum acpi_nfit_type { ^ /kisskb/src/include/acpi/actbl2.h:1356:1: warning: empty declaration struct acpi_nfit_system_address { ^ /kisskb/src/include/acpi/actbl2.h:1379:1: warning: empty declaration struct acpi_nfit_memory_map { ^ /kisskb/src/include/acpi/actbl2.h:1407:1: warning: empty declaration struct acpi_nfit_interleave { ^ /kisskb/src/include/acpi/actbl2.h:1418:1: warning: empty declaration struct acpi_nfit_smbios { ^ /kisskb/src/include/acpi/actbl2.h:1426:1: warning: empty declaration struct acpi_nfit_control_region { ^ /kisskb/src/include/acpi/actbl2.h:1461:1: warning: empty declaration struct acpi_nfit_data_region { ^ /kisskb/src/include/acpi/actbl2.h:1473:1: warning: empty declaration struct acpi_nfit_flush_address { ^ /kisskb/src/include/acpi/actbl2.h:1483:1: warning: empty declaration struct acpi_nfit_capabilities { ^ /kisskb/src/include/acpi/actbl2.h:1500:1: warning: empty declaration struct nfit_device_handle { ^ /kisskb/src/include/acpi/actbl2.h:1556:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1555:1: warning: empty declaration struct acpi_table_nhlt { ^ /kisskb/src/include/acpi/actbl2.h:1560:1: warning: empty declaration struct acpi_nhlt_endpoint { ^ /kisskb/src/include/acpi/actbl2.h:1614:1: warning: empty declaration struct acpi_nhlt_device_specific_config { ^ /kisskb/src/include/acpi/actbl2.h:1620:1: warning: empty declaration struct acpi_nhlt_device_specific_config_a { ^ /kisskb/src/include/acpi/actbl2.h:1634:1: warning: empty declaration struct acpi_nhlt_device_specific_config_b { ^ /kisskb/src/include/acpi/actbl2.h:1638:1: warning: empty declaration struct acpi_nhlt_device_specific_config_c { ^ /kisskb/src/include/acpi/actbl2.h:1643:1: warning: empty declaration struct acpi_nhlt_render_device_specific_config { ^ /kisskb/src/include/acpi/actbl2.h:1648:1: warning: empty declaration struct acpi_nhlt_wave_extensible { ^ /kisskb/src/include/acpi/actbl2.h:1682:1: warning: empty declaration struct acpi_nhlt_format_config { ^ /kisskb/src/include/acpi/actbl2.h:1688:1: warning: empty declaration struct acpi_nhlt_formats_config { ^ /kisskb/src/include/acpi/actbl2.h:1692:1: warning: empty declaration struct acpi_nhlt_device_specific_hdr { ^ /kisskb/src/include/acpi/actbl2.h:1703:1: warning: empty declaration struct acpi_nhlt_mic_device_specific_config { ^ /kisskb/src/include/acpi/actbl2.h:1723:1: warning: empty declaration struct acpi_nhlt_vendor_mic_count { ^ /kisskb/src/include/acpi/actbl2.h:1727:1: warning: empty declaration struct acpi_nhlt_vendor_mic_config { ^ /kisskb/src/include/acpi/actbl2.h:1765:1: warning: empty declaration struct acpi_nhlt_vendor_mic_device_specific_config { ^ /kisskb/src/include/acpi/actbl2.h:1773:1: warning: empty declaration struct acpi_nhlt_mic_snr_sensitivity_extension { ^ /kisskb/src/include/acpi/actbl2.h:1780:1: warning: empty declaration struct acpi_nhlt_render_feedback_device_specific_config { ^ /kisskb/src/include/acpi/actbl2.h:1788:1: warning: empty declaration struct acpi_nhlt_device_info_count { ^ /kisskb/src/include/acpi/actbl2.h:1792:1: warning: empty declaration struct acpi_nhlt_device_info { ^ /kisskb/src/include/acpi/actbl2.h:1806:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1805:1: warning: empty declaration struct acpi_table_pcct { ^ /kisskb/src/include/acpi/actbl2.h:1817:1: warning: empty declaration enum acpi_pcct_type { ^ /kisskb/src/include/acpi/actbl2.h:1834:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1833:1: warning: empty declaration struct acpi_pcct_subspace { ^ /kisskb/src/include/acpi/actbl2.h:1849:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1848:1: warning: empty declaration struct acpi_pcct_hw_reduced { ^ /kisskb/src/include/acpi/actbl2.h:1866:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1865:1: warning: empty declaration struct acpi_pcct_hw_reduced_type2 { ^ /kisskb/src/include/acpi/actbl2.h:1886:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1885:1: warning: empty declaration struct acpi_pcct_ext_pcc_master { ^ /kisskb/src/include/acpi/actbl2.h:1914:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1913:1: warning: empty declaration struct acpi_pcct_ext_pcc_slave { ^ /kisskb/src/include/acpi/actbl2.h:1942:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:1941:1: warning: empty declaration struct acpi_pcct_hw_reg { ^ /kisskb/src/include/acpi/actbl2.h:1968:1: warning: empty declaration struct acpi_pcct_shared_memory { ^ /kisskb/src/include/acpi/actbl2.h:1976:1: warning: empty declaration struct acpi_pcct_ext_pcc_shared_memory { ^ /kisskb/src/include/acpi/actbl2.h:1991:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:1990:1: warning: empty declaration struct acpi_table_pdtt { ^ /kisskb/src/include/acpi/actbl2.h:2002:1: warning: empty declaration struct acpi_pdtt_channel { ^ /kisskb/src/include/acpi/actbl2.h:2021:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2020:1: warning: empty declaration struct acpi_table_phat { ^ /kisskb/src/include/acpi/actbl2.h:2026:1: warning: empty declaration struct acpi_phat_header { ^ /kisskb/src/include/acpi/actbl2.h:2044:1: warning: empty declaration struct acpi_phat_version_data { ^ /kisskb/src/include/acpi/actbl2.h:2050:1: warning: empty declaration struct acpi_phat_version_element { ^ /kisskb/src/include/acpi/actbl2.h:2058:1: warning: empty declaration struct acpi_phat_health_data { ^ /kisskb/src/include/acpi/actbl2.h:2081:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2080:1: warning: empty declaration struct acpi_table_pmtt { ^ /kisskb/src/include/acpi/actbl2.h:2091:1: warning: empty declaration struct acpi_pmtt_header { ^ /kisskb/src/include/acpi/actbl2.h:2125:1: warning: empty declaration struct acpi_pmtt_socket { ^ /kisskb/src/include/acpi/actbl2.h:2137:1: warning: empty declaration struct acpi_pmtt_controller { ^ /kisskb/src/include/acpi/actbl2.h:2149:1: warning: empty declaration struct acpi_pmtt_physical_component { ^ /kisskb/src/include/acpi/actbl2.h:2156:1: warning: empty declaration struct acpi_pmtt_vendor_specific { ^ /kisskb/src/include/acpi/actbl2.h:2175:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2174:1: warning: empty declaration struct acpi_table_pptt { ^ /kisskb/src/include/acpi/actbl2.h:2180:1: warning: empty declaration enum acpi_pptt_type { ^ /kisskb/src/include/acpi/actbl2.h:2190:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:2189:1: warning: empty declaration struct acpi_pptt_processor { ^ /kisskb/src/include/acpi/actbl2.h:2209:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:2208:1: warning: empty declaration struct acpi_pptt_cache { ^ /kisskb/src/include/acpi/actbl2.h:2222:1: warning: empty declaration struct acpi_pptt_cache_v1 { ^ /kisskb/src/include/acpi/actbl2.h:2260:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl2.h:2259:1: warning: empty declaration struct acpi_pptt_id { ^ /kisskb/src/include/acpi/actbl2.h:2278:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2277:1: warning: empty declaration struct acpi_table_prmt { ^ /kisskb/src/include/acpi/actbl2.h:2281:1: warning: empty declaration struct acpi_table_prmt_header { ^ /kisskb/src/include/acpi/actbl2.h:2287:1: warning: empty declaration struct acpi_prmt_module_header { ^ /kisskb/src/include/acpi/actbl2.h:2292:1: warning: empty declaration struct acpi_prmt_module_info { ^ /kisskb/src/include/acpi/actbl2.h:2303:1: warning: empty declaration struct acpi_prmt_handler_info { ^ /kisskb/src/include/acpi/actbl2.h:2320:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2319:1: warning: empty declaration struct acpi_table_rasf { ^ /kisskb/src/include/acpi/actbl2.h:2326:1: warning: empty declaration struct acpi_rasf_shared_memory { ^ /kisskb/src/include/acpi/actbl2.h:2339:1: warning: empty declaration struct acpi_rasf_parameter_block { ^ /kisskb/src/include/acpi/actbl2.h:2347:1: warning: empty declaration struct acpi_rasf_patrol_scrub_parameter { ^ /kisskb/src/include/acpi/actbl2.h:2366:1: warning: empty declaration enum acpi_rasf_commands { ^ /kisskb/src/include/acpi/actbl2.h:2372:1: warning: empty declaration enum acpi_rasf_capabiliities { ^ /kisskb/src/include/acpi/actbl2.h:2379:1: warning: empty declaration enum acpi_rasf_patrol_scrub_commands { ^ /kisskb/src/include/acpi/actbl2.h:2391:1: warning: empty declaration enum acpi_rasf_status { ^ /kisskb/src/include/acpi/actbl2.h:2419:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2418:1: warning: empty declaration struct acpi_table_rgrt { ^ /kisskb/src/include/acpi/actbl2.h:2428:1: warning: empty declaration enum acpi_rgrt_image_type { ^ /kisskb/src/include/acpi/actbl2.h:2442:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2441:1: warning: empty declaration struct acpi_table_sbst { ^ /kisskb/src/include/acpi/actbl2.h:2458:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2457:1: warning: empty declaration struct acpi_table_sdei { ^ /kisskb/src/include/acpi/actbl2.h:2469:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2468:1: warning: empty declaration struct acpi_table_sdev { ^ /kisskb/src/include/acpi/actbl2.h:2472:1: warning: empty declaration struct acpi_sdev_header { ^ /kisskb/src/include/acpi/actbl2.h:2480:1: warning: empty declaration enum acpi_sdev_type { ^ /kisskb/src/include/acpi/actbl2.h:2497:1: warning: empty declaration struct acpi_sdev_namespace { ^ /kisskb/src/include/acpi/actbl2.h:2505:1: warning: empty declaration struct acpi_sdev_secure_component { ^ /kisskb/src/include/acpi/actbl2.h:2513:1: warning: empty declaration struct acpi_sdev_component { ^ /kisskb/src/include/acpi/actbl2.h:2519:1: warning: empty declaration enum acpi_sac_type { ^ /kisskb/src/include/acpi/actbl2.h:2524:1: warning: empty declaration struct acpi_sdev_id_component { ^ /kisskb/src/include/acpi/actbl2.h:2538:1: warning: empty declaration struct acpi_sdev_mem_component { ^ /kisskb/src/include/acpi/actbl2.h:2547:1: warning: empty declaration struct acpi_sdev_pcie { ^ /kisskb/src/include/acpi/actbl2.h:2559:1: warning: empty declaration struct acpi_sdev_pcie_path { ^ /kisskb/src/include/acpi/actbl2.h:2574:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2573:1: warning: empty declaration struct acpi_table_svkl { ^ /kisskb/src/include/acpi/actbl2.h:2578:1: warning: empty declaration struct acpi_svkl_key { ^ /kisskb/src/include/acpi/actbl2.h:2585:1: warning: empty declaration enum acpi_svkl_type { ^ /kisskb/src/include/acpi/actbl2.h:2590:1: warning: empty declaration enum acpi_svkl_format { ^ /kisskb/src/include/acpi/actbl2.h:2605:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl2.h:2604:1: warning: empty declaration struct acpi_table_tdel { ^ /kisskb/src/include/acpi/actbl2.h:2613:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ In file included from /kisskb/src/include/acpi/actbl.h:372:0, from /kisskb/src/include/acpi/acpi.h:26, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/actbl3.h:77:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/actbl3.h:87:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:86:1: warning: empty declaration struct acpi_table_slit { ^ /kisskb/src/include/acpi/actbl3.h:103:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:102:1: warning: empty declaration struct acpi_table_spcr { ^ /kisskb/src/include/acpi/actbl3.h:144:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:143:1: warning: empty declaration struct acpi_table_spmi { ^ /kisskb/src/include/acpi/actbl3.h:163:1: warning: empty declaration enum acpi_spmi_interface_types { ^ /kisskb/src/include/acpi/actbl3.h:180:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:179:1: warning: empty declaration struct acpi_table_srat { ^ /kisskb/src/include/acpi/actbl3.h:187:1: warning: empty declaration enum acpi_srat_type { ^ /kisskb/src/include/acpi/actbl3.h:205:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:204:1: warning: empty declaration struct acpi_srat_cpu_affinity { ^ /kisskb/src/include/acpi/actbl3.h:221:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:220:1: warning: empty declaration struct acpi_srat_mem_affinity { ^ /kisskb/src/include/acpi/actbl3.h:240:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:239:1: warning: empty declaration struct acpi_srat_x2apic_cpu_affinity { ^ /kisskb/src/include/acpi/actbl3.h:256:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:255:1: warning: empty declaration struct acpi_srat_gicc_affinity { ^ /kisskb/src/include/acpi/actbl3.h:270:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:269:1: warning: empty declaration struct acpi_srat_gic_its_affinity { ^ /kisskb/src/include/acpi/actbl3.h:283:30: error: field 'header' has incomplete type struct acpi_subtable_header header; ^ /kisskb/src/include/acpi/actbl3.h:282:1: warning: empty declaration struct acpi_srat_generic_affinity { ^ /kisskb/src/include/acpi/actbl3.h:308:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:307:1: warning: empty declaration struct acpi_table_stao { ^ /kisskb/src/include/acpi/actbl3.h:330:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:329:1: warning: empty declaration struct acpi_table_tcpa_hdr { ^ /kisskb/src/include/acpi/actbl3.h:341:1: warning: empty declaration struct acpi_table_tcpa_client { ^ /kisskb/src/include/acpi/actbl3.h:346:1: warning: empty declaration struct acpi_table_tcpa_server { ^ /kisskb/src/include/acpi/actbl3.h:394:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:393:1: warning: empty declaration struct acpi_table_tpm23 { ^ /kisskb/src/include/acpi/actbl3.h:408:1: warning: empty declaration struct acpi_tmp23_trailer { ^ /kisskb/src/include/acpi/actbl3.h:415:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:414:1: warning: empty declaration struct acpi_table_tpm2 { ^ /kisskb/src/include/acpi/actbl3.h:425:1: warning: empty declaration struct acpi_tpm2_phy { ^ /kisskb/src/include/acpi/actbl3.h:449:1: warning: empty declaration struct acpi_tpm2_trailer { ^ /kisskb/src/include/acpi/actbl3.h:461:1: warning: empty declaration struct acpi_tpm2_arm_smc { ^ /kisskb/src/include/acpi/actbl3.h:488:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:487:1: warning: empty declaration struct acpi_table_uefi { ^ /kisskb/src/include/acpi/actbl3.h:501:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:500:1: warning: empty declaration struct acpi_table_viot { ^ /kisskb/src/include/acpi/actbl3.h:509:1: warning: empty declaration struct acpi_viot_header { ^ /kisskb/src/include/acpi/actbl3.h:517:1: warning: empty declaration enum acpi_viot_node_type { ^ /kisskb/src/include/acpi/actbl3.h:527:1: warning: empty declaration struct acpi_viot_pci_range { ^ /kisskb/src/include/acpi/actbl3.h:538:1: warning: empty declaration struct acpi_viot_mmio { ^ /kisskb/src/include/acpi/actbl3.h:546:1: warning: empty declaration struct acpi_viot_virtio_iommu_pci { ^ /kisskb/src/include/acpi/actbl3.h:553:1: warning: empty declaration struct acpi_viot_virtio_iommu_mmio { ^ /kisskb/src/include/acpi/actbl3.h:569:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:568:1: warning: empty declaration struct acpi_table_waet { ^ /kisskb/src/include/acpi/actbl3.h:589:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:588:1: warning: empty declaration struct acpi_table_wdat { ^ /kisskb/src/include/acpi/actbl3.h:611:1: warning: empty declaration struct acpi_wdat_entry { ^ /kisskb/src/include/acpi/actbl3.h:622:1: warning: empty declaration enum acpi_wdat_actions { ^ /kisskb/src/include/acpi/actbl3.h:642:1: warning: empty declaration enum acpi_wdat_instructions { ^ /kisskb/src/include/acpi/actbl3.h:662:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:661:1: warning: empty declaration struct acpi_table_wddt { ^ /kisskb/src/include/acpi/actbl3.h:700:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:699:1: warning: empty declaration struct acpi_table_wdrt { ^ /kisskb/src/include/acpi/actbl3.h:723:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:722:1: warning: empty declaration struct acpi_table_wpbt { ^ /kisskb/src/include/acpi/actbl3.h:731:1: warning: empty declaration struct acpi_wpbt_unicode { ^ /kisskb/src/include/acpi/actbl3.h:746:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:745:1: warning: empty declaration struct acpi_table_wsmt { ^ /kisskb/src/include/acpi/actbl3.h:766:27: error: field 'header' has incomplete type struct acpi_table_header header; /* Common ACPI table header */ ^ /kisskb/src/include/acpi/actbl3.h:765:1: warning: empty declaration struct acpi_table_xenv { ^ /kisskb/src/include/acpi/actbl3.h:775:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ In file included from /kisskb/src/include/acpi/acpi.h:27:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acrestyp.h:17:13: error: storage class specified for parameter 'acpi_rsdesc_size' typedef u32 acpi_rsdesc_size; /* Max Resource Descriptor size is (Length+3) = (64K-1)+3 */ ^ /kisskb/src/include/acpi/acrestyp.h:121:9: error: expected declaration specifiers before '#pragma' #pragma pack(1) ^ /kisskb/src/include/acpi/acrestyp.h:128:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/acpi/acrestyp.h:130:1: warning: empty declaration struct acpi_vendor_uuid { ^ /kisskb/src/include/acpi/acrestyp.h:138:1: warning: empty declaration struct acpi_resource_irq { ^ /kisskb/src/include/acpi/acrestyp.h:148:1: warning: empty declaration struct acpi_resource_dma { ^ /kisskb/src/include/acpi/acrestyp.h:156:1: warning: empty declaration struct acpi_resource_start_dependent { ^ /kisskb/src/include/acpi/acrestyp.h:167:1: warning: empty declaration struct acpi_resource_io { ^ /kisskb/src/include/acpi/acrestyp.h:175:1: warning: empty declaration struct acpi_resource_fixed_io { ^ /kisskb/src/include/acpi/acrestyp.h:180:1: warning: empty declaration struct acpi_resource_fixed_dma { ^ /kisskb/src/include/acpi/acrestyp.h:195:1: warning: empty declaration struct acpi_resource_vendor { ^ /kisskb/src/include/acpi/acrestyp.h:202:1: warning: empty declaration struct acpi_resource_vendor_typed { ^ /kisskb/src/include/acpi/acrestyp.h:209:1: warning: empty declaration struct acpi_resource_end_tag { ^ /kisskb/src/include/acpi/acrestyp.h:213:1: warning: empty declaration struct acpi_resource_memory24 { ^ /kisskb/src/include/acpi/acrestyp.h:221:1: warning: empty declaration struct acpi_resource_memory32 { ^ /kisskb/src/include/acpi/acrestyp.h:229:1: warning: empty declaration struct acpi_resource_fixed_memory32 { ^ /kisskb/src/include/acpi/acrestyp.h:235:1: warning: empty declaration struct acpi_memory_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:242:1: warning: empty declaration struct acpi_io_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:249:1: warning: empty declaration union acpi_resource_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:258:1: warning: empty declaration struct acpi_resource_label { ^ /kisskb/src/include/acpi/acrestyp.h:263:1: warning: empty declaration struct acpi_resource_source { ^ /kisskb/src/include/acpi/acrestyp.h:279:1: warning: empty declaration struct acpi_address16_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:287:1: warning: empty declaration struct acpi_address32_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:295:1: warning: empty declaration struct acpi_address64_attribute { ^ /kisskb/src/include/acpi/acrestyp.h:303:1: warning: empty declaration struct acpi_resource_address { ^ /kisskb/src/include/acpi/acrestyp.h:306:1: warning: empty declaration struct acpi_resource_address16 { ^ /kisskb/src/include/acpi/acrestyp.h:311:1: warning: empty declaration struct acpi_resource_address32 { ^ /kisskb/src/include/acpi/acrestyp.h:316:1: warning: empty declaration struct acpi_resource_address64 { ^ /kisskb/src/include/acpi/acrestyp.h:321:1: warning: empty declaration struct acpi_resource_extended_address64 { ^ /kisskb/src/include/acpi/acrestyp.h:327:1: warning: empty declaration struct acpi_resource_extended_irq { ^ /kisskb/src/include/acpi/acrestyp.h:338:1: warning: empty declaration struct acpi_resource_generic_register { ^ /kisskb/src/include/acpi/acrestyp.h:346:1: warning: empty declaration struct acpi_resource_gpio { ^ /kisskb/src/include/acpi/acrestyp.h:398:1: warning: empty declaration struct acpi_resource_common_serialbus { ^ /kisskb/src/include/acpi/acrestyp.h:413:1: warning: empty declaration struct acpi_resource_i2c_serialbus { ^ /kisskb/src/include/acpi/acrestyp.h:424:1: warning: empty declaration struct acpi_resource_spi_serialbus { ^ /kisskb/src/include/acpi/acrestyp.h:454:1: warning: empty declaration struct acpi_resource_uart_serialbus { ^ /kisskb/src/include/acpi/acrestyp.h:509:1: warning: empty declaration struct acpi_resource_csi2_serialbus { ^ /kisskb/src/include/acpi/acrestyp.h:514:1: warning: empty declaration struct acpi_resource_pin_function { ^ /kisskb/src/include/acpi/acrestyp.h:526:1: warning: empty declaration struct acpi_resource_pin_config { ^ /kisskb/src/include/acpi/acrestyp.h:556:1: warning: empty declaration struct acpi_resource_pin_group { ^ /kisskb/src/include/acpi/acrestyp.h:566:1: warning: empty declaration struct acpi_resource_pin_group_function { ^ /kisskb/src/include/acpi/acrestyp.h:577:1: warning: empty declaration struct acpi_resource_pin_group_config { ^ /kisskb/src/include/acpi/acrestyp.h:620:1: warning: empty declaration union acpi_resource_data { ^ /kisskb/src/include/acpi/acrestyp.h:658:1: warning: empty declaration struct acpi_resource { ^ /kisskb/src/include/acpi/acrestyp.h:666:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ /kisskb/src/include/acpi/acrestyp.h:683:2: error: expected declaration specifiers before ';' token }; ^ In file included from /kisskb/src/include/acpi/platform/acenvex.h:23:0, from /kisskb/src/include/acpi/acpi.h:28, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/platform/aclinuxex.h:40:1: error: expected declaration specifiers before 'acpi_status' acpi_status ACPI_INIT_FUNCTION acpi_os_initialize(void); ^ /kisskb/src/include/acpi/platform/aclinuxex.h:42:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_terminate(void); ^ /kisskb/src/include/acpi/platform/aclinuxex.h:50:38: error: expected declaration specifiers or '...' before 'acpi_size' static inline void *acpi_os_allocate(acpi_size size) ^ /kisskb/src/include/acpi/platform/aclinuxex.h:55:45: error: expected declaration specifiers or '...' before 'acpi_size' static inline void *acpi_os_allocate_zeroed(acpi_size size) ^ /kisskb/src/include/acpi/platform/aclinuxex.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:72:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/platform/aclinuxex.h:123:50: error: expected declaration specifiers or '...' before 'acpi_size' static inline u8 acpi_os_readable(void *pointer, acpi_size length) ^ /kisskb/src/include/acpi/platform/aclinuxex.h:128:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_os_initialize_debugger' static inline acpi_status acpi_os_initialize_debugger(void) ^ /kisskb/src/include/acpi/platform/aclinuxex.h:134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/acpi/acpi.h:30:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpiosxf.h:28:3: error: storage class specified for parameter 'acpi_execute_type' } acpi_execute_type; ^ /kisskb/src/include/acpi/acpiosxf.h:38:1: warning: empty declaration struct acpi_signal_fatal_info { ^ /kisskb/src/include/acpi/acpiosxf.h:59:1: error: expected declaration specifiers before 'acpi_physical_address' acpi_physical_address acpi_os_get_root_pointer(void); ^ /kisskb/src/include/acpi/acpiosxf.h:63:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:69:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:75:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:125:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:131:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_delete_semaphore(acpi_semaphore handle); ^ /kisskb/src/include/acpi/acpiosxf.h:135:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:140:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_signal_semaphore(acpi_semaphore handle, u32 units); ^ /kisskb/src/include/acpi/acpiosxf.h:183:26: error: expected declaration specifiers or '...' before 'acpi_physical_address' void *acpi_os_map_memory(acpi_physical_address where, acpi_size length); ^ /kisskb/src/include/acpi/acpiosxf.h:183:55: error: expected declaration specifiers or '...' before 'acpi_size' void *acpi_os_map_memory(acpi_physical_address where, acpi_size length); ^ /kisskb/src/include/acpi/acpiosxf.h:187:50: error: expected declaration specifiers or '...' before 'acpi_size' void acpi_os_unmap_memory(void *logical_address, acpi_size size); ^ /kisskb/src/include/acpi/acpiosxf.h:191:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:200:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:207:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_delete_cache(acpi_cache_t * cache); ^ /kisskb/src/include/acpi/acpiosxf.h:211:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_purge_cache(acpi_cache_t * cache); ^ /kisskb/src/include/acpi/acpiosxf.h:219:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object); ^ /kisskb/src/include/acpi/acpiosxf.h:226:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:233:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:246:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:267:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width); ^ /kisskb/src/include/acpi/acpiosxf.h:271:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width); ^ /kisskb/src/include/acpi/acpiosxf.h:280:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:285:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:295:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:301:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpiosxf.h:322:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_signal(u32 function, void *info); ^ /kisskb/src/include/acpi/acpiosxf.h:326:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value); ^ In file included from /kisskb/src/include/acpi/platform/acenv.h:152:0, from /kisskb/src/include/acpi/acpi.h:22, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpiosxf.h:333:1: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_PRINTF_LIKE(1) ^ In file included from /kisskb/src/include/acpi/acpi.h:30:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpiosxf.h:349:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read); ^ /kisskb/src/include/acpi/acpiosxf.h:361:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_wait_command_ready(void); ^ /kisskb/src/include/acpi/acpiosxf.h:365:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_notify_command_complete(void); ^ /kisskb/src/include/acpi/acpiosxf.h:370:21: error: expected declaration specifiers or '...' before 'acpi_trace_event_type' acpi_os_trace_point(acpi_trace_event_type type, ^ In file included from /kisskb/src/include/acpi/acpixf.h:20:0, from /kisskb/src/include/acpi/acpi.h:31, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acbuffer.h:32:1: warning: empty declaration struct acpi_fde_info { ^ /kisskb/src/include/acpi/acbuffer.h:44:1: warning: empty declaration struct acpi_grt_info { ^ /kisskb/src/include/acpi/acbuffer.h:60:1: warning: empty declaration struct acpi_gtm_info { ^ /kisskb/src/include/acpi/acbuffer.h:77:1: warning: empty declaration struct acpi_pld_info { ^ In file included from /kisskb/src/include/acpi/acpi.h:31:0, from /kisskb/src/include/linux/acpi.h:22, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpixf.h:104:22: error: storage class specified for parameter 'acpi_gbl_enable_interpreter_slack' ACPI_INIT_GLOBAL(u8, acpi_gbl_enable_interpreter_slack, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:113:22: error: storage class specified for parameter 'acpi_gbl_auto_serialize_methods' ACPI_INIT_GLOBAL(u8, acpi_gbl_auto_serialize_methods, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:120:22: error: storage class specified for parameter 'acpi_gbl_create_osi_method' ACPI_INIT_GLOBAL(u8, acpi_gbl_create_osi_method, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:126:22: error: storage class specified for parameter 'acpi_gbl_use_default_register_widths' ACPI_INIT_GLOBAL(u8, acpi_gbl_use_default_register_widths, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:136:22: error: storage class specified for parameter 'acpi_gbl_enable_table_validation' ACPI_INIT_GLOBAL(u8, acpi_gbl_enable_table_validation, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:141:22: error: storage class specified for parameter 'acpi_gbl_enable_aml_debug_object' ACPI_INIT_GLOBAL(u8, acpi_gbl_enable_aml_debug_object, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:149:22: error: storage class specified for parameter 'acpi_gbl_copy_dsdt_locally' ACPI_INIT_GLOBAL(u8, acpi_gbl_copy_dsdt_locally, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:157:22: error: storage class specified for parameter 'acpi_gbl_do_not_use_xsdt' ACPI_INIT_GLOBAL(u8, acpi_gbl_do_not_use_xsdt, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:167:22: error: storage class specified for parameter 'acpi_gbl_use32_bit_fadt_addresses' ACPI_INIT_GLOBAL(u8, acpi_gbl_use32_bit_fadt_addresses, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:176:22: error: storage class specified for parameter 'acpi_gbl_use32_bit_facs_addresses' ACPI_INIT_GLOBAL(u8, acpi_gbl_use32_bit_facs_addresses, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:184:22: error: storage class specified for parameter 'acpi_gbl_truncate_io_addresses' ACPI_INIT_GLOBAL(u8, acpi_gbl_truncate_io_addresses, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:190:22: error: storage class specified for parameter 'acpi_gbl_disable_auto_repair' ACPI_INIT_GLOBAL(u8, acpi_gbl_disable_auto_repair, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:196:22: error: storage class specified for parameter 'acpi_gbl_disable_ssdt_table_install' ACPI_INIT_GLOBAL(u8, acpi_gbl_disable_ssdt_table_install, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:201:22: error: storage class specified for parameter 'acpi_gbl_runtime_namespace_override' ACPI_INIT_GLOBAL(u8, acpi_gbl_runtime_namespace_override, TRUE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:207:22: error: storage class specified for parameter 'acpi_gbl_osi_data' ACPI_INIT_GLOBAL(u8, acpi_gbl_osi_data, 0); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:214:22: error: storage class specified for parameter 'acpi_gbl_reduced_hardware' ACPI_INIT_GLOBAL(u8, acpi_gbl_reduced_hardware, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:221:23: error: storage class specified for parameter 'acpi_gbl_max_loop_iterations' ACPI_INIT_GLOBAL(u32, acpi_gbl_max_loop_iterations, ACPI_MAX_LOOP_TIMEOUT); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:231:22: error: storage class specified for parameter 'acpi_gbl_ignore_package_resolution_errors' ACPI_INIT_GLOBAL(u8, acpi_gbl_ignore_package_resolution_errors, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:237:23: error: storage class specified for parameter 'acpi_gbl_trace_flags' ACPI_INIT_GLOBAL(u32, acpi_gbl_trace_flags, 0); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:238:32: error: storage class specified for parameter 'acpi_gbl_trace_method_name' ACPI_INIT_GLOBAL(const char *, acpi_gbl_trace_method_name, NULL); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:239:23: error: storage class specified for parameter 'acpi_gbl_trace_dbg_level' ACPI_INIT_GLOBAL(u32, acpi_gbl_trace_dbg_level, ACPI_TRACE_LEVEL_DEFAULT); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:240:23: error: storage class specified for parameter 'acpi_gbl_trace_dbg_layer' ACPI_INIT_GLOBAL(u32, acpi_gbl_trace_dbg_layer, ACPI_TRACE_LAYER_DEFAULT); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:247:23: error: storage class specified for parameter 'acpi_dbg_level' ACPI_INIT_GLOBAL(u32, acpi_dbg_level, ACPI_DEBUG_DEFAULT); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:248:23: error: storage class specified for parameter 'acpi_dbg_layer' ACPI_INIT_GLOBAL(u32, acpi_dbg_layer, 0); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:252:22: error: storage class specified for parameter 'acpi_gbl_display_debug_timer' ACPI_INIT_GLOBAL(u8, acpi_gbl_display_debug_timer, FALSE); ^ /kisskb/src/include/acpi/acpixf.h:50:14: note: in definition of macro 'ACPI_INIT_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:266:37: error: storage class specified for parameter 'acpi_gbl_FADT' ACPI_GLOBAL(struct acpi_table_fadt, acpi_gbl_FADT); ^ /kisskb/src/include/acpi/acpixf.h:45:14: note: in definition of macro 'ACPI_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:267:18: error: storage class specified for parameter 'acpi_current_gpe_count' ACPI_GLOBAL(u32, acpi_current_gpe_count); ^ /kisskb/src/include/acpi/acpixf.h:45:14: note: in definition of macro 'ACPI_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:268:17: error: storage class specified for parameter 'acpi_gbl_system_awake_and_running' ACPI_GLOBAL(u8, acpi_gbl_system_awake_and_running); ^ /kisskb/src/include/acpi/acpixf.h:45:14: note: in definition of macro 'ACPI_GLOBAL' extern type name ^ /kisskb/src/include/acpi/acpixf.h:404:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:409:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:411:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:413:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:415:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:421:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enable' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enable(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:422:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_disable' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_disable(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:423:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_subsystem_status(void)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:425:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:428:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:431:29: error: expected declaration specifiers or '...' before 'acpi_status' *acpi_format_exception(acpi_status exception)) ^ /kisskb/src/include/acpi/acpixf.h:81:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_PTR' prototype; ^ /kisskb/src/include/acpi/acpixf.h:432:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_purge_cached_objects(void)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:434:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:437:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:439:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_update_interfaces(u8 action)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:442:33: error: expected declaration specifiers or '...' before 'acpi_adr_space_type' acpi_check_address_range(acpi_adr_space_type ^ /kisskb/src/include/acpi/acpixf.h:76:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_UINT32' prototype; ^ /kisskb/src/include/acpi/acpixf.h:444:12: error: expected declaration specifiers or '...' before 'acpi_physical_address' acpi_physical_address ^ /kisskb/src/include/acpi/acpixf.h:76:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_UINT32' prototype; ^ /kisskb/src/include/acpi/acpixf.h:445:21: error: expected declaration specifiers or '...' before 'acpi_size' address, acpi_size length, ^ /kisskb/src/include/acpi/acpixf.h:76:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_UINT32' prototype; ^ /kisskb/src/include/acpi/acpixf.h:447:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:456:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:459:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:462:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:466:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:469:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:472:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:478:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:481:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ACPI_INIT_FUNCTION ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:484:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:489:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:495:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:499:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:502:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:509:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:519:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:524:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:527:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:531:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:535:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:538:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:542:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:549:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:556:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:565:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:569:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_install_method(u8 *buffer)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:571:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:577:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:581:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:588:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:592:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_sci_handler' acpi_install_sci_handler(acpi_sci_handler ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:596:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_remove_sci_handler' acpi_remove_sci_handler(acpi_sci_handler ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:599:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_global_event_handler' acpi_install_global_event_handler ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:603:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_fixed_event_handler' acpi_install_fixed_event_handler(u32 ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:610:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_remove_fixed_event_handler' acpi_remove_fixed_event_handler(u32 acpi_event, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:614:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_gpe_handler' acpi_install_gpe_handler(acpi_handle ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:622:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_gpe_raw_handler' acpi_install_gpe_raw_handler(acpi_handle ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:630:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_remove_gpe_handler' acpi_remove_gpe_handler(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:634:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:640:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:645:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:655:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:662:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:665:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:673:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_acquire_global_lock' acpi_acquire_global_lock(u16 timeout, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:677:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_release_global_lock' acpi_release_global_lock(u32 handle)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:682:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:687:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:695:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enable_event' acpi_enable_event(u32 event, u32 flags)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:698:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_disable_event' acpi_disable_event(u32 event, u32 flags)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:699:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_clear_event' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_clear_event(u32 event)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:702:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_event_status' acpi_get_event_status(u32 event, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:709:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_update_all_gpes' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_update_all_gpes(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:712:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enable_gpe' acpi_enable_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:716:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_disable_gpe' acpi_disable_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:720:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_clear_gpe' acpi_clear_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:724:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_set_gpe' acpi_set_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:728:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_finish_gpe' acpi_finish_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:732:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_mask_gpe' acpi_mask_gpe(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:736:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_mark_gpe_for_wake' acpi_mark_gpe_for_wake(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:740:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_setup_gpe_for_wake' acpi_setup_gpe_for_wake(acpi_handle ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:745:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_set_gpe_wake_mask' acpi_set_gpe_wake_mask(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:749:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_gpe_status' acpi_get_gpe_status(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:753:55: error: expected declaration specifiers or '...' before 'acpi_handle' ACPI_HW_DEPENDENT_RETURN_UINT32(u32 acpi_dispatch_gpe(acpi_handle gpe_device, u32 gpe_number)) ^ /kisskb/src/include/acpi/acpixf.h:314:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_UINT32' static ACPI_INLINE prototype {return(0);} ^ /kisskb/src/include/acpi/acpixf.h:754:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_disable_all_gpes' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_disable_all_gpes(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:755:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enable_all_runtime_gpes' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enable_all_runtime_gpes(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:756:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enable_all_wakeup_gpes' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enable_all_wakeup_gpes(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:314:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static ACPI_INLINE prototype {return(0);} ^ /kisskb/src/include/acpi/acpixf.h:757:1: note: in expansion of macro 'ACPI_HW_DEPENDENT_RETURN_UINT32' ACPI_HW_DEPENDENT_RETURN_UINT32(u32 acpi_any_gpe_status_set(u32 gpe_skip_number)) ^ /kisskb/src/include/acpi/acpixf.h:314:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static ACPI_INLINE prototype {return(0);} ^ /kisskb/src/include/acpi/acpixf.h:758:1: note: in expansion of macro 'ACPI_HW_DEPENDENT_RETURN_UINT32' ACPI_HW_DEPENDENT_RETURN_UINT32(u32 acpi_any_fixed_event_status_set(void)) ^ /kisskb/src/include/acpi/acpixf.h:761:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_gpe_device' acpi_get_gpe_device(u32 gpe_index, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:765:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_install_gpe_block' acpi_install_gpe_block(acpi_handle gpe_device, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:772:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_remove_gpe_block' acpi_remove_gpe_block(acpi_handle gpe_device)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:778:14: error: expected declaration specifiers or '...' before '*' token acpi_status (*acpi_walk_resource_callback) (struct acpi_resource * resource, ^ /kisskb/src/include/acpi/acpixf.h:781:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:788:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:792:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:796:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:800:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:806:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:810:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:814:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:818:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:824:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:833:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_reset(void)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:835:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:839:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:844:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_read_bit_register' acpi_read_bit_register(u32 register_id, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:848:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_write_bit_register' acpi_write_bit_register(u32 register_id, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:854:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:859:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:861:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_enter_sleep_state(u8 sleep_state)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:863:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_enter_sleep_state_s4bios' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enter_sleep_state_s4bios(void)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:865:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:867:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_leave_sleep_state(u8 sleep_state)) ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ /kisskb/src/include/acpi/acpixf.h:870:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_set_firmware_waking_vector' acpi_set_firmware_waking_vector ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:877:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_timer_resolution' acpi_get_timer_resolution(u32 *resolution)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:878:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_timer' ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_get_timer(u32 *ticks)) ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/acpixf.h:881:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_get_timer_duration' acpi_get_timer_duration(u32 start_ticks, ^ /kisskb/src/include/acpi/acpixf.h:308:21: note: in definition of macro 'ACPI_HW_DEPENDENT_RETURN_STATUS' static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);} ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:888:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:893:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(4) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:899:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:904:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(1) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:907:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:912:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(4) ^ /kisskb/src/include/acpi/platform/acgcc.h:31:29: error: expected declaration specifiers before '__attribute__' #define ACPI_PRINTF_LIKE(c) __attribute__ ((__format__ (__printf__, c, c+1))) ^ /kisskb/src/include/acpi/acpixf.h:330:2: note: in definition of macro 'ACPI_MSG_DEPENDENT_RETURN_VOID' prototype; ^ /kisskb/src/include/acpi/acpixf.h:918:32: note: in expansion of macro 'ACPI_PRINTF_LIKE' ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) ^ /kisskb/src/include/acpi/acpixf.h:351:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static ACPI_INLINE prototype {return;} ^ /kisskb/src/include/acpi/acpixf.h:927:1: note: in expansion of macro 'ACPI_DBG_DEPENDENT_RETURN_VOID' ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) ^ /kisskb/src/include/acpi/acpixf.h:351:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static ACPI_INLINE prototype {return;} ^ /kisskb/src/include/acpi/acpixf.h:935:1: note: in expansion of macro 'ACPI_DBG_DEPENDENT_RETURN_VOID' ACPI_DBG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(6) ^ /kisskb/src/include/acpi/acpixf.h:945:28: error: expected declaration specifiers or '...' before 'acpi_trace_event_type' acpi_trace_point(acpi_trace_event_type type, ^ /kisskb/src/include/acpi/acpixf.h:351:21: note: in definition of macro 'ACPI_DBG_DEPENDENT_RETURN_VOID' static ACPI_INLINE prototype {return;} ^ /kisskb/src/include/acpi/acpixf.h:949:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_initialize_debugger(void); ^ /kisskb/src/include/acpi/acpixf.h:956:29: error: expected declaration specifiers before 'acpi_status' ACPI_EXTERNAL_RETURN_STATUS(acpi_status ^ /kisskb/src/include/acpi/acpixf.h:61:2: note: in definition of macro 'ACPI_EXTERNAL_RETURN_STATUS' prototype; ^ In file included from /kisskb/src/include/linux/acpi.h:28:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/dynamic_debug.h:16:1: warning: empty declaration struct _ddebug { ^ /kisskb/src/include/linux/dynamic_debug.h:59:1: warning: empty declaration enum class_map_type { ^ /kisskb/src/include/linux/dynamic_debug.h:83:1: warning: empty declaration struct ddebug_class_map { ^ /kisskb/src/include/linux/dynamic_debug.h:115:1: warning: empty declaration struct _ddebug_info { ^ /kisskb/src/include/linux/dynamic_debug.h:122:1: warning: empty declaration struct ddebug_class_param { ^ /kisskb/src/include/linux/dynamic_debug.h:308:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dynamic_debug.h:313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dynamic_debug.h:319:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dynamic_debug.h:340:1: warning: empty declaration struct kernel_param; ^ /kisskb/src/include/linux/dynamic_debug.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return 0; } ^ /kisskb/src/include/linux/dynamic_debug.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return 0; } ^ /kisskb/src/include/linux/dynamic_debug.h:348:38: error: storage class specified for parameter 'param_ops_dyndbg_classes' extern const struct kernel_param_ops param_ops_dyndbg_classes; ^ In file included from /kisskb/src/include/linux/acpi.h:32:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpi_bus.h:19:2: error: expected specifier-qualifier-list before 'acpi_handle' acpi_handle handles[ACPI_MAX_HANDLES]; ^ /kisskb/src/include/acpi/acpi_bus.h:17:1: warning: empty declaration struct acpi_handle_list { ^ /kisskb/src/include/acpi/acpi_bus.h:23:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpi_bus.h:26:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpi_bus.h:30:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpi_bus.h:35:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpi_bus.h:39:1: error: expected declaration specifiers before 'acpi_status' acpi_status ^ /kisskb/src/include/acpi/acpi_bus.h:42:22: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_has_method(acpi_handle handle, char *name); ^ /kisskb/src/include/acpi/acpi_bus.h:43:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_execute_simple_method(acpi_handle handle, char *method, ^ /kisskb/src/include/acpi/acpi_bus.h:45:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_evaluate_ej0(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:46:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); ^ /kisskb/src/include/acpi/acpi_bus.h:47:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function); ^ /kisskb/src/include/acpi/acpi_bus.h:48:21: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_ata_match(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:49:21: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_bay_match(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:50:22: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_dock_match(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:52:21: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs); ^ /kisskb/src/include/acpi/acpi_bus.h:52:47: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs); ^ /kisskb/src/include/acpi/acpi_bus.h:52:54: error: expected ';', ',' or ')' before '*' token bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs); ^ /kisskb/src/include/acpi/acpi_bus.h:53:38: error: expected declaration specifiers or '...' before 'acpi_handle' union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, ^ /kisskb/src/include/acpi/acpi_bus.h:53:64: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, ^ /kisskb/src/include/acpi/acpi_bus.h:53:71: error: expected ';', ',' or ')' before '*' token union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, ^ /kisskb/src/include/acpi/acpi_bus.h:57:25: error: expected declaration specifiers or '...' before 'acpi_handle' acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev, ^ /kisskb/src/include/acpi/acpi_bus.h:57:51: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev, ^ /kisskb/src/include/acpi/acpi_bus.h:57:58: error: expected ';', ',' or ')' before '*' token acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev, ^ /kisskb/src/include/acpi/acpi_bus.h:85:1: warning: empty declaration struct proc_dir_entry; ^ /kisskb/src/include/acpi/acpi_bus.h:88:31: error: storage class specified for parameter 'acpi_root_dir' extern struct proc_dir_entry *acpi_root_dir; ^ /kisskb/src/include/acpi/acpi_bus.h:90:1: warning: empty declaration enum acpi_bus_device_type { ^ /kisskb/src/include/acpi/acpi_bus.h:101:1: warning: empty declaration struct acpi_driver; ^ /kisskb/src/include/acpi/acpi_bus.h:102:1: warning: empty declaration struct acpi_device; ^ /kisskb/src/include/acpi/acpi_bus.h:109:1: warning: empty declaration struct acpi_hotplug_profile { ^ /kisskb/src/include/acpi/acpi_bus.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:123:1: warning: empty declaration struct acpi_scan_handler { ^ /kisskb/src/include/acpi/acpi_bus.h:139:1: warning: empty declaration struct acpi_hotplug_context { ^ /kisskb/src/include/acpi/acpi_bus.h:151:15: error: storage class specified for parameter 'acpi_op_add' typedef int (*acpi_op_add) (struct acpi_device * device); ^ /kisskb/src/include/acpi/acpi_bus.h:152:15: error: storage class specified for parameter 'acpi_op_remove' typedef int (*acpi_op_remove) (struct acpi_device * device); ^ /kisskb/src/include/acpi/acpi_bus.h:153:16: error: storage class specified for parameter 'acpi_op_notify' typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); ^ /kisskb/src/include/acpi/acpi_bus.h:156:2: error: expected specifier-qualifier-list before 'acpi_op_add' acpi_op_add add; ^ /kisskb/src/include/acpi/acpi_bus.h:155:1: warning: empty declaration struct acpi_device_ops { ^ /kisskb/src/include/acpi/acpi_bus.h:163:1: warning: empty declaration struct acpi_driver { ^ /kisskb/src/include/acpi/acpi_bus.h:180:1: warning: empty declaration struct acpi_device_status { ^ /kisskb/src/include/acpi/acpi_bus.h:191:1: warning: empty declaration struct acpi_device_flags { ^ /kisskb/src/include/acpi/acpi_bus.h:211:1: warning: empty declaration struct acpi_device_dir { ^ /kisskb/src/include/acpi/acpi_bus.h:219:14: error: storage class specified for parameter 'acpi_bus_id' typedef char acpi_bus_id[8]; ^ /kisskb/src/include/acpi/acpi_bus.h:220:13: error: storage class specified for parameter 'acpi_bus_address' typedef u64 acpi_bus_address; ^ /kisskb/src/include/acpi/acpi_bus.h:221:14: error: storage class specified for parameter 'acpi_device_name' typedef char acpi_device_name[40]; ^ /kisskb/src/include/acpi/acpi_bus.h:222:14: error: storage class specified for parameter 'acpi_device_class' typedef char acpi_device_class[20]; ^ /kisskb/src/include/acpi/acpi_bus.h:224:1: warning: empty declaration struct acpi_hardware_id { ^ /kisskb/src/include/acpi/acpi_bus.h:229:1: warning: empty declaration struct acpi_pnp_type { ^ /kisskb/src/include/acpi/acpi_bus.h:237:2: error: expected specifier-qualifier-list before 'acpi_bus_id' acpi_bus_id bus_id; /* Object name */ ^ /kisskb/src/include/acpi/acpi_bus.h:236:1: warning: empty declaration struct acpi_device_pnp { ^ /kisskb/src/include/acpi/acpi_bus.h:257:1: warning: empty declaration struct acpi_device_power_flags { ^ /kisskb/src/include/acpi/acpi_bus.h:267:1: warning: empty declaration struct acpi_device_power_state { ^ /kisskb/src/include/acpi/acpi_bus.h:278:1: warning: empty declaration struct acpi_device_power { ^ /kisskb/src/include/acpi/acpi_bus.h:287:2: error: expected specifier-qualifier-list before 'acpi_handle' acpi_handle supplier; ^ /kisskb/src/include/acpi/acpi_bus.h:285:1: warning: empty declaration struct acpi_dep_data { ^ /kisskb/src/include/acpi/acpi_bus.h:294:1: warning: empty declaration struct acpi_device_perf_flags { ^ /kisskb/src/include/acpi/acpi_bus.h:298:1: warning: empty declaration struct acpi_device_perf_state { ^ /kisskb/src/include/acpi/acpi_bus.h:308:1: warning: empty declaration struct acpi_device_perf { ^ /kisskb/src/include/acpi/acpi_bus.h:316:1: warning: empty declaration struct acpi_device_wakeup_flags { ^ /kisskb/src/include/acpi/acpi_bus.h:321:1: warning: empty declaration struct acpi_device_wakeup_context { ^ /kisskb/src/include/acpi/acpi_bus.h:327:2: error: expected specifier-qualifier-list before 'acpi_handle' acpi_handle gpe_device; ^ /kisskb/src/include/acpi/acpi_bus.h:326:1: warning: empty declaration struct acpi_device_wakeup { ^ /kisskb/src/include/acpi/acpi_bus.h:338:1: warning: empty declaration struct acpi_device_physical_node { ^ /kisskb/src/include/acpi/acpi_bus.h:346:15: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token const guid_t *guid; ^ /kisskb/src/include/acpi/acpi_bus.h:345:1: warning: empty declaration struct acpi_device_properties { ^ /kisskb/src/include/acpi/acpi_bus.h:353:1: warning: empty declaration struct acpi_device_data { ^ /kisskb/src/include/acpi/acpi_bus.h:360:1: warning: empty declaration struct acpi_gpio_mapping; ^ /kisskb/src/include/acpi/acpi_bus.h:366:2: error: expected specifier-qualifier-list before 'acpi_handle' acpi_handle handle; /* no handle for fixed hardware */ ^ /kisskb/src/include/acpi/acpi_bus.h:363:1: warning: empty declaration struct acpi_device { ^ /kisskb/src/include/acpi/acpi_bus.h:393:2: error: expected specifier-qualifier-list before 'acpi_handle' acpi_handle handle; ^ /kisskb/src/include/acpi/acpi_bus.h:391:1: warning: empty declaration struct acpi_data_node { ^ /kisskb/src/include/acpi/acpi_bus.h:402:39: error: storage class specified for parameter 'acpi_device_fwnode_ops' extern const struct fwnode_operations acpi_device_fwnode_ops; ^ /kisskb/src/include/acpi/acpi_bus.h:403:39: error: storage class specified for parameter 'acpi_data_fwnode_ops' extern const struct fwnode_operations acpi_data_fwnode_ops; ^ /kisskb/src/include/acpi/acpi_bus.h:404:39: error: storage class specified for parameter 'acpi_static_fwnode_ops' extern const struct fwnode_operations acpi_static_fwnode_ops; ^ /kisskb/src/include/acpi/acpi_bus.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:435:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:442:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:461:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:475:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:486:24: error: storage class specified for parameter 'acpi_bus_type' extern struct bus_type acpi_bus_type; ^ /kisskb/src/include/acpi/acpi_bus.h:502:2: error: expected specifier-qualifier-list before 'acpi_device_class' acpi_device_class device_class; ^ /kisskb/src/include/acpi/acpi_bus.h:500:1: warning: empty declaration struct acpi_bus_event { ^ /kisskb/src/include/acpi/acpi_bus.h:508:24: error: storage class specified for parameter 'acpi_kobj' extern struct kobject *acpi_kobj; ^ /kisskb/src/include/acpi/acpi_bus.h:509:12: error: storage class specified for parameter 'acpi_bus_generate_netlink_event' extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); ^ /kisskb/src/include/acpi/acpi_bus.h:510:49: error: expected ')' before 'void' void acpi_bus_private_data_handler(acpi_handle, void *); ^ /kisskb/src/include/acpi/acpi_bus.h:511:44: error: expected ')' before 'void' int acpi_bus_get_private_data(acpi_handle, void **); ^ /kisskb/src/include/acpi/acpi_bus.h:512:47: error: expected ')' before 'void' int acpi_bus_attach_private_data(acpi_handle, void *); ^ /kisskb/src/include/acpi/acpi_bus.h:513:1: warning: parameter names (without types) in function declaration void acpi_bus_detach_private_data(acpi_handle); ^ /kisskb/src/include/acpi/acpi_bus.h:514:12: error: storage class specified for parameter 'acpi_notifier_call_chain' extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); ^ /kisskb/src/include/acpi/acpi_bus.h:515:12: error: storage class specified for parameter 'register_acpi_notifier' extern int register_acpi_notifier(struct notifier_block *); ^ /kisskb/src/include/acpi/acpi_bus.h:516:12: error: storage class specified for parameter 'unregister_acpi_notifier' extern int unregister_acpi_notifier(struct notifier_block *); ^ /kisskb/src/include/acpi/acpi_bus.h:522:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_bus_get_status_handle(acpi_handle handle, ^ /kisskb/src/include/acpi/acpi_bus.h:526:24: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_bus_set_power(acpi_handle handle, int state); ^ /kisskb/src/include/acpi/acpi_bus.h:532:27: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_bus_update_power(acpi_handle handle, int *state_p); ^ /kisskb/src/include/acpi/acpi_bus.h:534:32: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_bus_power_manageable(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:542:26: error: expected declaration specifiers or '...' before 'acpi_handle' bool acpi_bus_can_wakeup(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:554:19: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_bus_scan(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:556:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); ^ /kisskb/src/include/acpi/acpi_bus.h:565:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:584:1: warning: empty declaration struct acpi_bus_type { ^ /kisskb/src/include/acpi/acpi_bus.h:596:1: warning: empty declaration enum acpi_bridge_type { ^ /kisskb/src/include/acpi/acpi_bus.h:606:18: error: field 'secondary' has incomplete type struct resource secondary; /* downstream bus range */ ^ /kisskb/src/include/acpi/acpi_bus.h:601:1: warning: empty declaration struct acpi_pci_root { ^ /kisskb/src/include/acpi/acpi_bus.h:628:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:634:9: error: expected declaration specifiers or '...' before 'acpi_bus_address' acpi_bus_address adr); ^ /kisskb/src/include/acpi/acpi_bus.h:635:1: warning: parameter names (without types) in function declaration int acpi_is_root_bridge(acpi_handle); ^ /kisskb/src/include/acpi/acpi_bus.h:636:42: error: expected declaration specifiers or '...' before 'acpi_handle' struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:647:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:651:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:661:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:674:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_add_pm_notifier(struct acpi_device *adev, struct device *dev, ^ /kisskb/src/include/acpi/acpi_bus.h:676:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_remove_pm_notifier(struct acpi_device *adev); ^ /kisskb/src/include/acpi/acpi_bus.h:715:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool acpi_sleep_state_supported(u8 sleep_state) { return false; } ^ /kisskb/src/include/acpi/acpi_bus.h:721:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline u32 acpi_target_system_state(void) { return ACPI_STATE_S0; } ^ /kisskb/src/include/acpi/acpi_bus.h:725:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:767:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:772:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/acpi_bus.h:777:41: error: expected declaration specifiers or '...' before 'acpi_handle' struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:778:39: error: expected declaration specifiers or '...' before 'acpi_handle' struct acpi_device *acpi_get_acpi_dev(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_bus.h:781:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/acpi.h:33:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpi_drivers.h:51:32: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering, ^ /kisskb/src/include/acpi/acpi_drivers.h:53:28: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_pci_link_free_irq(acpi_handle handle); ^ /kisskb/src/include/acpi/acpi_drivers.h:57:1: warning: empty declaration struct pci_bus; ^ /kisskb/src/include/acpi/acpi_drivers.h:60:8: warning: parameter names (without types) in function declaration struct pci_dev *acpi_get_pci_dev(acpi_handle); ^ /kisskb/src/include/acpi/acpi_drivers.h:75:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void pci_acpi_crs_quirks(void) { } ^ /kisskb/src/include/acpi/acpi_drivers.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/acpi.h:34:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpi_numa.h:15:12: error: storage class specified for parameter 'pxm_to_node' extern int pxm_to_node(int); ^ /kisskb/src/include/acpi/acpi_numa.h:16:12: error: storage class specified for parameter 'node_to_pxm' extern int node_to_pxm(int); ^ /kisskb/src/include/acpi/acpi_numa.h:17:12: error: storage class specified for parameter 'acpi_map_pxm_to_node' extern int acpi_map_pxm_to_node(int); ^ /kisskb/src/include/acpi/acpi_numa.h:18:22: error: storage class specified for parameter 'acpi_srat_revision' extern unsigned char acpi_srat_revision; ^ /kisskb/src/include/acpi/acpi_numa.h:19:13: error: storage class specified for parameter 'disable_srat' extern void disable_srat(void); ^ /kisskb/src/include/acpi/acpi_numa.h:21:13: error: storage class specified for parameter 'bad_srat' extern void bad_srat(void); ^ /kisskb/src/include/acpi/acpi_numa.h:22:12: error: storage class specified for parameter 'srat_disabled' extern int srat_disabled(void); ^ /kisskb/src/include/acpi/acpi_numa.h:39:13: error: storage class specified for parameter 'disable_hmat' extern void disable_hmat(void); ^ In file included from /kisskb/src/arch/arm64/include/asm/pgtable.h:9:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/proc-fns.h:16:1: warning: empty declaration struct cpu_suspend_ctx; ^ /kisskb/src/arch/arm64/include/asm/proc-fns.h:18:13: error: storage class specified for parameter 'cpu_do_idle' extern void cpu_do_idle(void); ^ /kisskb/src/arch/arm64/include/asm/proc-fns.h:19:13: error: storage class specified for parameter 'cpu_do_suspend' extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr); ^ /kisskb/src/arch/arm64/include/asm/proc-fns.h:20:12: error: storage class specified for parameter 'cpu_do_resume' extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr); ^ In file included from /kisskb/src/arch/arm64/include/asm/pgtable.h:14:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/pgtable-prot.h:35:13: error: storage class specified for parameter 'arm64_use_ng_mappings' extern bool arm64_use_ng_mappings; ^ In file included from /kisskb/src/arch/arm64/include/asm/pgtable.h:15:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/tlbflush.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:270:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:365:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:375:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/tlbflush.h:398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/pgtable.h:32:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/fixmap.h:35:1: warning: empty declaration enum fixed_addresses { ^ /kisskb/src/arch/arm64/include/asm/fixmap.h:103:13: error: section attribute not allowed for 'early_fixmap_init' void __init early_fixmap_init(void); ^ /kisskb/src/arch/arm64/include/asm/fixmap.h:103:1: warning: '__cold__' attribute ignored [-Wattributes] void __init early_fixmap_init(void); ^ /kisskb/src/arch/arm64/include/asm/fixmap.h:110:13: error: storage class specified for parameter '__set_fixmap' extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot); ^ In file included from /kisskb/src/arch/arm64/include/asm/fixmap.h:112:0, from /kisskb/src/arch/arm64/include/asm/pgtable.h:32, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/include/asm/pgtable.h:36:0, from /kisskb/src/include/linux/pgtable.h:6, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/page_table_check.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:156:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_table_check.h:162:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:6:0, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/pgtable.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:66:22: error: storage class specified for parameter 'empty_zero_page' extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:172:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:178:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:191:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:199:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:228:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:233:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:238:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:277:13: error: storage class specified for parameter '__sync_icache_dcache' extern void __sync_icache_dcache(pte_t pteval); ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:376:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:401:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:406:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:416:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:440:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:493:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:510:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:533:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:582:1: warning: empty declaration struct file; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:583:17: error: storage class specified for parameter 'phys_mem_access_prot' extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:608:14: error: storage class specified for parameter 'init_pg_dir' extern pgd_t init_pg_dir[PTRS_PER_PGD]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:609:14: error: storage class specified for parameter 'init_pg_end' extern pgd_t init_pg_end[]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:610:14: error: storage class specified for parameter 'swapper_pg_dir' extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:611:14: error: storage class specified for parameter 'idmap_pg_dir' extern pgd_t idmap_pg_dir[PTRS_PER_PGD]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:612:14: error: storage class specified for parameter 'idmap_pg_end' extern pgd_t idmap_pg_end[]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:613:14: error: storage class specified for parameter 'tramp_pg_dir' extern pgd_t tramp_pg_dir[PTRS_PER_PGD]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:614:14: error: storage class specified for parameter 'reserved_pg_dir' extern pgd_t reserved_pg_dir[PTRS_PER_PGD]; ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:616:13: error: storage class specified for parameter 'set_swapper_pgd' extern void set_swapper_pgd(pgd_t *pgdp, pgd_t pgd); ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:619:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:642:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:647:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:652:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:705:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:710:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:715:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:754:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:766:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:813:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:829:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:834: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/arm64/include/asm/pgtable.h:843:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:848:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:853:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:897:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:904:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:927:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:935:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:947:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:962:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:978:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:985:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:1024:12: error: storage class specified for parameter 'kern_addr_valid' extern int kern_addr_valid(unsigned long addr); ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:1063:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/pgtable.h:1094:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/pgtable.h:14:0, from /kisskb/src/arch/arm64/include/asm/io.h:12, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/pgtable_uffd.h:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/pgtable_uffd.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/io.h:12:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:247:12: error: storage class specified for parameter 'pmdp_clear_flush_young' extern int pmdp_clear_flush_young(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h: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:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:428:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:443:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:449:14: error: storage class specified for parameter 'ptep_clear_flush' extern pte_t ptep_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:455:14: error: storage class specified for parameter 'pmdp_huge_clear_flush' extern pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:458:14: error: storage class specified for parameter 'pudp_huge_clear_flush' extern pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h: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:564:12: error: expected declaration specifiers or '...' before 'pgtable_t' pgtable_t pgtable); ^ /kisskb/src/include/linux/pgtable.h:568:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '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:607:14: error: storage class specified for parameter 'pmdp_invalidate_ad' extern pmd_t pmdp_invalidate_ad(struct vm_area_struct *vma, ^ /kisskb/src/include/linux/pgtable.h:613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:938:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:949:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:988:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1092:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1097:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1184:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1315:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1418:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1433:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1469:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void p4d_clear_huge(p4d_t *p4d) { } ^ /kisskb/src/include/linux/pgtable.h:1534:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/pgtable.h:1539:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void init_espfix_bsp(void) { } ^ /kisskb/src/include/linux/pgtable.h:1542:20: error: storage class specified for parameter 'pgtable_cache_init' extern void __init pgtable_cache_init(void); ^ /kisskb/src/include/linux/pgtable.h:1542:20: error: section attribute not allowed for 'pgtable_cache_init' /kisskb/src/include/linux/pgtable.h:1542:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init pgtable_cache_init(void); ^ /kisskb/src/include/linux/pgtable.h:1546:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pgtable.h:1595:22: error: storage class specified for parameter 'pgtbl_mod_mask' typedef unsigned int pgtbl_mod_mask; ^ In file included from ./arch/arm64/include/generated/asm/early_ioremap.h:1:0, from /kisskb/src/arch/arm64/include/asm/io.h:17, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/include/linux/io.h:13:0, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/io.h:26:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:130:13: error: storage class specified for parameter '__memcpy_fromio' extern void __memcpy_fromio(void *, const volatile void __iomem *, size_t); ^ /kisskb/src/arch/arm64/include/asm/io.h:131:13: error: storage class specified for parameter '__memcpy_toio' extern void __memcpy_toio(volatile void __iomem *, const void *, size_t); ^ /kisskb/src/arch/arm64/include/asm/io.h:132:13: error: storage class specified for parameter '__memset_io' extern void __memset_io(volatile void __iomem *, int, size_t); ^ In file included from /kisskb/src/include/asm-generic/io.h:20:0, from /kisskb/src/arch/arm64/include/asm/io.h:163, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/pci_iomap.h:10:1: warning: empty declaration 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/arch/arm64/include/asm/io.h:163:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:188:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:203:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:250:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:274:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:318:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:367:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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 { ^ /kisskb/src/include/asm-generic/io.h:543:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:569:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:582:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:592:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:602: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/arm64/include/asm/io.h:163, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/logic_pio.h:13:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/logic_pio.h:18:1: warning: empty declaration struct logic_pio_hwaddr { ^ /kisskb/src/include/linux/logic_pio.h:30:1: warning: empty declaration struct logic_pio_host_ops { ^ /kisskb/src/include/linux/logic_pio.h:47:6: error: redefinition of parameter 'logic_outb' void logic_outb(u8 value, unsigned long addr); ^ /kisskb/src/include/linux/logic_pio.h:42:6: note: previous definition of 'logic_outb' was here void logic_outb(u8 value, unsigned long addr); ^ /kisskb/src/include/linux/logic_pio.h:48:6: error: redefinition of parameter 'logic_outw' void logic_outw(u16 value, unsigned long addr); ^ /kisskb/src/include/linux/logic_pio.h:43:6: note: previous definition of 'logic_outw' was here void logic_outw(u16 value, unsigned long addr); ^ /kisskb/src/include/linux/logic_pio.h:49:6: error: redefinition of parameter 'logic_outl' void logic_outl(u32 value, unsigned long addr); ^ /kisskb/src/include/linux/logic_pio.h:44:6: note: previous definition of 'logic_outl' was here void logic_outl(u32 value, unsigned long addr); ^ In file included from /kisskb/src/arch/arm64/include/asm/io.h:163:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/io.h:638:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:646:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:662:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:670:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:678:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:794:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:802:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:810:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:819:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:828:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:836:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:844:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:853:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:915:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:924:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:933:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:943:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:954:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:974:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:985:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/vmalloc.h:13:0, from /kisskb/src/include/asm-generic/io.h:994, from /kisskb/src/arch/arm64/include/asm/io.h:163, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/vmalloc.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/vmalloc.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/vmalloc.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/asm-generic/io.h:994:0, from /kisskb/src/arch/arm64/include/asm/io.h:163, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/vmalloc.h:15:1: warning: empty declaration struct vm_area_struct; /* vma defining user mapping in mm_types.h */ ^ /kisskb/src/include/linux/vmalloc.h:16:1: warning: empty declaration struct notifier_block; /* in notifier.h */ ^ /kisskb/src/include/linux/vmalloc.h:48:1: warning: empty declaration struct vm_struct { ^ /kisskb/src/include/linux/vmalloc.h:62:1: warning: empty declaration 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: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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init vmalloc_init(void); ^ /kisskb/src/include/linux/vmalloc.h:134:22: error: storage class specified for parameter 'vmalloc_nr_pages' extern unsigned long vmalloc_nr_pages(void); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:142:42: note: in expansion of macro '__alloc_size' extern void *vmalloc(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:143:42: note: in expansion of macro '__alloc_size' extern void *vzalloc(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:144:47: note: in expansion of macro '__alloc_size' extern void *vmalloc_user(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:145:57: note: in expansion of macro '__alloc_size' extern void *vmalloc_node(unsigned long size, int node) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:146:57: note: in expansion of macro '__alloc_size' extern void *vzalloc_node(unsigned long size, int node) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:147:45: note: in expansion of macro '__alloc_size' extern void *vmalloc_32(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:148:50: note: in expansion of macro '__alloc_size' extern void *vmalloc_32_user(unsigned long size) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:149:60: note: in expansion of macro '__alloc_size' extern void *__vmalloc(unsigned long size, gfp_t gfp_mask) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:153:24: note: in expansion of macro '__alloc_size' const void *caller) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:155:33: note: in expansion of macro '__alloc_size' int node, const void *caller) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:156:56: note: in expansion of macro '__alloc_size' void *vmalloc_huge(unsigned long size, gfp_t gfp_mask) __alloc_size(1); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:158:66: note: in expansion of macro '__alloc_size' extern void *__vmalloc_array(size_t n, size_t size, gfp_t flags) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:159:51: note: in expansion of macro '__alloc_size' extern void *vmalloc_array(size_t n, size_t size) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:160:60: note: in expansion of macro '__alloc_size' extern void *__vcalloc(size_t n, size_t size, gfp_t flags) __alloc_size(1, 2); ^ /kisskb/src/include/linux/compiler_types.h:279:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__alloc_size__' #define __alloc_size(x, ...) __alloc_size__(x, ## __VA_ARGS__) __malloc ^ /kisskb/src/include/linux/vmalloc.h:161:45: note: in expansion of macro '__alloc_size' extern void *vcalloc(size_t n, size_t size) __alloc_size(1, 2); ^ In file included from /kisskb/src/include/asm-generic/io.h:994:0, from /kisskb/src/arch/arm64/include/asm/io.h:163, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__cold__' attribute ignored [-Wattributes] extern __init void vm_area_add_early(struct vm_struct *vm); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); ^ In file included from /kisskb/src/arch/arm64/include/asm/io.h:163:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/io.h:1071:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1081:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1142:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1160:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/io.h:1224:12: error: storage class specified for parameter 'devmem_is_allowed' extern int devmem_is_allowed(unsigned long pfn); ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/io.h:167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/io.h:179: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/arm64/include/asm/io.h:180: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/arm64/include/asm/io.h:182:13: error: storage class specified for parameter 'arch_memremap_can_ram_remap' extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, ^ In file included from /kisskb/src/include/acpi/acpi_io.h:5:0, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/io.h:16:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/io.h:17:1: warning: empty declaration 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/acpi/acpi_io.h:5:0, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/io.h:86:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:135:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/io.h:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/io.h:165:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/efi.h:19:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/proc_fs.h:12:1: warning: empty declaration struct proc_dir_entry; ^ /kisskb/src/include/linux/proc_fs.h:13:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/proc_fs.h:14:1: warning: empty declaration struct seq_operations; ^ /kisskb/src/include/linux/proc_fs.h:16:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/proc_fs.h:29:1: warning: empty declaration struct proc_ops { ^ /kisskb/src/include/linux/proc_fs.h:48:1: warning: empty declaration enum proc_hidepid { ^ /kisskb/src/include/linux/proc_fs.h:56:1: warning: empty declaration enum proc_pidonly { ^ /kisskb/src/include/linux/proc_fs.h:65:2: error: expected specifier-qualifier-list before 'kgid_t' kgid_t pid_gid; ^ /kisskb/src/include/linux/proc_fs.h:61:1: warning: empty declaration struct proc_fs_info { ^ /kisskb/src/include/linux/proc_fs.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/proc_fs.h:77:15: error: storage class specified for parameter 'proc_write_t' typedef int (*proc_write_t)(struct file *, char *, size_t); ^ /kisskb/src/include/linux/proc_fs.h:79:13: error: storage class specified for parameter 'proc_root_init' extern void proc_root_init(void); ^ /kisskb/src/include/linux/proc_fs.h:80:13: error: storage class specified for parameter 'proc_flush_pid' extern void proc_flush_pid(struct pid *); ^ /kisskb/src/include/linux/proc_fs.h:82:31: error: storage class specified for parameter 'proc_symlink' extern struct proc_dir_entry *proc_symlink(const char *, ^ /kisskb/src/include/linux/proc_fs.h:85:31: error: storage class specified for parameter 'proc_mkdir' extern struct proc_dir_entry *proc_mkdir(const char *, struct proc_dir_entry *); ^ /kisskb/src/include/linux/proc_fs.h:86:31: error: storage class specified for parameter 'proc_mkdir_data' extern struct proc_dir_entry *proc_mkdir_data(const char *, umode_t, ^ /kisskb/src/include/linux/proc_fs.h:88:31: error: storage class specified for parameter 'proc_mkdir_mode' extern struct proc_dir_entry *proc_mkdir_mode(const char *, umode_t, ^ /kisskb/src/include/linux/proc_fs.h:105:31: error: storage class specified for parameter 'proc_create_data' extern struct proc_dir_entry *proc_create_data(const char *, umode_t, ^ In file included from /kisskb/src/include/linux/efi.h:19:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/proc_fs.h:111:13: error: storage class specified for parameter 'proc_set_size' extern void proc_set_size(struct proc_dir_entry *, loff_t); ^ /kisskb/src/include/linux/proc_fs.h:112:52: error: expected declaration specifiers or '...' before 'kuid_t' extern void proc_set_user(struct proc_dir_entry *, kuid_t, kgid_t); ^ /kisskb/src/include/linux/proc_fs.h:112:60: error: expected declaration specifiers or '...' before 'kgid_t' extern void proc_set_user(struct proc_dir_entry *, kuid_t, kgid_t); ^ /kisskb/src/include/linux/proc_fs.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/proc_fs.h:123:14: error: storage class specified for parameter 'proc_get_parent_data' extern void *proc_get_parent_data(const struct inode *); ^ /kisskb/src/include/linux/proc_fs.h:124:13: error: storage class specified for parameter 'proc_remove' extern void proc_remove(struct proc_dir_entry *); ^ /kisskb/src/include/linux/proc_fs.h:125:13: error: storage class specified for parameter 'remove_proc_entry' extern void remove_proc_entry(const char *, struct proc_dir_entry *); ^ /kisskb/src/include/linux/proc_fs.h:126:12: error: storage class specified for parameter 'remove_proc_subtree' extern int remove_proc_subtree(const char *, struct proc_dir_entry *); ^ /kisskb/src/include/linux/proc_fs.h:139:9: error: expected declaration specifiers or '...' before 'proc_write_t' proc_write_t write, ^ /kisskb/src/include/linux/proc_fs.h:144:11: error: expected declaration specifiers or '...' before 'proc_write_t' proc_write_t write, ^ /kisskb/src/include/linux/proc_fs.h:146:20: error: storage class specified for parameter 'tgid_pidfd_to_pid' extern struct pid *tgid_pidfd_to_pid(const struct file *file); ^ /kisskb/src/include/linux/proc_fs.h:148:1: warning: empty declaration struct bpf_iter_aux_info; ^ /kisskb/src/include/linux/proc_fs.h:149:12: error: storage class specified for parameter 'bpf_iter_init_seq_net' extern int bpf_iter_init_seq_net(void *priv_data, struct bpf_iter_aux_info *aux); ^ /kisskb/src/include/linux/proc_fs.h:150:13: error: storage class specified for parameter 'bpf_iter_fini_seq_net' extern void bpf_iter_fini_seq_net(void *priv_data); ^ /kisskb/src/include/linux/proc_fs.h:221:1: warning: empty declaration struct net; ^ /kisskb/src/include/linux/proc_fs.h:225:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/proc_fs.h:229:1: warning: empty declaration struct ns_common; ^ /kisskb/src/include/linux/proc_fs.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/interrupt.h:9:0, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irqreturn.h:11:1: warning: empty declaration 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/hardirq.h:5:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/context_tracking_state.h:12:1: warning: empty declaration enum ctx_state { ^ /kisskb/src/include/linux/context_tracking_state.h:27:1: warning: empty declaration struct context_tracking { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/context_tracking_state.h:48:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct context_tracking, context_tracking); ^ In file included from /kisskb/src/include/linux/hardirq.h:5:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/context_tracking_state.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:58:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:77:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:82:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/context_tracking_state.h:141:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled(void) { return false; } ^ /kisskb/src/include/linux/context_tracking_state.h:142:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled_cpu(int cpu) { return false; } ^ /kisskb/src/include/linux/context_tracking_state.h:143:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static __always_inline bool context_tracking_enabled_this_cpu(void) { return false; } ^ In file included from /kisskb/src/include/linux/hardirq.h:8:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/ftrace_irq.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace_irq.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/hardirq.h:10:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/irq.h:7:0, from /kisskb/src/arch/arm64/include/asm/hardirq.h:12, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/irq.h:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/hardirq.h:12:0, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/irq.h:9:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/arch/arm64/include/asm/irq.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_arm.h:10:0, from /kisskb/src/arch/arm64/include/asm/hardirq.h:13, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/esr.h:349:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/hardirq.h:17:0, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/hardirq.h:13: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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/hardirq.h:15:40: error: storage class specified for parameter 'irq_stat' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/asm-generic/hardirq.h:15:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/asm-generic/hardirq.h:15:40: error: alignment may not be specified for 'irq_stat' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/asm-generic/hardirq.h:15:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/asm-generic/hardirq.h:15:40: error: section attribute not allowed for 'irq_stat' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/asm-generic/hardirq.h:15:1: note: in expansion of macro 'DECLARE_PER_CPU_ALIGNED' DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat); ^ /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:101: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:101: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/arm64/include/generated/asm/irq_regs.h:1:0, from /kisskb/src/include/linux/irq.h:25, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/arm64/include/asm/hardirq.h:17, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/include/asm-generic/hardirq.h:17:0, from /kisskb/src/arch/arm64/include/asm/hardirq.h:17, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irq.h:27:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/irq.h:28:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/irq.h:29:1: warning: empty declaration struct msi_msg; ^ /kisskb/src/include/linux/irq.h:30:1: warning: empty declaration struct irq_affinity_desc; ^ /kisskb/src/include/linux/irq.h:31:1: warning: empty declaration enum irqchip_irq_state; ^ /kisskb/src/include/linux/irq.h:77:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/irq.h:123:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/irq.h:129:1: warning: empty declaration struct msi_desc; ^ /kisskb/src/include/linux/irq.h:130:1: warning: empty declaration struct irq_domain; ^ /kisskb/src/include/linux/irq.h:147:1: warning: empty declaration struct irq_common_data { ^ /kisskb/src/include/linux/irq.h:179:1: warning: empty declaration struct irq_data { ^ /kisskb/src/include/linux/irq.h:227:1: warning: empty declaration 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: warning: empty declaration struct irq_chip { ^ /kisskb/src/include/linux/irq.h:576:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/irq.h:591:0, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/arm64/include/asm/hardirq.h:17, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irqdesc.h:13:1: warning: empty declaration struct irq_affinity_notify; ^ /kisskb/src/include/linux/irqdesc.h:14:1: warning: empty declaration struct proc_dir_entry; ^ /kisskb/src/include/linux/irqdesc.h:15:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/irqdesc.h:16:1: warning: empty declaration struct irq_desc; ^ /kisskb/src/include/linux/irqdesc.h:17:1: warning: empty declaration struct irq_domain; ^ /kisskb/src/include/linux/irqdesc.h:18:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/linux/irqdesc.h:83:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t wait_for_threads; ^ /kisskb/src/include/linux/irqdesc.h:55:1: warning: empty declaration 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:194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irqdesc.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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/include/asm-generic/hardirq.h:17:0, from /kisskb/src/arch/arm64/include/asm/hardirq.h:17, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/irq.h:608:1: warning: empty declaration struct irqaction; ^ /kisskb/src/include/linux/irq.h:609:12: error: storage class specified for parameter 'setup_percpu_irq' extern int setup_percpu_irq(unsigned int irq, struct irqaction *new); ^ /kisskb/src/include/linux/irq.h:610:13: error: storage class specified for parameter 'remove_percpu_irq' extern void remove_percpu_irq(unsigned int irq, struct irqaction *act); ^ /kisskb/src/include/linux/irq.h:616:12: error: storage class specified for parameter 'irq_set_affinity_locked' extern int irq_set_affinity_locked(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:618:12: error: storage class specified for parameter 'irq_set_vcpu_affinity' extern int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info); ^ /kisskb/src/include/linux/irq.h:621:13: error: storage class specified for parameter 'irq_migrate_all_off_this_cpu' extern void irq_migrate_all_off_this_cpu(void); ^ /kisskb/src/include/linux/irq.h:622:12: error: storage class specified for parameter 'irq_affinity_online_cpu' extern int irq_affinity_online_cpu(unsigned int cpu); ^ /kisskb/src/include/linux/irq.h:637:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_move_irq(struct irq_data *data) { } ^ /kisskb/src/include/linux/irq.h:638:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_move_masked_irq(struct irq_data *data) { } ^ /kisskb/src/include/linux/irq.h:639:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void irq_force_complete_move(struct irq_desc *desc) { } ^ /kisskb/src/include/linux/irq.h:642:12: error: storage class specified for parameter 'no_irq_affinity' extern int no_irq_affinity; ^ /kisskb/src/include/linux/irq.h:657:13: error: storage class specified for parameter 'handle_level_irq' extern void handle_level_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:658:13: error: storage class specified for parameter 'handle_fasteoi_irq' extern void handle_fasteoi_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:659:13: error: storage class specified for parameter 'handle_edge_irq' extern void handle_edge_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:660:13: error: storage class specified for parameter 'handle_edge_eoi_irq' extern void handle_edge_eoi_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:661:13: error: storage class specified for parameter 'handle_simple_irq' extern void handle_simple_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:662:13: error: storage class specified for parameter 'handle_untracked_irq' extern void handle_untracked_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:663:13: error: storage class specified for parameter 'handle_percpu_irq' extern void handle_percpu_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:664:13: error: storage class specified for parameter 'handle_percpu_devid_irq' extern void handle_percpu_devid_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:665:13: error: storage class specified for parameter 'handle_bad_irq' extern void handle_bad_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:666:13: error: storage class specified for parameter 'handle_nested_irq' extern void handle_nested_irq(unsigned int irq); ^ /kisskb/src/include/linux/irq.h:668:13: error: storage class specified for parameter 'handle_fasteoi_nmi' extern void handle_fasteoi_nmi(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:669:13: error: storage class specified for parameter 'handle_percpu_devid_fasteoi_nmi' extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:671:12: error: storage class specified for parameter 'irq_chip_compose_msi_msg' extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg); ^ /kisskb/src/include/linux/irq.h:672:12: error: storage class specified for parameter 'irq_chip_pm_get' extern int irq_chip_pm_get(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:673:12: error: storage class specified for parameter 'irq_chip_pm_put' extern int irq_chip_pm_put(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:675:13: error: storage class specified for parameter 'handle_fasteoi_ack_irq' extern void handle_fasteoi_ack_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:676:13: error: storage class specified for parameter 'handle_fasteoi_mask_irq' extern void handle_fasteoi_mask_irq(struct irq_desc *desc); ^ /kisskb/src/include/linux/irq.h:677:12: error: storage class specified for parameter 'irq_chip_set_parent_state' extern int irq_chip_set_parent_state(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:680:12: error: storage class specified for parameter 'irq_chip_get_parent_state' extern int irq_chip_get_parent_state(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:683:13: error: storage class specified for parameter 'irq_chip_enable_parent' extern void irq_chip_enable_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:684:13: error: storage class specified for parameter 'irq_chip_disable_parent' extern void irq_chip_disable_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:685:13: error: storage class specified for parameter 'irq_chip_ack_parent' extern void irq_chip_ack_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:686:12: error: storage class specified for parameter 'irq_chip_retrigger_hierarchy' extern int irq_chip_retrigger_hierarchy(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:687:13: error: storage class specified for parameter 'irq_chip_mask_parent' extern void irq_chip_mask_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:688:13: error: storage class specified for parameter 'irq_chip_mask_ack_parent' extern void irq_chip_mask_ack_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:689:13: error: storage class specified for parameter 'irq_chip_unmask_parent' extern void irq_chip_unmask_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:690:13: error: storage class specified for parameter 'irq_chip_eoi_parent' extern void irq_chip_eoi_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:691:12: error: storage class specified for parameter 'irq_chip_set_affinity_parent' extern int irq_chip_set_affinity_parent(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:694:12: error: storage class specified for parameter 'irq_chip_set_wake_parent' extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on); ^ /kisskb/src/include/linux/irq.h:695:12: error: storage class specified for parameter 'irq_chip_set_vcpu_affinity_parent' extern int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, ^ /kisskb/src/include/linux/irq.h:697:12: error: storage class specified for parameter 'irq_chip_set_type_parent' extern int irq_chip_set_type_parent(struct irq_data *data, unsigned int type); ^ /kisskb/src/include/linux/irq.h:698:12: error: storage class specified for parameter 'irq_chip_request_resources_parent' extern int irq_chip_request_resources_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:699:13: error: storage class specified for parameter 'irq_chip_release_resources_parent' extern void irq_chip_release_resources_parent(struct irq_data *data); ^ /kisskb/src/include/linux/irq.h:703: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:717:1: error: storage class specified for parameter 'irq_set_chip_and_handler_name' irq_set_chip_and_handler_name(unsigned int irq, const struct irq_chip *chip, ^ /kisskb/src/include/linux/irq.h:723:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:1: error: storage class specified for parameter '__irq_set_handler' __irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, ^ /kisskb/src/include/linux/irq.h:739:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/irq.h:750:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration struct irq_chip_regs { ^ /kisskb/src/include/linux/irq.h:1024:1: warning: empty declaration struct irq_chip_type { ^ /kisskb/src/include/linux/irq.h:1066:1: warning: empty declaration struct irq_chip_generic { ^ /kisskb/src/include/linux/irq.h:1099:1: warning: empty declaration enum irq_gc_flags { ^ /kisskb/src/include/linux/irq.h:1116:1: warning: empty declaration struct irq_domain_chip_generic { ^ /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: warning: empty declaration struct irq_matrix; ^ In file included from /kisskb/src/include/linux/hardirq.h:11:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/hardirq.h:21:1: warning: empty declaration struct nmi_ctx { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/hardirq.h:26:33: error: storage class specified for parameter 'nmi_contexts' DECLARE_PER_CPU(struct nmi_ctx, nmi_contexts); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/hardirq.h:26:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct nmi_ctx, nmi_contexts); ^ /kisskb/src/arch/arm64/include/asm/hardirq.h:26:33: error: section attribute not allowed for 'nmi_contexts' DECLARE_PER_CPU(struct nmi_ctx, nmi_contexts); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/hardirq.h:26:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct nmi_ctx, nmi_contexts); ^ In file included from /kisskb/src/include/linux/hardirq.h:11:0, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/hardirq.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/interrupt.h:11:0, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/hardirq.h:13:13: error: storage class specified for parameter 'synchronize_irq' extern void synchronize_irq(unsigned int irq); ^ /kisskb/src/include/linux/hardirq.h:14:13: error: storage class specified for parameter 'synchronize_hardirq' extern bool synchronize_hardirq(unsigned int irq); ^ /kisskb/src/include/linux/hardirq.h:19:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __rcu_irq_enter_check_tick(void) { } ^ /kisskb/src/include/linux/hardirq.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rtc.h:17:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/interrupt.h:95:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct irq_affinity_notify { ^ /kisskb/src/include/linux/interrupt.h:285:1: warning: empty declaration struct irq_affinity { ^ /kisskb/src/include/linux/interrupt.h:300:17: error: field 'mask' has incomplete type struct cpumask mask; ^ /kisskb/src/include/linux/interrupt.h:299:1: warning: empty declaration 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: warning: empty declaration 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/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/rtc.h:17:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/interrupt.h:548:1: warning: empty declaration 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: warning: empty declaration 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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/rtc.h:17:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/interrupt.h:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/interrupt.h:638:1: warning: empty declaration struct tasklet_struct ^ /kisskb/src/include/linux/interrupt.h:680:1: warning: empty declaration 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: warning: empty declaration 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/nvmem-provider.h:14:0, from /kisskb/src/include/linux/rtc.h:18, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/gpio/consumer.h:10:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/gpio/consumer.h:11:1: warning: empty declaration struct gpio_desc; ^ /kisskb/src/include/linux/gpio/consumer.h:12:1: warning: empty declaration struct gpio_array; ^ /kisskb/src/include/linux/gpio/consumer.h:22:1: warning: empty declaration struct gpio_descs { ^ /kisskb/src/include/linux/gpio/consumer.h:46:1: warning: empty declaration enum gpiod_flags { ^ /kisskb/src/include/linux/gpio/consumer.h:175:1: warning: empty declaration struct fwnode_handle; ^ /kisskb/src/include/linux/gpio/consumer.h:579:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gpio/consumer.h:590:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gpio/consumer.h:601:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gpio/consumer.h:606:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/gpio/consumer.h:629:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/gpio/consumer.h:653:1: warning: empty declaration struct acpi_gpio_params { ^ /kisskb/src/include/linux/gpio/consumer.h:659:1: warning: empty declaration struct acpi_gpio_mapping { ^ /kisskb/src/include/linux/gpio/consumer.h:679:1: warning: empty declaration struct acpi_device; ^ /kisskb/src/include/linux/gpio/consumer.h:727:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gpio/consumer.h:733:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/gpio/consumer.h:738:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rtc.h:18:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/nvmem-provider.h:16:1: warning: empty declaration struct nvmem_device; ^ /kisskb/src/include/linux/nvmem-provider.h:17:1: warning: empty declaration struct nvmem_cell_info; ^ /kisskb/src/include/linux/nvmem-provider.h:18:15: error: storage class specified for parameter 'nvmem_reg_read_t' typedef int (*nvmem_reg_read_t)(void *priv, unsigned int offset, ^ /kisskb/src/include/linux/nvmem-provider.h:20:15: error: storage class specified for parameter 'nvmem_reg_write_t' typedef int (*nvmem_reg_write_t)(void *priv, unsigned int offset, ^ /kisskb/src/include/linux/nvmem-provider.h:23:15: error: storage class specified for parameter 'nvmem_cell_post_process_t' typedef int (*nvmem_cell_post_process_t)(void *priv, const char *id, unsigned int offset, ^ /kisskb/src/include/linux/nvmem-provider.h:26:1: warning: empty declaration enum nvmem_type { ^ /kisskb/src/include/linux/nvmem-provider.h:44:1: warning: empty declaration struct nvmem_keepout { ^ /kisskb/src/include/linux/nvmem-provider.h:99:2: error: expected specifier-qualifier-list before 'nvmem_reg_read_t' nvmem_reg_read_t reg_read; ^ /kisskb/src/include/linux/nvmem-provider.h:83:1: warning: empty declaration struct nvmem_config { ^ /kisskb/src/include/linux/nvmem-provider.h:123:1: warning: empty declaration struct nvmem_cell_table { ^ In file included from /kisskb/src/include/linux/rtc.h:19:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/rtc.h:25:1: warning: empty declaration struct rtc_time { ^ /kisskb/src/include/uapi/linux/rtc.h:41:1: warning: empty declaration struct rtc_wkalrm { ^ /kisskb/src/include/uapi/linux/rtc.h:60:1: warning: empty declaration struct rtc_pll_info { ^ /kisskb/src/include/uapi/linux/rtc.h:70:1: warning: empty declaration struct rtc_param { ^ In file included from /kisskb/src/include/linux/efi.h:20:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rtc.h:21:12: error: storage class specified for parameter 'rtc_month_days' extern int rtc_month_days(unsigned int month, unsigned int year); ^ /kisskb/src/include/linux/rtc.h:22:12: error: storage class specified for parameter 'rtc_year_days' extern int rtc_year_days(unsigned int day, unsigned int month, unsigned int year); ^ /kisskb/src/include/linux/rtc.h:23:12: error: storage class specified for parameter 'rtc_valid_tm' extern int rtc_valid_tm(struct rtc_time *tm); ^ /kisskb/src/include/linux/rtc.h:24:17: error: storage class specified for parameter 'rtc_tm_to_time64' extern time64_t rtc_tm_to_time64(struct rtc_time *tm); ^ /kisskb/src/include/linux/rtc.h:25:13: error: storage class specified for parameter 'rtc_time64_to_tm' extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); ^ /kisskb/src/include/linux/rtc.h:26:1: error: expected declaration specifiers before 'ktime_t' ktime_t rtc_tm_to_ktime(struct rtc_time tm); ^ /kisskb/src/include/linux/rtc.h:27:33: error: expected declaration specifiers or '...' before 'ktime_t' struct rtc_time rtc_ktime_to_tm(ktime_t kt); ^ /kisskb/src/include/linux/rtc.h:33: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/rtc.h:38, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/string_helpers.h:10:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/string_helpers.h:11:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/string_helpers.h:12:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/string_helpers.h:16:1: warning: empty declaration 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/rtc.h:38:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/seq_file.h:15:1: warning: empty declaration struct seq_operations; ^ /kisskb/src/include/linux/seq_file.h:17:1: warning: empty declaration struct seq_file { ^ /kisskb/src/include/linux/seq_file.h:32:1: warning: empty declaration 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/rtc.h:38:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/rtc.h:39:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/cdev.h:10:1: warning: empty declaration struct file_operations; ^ /kisskb/src/include/linux/cdev.h:11:1: warning: empty declaration struct inode; ^ /kisskb/src/include/linux/cdev.h:12:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/cdev.h:14:1: warning: empty declaration struct cdev { ^ In file included from ./arch/arm64/include/generated/uapi/asm/poll.h:1:0, from /kisskb/src/include/uapi/linux/poll.h:1, from /kisskb/src/include/linux/poll.h:12, from /kisskb/src/include/linux/rtc.h:40, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/asm-generic/poll.h:36:1: warning: empty declaration struct pollfd { ^ In file included from /kisskb/src/include/linux/poll.h:13:0, from /kisskb/src/include/linux/rtc.h:40, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/eventpoll.h:77:1: warning: empty declaration struct epoll_event { ^ /kisskb/src/include/uapi/linux/eventpoll.h:84:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/rtc.h:40:0, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/poll.h:30:1: warning: empty declaration struct poll_table_struct; ^ /kisskb/src/include/linux/poll.h:35:48: error: expected declaration specifiers or '...' before 'wait_queue_head_t' typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *); ^ /kisskb/src/include/linux/poll.h:42:2: error: unknown type name 'poll_queue_proc' poll_queue_proc _qproc; ^ /kisskb/src/include/linux/poll.h:44:3: error: storage class specified for parameter 'poll_table' } poll_table; ^ /kisskb/src/include/linux/poll.h:46:50: error: expected declaration specifiers or '...' before 'wait_queue_head_t' static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p) ^ /kisskb/src/include/linux/poll.h:46:84: error: expected declaration specifiers or '...' before 'poll_table' static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p) ^ /kisskb/src/include/linux/poll.h:57:45: error: type defaults to 'int' in declaration of 'poll_table' [-Werror=implicit-int] static inline bool poll_does_not_wait(const poll_table *p) ^ /kisskb/src/include/linux/poll.h:57:56: error: expected ';', ',' or ')' before '*' token static inline bool poll_does_not_wait(const poll_table *p) ^ /kisskb/src/include/linux/poll.h:68:52: error: type defaults to 'int' in declaration of 'poll_table' [-Werror=implicit-int] static inline __poll_t poll_requested_events(const poll_table *p) ^ /kisskb/src/include/linux/poll.h:68:63: error: expected ';', ',' or ')' before '*' token static inline __poll_t poll_requested_events(const poll_table *p) ^ /kisskb/src/include/linux/poll.h:73:38: error: expected declaration specifiers or '...' before 'poll_table' static inline void init_poll_funcptr(poll_table *pt, poll_queue_proc qproc) ^ /kisskb/src/include/linux/poll.h:73:54: error: unknown type name 'poll_queue_proc' static inline void init_poll_funcptr(poll_table *pt, poll_queue_proc qproc) ^ /kisskb/src/include/linux/poll.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/poll.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/poll.h:94:2: error: expected specifier-qualifier-list before 'wait_queue_entry_t' wait_queue_entry_t wait; ^ /kisskb/src/include/linux/poll.h:91:1: warning: empty declaration struct poll_table_entry { ^ /kisskb/src/include/linux/poll.h:102:2: error: expected specifier-qualifier-list before 'poll_table' poll_table pt; ^ /kisskb/src/include/linux/poll.h:101:1: warning: empty declaration struct poll_wqueues { ^ /kisskb/src/include/linux/poll.h:111:13: error: storage class specified for parameter 'poll_initwait' extern void poll_initwait(struct poll_wqueues *pwq); ^ /kisskb/src/include/linux/poll.h:112:13: error: storage class specified for parameter 'poll_freewait' extern void poll_freewait(struct poll_wqueues *pwq); ^ /kisskb/src/include/linux/poll.h:113:12: error: storage class specified for parameter 'select_estimate_accuracy' extern u64 select_estimate_accuracy(struct timespec64 *tv); ^ /kisskb/src/include/linux/poll.h:117:12: error: storage class specified for parameter 'core_sys_select' extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, ^ /kisskb/src/include/linux/poll.h:120:12: error: storage class specified for parameter 'poll_select_set_timeout' extern int poll_select_set_timeout(struct timespec64 *to, time64_t sec, ^ /kisskb/src/include/linux/poll.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/poll.h:137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/efi.h:20:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/rtc.h:45:22: error: storage class specified for parameter 'rtc_class' extern struct class *rtc_class; ^ /kisskb/src/include/linux/rtc.h:59:1: warning: empty declaration struct rtc_class_ops { ^ /kisskb/src/include/linux/rtc.h:73:1: warning: empty declaration struct rtc_device; ^ /kisskb/src/include/linux/rtc.h:77:2: error: expected specifier-qualifier-list before 'ktime_t' ktime_t period; ^ /kisskb/src/include/linux/rtc.h:75:1: warning: empty declaration struct rtc_timer { ^ /kisskb/src/include/linux/rtc.h:101:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t irq_queue; ^ /kisskb/src/include/linux/rtc.h:87:1: warning: empty declaration struct rtc_device { ^ /kisskb/src/include/linux/rtc.h:179:27: error: storage class specified for parameter 'devm_rtc_device_register' extern struct rtc_device *devm_rtc_device_register(struct device *dev, ^ /kisskb/src/include/linux/rtc.h:186:12: error: storage class specified for parameter 'rtc_read_time' extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); ^ /kisskb/src/include/linux/rtc.h:187:12: error: storage class specified for parameter 'rtc_set_time' extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); ^ /kisskb/src/include/linux/rtc.h:189:12: error: storage class specified for parameter 'rtc_read_alarm' extern int rtc_read_alarm(struct rtc_device *rtc, ^ /kisskb/src/include/linux/rtc.h:191:12: error: storage class specified for parameter 'rtc_set_alarm' extern int rtc_set_alarm(struct rtc_device *rtc, ^ /kisskb/src/include/linux/rtc.h:193:12: error: storage class specified for parameter 'rtc_initialize_alarm' extern int rtc_initialize_alarm(struct rtc_device *rtc, ^ /kisskb/src/include/linux/rtc.h:195:13: error: storage class specified for parameter 'rtc_update_irq' extern void rtc_update_irq(struct rtc_device *rtc, ^ /kisskb/src/include/linux/rtc.h:198:27: error: storage class specified for parameter 'rtc_class_open' extern struct rtc_device *rtc_class_open(const char *name); ^ /kisskb/src/include/linux/rtc.h:199:13: error: storage class specified for parameter 'rtc_class_close' extern void rtc_class_close(struct rtc_device *rtc); ^ /kisskb/src/include/linux/rtc.h:201:12: error: storage class specified for parameter 'rtc_irq_set_state' extern int rtc_irq_set_state(struct rtc_device *rtc, int enabled); ^ /kisskb/src/include/linux/rtc.h:202:12: error: storage class specified for parameter 'rtc_irq_set_freq' extern int rtc_irq_set_freq(struct rtc_device *rtc, int freq); ^ /kisskb/src/include/linux/rtc.h:203:12: error: storage class specified for parameter 'rtc_update_irq_enable' extern int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int enabled); ^ /kisskb/src/include/linux/rtc.h:204:12: error: storage class specified for parameter 'rtc_alarm_irq_enable' extern int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled); ^ /kisskb/src/include/linux/rtc.h:205:12: error: storage class specified for parameter 'rtc_dev_update_irq_enable_emul' extern int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, ^ /kisskb/src/include/linux/rtc.h:216:7: error: expected declaration specifiers or '...' before 'ktime_t' ktime_t expires, ktime_t period); ^ /kisskb/src/include/linux/rtc.h:216:24: error: expected declaration specifiers or '...' before 'ktime_t' ktime_t expires, ktime_t period); ^ /kisskb/src/include/linux/rtc.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rtc.h:231:12: error: storage class specified for parameter 'rtc_hctosys_ret' extern int rtc_hctosys_ret; ^ In file included from /kisskb/src/include/linux/pstore.h:15:0, from /kisskb/src/include/linux/efi.h:23, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/kmsg_dump.h:23:1: warning: empty declaration enum kmsg_dump_reason { ^ /kisskb/src/include/linux/kmsg_dump.h:37:1: warning: empty declaration struct kmsg_dump_iter { ^ /kisskb/src/include/linux/kmsg_dump.h:50:1: warning: empty declaration struct kmsg_dumper { ^ In file included from /kisskb/src/include/linux/efi.h:23:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/pstore.h:21:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/pstore.h:28:1: warning: empty declaration enum pstore_type_id { ^ /kisskb/src/include/linux/pstore.h:49:1: warning: empty declaration struct pstore_info; ^ /kisskb/src/include/linux/pstore.h:72:1: warning: empty declaration struct pstore_record { ^ /kisskb/src/include/linux/pstore.h:181:1: warning: empty declaration struct pstore_info { ^ /kisskb/src/include/linux/pstore.h:210:12: error: storage class specified for parameter 'pstore_register' extern int pstore_register(struct pstore_info *); ^ /kisskb/src/include/linux/pstore.h:211:13: error: storage class specified for parameter 'pstore_unregister' extern void pstore_unregister(struct pstore_info *); ^ /kisskb/src/include/linux/pstore.h:213:1: warning: empty declaration struct pstore_ftrace_record { ^ /kisskb/src/include/linux/pstore.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pstore.h:272:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pstore.h:278:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pstore.h:284:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/efi.h:24:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/range.h:6:1: warning: empty declaration struct range { ^ /kisskb/src/include/linux/range.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/range.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/efi.h:25:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/reboot.h:9:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/reboot.h:10:1: warning: empty declaration struct sys_off_handler; ^ /kisskb/src/include/linux/reboot.h:17:1: warning: empty declaration enum reboot_mode { ^ /kisskb/src/include/linux/reboot.h:25:25: error: storage class specified for parameter 'reboot_mode' extern enum reboot_mode reboot_mode; ^ /kisskb/src/include/linux/reboot.h:26:25: error: storage class specified for parameter 'panic_reboot_mode' extern enum reboot_mode panic_reboot_mode; ^ /kisskb/src/include/linux/reboot.h:28:1: warning: empty declaration enum reboot_type { ^ /kisskb/src/include/linux/reboot.h:37:25: error: storage class specified for parameter 'reboot_type' extern enum reboot_type reboot_type; ^ /kisskb/src/include/linux/reboot.h:39:12: error: storage class specified for parameter 'reboot_default' extern int reboot_default; ^ /kisskb/src/include/linux/reboot.h:40:12: error: storage class specified for parameter 'reboot_cpu' extern int reboot_cpu; ^ /kisskb/src/include/linux/reboot.h:41:12: error: storage class specified for parameter 'reboot_force' extern int reboot_force; ^ /kisskb/src/include/linux/reboot.h:44:12: error: storage class specified for parameter 'register_reboot_notifier' extern int register_reboot_notifier(struct notifier_block *); ^ /kisskb/src/include/linux/reboot.h:45:12: error: storage class specified for parameter 'unregister_reboot_notifier' extern int unregister_reboot_notifier(struct notifier_block *); ^ /kisskb/src/include/linux/reboot.h:47:12: error: storage class specified for parameter 'devm_register_reboot_notifier' extern int devm_register_reboot_notifier(struct device *, struct notifier_block *); ^ /kisskb/src/include/linux/reboot.h:49:12: error: storage class specified for parameter 'register_restart_handler' extern int register_restart_handler(struct notifier_block *); ^ /kisskb/src/include/linux/reboot.h:50:12: error: storage class specified for parameter 'unregister_restart_handler' extern int unregister_restart_handler(struct notifier_block *); ^ /kisskb/src/include/linux/reboot.h:51:13: error: storage class specified for parameter 'do_kernel_restart' extern void do_kernel_restart(char *cmd); ^ /kisskb/src/include/linux/reboot.h:57:13: error: storage class specified for parameter 'migrate_to_reboot_cpu' extern void migrate_to_reboot_cpu(void); ^ /kisskb/src/include/linux/reboot.h:58:13: error: storage class specified for parameter 'machine_restart' extern void machine_restart(char *cmd); ^ /kisskb/src/include/linux/reboot.h:59:13: error: storage class specified for parameter 'machine_halt' extern void machine_halt(void); ^ /kisskb/src/include/linux/reboot.h:60:13: error: storage class specified for parameter 'machine_power_off' extern void machine_power_off(void); ^ /kisskb/src/include/linux/reboot.h:62:13: error: storage class specified for parameter 'machine_shutdown' extern void machine_shutdown(void); ^ /kisskb/src/include/linux/reboot.h:63:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/linux/reboot.h:64:13: error: storage class specified for parameter 'machine_crash_shutdown' extern void machine_crash_shutdown(struct pt_regs *); ^ /kisskb/src/include/linux/reboot.h:92:1: warning: empty declaration enum sys_off_mode { ^ /kisskb/src/include/linux/reboot.h:125:1: warning: empty declaration struct sys_off_data { ^ /kisskb/src/include/linux/reboot.h:159:13: error: storage class specified for parameter 'kernel_restart_prepare' extern void kernel_restart_prepare(char *cmd); ^ /kisskb/src/include/linux/reboot.h:160:13: error: storage class specified for parameter 'kernel_restart' extern void kernel_restart(char *cmd); ^ /kisskb/src/include/linux/reboot.h:161:13: error: storage class specified for parameter 'kernel_halt' extern void kernel_halt(void); ^ /kisskb/src/include/linux/reboot.h:162:13: error: storage class specified for parameter 'kernel_power_off' extern void kernel_power_off(void); ^ /kisskb/src/include/linux/reboot.h:163:13: error: storage class specified for parameter 'kernel_can_power_off' extern bool kernel_can_power_off(void); ^ /kisskb/src/include/linux/reboot.h:167:13: error: storage class specified for parameter 'orderly_poweroff' extern void orderly_poweroff(bool force); ^ /kisskb/src/include/linux/reboot.h:168:13: error: storage class specified for parameter 'orderly_reboot' extern void orderly_reboot(void); ^ /kisskb/src/include/linux/reboot.h:175:13: error: storage class specified for parameter 'emergency_restart' extern void emergency_restart(void); ^ In file included from ./arch/arm64/include/generated/asm/emergency-restart.h:1:0, from /kisskb/src/include/linux/reboot.h:176, from /kisskb/src/include/linux/efi.h:25, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/emergency-restart.h:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/screen_info.h:5:0, from /kisskb/src/include/linux/efi.h:27, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/uapi/linux/screen_info.h:11:1: warning: empty declaration struct screen_info { ^ In file included from /kisskb/src/include/linux/efi.h:27:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:12, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/screen_info.h:7:27: error: storage class specified for parameter 'screen_info' extern struct screen_info screen_info; ^ In file included from /kisskb/src/arch/arm64/include/asm/acpi.h:12:0, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/efi.h:46:23: error: storage class specified for parameter 'efi_status_t' typedef unsigned long efi_status_t; ^ /kisskb/src/include/linux/efi.h:47:12: error: storage class specified for parameter 'efi_bool_t' typedef u8 efi_bool_t; ^ /kisskb/src/include/linux/efi.h:48:13: error: storage class specified for parameter 'efi_char16_t' typedef u16 efi_char16_t; /* UNICODE character */ ^ /kisskb/src/include/linux/efi.h:49:13: error: storage class specified for parameter 'efi_physical_addr_t' typedef u64 efi_physical_addr_t; ^ /kisskb/src/include/linux/efi.h:50:15: error: storage class specified for parameter 'efi_handle_t' typedef void *efi_handle_t; ^ /kisskb/src/include/linux/efi.h:73:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_guid_t' typedef guid_t efi_guid_t __aligned(__alignof__(u32)); ^ /kisskb/src/include/linux/efi.h:89:3: error: storage class specified for parameter 'efi_table_hdr_t' } efi_table_hdr_t; ^ /kisskb/src/include/linux/efi.h:142:3: error: storage class specified for parameter 'efi_memory_desc_t' } efi_memory_desc_t; ^ /kisskb/src/include/linux/efi.h:145:2: error: unknown type name 'efi_guid_t' efi_guid_t guid; ^ /kisskb/src/include/linux/efi.h:149:3: error: storage class specified for parameter 'efi_capsule_header_t' } efi_capsule_header_t; ^ /kisskb/src/include/linux/efi.h:152:1: warning: empty declaration struct efi_manage_capsule_header { ^ /kisskb/src/include/linux/efi.h:166:2: error: unknown type name 'efi_guid_t' efi_guid_t image_type_id; ^ /kisskb/src/include/linux/efi.h:164:1: warning: empty declaration struct efi_manage_capsule_image_header { ^ /kisskb/src/include/linux/efi.h:178:1: warning: empty declaration struct win_cert { ^ /kisskb/src/include/linux/efi.h:187:2: error: unknown type name 'efi_guid_t' efi_guid_t cert_type; ^ /kisskb/src/include/linux/efi.h:185:1: warning: empty declaration struct win_cert_uefi_guid { ^ /kisskb/src/include/linux/efi.h:192:1: warning: empty declaration struct efi_image_auth { ^ /kisskb/src/include/linux/efi.h:205:2: error: expected specifier-qualifier-list before 'efi_capsule_header_t' efi_capsule_header_t header; ^ /kisskb/src/include/linux/efi.h:204:1: warning: empty declaration struct capsule_info { ^ /kisskb/src/include/linux/efi.h:239:3: error: storage class specified for parameter 'efi_time_t' } efi_time_t; ^ /kisskb/src/include/linux/efi.h:245:3: error: storage class specified for parameter 'efi_time_cap_t' } efi_time_cap_t; ^ /kisskb/src/include/linux/efi.h:247:33: error: storage class specified for parameter 'efi_boot_services_t' typedef union efi_boot_services efi_boot_services_t; ^ /kisskb/src/include/linux/efi.h:263:2: error: expected specifier-qualifier-list before 'efi_table_hdr_t' efi_table_hdr_t hdr; ^ /kisskb/src/include/linux/efi.h:278:3: error: storage class specified for parameter 'efi_runtime_services_32_t' } efi_runtime_services_32_t; ^ /kisskb/src/include/linux/efi.h:280:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_get_time_t' typedef efi_status_t efi_get_time_t (efi_time_t *tm, efi_time_cap_t *tc); ^ /kisskb/src/include/linux/efi.h:281:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_set_time_t' typedef efi_status_t efi_set_time_t (efi_time_t *tm); ^ /kisskb/src/include/linux/efi.h:282:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_get_wakeup_time_t' typedef efi_status_t efi_get_wakeup_time_t (efi_bool_t *enabled, efi_bool_t *pending, ^ /kisskb/src/include/linux/efi.h:284:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_set_wakeup_time_t' typedef efi_status_t efi_set_wakeup_time_t (efi_bool_t enabled, efi_time_t *tm); ^ /kisskb/src/include/linux/efi.h:285:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_get_variable_t' typedef efi_status_t efi_get_variable_t (efi_char16_t *name, efi_guid_t *vendor, u32 *attr, ^ /kisskb/src/include/linux/efi.h:287:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_get_next_variable_t' typedef efi_status_t efi_get_next_variable_t (unsigned long *name_size, efi_char16_t *name, ^ /kisskb/src/include/linux/efi.h:289:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_set_variable_t' typedef efi_status_t efi_set_variable_t (efi_char16_t *name, efi_guid_t *vendor, ^ /kisskb/src/include/linux/efi.h:292:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_get_next_high_mono_count_t' typedef efi_status_t efi_get_next_high_mono_count_t (u32 *count); ^ /kisskb/src/include/linux/efi.h:293:50: error: expected declaration specifiers or '...' before 'efi_status_t' typedef void efi_reset_system_t (int reset_type, efi_status_t status, ^ /kisskb/src/include/linux/efi.h:294:31: error: expected declaration specifiers or '...' before 'efi_char16_t' unsigned long data_size, efi_char16_t *data); ^ /kisskb/src/include/linux/efi.h:295:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_set_virtual_address_map_t' typedef efi_status_t efi_set_virtual_address_map_t (unsigned long memory_map_size, ^ /kisskb/src/include/linux/efi.h:299:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_query_variable_info_t' typedef efi_status_t efi_query_variable_info_t(u32 attr, ^ /kisskb/src/include/linux/efi.h:303:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_update_capsule_t' typedef efi_status_t efi_update_capsule_t(efi_capsule_header_t **capsules, ^ /kisskb/src/include/linux/efi.h:306:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_query_capsule_caps_t' typedef efi_status_t efi_query_capsule_caps_t(efi_capsule_header_t **capsules, ^ /kisskb/src/include/linux/efi.h:310:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_query_variable_store_t' typedef efi_status_t efi_query_variable_store_t(u32 attributes, ^ /kisskb/src/include/linux/efi.h:316:3: error: expected specifier-qualifier-list before 'efi_table_hdr_t' efi_table_hdr_t hdr; ^ /kisskb/src/include/linux/efi.h:332:2: error: expected specifier-qualifier-list before 'efi_runtime_services_32_t' efi_runtime_services_32_t mixed_mode; ^ /kisskb/src/include/linux/efi.h:333:3: error: storage class specified for parameter 'efi_runtime_services_t' } efi_runtime_services_t; ^ In file included from /kisskb/src/arch/arm64/include/asm/acpi.h:12:0, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/efi.h:437:2: error: unknown type name 'efi_guid_t' efi_guid_t guid; ^ /kisskb/src/include/linux/efi.h:439:3: error: storage class specified for parameter 'efi_config_table_64_t' } efi_config_table_64_t; ^ /kisskb/src/include/linux/efi.h:442:2: error: unknown type name 'efi_guid_t' efi_guid_t guid; ^ /kisskb/src/include/linux/efi.h:444:3: error: storage class specified for parameter 'efi_config_table_32_t' } efi_config_table_32_t; ^ /kisskb/src/include/linux/efi.h:448:3: error: unknown type name 'efi_guid_t' efi_guid_t guid; ^ /kisskb/src/include/linux/efi.h:451:2: error: expected specifier-qualifier-list before 'efi_config_table_32_t' efi_config_table_32_t mixed_mode; ^ /kisskb/src/include/linux/efi.h:452:3: error: storage class specified for parameter 'efi_config_table_t' } efi_config_table_t; ^ /kisskb/src/include/linux/efi.h:455:2: error: unknown type name 'efi_guid_t' efi_guid_t guid; ^ /kisskb/src/include/linux/efi.h:458:3: error: storage class specified for parameter 'efi_config_table_type_t' } efi_config_table_type_t; ^ /kisskb/src/include/linux/efi.h:471:2: error: expected specifier-qualifier-list before 'efi_table_hdr_t' efi_table_hdr_t hdr; ^ /kisskb/src/include/linux/efi.h:486:3: error: storage class specified for parameter 'efi_system_table_64_t' } efi_system_table_64_t; ^ /kisskb/src/include/linux/efi.h:489:2: error: expected specifier-qualifier-list before 'efi_table_hdr_t' efi_table_hdr_t hdr; ^ /kisskb/src/include/linux/efi.h:502:3: error: storage class specified for parameter 'efi_system_table_32_t' } efi_system_table_32_t; ^ /kisskb/src/include/linux/efi.h:504:46: error: storage class specified for parameter 'efi_simple_text_input_protocol_t' typedef union efi_simple_text_input_protocol efi_simple_text_input_protocol_t; ^ /kisskb/src/include/linux/efi.h:505:47: error: storage class specified for parameter 'efi_simple_text_output_protocol_t' typedef union efi_simple_text_output_protocol efi_simple_text_output_protocol_t; ^ /kisskb/src/include/linux/efi.h:509:3: error: expected specifier-qualifier-list before 'efi_table_hdr_t' efi_table_hdr_t hdr; ^ /kisskb/src/include/linux/efi.h:523:2: error: expected specifier-qualifier-list before 'efi_system_table_32_t' efi_system_table_32_t mixed_mode; ^ /kisskb/src/include/linux/efi.h:524:3: error: storage class specified for parameter 'efi_system_table_t' } efi_system_table_t; ^ /kisskb/src/include/linux/efi.h:532:2: error: expected specifier-qualifier-list before 'efi_memory_desc_t' efi_memory_desc_t map[]; ^ /kisskb/src/include/linux/efi.h:526:1: warning: empty declaration struct efi_boot_memmap { ^ /kisskb/src/include/linux/efi.h:540:1: warning: empty declaration struct efi_memory_map_data { ^ /kisskb/src/include/linux/efi.h:548:1: warning: empty declaration struct efi_memory_map { ^ /kisskb/src/include/linux/efi.h:561:1: warning: empty declaration struct efi_mem_range { ^ /kisskb/src/include/linux/efi.h:570:3: error: storage class specified for parameter 'efi_properties_table_t' } efi_properties_table_t; ^ /kisskb/src/include/linux/efi.h:579:3: error: storage class specified for parameter 'efi_rt_properties_table_t' } efi_rt_properties_table_t; ^ /kisskb/src/include/linux/efi.h:590:2: error: expected specifier-qualifier-list before 'efi_memory_desc_t' efi_memory_desc_t entry[0]; ^ /kisskb/src/include/linux/efi.h:591:3: error: storage class specified for parameter 'efi_memory_attributes_table_t' } efi_memory_attributes_table_t; ^ /kisskb/src/include/linux/efi.h:594:2: error: unknown type name 'efi_guid_t' efi_guid_t signature_owner; ^ /kisskb/src/include/linux/efi.h:596:3: error: storage class specified for parameter 'efi_signature_data_t' } efi_signature_data_t; ^ /kisskb/src/include/linux/efi.h:599:2: error: unknown type name 'efi_guid_t' efi_guid_t signature_type; ^ /kisskb/src/include/linux/efi.h:605:3: error: storage class specified for parameter 'efi_signature_list_t' } efi_signature_list_t; ^ /kisskb/src/include/linux/efi.h:607:12: error: storage class specified for parameter 'efi_sha256_hash_t' typedef u8 efi_sha256_hash_t[32]; ^ /kisskb/src/include/linux/efi.h:610:2: error: expected specifier-qualifier-list before 'efi_sha256_hash_t' efi_sha256_hash_t to_be_signed_hash; ^ /kisskb/src/include/linux/efi.h:612:3: error: storage class specified for parameter 'efi_cert_x509_sha256_t' } efi_cert_x509_sha256_t; ^ /kisskb/src/include/linux/efi.h:614:38: error: storage class specified for parameter 'efi_rng_seed' extern unsigned long __ro_after_init efi_rng_seed; /* RNG Seed table */ ^ /kisskb/src/include/linux/efi.h:614:38: error: section attribute not allowed for 'efi_rng_seed' /kisskb/src/include/linux/efi.h:620:31: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token const efi_runtime_services_t *runtime; /* EFI runtime services table */ ^ /kisskb/src/include/linux/efi.h:651:3: error: storage class specified for parameter 'efi' } efi; ^ /kisskb/src/include/linux/efi.h:673:25: error: storage class specified for parameter 'efi_mm' extern struct mm_struct efi_mm; ^ /kisskb/src/include/linux/efi.h:676:14: error: unknown type name 'efi_guid_t' efi_guidcmp (efi_guid_t left, efi_guid_t right) ^ /kisskb/src/include/linux/efi.h:676:31: error: unknown type name 'efi_guid_t' efi_guidcmp (efi_guid_t left, efi_guid_t right) ^ /kisskb/src/include/linux/efi.h:682:17: error: unknown type name 'efi_guid_t' efi_guid_to_str(efi_guid_t *guid, char *out) ^ /kisskb/src/include/linux/efi.h:688:13: error: storage class specified for parameter 'efi_init' extern void efi_init (void); ^ /kisskb/src/include/linux/efi.h:690:13: error: storage class specified for parameter 'efi_enter_virtual_mode' extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */ ^ /kisskb/src/include/linux/efi.h:700:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'efi_query_variable_store' static inline efi_status_t efi_query_variable_store(u32 attributes, ^ /kisskb/src/include/linux/efi.h:707:22: error: storage class specified for parameter 'efi_lookup_mapped_addr' extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); ^ /kisskb/src/include/linux/efi.h:709:19: error: storage class specified for parameter 'efi_memmap_alloc' extern int __init efi_memmap_alloc(unsigned int num_entries, ^ /kisskb/src/include/linux/efi.h:709:19: error: section attribute not allowed for 'efi_memmap_alloc' /kisskb/src/include/linux/efi.h:710:15: warning: '__cold__' attribute ignored [-Wattributes] struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:711:13: error: storage class specified for parameter '__efi_memmap_free' extern void __efi_memmap_free(u64 phys, unsigned long size, ^ /kisskb/src/include/linux/efi.h:713:19: error: storage class specified for parameter 'efi_memmap_init_early' extern int __init efi_memmap_init_early(struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:713:19: error: section attribute not allowed for 'efi_memmap_init_early' /kisskb/src/include/linux/efi.h:713:48: warning: '__cold__' attribute ignored [-Wattributes] extern int __init efi_memmap_init_early(struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:714:19: error: storage class specified for parameter 'efi_memmap_init_late' extern int __init efi_memmap_init_late(phys_addr_t addr, unsigned long size); ^ /kisskb/src/include/linux/efi.h:714:19: error: section attribute not allowed for 'efi_memmap_init_late' /kisskb/src/include/linux/efi.h:714:1: warning: '__cold__' attribute ignored [-Wattributes] extern int __init efi_memmap_init_late(phys_addr_t addr, unsigned long size); ^ /kisskb/src/include/linux/efi.h:715:20: error: storage class specified for parameter 'efi_memmap_unmap' extern void __init efi_memmap_unmap(void); ^ /kisskb/src/include/linux/efi.h:715:20: error: section attribute not allowed for 'efi_memmap_unmap' /kisskb/src/include/linux/efi.h:715:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init efi_memmap_unmap(void); ^ /kisskb/src/include/linux/efi.h:716:19: error: storage class specified for parameter 'efi_memmap_install' extern int __init efi_memmap_install(struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:716:19: error: section attribute not allowed for 'efi_memmap_install' /kisskb/src/include/linux/efi.h:716:45: warning: '__cold__' attribute ignored [-Wattributes] extern int __init efi_memmap_install(struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:717:42: error: expected declaration specifiers or '...' before 'efi_memory_desc_t' extern int __init efi_memmap_split_count(efi_memory_desc_t *md, ^ /kisskb/src/include/linux/efi.h:719:20: error: storage class specified for parameter 'efi_memmap_insert' extern void __init efi_memmap_insert(struct efi_memory_map *old_memmap, ^ /kisskb/src/include/linux/efi.h:719:20: error: section attribute not allowed for 'efi_memmap_insert' /kisskb/src/include/linux/efi.h:720:28: warning: '__cold__' attribute ignored [-Wattributes] void *buf, struct efi_mem_range *mem); ^ /kisskb/src/include/linux/efi.h:723:20: error: storage class specified for parameter 'efi_esrt_init' extern void __init efi_esrt_init(void); ^ /kisskb/src/include/linux/efi.h:723:20: error: section attribute not allowed for 'efi_esrt_init' /kisskb/src/include/linux/efi.h:723:1: warning: '__cold__' attribute ignored [-Wattributes] extern void __init efi_esrt_init(void); ^ /kisskb/src/include/linux/efi.h:727:42: error: type defaults to 'int' in declaration of 'efi_config_table_t' [-Werror=implicit-int] extern int efi_config_parse_tables(const efi_config_table_t *config_tables, ^ /kisskb/src/include/linux/efi.h:727:61: error: expected ';', ',' or ')' before '*' token extern int efi_config_parse_tables(const efi_config_table_t *config_tables, ^ /kisskb/src/include/linux/efi.h:730:42: error: type defaults to 'int' in declaration of 'efi_table_hdr_t' [-Werror=implicit-int] extern int efi_systab_check_header(const efi_table_hdr_t *systab_hdr, ^ /kisskb/src/include/linux/efi.h:730:58: error: expected ';', ',' or ')' before '*' token extern int efi_systab_check_header(const efi_table_hdr_t *systab_hdr, ^ /kisskb/src/include/linux/efi.h:732:44: error: type defaults to 'int' in declaration of 'efi_table_hdr_t' [-Werror=implicit-int] extern void efi_systab_report_header(const efi_table_hdr_t *systab_hdr, ^ /kisskb/src/include/linux/efi.h:732:60: error: expected ';', ',' or ')' before '*' token extern void efi_systab_report_header(const efi_table_hdr_t *systab_hdr, ^ /kisskb/src/include/linux/efi.h:734:12: error: storage class specified for parameter 'efi_get_iobase' extern u64 efi_get_iobase (void); ^ /kisskb/src/include/linux/efi.h:735:12: error: storage class specified for parameter 'efi_mem_type' extern int efi_mem_type(unsigned long phys_addr); ^ /kisskb/src/include/linux/efi.h:736:12: error: storage class specified for parameter 'efi_mem_attributes' extern u64 efi_mem_attributes (unsigned long phys_addr); ^ /kisskb/src/include/linux/efi.h:737:12: error: storage class specified for parameter 'efi_mem_attribute' extern u64 efi_mem_attribute (unsigned long phys_addr, unsigned long size); ^ /kisskb/src/include/linux/efi.h:738:19: error: storage class specified for parameter 'efi_uart_console_only' extern int __init efi_uart_console_only (void); ^ /kisskb/src/include/linux/efi.h:738:19: error: section attribute not allowed for 'efi_uart_console_only' /kisskb/src/include/linux/efi.h:738:1: warning: '__cold__' attribute ignored [-Wattributes] extern int __init efi_uart_console_only (void); ^ /kisskb/src/include/linux/efi.h:739:29: error: expected declaration specifiers or '...' before 'efi_memory_desc_t' extern u64 efi_mem_desc_end(efi_memory_desc_t *md); ^ /kisskb/src/include/linux/efi.h:740:47: error: expected declaration specifiers or '...' before 'efi_memory_desc_t' extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md); ^ /kisskb/src/include/linux/efi.h:741:13: error: storage class specified for parameter 'efi_mem_reserve' extern void efi_mem_reserve(phys_addr_t addr, u64 size); ^ /kisskb/src/include/linux/efi.h:742:12: error: storage class specified for parameter 'efi_mem_reserve_persistent' extern int efi_mem_reserve_persistent(phys_addr_t addr, u64 size); ^ /kisskb/src/include/linux/efi.h:743:13: error: storage class specified for parameter 'efi_initialize_iomem_resources' extern void efi_initialize_iomem_resources(struct resource *code_resource, ^ /kisskb/src/include/linux/efi.h:745:12: error: storage class specified for parameter 'efi_get_fdt_params' extern u64 efi_get_fdt_params(struct efi_memory_map_data *data); ^ /kisskb/src/include/linux/efi.h:746:24: error: storage class specified for parameter 'efi_kobj' extern struct kobject *efi_kobj; ^ /kisskb/src/include/linux/efi.h:748:12: error: storage class specified for parameter 'efi_reboot_quirk_mode' extern int efi_reboot_quirk_mode; ^ /kisskb/src/include/linux/efi.h:749:13: error: storage class specified for parameter 'efi_poweroff_required' extern bool efi_poweroff_required(void); ^ /kisskb/src/include/linux/efi.h:754:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void efi_fake_memmap(void) { } ^ /kisskb/src/include/linux/efi.h:757:22: error: storage class specified for parameter 'efi_mem_attr_table' extern unsigned long efi_mem_attr_table; ^ /kisskb/src/include/linux/efi.h:766:60: error: expected declaration specifiers or '...' before 'efi_memory_desc_t' typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *); ^ /kisskb/src/include/linux/efi.h:768:12: error: storage class specified for parameter 'efi_memattr_init' extern int efi_memattr_init(void); ^ /kisskb/src/include/linux/efi.h:770:7: error: unknown type name 'efi_memattr_perm_setter' efi_memattr_perm_setter fn); ^ /kisskb/src/include/linux/efi.h:814:16: error: type defaults to 'int' in declaration of 'efi_memory_desc_t' [-Werror=implicit-int] const efi_memory_desc_t *md); ^ /kisskb/src/include/linux/efi.h:814:34: error: expected ';', ',' or ')' before '*' token const efi_memory_desc_t *md); ^ /kisskb/src/include/linux/efi.h:817:16: error: storage class specified for parameter 'efi_element_handler_t' typedef void (*efi_element_handler_t)(const char *source, ^ /kisskb/src/include/linux/efi.h:823:2: error: expected declaration specifiers or '...' before 'efi_element_handler_t' efi_element_handler_t (*get_handler_for_guid)(const efi_guid_t *)); ^ /kisskb/src/include/linux/efi.h:834:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:872:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:875:13: error: storage class specified for parameter 'efi_reboot' extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused); ^ /kisskb/src/include/linux/efi.h:877:1: warning: '__pure__' attribute ignored [-Wattributes] bool __pure __efi_soft_reserve_enabled(void); ^ /kisskb/src/include/linux/efi.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:886:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:889:13: error: storage class specified for parameter 'efi_find_mirror' extern void efi_find_mirror(void); ^ /kisskb/src/include/linux/efi.h:911:30: error: expected declaration specifiers or '...' before 'efi_status_t' extern int efi_status_to_err(efi_status_t status); ^ /kisskb/src/include/linux/efi.h:976:1: warning: empty declaration struct efi_generic_dev_path { ^ /kisskb/src/include/linux/efi.h:982:1: warning: empty declaration struct efi_acpi_dev_path { ^ /kisskb/src/include/linux/efi.h:988:1: warning: empty declaration struct efi_pci_dev_path { ^ /kisskb/src/include/linux/efi.h:996:2: error: unknown type name 'efi_guid_t' efi_guid_t vendorguid; ^ /kisskb/src/include/linux/efi.h:994:1: warning: empty declaration struct efi_vendor_dev_path { ^ /kisskb/src/include/linux/efi.h:1000:1: warning: empty declaration struct efi_rel_offset_dev_path { ^ /kisskb/src/include/linux/efi.h:1007:1: warning: empty declaration struct efi_mem_mapped_dev_path { ^ /kisskb/src/include/linux/efi.h:1014:1: warning: empty declaration struct efi_dev_path { ^ /kisskb/src/include/linux/efi.h:1028:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1041:2: error: unknown type name 'efi_get_variable_t' efi_get_variable_t *get_variable; ^ /kisskb/src/include/linux/efi.h:1042:2: error: unknown type name 'efi_get_next_variable_t' efi_get_next_variable_t *get_next_variable; ^ /kisskb/src/include/linux/efi.h:1043:2: error: unknown type name 'efi_set_variable_t' efi_set_variable_t *set_variable; ^ /kisskb/src/include/linux/efi.h:1044:2: error: unknown type name 'efi_set_variable_t' efi_set_variable_t *set_variable_nonblocking; ^ /kisskb/src/include/linux/efi.h:1045:2: error: unknown type name 'efi_query_variable_store_t' efi_query_variable_store_t *query_variable_store; ^ /kisskb/src/include/linux/efi.h:1040:1: warning: empty declaration struct efivar_operations { ^ /kisskb/src/include/linux/efi.h:1048:1: warning: empty declaration struct efivars { ^ /kisskb/src/include/linux/efi.h:1075:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, ^ /kisskb/src/include/linux/efi.h:1078:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t efivar_get_next_variable(unsigned long *name_size, ^ /kisskb/src/include/linux/efi.h:1081:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, ^ /kisskb/src/include/linux/efi.h:1085:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t efivar_set_variable(efi_char16_t *name, efi_guid_t *vendor, ^ /kisskb/src/include/linux/efi.h:1088:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t check_var_size(u32 attributes, unsigned long size); ^ /kisskb/src/include/linux/efi.h:1089:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t check_var_size_nonblocking(u32 attributes, unsigned long size); ^ /kisskb/src/include/linux/efi.h:1092:13: error: storage class specified for parameter 'efi_capsule_pending' extern bool efi_capsule_pending(int *reset_type); ^ /kisskb/src/include/linux/efi.h:1094:34: error: unknown type name 'efi_guid_t' extern int efi_capsule_supported(efi_guid_t guid, u32 flags, ^ /kisskb/src/include/linux/efi.h:1097:31: error: expected declaration specifiers or '...' before 'efi_capsule_header_t' extern int efi_capsule_update(efi_capsule_header_t *capsule, ^ /kisskb/src/include/linux/efi.h:1110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1132:13: error: storage class specified for parameter 'efi_runtime_disabled' extern bool efi_runtime_disabled(void); ^ /kisskb/src/include/linux/efi.h:1137:13: error: storage class specified for parameter 'efi_call_virt_check_flags' extern void efi_call_virt_check_flags(unsigned long flags, const char *call); ^ /kisskb/src/include/linux/efi.h:1138:22: error: storage class specified for parameter 'efi_call_virt_save_flags' extern unsigned long efi_call_virt_save_flags(void); ^ /kisskb/src/include/linux/efi.h:1140:1: warning: empty declaration enum efi_secureboot_mode { ^ /kisskb/src/include/linux/efi.h:1148:50: error: unknown type name 'efi_get_variable_t' enum efi_secureboot_mode efi_get_secureboot_mode(efi_get_variable_t *get_var) ^ /kisskb/src/include/linux/efi.h:1172:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void efi_check_for_embedded_firmwares(void) { } ^ /kisskb/src/include/linux/efi.h:1175:1: error: expected declaration specifiers before 'efi_status_t' efi_status_t efi_random_get_seed(void); ^ /kisskb/src/include/linux/efi.h:1230:1: warning: empty declaration struct linux_efi_random_seed { ^ /kisskb/src/include/linux/efi.h:1235:1: warning: empty declaration struct linux_efi_tpm_eventlog { ^ /kisskb/src/include/linux/efi.h:1242:12: error: storage class specified for parameter 'efi_tpm_eventlog_init' extern int efi_tpm_eventlog_init(void); ^ /kisskb/src/include/linux/efi.h:1244:1: warning: empty declaration struct efi_tcg2_final_events_table { ^ /kisskb/src/include/linux/efi.h:1249:12: error: storage class specified for parameter 'efi_tpm_final_log_size' extern int efi_tpm_final_log_size; ^ /kisskb/src/include/linux/efi.h:1251:22: error: storage class specified for parameter 'rci2_table_phys' extern unsigned long rci2_table_phys; ^ /kisskb/src/include/linux/efi.h:1258:1: warning: empty declaration enum efi_rts_ids { ^ /kisskb/src/include/linux/efi.h:1287:2: error: expected specifier-qualifier-list before 'efi_status_t' efi_status_t status; ^ /kisskb/src/include/linux/efi.h:1281:1: warning: empty declaration struct efi_runtime_work { ^ /kisskb/src/include/linux/efi.h:1293:32: error: storage class specified for parameter 'efi_rts_work' extern struct efi_runtime_work efi_rts_work; ^ /kisskb/src/include/linux/efi.h:1296:33: error: storage class specified for parameter 'efi_rts_wq' extern struct workqueue_struct *efi_rts_wq; ^ /kisskb/src/include/linux/efi.h:1298:1: warning: empty declaration struct linux_efi_memreserve { ^ /kisskb/src/include/linux/efi.h:1311:13: error: section attribute not allowed for 'efi_arch_mem_reserve' void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size); ^ /kisskb/src/include/linux/efi.h:1311:1: warning: '__cold__' attribute ignored [-Wattributes] void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size); ^ /kisskb/src/include/linux/efi.h:1322:1: warning: empty declaration struct efi_mokvar_table_entry { ^ /kisskb/src/include/linux/efi.h:1334:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void efi_mokvar_table_init(void) { } ^ /kisskb/src/include/linux/efi.h:1337:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/efi.h:1347:13: error: storage class specified for parameter 'efifb_setup_from_dmi' extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt); ^ /kisskb/src/include/linux/efi.h:1349:1: warning: empty declaration struct linux_efi_coco_secret_area { ^ /kisskb/src/include/linux/efi.h:1354:1: warning: empty declaration struct linux_efi_initrd { ^ In file included from /kisskb/src/include/linux/module.h:27:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mmap_lock.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmap_lock.h:58: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:6:0, from /kisskb/src/include/linux/mm.h:22, from /kisskb/src/include/linux/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/stacktrace.h:8:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/stacktrace.h:9:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/linux/stacktrace.h:21:16: error: storage class specified for parameter 'stack_trace_consume_fn' typedef bool (*stack_trace_consume_fn)(void *cookie, unsigned long addr); ^ /kisskb/src/include/linux/stacktrace.h:38:22: error: expected declaration specifiers or '...' before 'stack_trace_consume_fn' void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, ^ /kisskb/src/include/linux/stacktrace.h:58:30: error: expected declaration specifiers or '...' before 'stack_trace_consume_fn' int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, void *cookie, ^ /kisskb/src/include/linux/stacktrace.h:61:27: error: expected declaration specifiers or '...' before 'stack_trace_consume_fn' void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie, ^ /kisskb/src/include/linux/stacktrace.h:106: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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: '__cold__' attribute ignored [-Wattributes] void __init stack_depot_want_early_init(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] int __init stack_depot_early_init(void); ^ /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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/page_ext.h:9:1: warning: empty declaration struct pglist_data; ^ /kisskb/src/include/linux/page_ext.h:10:1: warning: empty declaration struct page_ext_operations { ^ /kisskb/src/include/linux/page_ext.h:75:1: warning: empty declaration struct page_ext; ^ /kisskb/src/include/linux/page_ext.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:99:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ext.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/module.h:27:0, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/page_ref.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:93:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:152:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:209:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:223:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:246:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:267:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:312:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:317:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:326:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/page_ref.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm.h:31:0, from /kisskb/src/include/linux/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/memremap.h:10:1: warning: empty declaration struct resource; ^ /kisskb/src/include/linux/memremap.h:11:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/memremap.h:21:1: warning: empty declaration struct vmem_altmap { ^ /kisskb/src/include/linux/memremap.h:68:1: warning: empty declaration 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: warning: empty declaration struct dev_pagemap_ops { ^ /kisskb/src/include/linux/memremap.h:126:1: warning: empty declaration 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:204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:216:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:231:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memremap.h:242: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/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mm.h:33:1: warning: empty declaration struct mempolicy; ^ /kisskb/src/include/linux/mm.h:34:1: warning: empty declaration struct anon_vma; ^ /kisskb/src/include/linux/mm.h:35:1: warning: empty declaration struct anon_vma_chain; ^ /kisskb/src/include/linux/mm.h:36:1: warning: empty declaration struct user_struct; ^ /kisskb/src/include/linux/mm.h:37:1: warning: empty declaration 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:518:2: error: expected specifier-qualifier-list before 'pgtable_t' pgtable_t prealloc_pte; /* Pre-allocated pte page table. ^ /kisskb/src/include/linux/mm.h:481:1: warning: empty declaration struct vm_fault { ^ /kisskb/src/include/linux/mm.h:528:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct mmu_gather; ^ /kisskb/src/include/linux/mm.h:712:1: warning: empty declaration 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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration enum transparent_hugepage_flag { ^ /kisskb/src/include/linux/huge_mm.h:93:1: warning: empty declaration struct kobject; ^ /kisskb/src/include/linux/huge_mm.h:94:1: warning: empty declaration 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 { ^ In file included from /kisskb/src/include/linux/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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); ^ /kisskb/src/include/linux/mm.h:1099: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/vmstat.h:8:0, from /kisskb/src/include/linux/mm.h:1748, from /kisskb/src/include/linux/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/vm_event_item.h:32:1: warning: empty declaration enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT, ^ In file included from /kisskb/src/include/linux/mm.h:1748:0, from /kisskb/src/include/linux/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/vmstat.h:24:1: warning: empty declaration struct reclaim_stat { ^ /kisskb/src/include/linux/vmstat.h:37:1: warning: empty declaration enum writeback_stat_item { ^ /kisskb/src/include/linux/vmstat.h:54:1: warning: empty declaration struct vm_event_state { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/memblock.h:12, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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: warning: empty declaration 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: warning: empty declaration 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:2172: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:2304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2308:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2313:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:2317: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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init pagecache_init(void); ^ /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: warning: '__cold__' attribute ignored [-Wattributes] 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: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: warning: '__cold__' attribute ignored [-Wattributes] 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: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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init mmap_init(void); ^ /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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init init_mem_debugging_and_hardening(void); ^ /kisskb/src/include/linux/mm.h:3125:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool page_poisoning_enabled(void) { return false; } ^ /kisskb/src/include/linux/mm.h:3126:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool page_poisoning_enabled_static(void) { return false; } ^ /kisskb/src/include/linux/mm.h:3127:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __kernel_poison_pages(struct page *page, int nunmpages) { } ^ /kisskb/src/include/linux/mm.h:3128:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kernel_poison_pages(struct page *page, int numpages) { } ^ /kisskb/src/include/linux/mm.h:3129:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kernel_unpoison_pages(struct page *page, int numpages) { } ^ In file included from /kisskb/src/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in expansion of macro '_DECLARE_STATIC_KEY_0' #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/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/mm.h:3134:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:373:33: note: in definition of macro 'DECLARE_STATIC_KEY_FALSE' extern struct static_key_false name ^ /kisskb/src/include/linux/compiler_types.h:73:23: note: in expansion of macro '_DECLARE_STATIC_KEY_0' #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/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/memblock.h:12:0, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:3188:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_pagealloc_map_pages(struct page *page, int numpages) {} ^ /kisskb/src/include/linux/mm.h:3189:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void debug_pagealloc_unmap_pages(struct page *page, int numpages) {} ^ /kisskb/src/include/linux/mm.h:3198:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3201:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int in_gate_area_no_mm(unsigned long addr) { return 0; } ^ /kisskb/src/include/linux/mm.h:3203:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration struct vmem_altmap; ^ /kisskb/src/include/linux/mm.h:3260:1: warning: empty declaration 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:3304:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm.h:3319:1: warning: empty declaration enum mf_result { ^ /kisskb/src/include/linux/mm.h:3326:1: warning: empty declaration 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:3402:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline unsigned int debug_guardpage_minorder(void) { return 0; } ^ /kisskb/src/include/linux/mm.h:3403:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool debug_guardpage_enabled(void) { return false; } ^ /kisskb/src/include/linux/mm.h:3404:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool page_is_guard(struct page *page) { return false; } ^ /kisskb/src/include/linux/mm.h: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: warning: '__cold__' attribute ignored [-Wattributes] void __init setup_nr_node_ids(void); ^ /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 { ^ /kisskb/src/include/linux/mm.h:3479:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long len_in, struct anon_vma_name *anon_name) { ^ In file included from ./arch/arm64/include/generated/asm/dma.h:1:0, from /kisskb/src/include/linux/memblock.h:13, from /kisskb/src/arch/arm64/include/asm/acpi.h:13, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/dma.h:13:12: error: storage class specified for parameter 'request_dma' extern int request_dma(unsigned int dmanr, const char *device_id); ^ /kisskb/src/include/asm-generic/dma.h:14:13: error: storage class specified for parameter 'free_dma' extern void free_dma(unsigned int dmanr); ^ In file included from /kisskb/src/arch/arm64/include/asm/acpi.h:13:0, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/memblock.h:15:22: error: storage class specified for parameter 'max_low_pfn' extern unsigned long max_low_pfn; ^ /kisskb/src/include/linux/memblock.h:16:22: error: storage class specified for parameter 'min_low_pfn' extern unsigned long min_low_pfn; ^ /kisskb/src/include/linux/memblock.h:21:22: error: storage class specified for parameter 'max_pfn' extern unsigned long max_pfn; ^ /kisskb/src/include/linux/memblock.h:25:27: error: storage class specified for parameter 'max_possible_pfn' extern unsigned long long max_possible_pfn; ^ /kisskb/src/include/linux/memblock.h:44:1: warning: empty declaration enum memblock_flags { ^ /kisskb/src/include/linux/memblock.h:59:1: warning: empty declaration struct memblock_region { ^ /kisskb/src/include/linux/memblock.h:76:1: warning: empty declaration struct memblock_type { ^ /kisskb/src/include/linux/memblock.h:91:1: warning: empty declaration struct memblock { ^ /kisskb/src/include/linux/memblock.h:98:24: error: storage class specified for parameter 'memblock' extern struct memblock memblock; ^ /kisskb/src/include/linux/memblock.h:107:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void memblock_discard(void) {} ^ /kisskb/src/include/linux/memblock.h:131:31: error: expected declaration specifiers or '...' before 'pg_data_t' void reset_node_managed_pages(pg_data_t *pgdat); ^ /kisskb/src/include/linux/memblock.h:249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:254:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:369:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:425:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:441:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:464:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:541:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:552:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memblock.h:574:14: error: storage class specified for parameter 'alloc_large_system_hash' extern void *alloc_large_system_hash(const char *tablename, ^ /kisskb/src/include/linux/memblock.h:594:12: error: storage class specified for parameter 'hashdist' extern int hashdist; /* Distribute hashes across NUMA nodes? */ ^ /kisskb/src/include/linux/memblock.h:600:13: error: storage class specified for parameter 'early_memtest' extern void early_memtest(phys_addr_t start, phys_addr_t end); ^ In file included from /kisskb/src/arch/arm64/include/asm/acpi.h:14:0, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/psci.h:24:1: warning: empty declaration struct psci_operations { ^ /kisskb/src/include/linux/psci.h:35:31: error: storage class specified for parameter 'psci_ops' extern struct psci_operations psci_ops; ^ /kisskb/src/include/linux/psci.h:37:1: warning: empty declaration struct psci_0_1_function_ids { ^ /kisskb/src/include/linux/psci.h:47:12: error: section attribute not allowed for 'psci_dt_init' int __init psci_dt_init(void); ^ /kisskb/src/include/linux/psci.h:47:1: warning: '__cold__' attribute ignored [-Wattributes] int __init psci_dt_init(void); ^ /kisskb/src/include/linux/psci.h:53:12: error: section attribute not allowed for 'psci_acpi_init' int __init psci_acpi_init(void); ^ /kisskb/src/include/linux/psci.h:53:1: warning: '__cold__' attribute ignored [-Wattributes] int __init psci_acpi_init(void); ^ /kisskb/src/include/linux/psci.h:54:13: error: section attribute not allowed for 'acpi_psci_present' bool __init acpi_psci_present(void); ^ /kisskb/src/include/linux/psci.h:54:1: warning: '__cold__' attribute ignored [-Wattributes] bool __init acpi_psci_present(void); ^ In file included from /kisskb/src/arch/arm64/include/asm/acpi.h:20:0, from /kisskb/src/include/acpi/acpi_io.h:7, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/smp_plat.h:16:1: warning: empty declaration struct mpidr_hash { ^ /kisskb/src/arch/arm64/include/asm/smp_plat.h:22:26: error: storage class specified for parameter 'mpidr_hash' extern struct mpidr_hash mpidr_hash; ^ /kisskb/src/arch/arm64/include/asm/smp_plat.h:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/smp_plat.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/acpi/acpi_io.h:7:0, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/acpi.h:50:31: error: expected declaration specifiers or '...' before 'acpi_physical_address' void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size); ^ /kisskb/src/arch/arm64/include/asm/acpi.h:50:59: error: expected declaration specifiers or '...' before 'acpi_size' void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size); ^ /kisskb/src/arch/arm64/include/asm/acpi.h:53:13: error: storage class specified for parameter 'phys_cpuid_t' typedef u64 phys_cpuid_t; ^ /kisskb/src/arch/arm64/include/asm/acpi.h:57:12: error: storage class specified for parameter 'acpi_disabled' extern int acpi_disabled; ^ /kisskb/src/arch/arm64/include/asm/acpi.h:58:12: error: storage class specified for parameter 'acpi_noirq' extern int acpi_noirq; ^ /kisskb/src/arch/arm64/include/asm/acpi.h:59:12: error: storage class specified for parameter 'acpi_pci_disabled' extern int acpi_pci_disabled; ^ /kisskb/src/arch/arm64/include/asm/acpi.h:62:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/acpi.h:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/acpi.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/acpi.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/acpi.h:100:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void arch_fix_phys_package_id(int num, u32 slot) { } ^ /kisskb/src/arch/arm64/include/asm/acpi.h:101:13: error: section attribute not allowed for 'acpi_init_cpus' void __init acpi_init_cpus(void); ^ /kisskb/src/arch/arm64/include/asm/acpi.h:101:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_init_cpus(void); ^ /kisskb/src/arch/arm64/include/asm/acpi.h:113:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool acpi_parking_protocol_valid(int cpu) { return false; } ^ /kisskb/src/arch/arm64/include/asm/acpi.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token {} ^ /kisskb/src/arch/arm64/include/asm/acpi.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/acpi.h:140:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/acpi.h:35:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpi_io.h:17:13: error: storage class specified for parameter 'acpi_permanent_mmap' extern bool acpi_permanent_mmap; ^ /kisskb/src/include/acpi/acpi_io.h:20:20: error: expected declaration specifiers or '...' before 'acpi_physical_address' *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size); ^ /kisskb/src/include/acpi/acpi_io.h:20:48: error: expected declaration specifiers or '...' before 'acpi_size' *acpi_os_map_iomem(acpi_physical_address phys, acpi_size size); ^ /kisskb/src/include/acpi/acpi_io.h:21:52: error: expected declaration specifiers or '...' before 'acpi_size' void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size); ^ /kisskb/src/include/acpi/acpi_io.h:22:33: error: expected declaration specifiers or '...' before 'acpi_physical_address' void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size); ^ In file included from /kisskb/src/include/acpi/apei.h:9:0, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/acpi.h:38:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_device_handle' static inline acpi_handle acpi_device_handle(struct acpi_device *adev) ^ /kisskb/src/include/linux/acpi.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:102:1: warning: empty declaration enum acpi_irq_model_id { ^ /kisskb/src/include/linux/acpi.h:112:31: error: storage class specified for parameter 'acpi_irq_model' extern enum acpi_irq_model_id acpi_irq_model; ^ /kisskb/src/include/linux/acpi.h:114:1: warning: empty declaration enum acpi_interrupt_id { ^ /kisskb/src/include/linux/acpi.h:123:1: warning: empty declaration enum acpi_address_range_id { ^ /kisskb/src/include/linux/acpi.h:134:30: error: field 'common' has incomplete type struct acpi_subtable_header common; ^ /kisskb/src/include/linux/acpi.h:133:1: warning: empty declaration union acpi_subtable_headers { ^ /kisskb/src/include/linux/acpi.h:140:15: error: storage class specified for parameter 'acpi_tbl_table_handler' typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table); ^ /kisskb/src/include/linux/acpi.h:142:15: error: storage class specified for parameter 'acpi_tbl_entry_handler' typedef int (*acpi_tbl_entry_handler)(union acpi_subtable_headers *header, ^ /kisskb/src/include/linux/acpi.h:145:15: error: storage class specified for parameter 'acpi_tbl_entry_handler_arg' typedef int (*acpi_tbl_entry_handler_arg)(union acpi_subtable_headers *header, ^ /kisskb/src/include/linux/acpi.h:151:23: error: expected declaration specifiers or '...' before 'acpi_osd_exec_callback' int (*create_thread)(acpi_osd_exec_callback function, void *context); ^ /kisskb/src/include/linux/acpi.h:150:1: warning: empty declaration struct acpi_debugger_ops { ^ /kisskb/src/include/linux/acpi.h:158:1: warning: empty declaration struct acpi_debugger { ^ /kisskb/src/include/linux/acpi.h:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:190:47: error: expected declaration specifiers or '...' before 'acpi_osd_exec_callback' static inline int acpi_debugger_create_thread(acpi_osd_exec_callback function, ^ /kisskb/src/include/linux/acpi.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:202:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:207:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:212:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:223:2: error: expected specifier-qualifier-list before 'acpi_tbl_entry_handler' acpi_tbl_entry_handler handler; ^ /kisskb/src/include/linux/acpi.h:221:1: warning: empty declaration struct acpi_subtable_proc { ^ /kisskb/src/include/linux/acpi.h:253:32: error: expected declaration specifiers or '...' before 'acpi_tbl_table_handler' int acpi_table_parse(char *id, acpi_tbl_table_handler handler); ^ /kisskb/src/include/linux/acpi.h:256:3: error: expected declaration specifiers or '...' before 'acpi_tbl_entry_handler' acpi_tbl_entry_handler handler, unsigned int max_entries); ^ /kisskb/src/include/linux/acpi.h:257:23: error: section attribute not allowed for 'acpi_table_parse_entries_array' int __init_or_acpilib acpi_table_parse_entries_array(char *id, ^ /kisskb/src/include/linux/acpi.h:259:3: warning: '__cold__' attribute ignored [-Wattributes] int proc_num, unsigned int max_entries); ^ /kisskb/src/include/linux/acpi.h:261:6: error: expected declaration specifiers or '...' before 'acpi_tbl_entry_handler' acpi_tbl_entry_handler handler, ^ /kisskb/src/include/linux/acpi.h:265:9: error: expected declaration specifiers or '...' before 'acpi_tbl_entry_handler_arg' acpi_tbl_entry_handler_arg handler_arg, void *arg); ^ /kisskb/src/include/linux/acpi.h:277:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa) { } ^ /kisskb/src/include/linux/acpi.h:300:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:304:39: error: expected declaration specifiers or '...' before 'phys_cpuid_t' static inline bool invalid_phys_cpuid(phys_cpuid_t phys_id) ^ /kisskb/src/include/linux/acpi.h:312:1: warning: empty declaration struct acpi_processor_power; ^ /kisskb/src/include/linux/acpi.h:319:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool acpi_processor_claim_cst_control(void) { return false; } ^ /kisskb/src/include/linux/acpi.h:320:47: error: expected declaration specifiers or '...' before 'acpi_handle' static inline int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu, ^ /kisskb/src/include/linux/acpi.h:329:18: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id, ^ /kisskb/src/include/linux/acpi.h:329:38: error: expected declaration specifiers or '...' before 'phys_cpuid_t' int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id, ^ /kisskb/src/include/linux/acpi.h:338:26: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); ^ /kisskb/src/include/linux/acpi.h:339:28: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); ^ /kisskb/src/include/linux/acpi.h:340:28: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base); ^ /kisskb/src/include/linux/acpi.h:342:12: error: storage class specified for parameter 'acpi_irq_handled' extern u32 acpi_irq_handled; ^ /kisskb/src/include/linux/acpi.h:343:12: error: storage class specified for parameter 'acpi_irq_not_handled' extern u32 acpi_irq_not_handled; ^ /kisskb/src/include/linux/acpi.h:344:21: error: storage class specified for parameter 'acpi_sci_irq' extern unsigned int acpi_sci_irq; ^ /kisskb/src/include/linux/acpi.h:345:13: error: storage class specified for parameter 'acpi_no_s5' extern bool acpi_no_s5; ^ /kisskb/src/include/linux/acpi.h:348:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:352:12: error: storage class specified for parameter 'sbf_port' extern int sbf_port; ^ /kisskb/src/include/linux/acpi.h:353:22: error: storage class specified for parameter 'acpi_realmode_flags' extern unsigned long acpi_realmode_flags; ^ /kisskb/src/include/linux/acpi.h:373:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:384:1: warning: empty declaration struct pci_dev; ^ /kisskb/src/include/linux/acpi.h:399:12: error: storage class specified for parameter 'ec_read' extern int ec_read(u8 addr, u8 *val); ^ /kisskb/src/include/linux/acpi.h:400:12: error: storage class specified for parameter 'ec_write' extern int ec_write(u8 addr, u8 val); ^ /kisskb/src/include/linux/acpi.h:401:12: error: storage class specified for parameter 'ec_transaction' extern int ec_transaction(u8 command, ^ /kisskb/src/include/linux/acpi.h:404:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ec_get_handle' extern acpi_handle ec_get_handle(void); ^ /kisskb/src/include/linux/acpi.h:406:13: error: storage class specified for parameter 'acpi_is_pnp_device' extern bool acpi_is_pnp_device(struct acpi_device *); ^ /kisskb/src/include/linux/acpi.h:442:13: error: storage class specified for parameter 'acpi_video_backlight_string' extern char acpi_video_backlight_string[]; ^ /kisskb/src/include/linux/acpi.h:443:34: error: expected declaration specifiers or '...' before 'acpi_handle' extern long acpi_is_video_device(acpi_handle handle); ^ /kisskb/src/include/linux/acpi.h:444:12: error: storage class specified for parameter 'acpi_blacklisted' extern int acpi_blacklisted(void); ^ /kisskb/src/include/linux/acpi.h:445:13: error: storage class specified for parameter 'acpi_osi_setup' extern void acpi_osi_setup(char *str); ^ /kisskb/src/include/linux/acpi.h:446:13: error: storage class specified for parameter 'acpi_osi_is_win8' extern bool acpi_osi_is_win8(void); ^ /kisskb/src/include/linux/acpi.h:449:5: error: redefinition of parameter 'acpi_map_pxm_to_node' int acpi_map_pxm_to_node(int pxm); ^ In file included from /kisskb/src/include/linux/acpi.h:34:0, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/acpi_numa.h:17:12: note: previous definition of 'acpi_map_pxm_to_node' was here extern int acpi_map_pxm_to_node(int); ^ In file included from /kisskb/src/include/acpi/apei.h:9:0, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/acpi.h:450:19: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_get_node(acpi_handle handle); ^ /kisskb/src/include/linux/acpi.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:486:12: error: storage class specified for parameter 'acpi_paddr_to_node' extern int acpi_paddr_to_node(u64 start_addr, u64 size); ^ /kisskb/src/include/linux/acpi.h:488:12: error: storage class specified for parameter 'pnpacpi_disabled' extern int pnpacpi_disabled; ^ /kisskb/src/include/linux/acpi.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:529:12: error: storage class specified for parameter 'acpi_check_s4_hw_signature' extern int acpi_check_s4_hw_signature; ^ /kisskb/src/include/linux/acpi.h:533:13: error: section attribute not allowed for 'acpi_old_suspend_ordering' void __init acpi_old_suspend_ordering(void); ^ /kisskb/src/include/linux/acpi.h:533:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_old_suspend_ordering(void); ^ /kisskb/src/include/linux/acpi.h:534:13: error: section attribute not allowed for 'acpi_nvs_nosave' void __init acpi_nvs_nosave(void); ^ /kisskb/src/include/linux/acpi.h:534:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_nvs_nosave(void); ^ /kisskb/src/include/linux/acpi.h:535:13: error: section attribute not allowed for 'acpi_nvs_nosave_s3' void __init acpi_nvs_nosave_s3(void); ^ /kisskb/src/include/linux/acpi.h:535:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_nvs_nosave_s3(void); ^ /kisskb/src/include/linux/acpi.h:536:13: error: section attribute not allowed for 'acpi_sleep_no_blacklist' void __init acpi_sleep_no_blacklist(void); ^ /kisskb/src/include/linux/acpi.h:536:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_sleep_no_blacklist(void); ^ /kisskb/src/include/linux/acpi.h:544:1: warning: empty declaration struct acpi_osc_context { ^ /kisskb/src/include/linux/acpi.h:551:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); ^ /kisskb/src/include/linux/acpi.h:587:13: error: storage class specified for parameter 'osc_sb_apei_support_acked' extern bool osc_sb_apei_support_acked; ^ /kisskb/src/include/linux/acpi.h:588:13: error: storage class specified for parameter 'osc_pc_lpi_support_confirmed' extern bool osc_pc_lpi_support_confirmed; ^ /kisskb/src/include/linux/acpi.h:589:13: error: storage class specified for parameter 'osc_sb_native_usb4_support_confirmed' extern bool osc_sb_native_usb4_support_confirmed; ^ /kisskb/src/include/linux/acpi.h:590:13: error: storage class specified for parameter 'osc_sb_cppc2_support_acked' extern bool osc_sb_cppc2_support_acked; ^ /kisskb/src/include/linux/acpi.h:591:13: error: storage class specified for parameter 'osc_cpc_flexible_adr_space_confirmed' extern bool osc_cpc_flexible_adr_space_confirmed; ^ /kisskb/src/include/linux/acpi.h:599:12: error: storage class specified for parameter 'osc_sb_native_usb4_control' extern u32 osc_sb_native_usb4_control; ^ /kisskb/src/include/linux/acpi.h:629:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:636:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:688:1: warning: empty declaration enum acpi_predicate { ^ /kisskb/src/include/linux/acpi.h:696:1: warning: empty declaration struct acpi_platform_list { ^ /kisskb/src/include/linux/acpi.h:707:13: error: storage class specified for parameter 'acpi_early_init' extern void acpi_early_init(void); ^ /kisskb/src/include/linux/acpi.h:708:13: error: storage class specified for parameter 'acpi_subsystem_init' extern void acpi_subsystem_init(void); ^ /kisskb/src/include/linux/acpi.h:709:13: error: storage class specified for parameter 'arch_post_acpi_subsys_init' extern void arch_post_acpi_subsys_init(void); ^ /kisskb/src/include/linux/acpi.h:711:12: error: storage class specified for parameter 'acpi_nvs_register' extern int acpi_nvs_register(__u64 start, __u64 size); ^ /kisskb/src/include/linux/acpi.h:713:12: error: storage class specified for parameter 'acpi_nvs_for_each_region' extern int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *), ^ /kisskb/src/include/linux/acpi.h:720:13: error: storage class specified for parameter 'acpi_driver_match_device' extern bool acpi_driver_match_device(struct device *dev, ^ /kisskb/src/include/linux/acpi.h:730:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:739:1: warning: empty declaration enum acpi_reconfig_event { ^ /kisskb/src/include/linux/acpi.h:756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:762:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:767:28: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_get_local_address(acpi_handle handle, u32 *addr); ^ /kisskb/src/include/linux/acpi.h:768:35: error: expected declaration specifiers or '...' before 'acpi_handle' const char *acpi_get_subsystem_id(acpi_handle handle); ^ /kisskb/src/include/linux/acpi.h:1065:35: error: expected declaration specifiers or '...' before 'acpi_handle' static inline int acpi_ioapic_add(acpi_handle root) { return 0; } ^ /kisskb/src/include/linux/acpi.h:1072:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_prepare_sleep(u8 sleep_state, ^ /kisskb/src/include/linux/acpi.h:1078:1: error: expected declaration specifiers before 'acpi_status' acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, ^ /kisskb/src/include/linux/acpi.h:1091:28: error: expected declaration specifiers or '...' before 'acpi_physical_address' void arch_reserve_mem_area(acpi_physical_address addr, size_t size); ^ 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/acpi.h:1150:1: note: in expansion of macro '__printf' __printf(3, 4) ^ In file included from /kisskb/src/include/acpi/apei.h:9:0, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/acpi.h:1153:35: error: expected declaration specifiers or '...' before 'acpi_handle' void acpi_evaluation_failure_warn(acpi_handle handle, const char *name, ^ /kisskb/src/include/linux/acpi.h:1154:7: error: expected declaration specifiers or '...' before 'acpi_status' acpi_status status); ^ /kisskb/src/include/linux/acpi.h:1232:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:1240:6: error: expected declaration specifiers or '...' before 'acpi_object_type' acpi_object_type type, const union acpi_object **obj); ^ /kisskb/src/include/linux/acpi.h:1249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:1255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:1260:58: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, ^ /kisskb/src/include/linux/acpi.h:1260:65: error: expected ';', ',' or ')' before '*' token acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, ^ /kisskb/src/include/linux/acpi.h:1269:1: warning: empty declaration struct acpi_probe_entry; ^ /kisskb/src/include/linux/acpi.h:1270:16: error: storage class specified for parameter 'acpi_probe_entry_validate_subtbl' typedef bool (*acpi_probe_entry_validate_subtbl)(struct acpi_subtable_header *, ^ /kisskb/src/include/linux/acpi.h:1291:2: error: expected specifier-qualifier-list before 'acpi_probe_entry_validate_subtbl' acpi_probe_entry_validate_subtbl subtable_valid; ^ /kisskb/src/include/linux/acpi.h:1288:1: warning: empty declaration struct acpi_probe_entry { ^ /kisskb/src/include/linux/acpi.h:1409:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool acpi_has_watchdog(void) { return false; } ^ /kisskb/src/include/linux/acpi.h:1413:13: error: storage class specified for parameter 'qdf2400_e44_present' extern bool qdf2400_e44_present; ^ /kisskb/src/include/linux/acpi.h:1423:18: error: expected declaration specifiers or '...' before 'acpi_handle' int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res); ^ /kisskb/src/include/linux/acpi.h:1436:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/acpi.h:1477:13: error: storage class specified for parameter 'acpi_device_notify' extern void acpi_device_notify(struct device *dev); ^ /kisskb/src/include/linux/acpi.h:1478:13: error: storage class specified for parameter 'acpi_device_notify_remove' extern void acpi_device_notify_remove(struct device *dev); ^ In file included from /kisskb/src/include/linux/trace_seq.h:5:0, from /kisskb/src/include/linux/cper.h:13, from /kisskb/src/include/acpi/apei.h:10, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/seq_buf.h:19:1: warning: empty declaration struct seq_buf { ^ /kisskb/src/include/linux/seq_buf.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seq_buf.h:141:5: error: storage class specified for parameter 'seq_buf_printf' int seq_buf_printf(struct seq_buf *s, const char *fmt, ...); ^ /kisskb/src/include/linux/seq_buf.h:143:5: error: storage class specified for parameter 'seq_buf_vprintf' int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args); ^ /kisskb/src/include/linux/seq_buf.h:144:12: error: storage class specified for parameter 'seq_buf_print_seq' extern int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s); ^ /kisskb/src/include/linux/seq_buf.h:145:12: error: storage class specified for parameter 'seq_buf_to_user' extern int seq_buf_to_user(struct seq_buf *s, char __user *ubuf, ^ /kisskb/src/include/linux/seq_buf.h:147:12: error: storage class specified for parameter 'seq_buf_puts' extern int seq_buf_puts(struct seq_buf *s, const char *str); ^ /kisskb/src/include/linux/seq_buf.h:148:12: error: storage class specified for parameter 'seq_buf_putc' extern int seq_buf_putc(struct seq_buf *s, unsigned char c); ^ /kisskb/src/include/linux/seq_buf.h:149:12: error: storage class specified for parameter 'seq_buf_putmem' extern int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len); ^ /kisskb/src/include/linux/seq_buf.h:150:12: error: storage class specified for parameter 'seq_buf_putmem_hex' extern int seq_buf_putmem_hex(struct seq_buf *s, const void *mem, ^ /kisskb/src/include/linux/seq_buf.h:152:12: error: storage class specified for parameter 'seq_buf_path' extern int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc); ^ /kisskb/src/include/linux/seq_buf.h:153:12: error: storage class specified for parameter 'seq_buf_hex_dump' extern int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str, ^ /kisskb/src/include/linux/seq_buf.h:159:1: error: storage class specified for parameter 'seq_buf_bprintf' seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary); ^ In file included from /kisskb/src/include/linux/cper.h:13:0, from /kisskb/src/include/acpi/apei.h:10, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/trace_seq.h:14:1: warning: empty declaration struct trace_seq { ^ /kisskb/src/include/linux/trace_seq.h:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:101:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:111:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/trace_seq.h:138:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/acpi/apei.h:10:0, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/cper.h:38:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/cper.h:321:9: error: expected declaration specifiers before '#pragma' #pragma pack(1) ^ /kisskb/src/include/linux/cper.h:341:2: error: expected declaration specifiers before ';' token }; ^ /kisskb/src/include/linux/cper.h:353:2: error: expected specifier-qualifier-list before 'guid_t' guid_t section_type; ^ /kisskb/src/include/linux/cper.h:344:1: warning: empty declaration struct cper_section_descriptor { ^ /kisskb/src/include/linux/cper.h:360:1: warning: empty declaration struct cper_sec_proc_generic { ^ /kisskb/src/include/linux/cper.h:379:1: warning: empty declaration struct cper_sec_proc_ia { ^ /kisskb/src/include/linux/cper.h:387:2: error: expected specifier-qualifier-list before 'guid_t' guid_t err_type; ^ /kisskb/src/include/linux/cper.h:386:1: warning: empty declaration struct cper_ia_err_info { ^ /kisskb/src/include/linux/cper.h:397:1: warning: empty declaration struct cper_ia_proc_ctx { ^ /kisskb/src/include/linux/cper.h:405:1: warning: empty declaration struct cper_sec_proc_arm { ^ /kisskb/src/include/linux/cper.h:419:1: warning: empty declaration struct cper_arm_err_info { ^ /kisskb/src/include/linux/cper.h:432:1: warning: empty declaration struct cper_arm_ctx_info { ^ /kisskb/src/include/linux/cper.h:439:1: warning: empty declaration struct cper_sec_mem_err_old { ^ /kisskb/src/include/linux/cper.h:459:1: warning: empty declaration struct cper_sec_mem_err { ^ /kisskb/src/include/linux/cper.h:482:1: warning: empty declaration struct cper_mem_err_compact { ^ /kisskb/src/include/linux/cper.h:502:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/cper.h:509:1: warning: empty declaration struct cper_sec_pcie { ^ /kisskb/src/include/linux/cper.h:550:2: error: expected specifier-qualifier-list before 'guid_t' guid_t record_identifier_guid; ^ /kisskb/src/include/linux/cper.h:545:1: warning: empty declaration struct cper_sec_fw_err_rec_ref { ^ /kisskb/src/include/linux/cper.h:554:9: error: expected declaration specifiers before '#pragma' #pragma pack() ^ In file included from /kisskb/src/include/acpi/ghes.h:5:0, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/apei.h:20:1: warning: empty declaration enum hest_status { ^ /kisskb/src/include/acpi/apei.h:26:12: error: storage class specified for parameter 'hest_disable' extern int hest_disable; ^ /kisskb/src/include/acpi/apei.h:27:12: error: storage class specified for parameter 'erst_disable' extern int erst_disable; ^ /kisskb/src/include/acpi/apei.h:29:13: error: storage class specified for parameter 'ghes_disable' extern bool ghes_disable; ^ /kisskb/src/include/acpi/apei.h:30:13: error: section attribute not allowed for 'acpi_ghes_init' void __init acpi_ghes_init(void); ^ /kisskb/src/include/acpi/apei.h:30:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_ghes_init(void); ^ /kisskb/src/include/acpi/apei.h:37:13: error: section attribute not allowed for 'acpi_hest_init' void __init acpi_hest_init(void); ^ /kisskb/src/include/acpi/apei.h:37:1: warning: '__cold__' attribute ignored [-Wattributes] void __init acpi_hest_init(void); ^ /kisskb/src/include/acpi/apei.h:42:29: warning: 'struct cper_record_header' declared inside parameter list int erst_write(const struct cper_record_header *record); ^ /kisskb/src/include/acpi/apei.h:48:5: warning: 'struct cper_record_header' declared inside parameter list size_t buflen); ^ /kisskb/src/include/acpi/apei.h:50:42: error: type defaults to 'int' in declaration of 'guid_t' [-Werror=implicit-int] size_t buflen, size_t recordlen, const guid_t *creatorid); ^ /kisskb/src/include/acpi/apei.h:50:49: error: expected ';', ',' or ')' before '*' token size_t buflen, size_t recordlen, const guid_t *creatorid); ^ In file included from /kisskb/src/include/linux/arm_sdei.h:8:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/acpi/ghes.h:18:1: warning: empty declaration struct ghes { ^ /kisskb/src/include/acpi/ghes.h:32:1: warning: empty declaration struct ghes_estatus_node { ^ /kisskb/src/include/acpi/ghes.h:41:1: warning: empty declaration struct ghes_estatus_cache { ^ /kisskb/src/include/acpi/ghes.h:49:1: warning: empty declaration enum { ^ /kisskb/src/include/acpi/ghes.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/ghes.h:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/ghes.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/ghes.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/ghes.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/acpi/ghes.h:133:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10:0: /kisskb/src/include/linux/arm_sdei.h:23:14: error: storage class specified for parameter 'sdei_event_callback' typedef int (sdei_event_callback)(u32 event, struct pt_regs *regs, void *arg); ^ /kisskb/src/include/linux/arm_sdei.h:29:40: error: expected declaration specifiers or '...' before 'sdei_event_callback' int sdei_event_register(u32 event_num, sdei_event_callback *cb, void *arg); ^ /kisskb/src/include/linux/arm_sdei.h:41:43: error: expected declaration specifiers or '...' before 'sdei_event_callback' int sdei_register_ghes(struct ghes *ghes, sdei_event_callback *normal_cb, ^ /kisskb/src/include/linux/arm_sdei.h:42:10: error: expected declaration specifiers or '...' before 'sdei_event_callback' sdei_event_callback *critical_cb); ^ /kisskb/src/include/linux/arm_sdei.h:51:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int sdei_mask_local_cpu(void) { return 0; } ^ /kisskb/src/include/linux/arm_sdei.h:52:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int sdei_unmask_local_cpu(void) { return 0; } ^ /kisskb/src/include/linux/arm_sdei.h:53:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void sdei_init(void) { } ^ /kisskb/src/include/linux/arm_sdei.h:69:26: error: field 'interrupted_regs' has incomplete type struct pt_regs interrupted_regs; ^ /kisskb/src/include/linux/arm_sdei.h:71:2: error: expected specifier-qualifier-list before 'sdei_event_callback' sdei_event_callback *callback; ^ /kisskb/src/include/linux/arm_sdei.h:67:1: warning: empty declaration struct sdei_registered_event { ^ /kisskb/src/include/linux/arm_sdei.h:78:13: error: '__no_instrument_function__' attribute applies only to functions int notrace sdei_event_handler(struct pt_regs *regs, ^ In file included from /kisskb/src/include/linux/pid_namespace.h:10:0, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/nsproxy.h:8:1: warning: empty declaration struct mnt_namespace; ^ /kisskb/src/include/linux/nsproxy.h:9:1: warning: empty declaration struct uts_namespace; ^ /kisskb/src/include/linux/nsproxy.h:10:1: warning: empty declaration struct ipc_namespace; ^ /kisskb/src/include/linux/nsproxy.h:11:1: warning: empty declaration struct pid_namespace; ^ /kisskb/src/include/linux/nsproxy.h:12:1: warning: empty declaration struct cgroup_namespace; ^ /kisskb/src/include/linux/nsproxy.h:13:1: warning: empty declaration struct fs_struct; ^ /kisskb/src/include/linux/nsproxy.h:31:1: warning: empty declaration 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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] int __init nsproxy_cache_init(void); ^ /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/pid_namespace.h:11:0, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/ns_common.h:7:1: warning: empty declaration struct proc_ns_operations; ^ /kisskb/src/include/linux/ns_common.h:13:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t count; ^ /kisskb/src/include/linux/ns_common.h:9:1: warning: empty declaration struct ns_common { ^ In file included from /kisskb/src/include/linux/ptrace.h:10:0, from /kisskb/src/include/linux/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/pid_namespace.h:17:1: warning: empty declaration struct fs_pin; ^ /kisskb/src/include/linux/pid_namespace.h:19:1: warning: empty declaration struct pid_namespace { ^ /kisskb/src/include/linux/pid_namespace.h:36:29: error: storage class specified for parameter 'init_pid_ns' extern struct pid_namespace init_pid_ns; ^ /kisskb/src/include/linux/pid_namespace.h:36:29: error: redefinition of parameter 'init_pid_ns' In file included from /kisskb/src/include/linux/sched.h:14:0, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/include/linux/xarray.h:19, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/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/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /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/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/ptrace.h:59:1: warning: empty declaration struct ptrace_peeksiginfo_args { ^ /kisskb/src/include/uapi/linux/ptrace.h:71:1: warning: empty declaration struct seccomp_metadata { ^ /kisskb/src/include/uapi/linux/ptrace.h:82:1: warning: empty declaration struct ptrace_syscall_info { ^ /kisskb/src/include/uapi/linux/ptrace.h:107:1: warning: empty declaration struct ptrace_rseq_configuration { ^ In file included from /kisskb/src/include/linux/elfcore.h:11:0, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/ptrace.h:15:1: warning: empty declaration 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:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ptrace.h:342:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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/crash_core.h:6:0, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/elfcore.h:15:1: warning: empty declaration struct coredump_params; ^ /kisskb/src/include/linux/elfcore.h:17:1: warning: empty declaration struct elf_siginfo ^ /kisskb/src/include/linux/elfcore.h:32:1: warning: empty declaration struct elf_prstatus_common ^ /kisskb/src/include/linux/elfcore.h:51:2: error: unknown type name 'elf_gregset_t' elf_gregset_t pr_reg; /* GP registers */ ^ /kisskb/src/include/linux/elfcore.h:48:1: warning: empty declaration struct elf_prstatus ^ /kisskb/src/include/linux/elfcore.h:57:1: warning: empty declaration struct elf_prpsinfo ^ /kisskb/src/include/linux/elfcore.h:77:39: error: unknown type name 'elf_gregset_t' static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) ^ /kisskb/src/include/linux/elfcore.h:87:66: error: unknown type name 'elf_gregset_t' static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* elfregs) ^ /kisskb/src/include/linux/elfcore.h:97:40: error: expected declaration specifiers or '...' before 'elf_fpregset_t' extern int dump_fpu (struct pt_regs *, elf_fpregset_t *); ^ /kisskb/src/include/linux/elfcore.h:99:90: error: expected declaration specifiers or '...' before 'elf_fpregset_t' static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu) ^ /kisskb/src/include/linux/elfcore.h:117:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_core_extra_phdrs' extern Elf_Half elf_core_extra_phdrs(void); ^ /kisskb/src/include/linux/elfcore.h:119:1: error: storage class specified for parameter 'elf_core_write_extra_phdrs' elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset); ^ /kisskb/src/include/linux/elfcore.h:121:1: error: storage class specified for parameter 'elf_core_write_extra_data' elf_core_write_extra_data(struct coredump_params *cprm); ^ /kisskb/src/include/linux/elfcore.h:122:15: error: storage class specified for parameter 'elf_core_extra_data_size' extern size_t elf_core_extra_data_size(void); ^ In file included from /kisskb/src/include/linux/kexec.h:18:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/crash_core.h:30:13: error: storage class specified for parameter 'note_buf_t' typedef u32 note_buf_t[CRASH_CORE_NOTE_BYTES/4]; ^ 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/crash_core.h:35:1: note: in expansion of macro '__printf' __printf(1, 2) ^ In file included from /kisskb/src/include/linux/kexec.h:18:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/crash_core.h:72:23: error: storage class specified for parameter 'vmcoreinfo_data' extern unsigned char *vmcoreinfo_data; ^ /kisskb/src/include/linux/crash_core.h:73:15: error: storage class specified for parameter 'vmcoreinfo_size' extern size_t vmcoreinfo_size; ^ /kisskb/src/include/linux/crash_core.h:74:13: error: storage class specified for parameter 'vmcoreinfo_note' extern u32 *vmcoreinfo_note; ^ 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/elf.h:59:18: error: expected declaration specifiers before 'Elf64_Word' #define Elf_Word Elf64_Word ^ /kisskb/src/include/linux/crash_core.h:76:1: note: in expansion of macro 'Elf_Word' Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, ^ /kisskb/src/include/linux/elf.h:59:18: error: expected declaration specifiers or '...' before 'Elf64_Word' #define Elf_Word Elf64_Word ^ /kisskb/src/include/linux/crash_core.h:78:17: note: in expansion of macro 'Elf_Word' void final_note(Elf_Word *buf); ^ In file included from /kisskb/src/include/linux/kexec.h:18:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/crash_core.h:80:12: error: section attribute not allowed for 'parse_crashkernel' int __init parse_crashkernel(char *cmdline, unsigned long long system_ram, ^ /kisskb/src/include/linux/crash_core.h:81:3: warning: '__cold__' attribute ignored [-Wattributes] unsigned long long *crash_size, unsigned long long *crash_base); ^ In file included from /kisskb/src/include/linux/kexec.h:22:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/verification.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/verification.h:31:1: warning: empty declaration enum key_being_used_for { ^ /kisskb/src/include/linux/verification.h:40:26: error: storage class specified for parameter 'key_being_used_for' extern const char *const key_being_used_for[NR__KEY_BEING_USED_FOR]; ^ /kisskb/src/include/linux/verification.h:44:1: warning: empty declaration struct key; ^ /kisskb/src/include/linux/verification.h:45:1: warning: empty declaration struct pkcs7_message; ^ /kisskb/src/include/linux/verification.h:47:12: error: storage class specified for parameter 'verify_pkcs7_signature' extern int verify_pkcs7_signature(const void *data, size_t len, ^ /kisskb/src/include/linux/verification.h:55:12: error: storage class specified for parameter 'verify_pkcs7_message_sig' extern int verify_pkcs7_message_sig(const void *data, size_t len, ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/kexec.h:26:24: error: storage class specified for parameter 'crashk_res' extern struct resource crashk_res; ^ /kisskb/src/include/linux/kexec.h:27:24: error: storage class specified for parameter 'crashk_low_res' extern struct resource crashk_low_res; ^ /kisskb/src/include/linux/kexec.h:28:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern note_buf_t __percpu *crash_notes; ^ In file included from /kisskb/src/include/linux/uio.h:11:0, from /kisskb/src/include/linux/socket.h:8, from /kisskb/src/include/linux/compat.h:15, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/uio.h:17:1: warning: empty declaration struct iovec ^ In file included from /kisskb/src/include/linux/socket.h:8:0, from /kisskb/src/include/linux/compat.h:15, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/uio.h:13:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/uio.h:14:1: warning: empty declaration struct pipe_inode_info; ^ /kisskb/src/include/linux/uio.h:16:1: warning: empty declaration struct kvec { ^ /kisskb/src/include/linux/uio.h:21:1: warning: empty declaration enum iter_type { ^ /kisskb/src/include/linux/uio.h:32:1: warning: empty declaration struct iov_iter_state { ^ /kisskb/src/include/linux/uio.h:38:1: warning: empty declaration 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: warning: empty declaration 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/socket.h:11:0, from /kisskb/src/include/linux/compat.h:15, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /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: warning: empty declaration struct __kernel_sockaddr_storage { ^ In file included from /kisskb/src/include/linux/compat.h:15:0, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/linux/socket.h:13:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/socket.h:14:1: warning: empty declaration struct pid; ^ /kisskb/src/include/linux/socket.h:15:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/socket.h:16:1: warning: empty declaration struct socket; ^ /kisskb/src/include/linux/socket.h:17:1: warning: empty declaration struct sock; ^ /kisskb/src/include/linux/socket.h:18:1: warning: empty declaration struct sk_buff; ^ /kisskb/src/include/linux/socket.h:24:1: warning: empty declaration 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: warning: empty declaration struct sockaddr { ^ /kisskb/src/include/linux/socket.h:39:1: warning: empty declaration struct linger { ^ /kisskb/src/include/linux/socket.h:52:1: warning: empty declaration struct msghdr { ^ /kisskb/src/include/linux/socket.h:79:1: warning: empty declaration struct user_msghdr { ^ /kisskb/src/include/linux/socket.h:90:1: warning: empty declaration struct mmsghdr { ^ /kisskb/src/include/linux/socket.h:101:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct timespec64; ^ /kisskb/src/include/linux/socket.h:387:1: warning: empty declaration struct __kernel_timespec; ^ /kisskb/src/include/linux/socket.h:388:1: warning: empty declaration 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: warning: empty declaration 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/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /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/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/if.h:82:1: warning: empty declaration enum net_device_flags { ^ /kisskb/src/include/uapi/linux/if.h:167:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/if.h:178:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/if.h:196:1: warning: empty declaration 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: warning: empty declaration struct if_settings { ^ /kisskb/src/include/uapi/linux/if.h:234:1: warning: empty declaration struct ifreq { ^ /kisskb/src/include/uapi/linux/if.h:286:1: warning: empty declaration struct ifconf { ^ In file included from /kisskb/src/include/linux/compat.h:18:0, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/include/uapi/linux/aio_abi.h:34:26: error: storage class specified for parameter 'aio_context_t' typedef __kernel_ulong_t aio_context_t; ^ /kisskb/src/include/uapi/linux/aio_abi.h:36:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/aio_abi.h:60:1: warning: empty declaration 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: warning: empty declaration struct iocb { ^ In file included from /kisskb/src/include/linux/compat.h:34:0, from /kisskb/src/include/linux/kexec.h:32, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/arch/arm64/include/asm/syscall_wrapper.h:11:1: warning: empty declaration struct pt_regs; ^ In file included from /kisskb/src/include/linux/kexec.h:32:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /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: warning: empty declaration 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: warning: empty declaration struct compat_sel_arg_struct; ^ /kisskb/src/include/linux/compat.h:116:1: warning: empty declaration struct rusage; ^ /kisskb/src/include/linux/compat.h:118:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct compat_sigaction { ^ /kisskb/src/include/linux/compat.h:153:2: error: expected specifier-qualifier-list before 'compat_int_t' compat_int_t sival_int; ^ /kisskb/src/include/linux/compat.h:155:3: error: storage class specified for parameter 'compat_sigval_t' } compat_sigval_t; ^ /kisskb/src/include/linux/compat.h:172:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* sender's pid */ ^ /kisskb/src/include/linux/compat.h:178:4: error: expected specifier-qualifier-list before 'compat_timer_t' compat_timer_t _tid; /* timer id */ ^ /kisskb/src/include/linux/compat.h:185:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* sender's pid */ ^ /kisskb/src/include/linux/compat.h:192:4: error: expected specifier-qualifier-list before 'compat_pid_t' compat_pid_t _pid; /* which child */ ^ /kisskb/src/include/linux/compat.h:212:4: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t _addr; /* faulting insn/memory ref. */ ^ /kisskb/src/include/linux/compat.h:245:4: error: expected specifier-qualifier-list before 'compat_long_t' compat_long_t _band; /* POLL_IN, POLL_OUT, POLL_MSG */ ^ /kisskb/src/include/linux/compat.h:250:4: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t _call_addr; /* calling user insn */ ^ /kisskb/src/include/linux/compat.h:255:3: error: storage class specified for parameter 'compat_siginfo_t' } compat_siginfo_t; ^ /kisskb/src/include/linux/compat.h:258:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t rlim_cur; ^ /kisskb/src/include/linux/compat.h:257:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct compat_siginfo; ^ /kisskb/src/include/linux/compat.h:316:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct compat_keyctl_kdf_params { ^ /kisskb/src/include/linux/compat.h:416:1: warning: empty declaration struct compat_stat; ^ /kisskb/src/include/linux/compat.h:417:1: warning: empty declaration struct compat_statfs; ^ /kisskb/src/include/linux/compat.h:418:1: warning: empty declaration struct compat_statfs64; ^ /kisskb/src/include/linux/compat.h:419:1: warning: empty declaration struct compat_old_linux_dirent; ^ /kisskb/src/include/linux/compat.h:420:1: warning: empty declaration struct compat_linux_dirent; ^ /kisskb/src/include/linux/compat.h:421:1: warning: empty declaration struct linux_dirent64; ^ /kisskb/src/include/linux/compat.h:422:1: warning: empty declaration struct compat_msghdr; ^ /kisskb/src/include/linux/compat.h:423:1: warning: empty declaration struct compat_mmsghdr; ^ /kisskb/src/include/linux/compat.h:424:1: warning: empty declaration struct compat_sysinfo; ^ /kisskb/src/include/linux/compat.h:425:1: warning: empty declaration struct compat_sysctl_args; ^ /kisskb/src/include/linux/compat.h:426:1: warning: empty declaration struct compat_kexec_segment; ^ /kisskb/src/include/linux/compat.h:427:1: warning: empty declaration struct compat_mq_attr; ^ /kisskb/src/include/linux/compat.h:428:1: warning: empty declaration 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); ^ /kisskb/src/include/linux/compat.h:449:19: error: expected declaration specifiers or '...' before 'compat_sigset_t' put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, ^ /kisskb/src/include/linux/compat.h:449:57: error: type defaults to 'int' in declaration of 'sigset_t' [-Werror=implicit-int] put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, ^ /kisskb/src/include/linux/compat.h:449:66: error: expected ';', ',' or ')' before '*' token put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set, ^ /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: warning: empty declaration 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); ^ /kisskb/src/include/linux/compat.h:547:28: error: expected declaration specifiers or '...' before 'compat_stack_t' int __compat_save_altstack(compat_stack_t __user *, unsigned long); ^ /kisskb/src/include/linux/compat.h:976:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/compat.h:993:56: error: expected declaration specifiers or '...' before 'compat_size_t' int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:995:44: error: expected declaration specifiers or '...' before 'compat_size_t' int kcompat_sys_fstatfs64(unsigned int fd, compat_size_t sz, ^ /kisskb/src/include/linux/compat.h:1006:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool in_compat_syscall(void) { return is_compat_task(); } ^ /kisskb/src/include/linux/compat.h:1022:51: error: type defaults to 'int' in declaration of 'compat_ulong_t' [-Werror=implicit-int] long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, ^ /kisskb/src/include/linux/compat.h:1022:73: error: expected ';', ',' or ')' before '*' token long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, ^ /kisskb/src/include/linux/compat.h:1024:24: error: expected declaration specifiers or '...' before 'compat_ulong_t' long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, ^ /kisskb/src/include/linux/compat.h:1043:39: error: expected declaration specifiers or '...' before 'compat_uptr_t' static inline void __user *compat_ptr(compat_uptr_t uptr) ^ /kisskb/src/include/linux/compat.h:1049:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptr_to_compat' static inline compat_uptr_t ptr_to_compat(void __user *uptr) ^ In file included from /kisskb/src/include/linux/kexec.h:35:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12: /kisskb/src/arch/arm64/include/asm/kexec.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kexec.h:84:13: error: storage class specified for parameter 'crash_is_nosave' extern bool crash_is_nosave(unsigned long pfn); ^ /kisskb/src/arch/arm64/include/asm/kexec.h:85:13: error: storage class specified for parameter 'crash_prepare_suspend' extern void crash_prepare_suspend(void); ^ /kisskb/src/arch/arm64/include/asm/kexec.h:86:13: error: storage class specified for parameter 'crash_post_resume' extern void crash_post_resume(void); ^ /kisskb/src/arch/arm64/include/asm/kexec.h:96:1: warning: empty declaration struct kimage; ^ /kisskb/src/arch/arm64/include/asm/kexec.h:115:1: warning: empty declaration struct kimage_arch { ^ /kisskb/src/arch/arm64/include/asm/kexec.h:128:36: error: storage class specified for parameter 'kexec_image_ops' extern const struct kexec_file_ops kexec_image_ops; ^ /kisskb/src/arch/arm64/include/asm/kexec.h:133:12: error: storage class specified for parameter 'load_other_segments' extern int load_other_segments(struct kimage *image, ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/kexec.h:78:23: error: storage class specified for parameter 'kimage_entry_t' typedef unsigned long kimage_entry_t; ^ /kisskb/src/include/linux/kexec.h:80:1: warning: empty declaration struct kexec_segment { ^ /kisskb/src/include/linux/kexec.h:100:2: error: expected specifier-qualifier-list before 'compat_uptr_t' compat_uptr_t buf; ^ /kisskb/src/include/linux/kexec.h:99:1: warning: empty declaration struct compat_kexec_segment { ^ /kisskb/src/include/linux/kexec.h:113:17: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token const Elf_Ehdr *ehdr; ^ /kisskb/src/include/linux/kexec.h:108:1: warning: empty declaration struct purgatory_info { ^ /kisskb/src/include/linux/kexec.h:126:1: warning: empty declaration struct kimage; ^ /kisskb/src/include/linux/kexec.h:128:14: error: storage class specified for parameter 'kexec_probe_t' typedef int (kexec_probe_t)(const char *kernel_buf, unsigned long kernel_size); ^ /kisskb/src/include/linux/kexec.h:129:16: error: storage class specified for parameter 'kexec_load_t' typedef void *(kexec_load_t)(struct kimage *image, char *kernel_buf, ^ /kisskb/src/include/linux/kexec.h:133:14: error: storage class specified for parameter 'kexec_cleanup_t' typedef int (kexec_cleanup_t)(void *loader_data); ^ /kisskb/src/include/linux/kexec.h:141:2: error: expected specifier-qualifier-list before 'kexec_probe_t' kexec_probe_t *probe; ^ /kisskb/src/include/linux/kexec.h:140:1: warning: empty declaration struct kexec_file_ops { ^ /kisskb/src/include/linux/kexec.h:149:44: error: storage class specified for parameter 'kexec_file_loaders' extern const struct kexec_file_ops * const kexec_file_loaders[]; ^ /kisskb/src/include/linux/kexec.h:175:1: warning: empty declaration struct kexec_buf { ^ /kisskb/src/include/linux/kexec.h:197:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:211:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:222:12: error: storage class specified for parameter 'kexec_add_buffer' extern int kexec_add_buffer(struct kexec_buf *kbuf); ^ /kisskb/src/include/linux/kexec.h:235:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:243:1: warning: empty declaration struct crash_mem_range { ^ /kisskb/src/include/linux/kexec.h:247:1: warning: empty declaration struct crash_mem { ^ /kisskb/src/include/linux/kexec.h:253:12: error: storage class specified for parameter 'crash_exclude_mem_range' extern int crash_exclude_mem_range(struct crash_mem *mem, ^ /kisskb/src/include/linux/kexec.h:256:12: error: storage class specified for parameter 'crash_prepare_elf64_headers' extern int crash_prepare_elf64_headers(struct crash_mem *mem, int need_kernel_map, ^ In file included from /kisskb/src/arch/arm64/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/module.h:16:18: error: expected declaration specifiers or '...' before 'Elf64_Shdr' #define Elf_Shdr Elf64_Shdr ^ /kisskb/src/include/linux/kexec.h:270:61: note: in expansion of macro 'Elf_Shdr' arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, ^ /kisskb/src/include/asm-generic/module.h:16:18: error: type defaults to 'int' in declaration of 'Elf64_Shdr' [-Werror=implicit-int] #define Elf_Shdr Elf64_Shdr ^ /kisskb/src/include/linux/kexec.h:271:12: note: in expansion of macro 'Elf_Shdr' const Elf_Shdr *relsec, const Elf_Shdr *symtab) ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/kexec.h:271:21: error: expected ';', ',' or ')' before '*' token const Elf_Shdr *relsec, const Elf_Shdr *symtab) ^ In file included from /kisskb/src/arch/arm64/include/asm/module.h:8:0, from /kisskb/src/include/linux/module.h:32, from /kisskb/src/include/linux/device/driver.h:21, from /kisskb/src/include/linux/device.h:32, from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/module.h:16:18: error: expected declaration specifiers or '...' before 'Elf64_Shdr' #define Elf_Shdr Elf64_Shdr ^ /kisskb/src/include/linux/kexec.h:289:57: note: in expansion of macro 'Elf_Shdr' arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, ^ /kisskb/src/include/asm-generic/module.h:16:18: error: type defaults to 'int' in declaration of 'Elf64_Shdr' [-Werror=implicit-int] #define Elf_Shdr Elf64_Shdr ^ /kisskb/src/include/linux/kexec.h:290:15: note: in expansion of macro 'Elf_Shdr' const Elf_Shdr *relsec, const Elf_Shdr *symtab) ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:12:0: /kisskb/src/include/linux/kexec.h:290:24: error: expected ';', ',' or ')' before '*' token const Elf_Shdr *relsec, const Elf_Shdr *symtab) ^ /kisskb/src/include/linux/kexec.h:322:2: error: expected specifier-qualifier-list before 'kimage_entry_t' kimage_entry_t head; ^ /kisskb/src/include/linux/kexec.h:321:1: warning: empty declaration struct kimage { ^ /kisskb/src/include/linux/kexec.h:389:13: error: storage class specified for parameter 'machine_kexec' extern void machine_kexec(struct kimage *image); ^ /kisskb/src/include/linux/kexec.h:390:12: error: storage class specified for parameter 'machine_kexec_prepare' extern int machine_kexec_prepare(struct kimage *image); ^ /kisskb/src/include/linux/kexec.h:391:13: error: storage class specified for parameter 'machine_kexec_cleanup' extern void machine_kexec_cleanup(struct kimage *image); ^ /kisskb/src/include/linux/kexec.h:392:12: error: storage class specified for parameter 'kernel_kexec' extern int kernel_kexec(void); ^ /kisskb/src/include/linux/kexec.h:393:21: error: storage class specified for parameter 'kimage_alloc_control_pages' extern struct page *kimage_alloc_control_pages(struct kimage *image, ^ /kisskb/src/include/linux/kexec.h:400:13: error: storage class specified for parameter '__crash_kexec' extern void __crash_kexec(struct pt_regs *); ^ /kisskb/src/include/linux/kexec.h:401:13: error: storage class specified for parameter 'crash_kexec' extern void crash_kexec(struct pt_regs *); ^ /kisskb/src/include/linux/kexec.h:405:12: error: storage class specified for parameter 'kimage_crash_copy_vmcoreinfo' extern int kimage_crash_copy_vmcoreinfo(struct kimage *image); ^ /kisskb/src/include/linux/kexec.h:407:23: error: storage class specified for parameter 'kexec_image' extern struct kimage *kexec_image; ^ /kisskb/src/include/linux/kexec.h:408:23: error: storage class specified for parameter 'kexec_crash_image' extern struct kimage *kexec_crash_image; ^ /kisskb/src/include/linux/kexec.h:409:12: error: storage class specified for parameter 'kexec_load_disabled' extern int kexec_load_disabled; ^ /kisskb/src/include/linux/kexec.h:427:13: error: storage class specified for parameter 'kexec_in_progress' extern bool kexec_in_progress; ^ /kisskb/src/include/linux/kexec.h:449:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:456:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:463:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:470:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:486:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kexec.h:496:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int arch_kexec_post_alloc_pages(void *vaddr, unsigned int pages, gfp_t gfp) { return 0; } ^ /kisskb/src/include/linux/kexec.h:500:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void arch_kexec_pre_free_pages(void *vaddr, unsigned int pages) { } ^ /kisskb/src/include/linux/kexec.h:516:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void set_kexec_sig_enforced(void) {} ^ In file included from /kisskb/src/include/linux/dma-mapping.h:9:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:14: /kisskb/src/include/linux/dma-direction.h:5:1: warning: empty declaration 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/dma-mapping.h:10:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:14: /kisskb/src/include/linux/scatterlist.h:11:1: warning: empty declaration struct scatterlist { ^ /kisskb/src/include/linux/scatterlist.h:39:1: warning: empty declaration struct sg_table { ^ /kisskb/src/include/linux/scatterlist.h:45:1: warning: empty declaration 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:305:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:309:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/scatterlist.h:312: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: warning: empty declaration struct sg_page_iter { ^ /kisskb/src/include/linux/scatterlist.h:507:1: warning: empty declaration 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: warning: empty declaration struct sg_mapping_iter { ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:14:0: /kisskb/src/include/linux/dma-mapping.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:95:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:323:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:329:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:341:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:348:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:355:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:372:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:407:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:429:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:435:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:448:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:474:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:496:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:515:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:522:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:531:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:539:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:547:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:563:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/dma-mapping.h:583:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:13:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/arm64/kernel/asm-offsets.c:15: /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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/interval_tree.h:7:1: warning: empty declaration 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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/mmu_notifier.h:12:1: warning: empty declaration struct mmu_notifier_subscriptions; ^ /kisskb/src/include/linux/mmu_notifier.h:13:1: warning: empty declaration struct mmu_notifier; ^ /kisskb/src/include/linux/mmu_notifier.h:14:1: warning: empty declaration struct mmu_notifier_range; ^ /kisskb/src/include/linux/mmu_notifier.h:15:1: warning: empty declaration struct mmu_interval_notifier; ^ /kisskb/src/include/linux/mmu_notifier.h:51:1: warning: empty declaration enum mmu_notifier_event { ^ /kisskb/src/include/linux/mmu_notifier.h:64:1: warning: empty declaration struct mmu_notifier_ops { ^ /kisskb/src/include/linux/mmu_notifier.h:237:1: warning: empty declaration struct mmu_notifier { ^ /kisskb/src/include/linux/mmu_notifier.h:251:1: warning: empty declaration struct mmu_interval_notifier_ops { ^ /kisskb/src/include/linux/mmu_notifier.h:257:1: warning: empty declaration struct mmu_interval_notifier { ^ /kisskb/src/include/linux/mmu_notifier.h:271:1: warning: empty declaration struct mmu_notifier_range { ^ /kisskb/src/include/linux/mmu_notifier.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:301:12: error: storage class specified for parameter 'mmu_notifier_register' extern int mmu_notifier_register(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:303:12: error: storage class specified for parameter '__mmu_notifier_register' extern int __mmu_notifier_register(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:305:13: error: storage class specified for parameter 'mmu_notifier_unregister' extern void mmu_notifier_unregister(struct mmu_notifier *subscription, ^ /kisskb/src/include/linux/mmu_notifier.h:336:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:357:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:381:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:386:13: error: storage class specified for parameter '__mmu_notifier_subscriptions_destroy' extern void __mmu_notifier_subscriptions_destroy(struct mm_struct *mm); ^ /kisskb/src/include/linux/mmu_notifier.h:387:13: error: storage class specified for parameter '__mmu_notifier_release' extern void __mmu_notifier_release(struct mm_struct *mm); ^ /kisskb/src/include/linux/mmu_notifier.h:388:12: error: storage class specified for parameter '__mmu_notifier_clear_flush_young' extern int __mmu_notifier_clear_flush_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:391:12: error: storage class specified for parameter '__mmu_notifier_clear_young' extern int __mmu_notifier_clear_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:394:12: error: storage class specified for parameter '__mmu_notifier_test_young' extern int __mmu_notifier_test_young(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:396:13: error: storage class specified for parameter '__mmu_notifier_change_pte' extern void __mmu_notifier_change_pte(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:398:12: error: storage class specified for parameter '__mmu_notifier_invalidate_range_start' extern int __mmu_notifier_invalidate_range_start(struct mmu_notifier_range *r); ^ /kisskb/src/include/linux/mmu_notifier.h:399:13: error: storage class specified for parameter '__mmu_notifier_invalidate_range_end' extern void __mmu_notifier_invalidate_range_end(struct mmu_notifier_range *r, ^ /kisskb/src/include/linux/mmu_notifier.h:401:13: error: storage class specified for parameter '__mmu_notifier_invalidate_range' extern void __mmu_notifier_invalidate_range(struct mm_struct *mm, ^ /kisskb/src/include/linux/mmu_notifier.h:404:1: error: storage class specified for parameter 'mmu_notifier_range_update_to_read_only' mmu_notifier_range_update_to_read_only(const struct mmu_notifier_range *range); ^ /kisskb/src/include/linux/mmu_notifier.h:408:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:413:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:446:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:490:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:497:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:508:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:521:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mmu_notifier.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from ./arch/arm64/include/generated/asm/msi.h:1:0, from /kisskb/src/include/linux/msi.h:23, from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/asm-generic/msi.h:13:1: warning: empty declaration struct msi_desc; ^ /kisskb/src/include/asm-generic/msi.h:32:3: error: storage class specified for parameter 'msi_alloc_info_t' } msi_alloc_info_t; ^ In file included from /kisskb/src/include/linux/kvm_host.h:19:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/msi.h:29:28: error: storage class specified for parameter 'arch_msi_msg_addr_lo_t' } __attribute__ ((packed)) arch_msi_msg_addr_lo_t; ^ /kisskb/src/include/linux/msi.h:35:28: error: storage class specified for parameter 'arch_msi_msg_addr_hi_t' } __attribute__ ((packed)) arch_msi_msg_addr_hi_t; ^ /kisskb/src/include/linux/msi.h:41:28: error: storage class specified for parameter 'arch_msi_msg_data_t' } __attribute__ ((packed)) arch_msi_msg_data_t; ^ /kisskb/src/include/linux/msi.h:57:3: error: expected specifier-qualifier-list before 'arch_msi_msg_addr_lo_t' arch_msi_msg_addr_lo_t arch_addr_lo; ^ /kisskb/src/include/linux/msi.h:61:3: error: expected specifier-qualifier-list before 'arch_msi_msg_addr_hi_t' arch_msi_msg_addr_hi_t arch_addr_hi; ^ /kisskb/src/include/linux/msi.h:65:3: error: expected specifier-qualifier-list before 'arch_msi_msg_data_t' arch_msi_msg_data_t arch_data; ^ /kisskb/src/include/linux/msi.h:54:1: warning: empty declaration 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: warning: empty declaration struct irq_data; ^ /kisskb/src/include/linux/msi.h:72:1: warning: empty declaration struct msi_desc; ^ /kisskb/src/include/linux/msi.h:73:1: warning: empty declaration struct pci_dev; ^ /kisskb/src/include/linux/msi.h:74:1: warning: empty declaration struct platform_msi_priv_data; ^ /kisskb/src/include/linux/msi.h:75:1: warning: empty declaration 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: warning: empty declaration struct pci_msi_desc { ^ /kisskb/src/include/linux/msi.h:141:1: warning: empty declaration struct msi_desc { ^ /kisskb/src/include/linux/msi.h:165:1: warning: empty declaration enum msi_desc_filter { ^ /kisskb/src/include/linux/msi.h:182:1: warning: empty declaration 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: warning: empty declaration struct irq_domain; ^ /kisskb/src/include/linux/msi.h:301:1: warning: empty declaration struct irq_domain_ops; ^ /kisskb/src/include/linux/msi.h:302:1: warning: empty declaration struct irq_chip; ^ /kisskb/src/include/linux/msi.h:303:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/msi.h:304:1: warning: empty declaration struct fwnode_handle; ^ /kisskb/src/include/linux/msi.h:305:1: warning: empty declaration 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: warning: empty declaration struct msi_domain_ops { ^ /kisskb/src/include/linux/msi.h:377:1: warning: empty declaration struct msi_domain_info { ^ /kisskb/src/include/linux/msi.h:389:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/msi.h:444:8: error: expected declaration specifiers or '...' before 'irq_write_msi_msg_t' irq_write_msi_msg_t write_msi_msg); ^ /kisskb/src/include/linux/msi.h:449:18: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' int nvec, msi_alloc_info_t *args); ^ /kisskb/src/include/linux/msi.h:451:29: error: expected declaration specifiers or '...' before 'msi_alloc_info_t' int virq, int nvec, msi_alloc_info_t *args); ^ /kisskb/src/include/linux/msi.h:456:9: error: expected declaration specifiers or '...' before 'irq_write_msi_msg_t' irq_write_msi_msg_t write_msi_msg, ^ In file included from /kisskb/src/include/linux/kvm_host.h:26:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/irqbypass.h:13:1: warning: empty declaration struct irq_bypass_consumer; ^ /kisskb/src/include/linux/irqbypass.h:45:1: warning: empty declaration struct irq_bypass_producer { ^ /kisskb/src/include/linux/irqbypass.h:71:1: warning: empty declaration struct irq_bypass_consumer { ^ In file included from /kisskb/src/include/linux/kvm_host.h:30:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/nospec.h:12:1: warning: empty declaration struct task_struct; ^ 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/arm64/kernel/asm-offsets.c:15: /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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kallsyms.h:24:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/kallsyms.h:25:1: warning: empty declaration 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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kallsyms.h:174: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/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/ftrace.h:55:13: error: storage class specified for parameter '_mcount' extern void _mcount(unsigned long); ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:56:14: error: storage class specified for parameter 'return_address' extern void *return_address(unsigned int); ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:58:1: warning: empty declaration struct dyn_arch_ftrace { ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:62:22: error: storage class specified for parameter 'ftrace_graph_call' extern unsigned long ftrace_graph_call; ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:64:13: error: storage class specified for parameter 'return_to_handler' extern void return_to_handler(void); ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:108:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/ftrace.h:116: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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/ftrace.h:37:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_boot_snapshot(void) { } ^ /kisskb/src/include/linux/ftrace.h:66:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void trace_init(void) { } ^ /kisskb/src/include/linux/ftrace.h:67:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void early_trace_init(void) { } ^ /kisskb/src/include/linux/ftrace.h:70:1: warning: empty declaration struct module; ^ /kisskb/src/include/linux/ftrace.h:71:1: warning: empty declaration struct ftrace_hash; ^ /kisskb/src/include/linux/ftrace.h:72:1: warning: empty declaration struct ftrace_direct_func; ^ /kisskb/src/include/linux/ftrace.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:96:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:350:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_kill(void) { } ^ /kisskb/src/include/linux/ftrace.h:351:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_free_init_mem(void) { } ^ /kisskb/src/include/linux/ftrace.h:352:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } ^ /kisskb/src/include/linux/ftrace.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:359:1: warning: empty declaration struct ftrace_func_entry { ^ /kisskb/src/include/linux/ftrace.h:365:1: warning: empty declaration struct dyn_ftrace; ^ /kisskb/src/include/linux/ftrace.h:384:1: warning: empty declaration struct ftrace_ops; ^ /kisskb/src/include/linux/ftrace.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:391:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:400:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:407:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:411:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:415:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:419:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:423:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:447:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token unsigned long addr) { } ^ /kisskb/src/include/linux/ftrace.h:492:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void stack_tracer_disable(void) { } ^ /kisskb/src/include/linux/ftrace.h:493:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void stack_tracer_enable(void) { } ^ /kisskb/src/include/linux/ftrace.h:840:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int skip_trace(unsigned long ip) { return 0; } ^ /kisskb/src/include/linux/ftrace.h:841:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_disable_daemon(void) { } ^ /kisskb/src/include/linux/ftrace.h:842:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_enable_daemon(void) { } ^ /kisskb/src/include/linux/ftrace.h:843:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_module_init(struct module *mod) { } ^ /kisskb/src/include/linux/ftrace.h:844:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_module_enable(struct module *mod) { } ^ /kisskb/src/include/linux/ftrace.h:845:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_release_mod(struct module *mod) { } ^ /kisskb/src/include/linux/ftrace.h:847:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:851:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:870:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token size_t cnt, loff_t *ppos) { return -ENODEV; } ^ /kisskb/src/include/linux/ftrace.h:872:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token size_t cnt, loff_t *ppos) { return -ENODEV; } ^ /kisskb/src/include/linux/ftrace.h:874:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token ftrace_regex_release(struct inode *inode, struct file *file) { return -ENODEV; } ^ /kisskb/src/include/linux/ftrace.h:877:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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:978:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_init(void) { } ^ /kisskb/src/include/linux/ftrace.h:986:1: warning: empty declaration struct ftrace_graph_ent { ^ /kisskb/src/include/linux/ftrace.h:996:1: warning: empty declaration 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:1105:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_graph_init_task(struct task_struct *t) { } ^ /kisskb/src/include/linux/ftrace.h:1106:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_graph_exit_task(struct task_struct *t) { } ^ /kisskb/src/include/linux/ftrace.h:1107:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void ftrace_graph_init_idle_task(struct task_struct *t, int cpu) { } ^ /kisskb/src/include/linux/ftrace.h:1116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/ftrace.h:1120:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void pause_graph_tracing(void) { } ^ /kisskb/src/include/linux/ftrace.h:1121:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void unpause_graph_tracing(void) { } ^ /kisskb/src/include/linux/ftrace.h:1178:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void disable_trace_on_warning(void) { } ^ In file included from /kisskb/src/include/linux/kvm_host.h:33:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:50:1: warning: empty declaration struct kvm_regs { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:112:1: warning: empty declaration struct kvm_vcpu_init { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:117:1: warning: empty declaration struct kvm_sregs { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:120:1: warning: empty declaration struct kvm_fpu { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:137:1: warning: empty declaration struct kvm_guest_debug_arch { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:145:1: warning: empty declaration struct kvm_debug_exit_arch { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:158:1: warning: empty declaration struct kvm_sync_regs { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:167:1: warning: empty declaration struct kvm_pmu_event_filter { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:179:1: warning: empty declaration struct kvm_vcpu_events { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:191:1: warning: empty declaration struct kvm_arm_copy_mte_tags { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:347:1: warning: empty declaration enum { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:356:1: warning: empty declaration enum { ^ /kisskb/src/arch/arm64/include/uapi/asm/kvm.h:365:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/kvm_host.h:40:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/uapi/linux/kvm.h:59:1: warning: empty declaration struct kvm_user_trace_setup { ^ /kisskb/src/include/uapi/linux/kvm.h:71:1: warning: empty declaration struct kvm_breakpoint { ^ /kisskb/src/include/uapi/linux/kvm.h:77:1: warning: empty declaration struct kvm_debug_guest { ^ /kisskb/src/include/uapi/linux/kvm.h:90:1: warning: empty declaration struct kvm_memory_region { ^ /kisskb/src/include/uapi/linux/kvm.h:98:1: warning: empty declaration struct kvm_userspace_memory_region { ^ /kisskb/src/include/uapi/linux/kvm.h:115:1: warning: empty declaration struct kvm_irq_level { ^ /kisskb/src/include/uapi/linux/kvm.h:130:1: warning: empty declaration struct kvm_irqchip { ^ /kisskb/src/include/uapi/linux/kvm.h:145:1: warning: empty declaration struct kvm_pit_config { ^ /kisskb/src/include/uapi/linux/kvm.h:152:1: warning: empty declaration struct kvm_s390_skeys { ^ /kisskb/src/include/uapi/linux/kvm.h:178:1: warning: empty declaration struct kvm_s390_cmma_log { ^ /kisskb/src/include/uapi/linux/kvm.h:189:1: warning: empty declaration struct kvm_hyperv_exit { ^ /kisskb/src/include/uapi/linux/kvm.h:220:1: warning: empty declaration struct kvm_xen_exit { ^ /kisskb/src/include/uapi/linux/kvm.h:290:1: warning: empty declaration struct kvm_run { ^ /kisskb/src/include/uapi/linux/kvm.h:538:1: warning: empty declaration struct kvm_coalesced_mmio_zone { ^ /kisskb/src/include/uapi/linux/kvm.h:547:1: warning: empty declaration struct kvm_coalesced_mmio { ^ /kisskb/src/include/uapi/linux/kvm.h:557:1: warning: empty declaration struct kvm_coalesced_mmio_ring { ^ /kisskb/src/include/uapi/linux/kvm.h:567:1: warning: empty declaration struct kvm_translation { ^ /kisskb/src/include/uapi/linux/kvm.h:580:1: warning: empty declaration struct kvm_s390_mem_op { ^ /kisskb/src/include/uapi/linux/kvm.h:609:1: warning: empty declaration struct kvm_interrupt { ^ /kisskb/src/include/uapi/linux/kvm.h:615:1: warning: empty declaration struct kvm_dirty_log { ^ /kisskb/src/include/uapi/linux/kvm.h:625:1: warning: empty declaration struct kvm_clear_dirty_log { ^ /kisskb/src/include/uapi/linux/kvm.h:636:1: warning: empty declaration struct kvm_signal_mask { ^ /kisskb/src/include/uapi/linux/kvm.h:642:1: warning: empty declaration struct kvm_tpr_access_ctl { ^ /kisskb/src/include/uapi/linux/kvm.h:649:1: warning: empty declaration struct kvm_vapic_addr { ^ /kisskb/src/include/uapi/linux/kvm.h:668:1: warning: empty declaration struct kvm_mp_state { ^ /kisskb/src/include/uapi/linux/kvm.h:672:1: warning: empty declaration struct kvm_s390_psw { ^ /kisskb/src/include/uapi/linux/kvm.h:702:1: warning: empty declaration struct kvm_s390_interrupt { ^ /kisskb/src/include/uapi/linux/kvm.h:708:1: warning: empty declaration struct kvm_s390_io_info { ^ /kisskb/src/include/uapi/linux/kvm.h:715:1: warning: empty declaration struct kvm_s390_ext_info { ^ /kisskb/src/include/uapi/linux/kvm.h:721:1: warning: empty declaration struct kvm_s390_pgm_info { ^ /kisskb/src/include/uapi/linux/kvm.h:742:1: warning: empty declaration struct kvm_s390_prefix_info { ^ /kisskb/src/include/uapi/linux/kvm.h:746:1: warning: empty declaration struct kvm_s390_extcall_info { ^ /kisskb/src/include/uapi/linux/kvm.h:750:1: warning: empty declaration struct kvm_s390_emerg_info { ^ /kisskb/src/include/uapi/linux/kvm.h:755:1: warning: empty declaration struct kvm_s390_stop_info { ^ /kisskb/src/include/uapi/linux/kvm.h:759:1: warning: empty declaration struct kvm_s390_mchk_info { ^ /kisskb/src/include/uapi/linux/kvm.h:768:1: warning: empty declaration struct kvm_s390_irq { ^ /kisskb/src/include/uapi/linux/kvm.h:783:1: warning: empty declaration struct kvm_s390_irq_state { ^ /kisskb/src/include/uapi/linux/kvm.h:795:1: warning: empty declaration struct kvm_guest_debug { ^ /kisskb/src/include/uapi/linux/kvm.h:801:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/kvm.h:818:1: warning: empty declaration struct kvm_ioeventfd { ^ /kisskb/src/include/uapi/linux/kvm.h:837:1: warning: empty declaration struct kvm_enable_cap { ^ /kisskb/src/include/uapi/linux/kvm.h:849:1: warning: empty declaration struct kvm_ppc_pvinfo { ^ /kisskb/src/include/uapi/linux/kvm.h:859:1: warning: empty declaration struct kvm_ppc_one_page_size { ^ /kisskb/src/include/uapi/linux/kvm.h:864:1: warning: empty declaration struct kvm_ppc_one_seg_page_size { ^ /kisskb/src/include/uapi/linux/kvm.h:874:1: warning: empty declaration struct kvm_ppc_smmu_info { ^ /kisskb/src/include/uapi/linux/kvm.h:883:1: warning: empty declaration struct kvm_ppc_resize_hpt { ^ /kisskb/src/include/uapi/linux/kvm.h:1183:1: warning: empty declaration struct kvm_irq_routing_irqchip { ^ /kisskb/src/include/uapi/linux/kvm.h:1188:1: warning: empty declaration struct kvm_irq_routing_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1198:1: warning: empty declaration struct kvm_irq_routing_s390_adapter { ^ /kisskb/src/include/uapi/linux/kvm.h:1206:1: warning: empty declaration struct kvm_irq_routing_hv_sint { ^ /kisskb/src/include/uapi/linux/kvm.h:1211:1: warning: empty declaration struct kvm_irq_routing_xen_evtchn { ^ /kisskb/src/include/uapi/linux/kvm.h:1226:1: warning: empty declaration struct kvm_irq_routing_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:1241:1: warning: empty declaration struct kvm_irq_routing { ^ /kisskb/src/include/uapi/linux/kvm.h:1291:1: warning: empty declaration struct kvm_irqfd { ^ /kisskb/src/include/uapi/linux/kvm.h:1306:1: warning: empty declaration struct kvm_clock_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1320:1: warning: empty declaration struct kvm_config_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1327:1: warning: empty declaration struct kvm_dirty_tlb { ^ /kisskb/src/include/uapi/linux/kvm.h:1362:1: warning: empty declaration struct kvm_reg_list { ^ /kisskb/src/include/uapi/linux/kvm.h:1367:1: warning: empty declaration struct kvm_one_reg { ^ /kisskb/src/include/uapi/linux/kvm.h:1373:1: warning: empty declaration struct kvm_msi { ^ /kisskb/src/include/uapi/linux/kvm.h:1382:1: warning: empty declaration struct kvm_arm_device_addr { ^ /kisskb/src/include/uapi/linux/kvm.h:1392:1: warning: empty declaration struct kvm_create_device { ^ /kisskb/src/include/uapi/linux/kvm.h:1398:1: warning: empty declaration struct kvm_device_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1410:1: warning: empty declaration enum kvm_device_type { ^ /kisskb/src/include/uapi/linux/kvm.h:1434:1: warning: empty declaration struct kvm_vfio_spapr_tce { ^ /kisskb/src/include/uapi/linux/kvm.h:1459:1: warning: empty declaration struct kvm_s390_ucas_mapping { ^ /kisskb/src/include/uapi/linux/kvm.h:1644:1: warning: empty declaration struct kvm_enc_region { ^ /kisskb/src/include/uapi/linux/kvm.h:1672:1: warning: empty declaration struct kvm_s390_pv_sec_parm { ^ /kisskb/src/include/uapi/linux/kvm.h:1677:1: warning: empty declaration struct kvm_s390_pv_unp { ^ /kisskb/src/include/uapi/linux/kvm.h:1683:1: warning: empty declaration enum pv_cmd_dmp_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1690:1: warning: empty declaration struct kvm_s390_pv_dmp { ^ /kisskb/src/include/uapi/linux/kvm.h:1698:1: warning: empty declaration enum pv_cmd_info_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1703:1: warning: empty declaration struct kvm_s390_pv_info_dump { ^ /kisskb/src/include/uapi/linux/kvm.h:1709:1: warning: empty declaration struct kvm_s390_pv_info_vm { ^ /kisskb/src/include/uapi/linux/kvm.h:1717:1: warning: empty declaration struct kvm_s390_pv_info_header { ^ /kisskb/src/include/uapi/linux/kvm.h:1724:1: warning: empty declaration struct kvm_s390_pv_info { ^ /kisskb/src/include/uapi/linux/kvm.h:1732:1: warning: empty declaration enum pv_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1744:1: warning: empty declaration struct kvm_pv_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1766:1: warning: empty declaration struct kvm_xen_hvm_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1823:1: warning: empty declaration struct kvm_xen_vcpu_attr { ^ /kisskb/src/include/uapi/linux/kvm.h:1860:1: warning: empty declaration enum sev_cmd_id { ^ /kisskb/src/include/uapi/linux/kvm.h:1895:1: warning: empty declaration struct kvm_sev_cmd { ^ /kisskb/src/include/uapi/linux/kvm.h:1902:1: warning: empty declaration struct kvm_sev_launch_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1911:1: warning: empty declaration struct kvm_sev_launch_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1917:1: warning: empty declaration struct kvm_sev_launch_secret { ^ /kisskb/src/include/uapi/linux/kvm.h:1926:1: warning: empty declaration struct kvm_sev_launch_measure { ^ /kisskb/src/include/uapi/linux/kvm.h:1931:1: warning: empty declaration struct kvm_sev_guest_status { ^ /kisskb/src/include/uapi/linux/kvm.h:1937:1: warning: empty declaration struct kvm_sev_dbg { ^ /kisskb/src/include/uapi/linux/kvm.h:1943:1: warning: empty declaration struct kvm_sev_attestation_report { ^ /kisskb/src/include/uapi/linux/kvm.h:1949:1: warning: empty declaration struct kvm_sev_send_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1961:1: warning: empty declaration struct kvm_sev_send_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1970:1: warning: empty declaration struct kvm_sev_receive_start { ^ /kisskb/src/include/uapi/linux/kvm.h:1979:1: warning: empty declaration struct kvm_sev_receive_update_data { ^ /kisskb/src/include/uapi/linux/kvm.h:1992:1: warning: empty declaration struct kvm_assigned_pci_dev { ^ /kisskb/src/include/uapi/linux/kvm.h:2014:1: warning: empty declaration struct kvm_assigned_irq { ^ /kisskb/src/include/uapi/linux/kvm.h:2024:1: warning: empty declaration struct kvm_assigned_msix_nr { ^ /kisskb/src/include/uapi/linux/kvm.h:2031:1: warning: empty declaration struct kvm_assigned_msix_entry { ^ /kisskb/src/include/uapi/linux/kvm.h:2048:1: warning: empty declaration struct kvm_hyperv_eventfd { ^ /kisskb/src/include/uapi/linux/kvm.h:2103:1: warning: empty declaration struct kvm_dirty_gfn { ^ /kisskb/src/include/uapi/linux/kvm.h:2133:1: warning: empty declaration struct kvm_stats_header { ^ /kisskb/src/include/uapi/linux/kvm.h:2179:1: warning: empty declaration struct kvm_stats_desc { ^ /kisskb/src/include/uapi/linux/kvm.h:2203:1: warning: empty declaration struct kvm_s390_zpci_op { ^ In file included from ./arch/arm64/include/generated/uapi/asm/kvm_para.h:1: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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/asm-generic/kvm_para.h:13:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/kvm_para.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/kvm_para.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/kvm_para.h:28:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:41:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kvm_types.h:6:1: warning: empty declaration struct kvm; ^ /kisskb/src/include/linux/kvm_types.h:7:1: warning: empty declaration struct kvm_async_pf; ^ /kisskb/src/include/linux/kvm_types.h:8:1: warning: empty declaration struct kvm_device_ops; ^ /kisskb/src/include/linux/kvm_types.h:9:1: warning: empty declaration struct kvm_interrupt; ^ /kisskb/src/include/linux/kvm_types.h:10:1: warning: empty declaration struct kvm_irq_routing_table; ^ /kisskb/src/include/linux/kvm_types.h:11:1: warning: empty declaration struct kvm_memory_slot; ^ /kisskb/src/include/linux/kvm_types.h:12:1: warning: empty declaration struct kvm_one_reg; ^ /kisskb/src/include/linux/kvm_types.h:13:1: warning: empty declaration struct kvm_run; ^ /kisskb/src/include/linux/kvm_types.h:14:1: warning: empty declaration struct kvm_userspace_memory_region; ^ /kisskb/src/include/linux/kvm_types.h:15:1: warning: empty declaration struct kvm_vcpu; ^ /kisskb/src/include/linux/kvm_types.h:16:1: warning: empty declaration struct kvm_vcpu_init; ^ /kisskb/src/include/linux/kvm_types.h:17:1: warning: empty declaration struct kvm_memslots; ^ /kisskb/src/include/linux/kvm_types.h:19:1: warning: empty declaration enum kvm_mr_change; ^ In file included from /kisskb/src/include/linux/kvm_host.h:43:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct gfn_to_pfn_cache { ^ /kisskb/src/include/linux/kvm_types.h:92:1: warning: empty declaration struct kvm_mmu_memory_cache { ^ /kisskb/src/include/linux/kvm_types.h:104:1: warning: empty declaration struct kvm_vm_stat_generic { ^ /kisskb/src/include/linux/kvm_types.h:109:1: warning: empty declaration struct kvm_vcpu_stat_generic { ^ In file included from /kisskb/src/include/linux/irqchip/arm-gic-common.h:10:0, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:14, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/irqchip/arm-vgic-info.h:13:1: warning: empty declaration enum gic_type { ^ /kisskb/src/include/linux/irqchip/arm-vgic-info.h:24:18: error: field 'vcpu' has incomplete type struct resource vcpu; ^ /kisskb/src/include/linux/irqchip/arm-vgic-info.h:30:18: error: field 'vctrl' has incomplete type struct resource vctrl; ^ /kisskb/src/include/linux/irqchip/arm-vgic-info.h:20:1: warning: empty declaration struct gic_kvm_info { ^ In file included from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:14:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/irqchip/arm-gic-common.h:18:1: warning: empty declaration struct irq_domain; ^ /kisskb/src/include/linux/irqchip/arm-gic-common.h:19:1: warning: empty declaration struct fwnode_handle; ^ In file included from /kisskb/src/include/linux/kprobes.h:30:0, from /kisskb/src/include/linux/kgdb.h:19, from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/freelist.h:18:1: warning: empty declaration struct freelist_node { ^ /kisskb/src/include/linux/freelist.h:23:1: warning: empty declaration struct freelist_head { ^ /kisskb/src/include/linux/freelist.h:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/freelist.h:65:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/freelist.h:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kprobes.h:31:0, from /kisskb/src/include/linux/kgdb.h:19, from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/rethook.h:15:1: warning: empty declaration struct rethook_node; ^ /kisskb/src/include/linux/rethook.h:17:16: error: storage class specified for parameter 'rethook_handler_t' typedef void (*rethook_handler_t) (struct rethook_node *, void *, struct pt_regs *); ^ /kisskb/src/include/linux/rethook.h:32:2: error: expected specifier-qualifier-list before 'rethook_handler_t' rethook_handler_t handler; ^ /kisskb/src/include/linux/rethook.h:30:1: warning: empty declaration struct rethook { ^ /kisskb/src/include/linux/rethook.h:50:1: warning: empty declaration struct rethook_node { ^ /kisskb/src/include/linux/rethook.h:61:43: error: expected declaration specifiers or '...' before 'rethook_handler_t' struct rethook *rethook_alloc(void *data, rethook_handler_t handler); ^ /kisskb/src/include/linux/rethook.h:81:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kgdb.h:19:0, from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kprobes.h:44:13: error: storage class specified for parameter 'kprobe_opcode_t' typedef int kprobe_opcode_t; ^ /kisskb/src/include/linux/kprobes.h:45:1: warning: empty declaration struct arch_specific_insn { ^ /kisskb/src/include/linux/kprobes.h:50:1: warning: empty declaration struct kprobe; ^ /kisskb/src/include/linux/kprobes.h:51:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/include/linux/kprobes.h:52:1: warning: empty declaration struct kretprobe; ^ /kisskb/src/include/linux/kprobes.h:53:1: warning: empty declaration struct kretprobe_instance; ^ /kisskb/src/include/linux/kprobes.h:54:15: error: storage class specified for parameter 'kprobe_pre_handler_t' typedef int (*kprobe_pre_handler_t) (struct kprobe *, struct pt_regs *); ^ /kisskb/src/include/linux/kprobes.h:55:16: error: storage class specified for parameter 'kprobe_post_handler_t' typedef void (*kprobe_post_handler_t) (struct kprobe *, struct pt_regs *, ^ /kisskb/src/include/linux/kprobes.h:57:15: error: storage class specified for parameter 'kretprobe_handler_t' typedef int (*kretprobe_handler_t) (struct kretprobe_instance *, ^ /kisskb/src/include/linux/kprobes.h:70:2: error: expected specifier-qualifier-list before 'kprobe_opcode_t' kprobe_opcode_t *addr; ^ /kisskb/src/include/linux/kprobes.h:60:1: warning: empty declaration struct kprobe { ^ /kisskb/src/include/linux/kprobes.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:144:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t ref; ^ /kisskb/src/include/linux/kprobes.h:142:1: warning: empty declaration struct kretprobe_holder { ^ /kisskb/src/include/linux/kprobes.h:149:2: error: expected specifier-qualifier-list before 'kretprobe_handler_t' kretprobe_handler_t handler; ^ /kisskb/src/include/linux/kprobes.h:147:1: warning: empty declaration struct kretprobe { ^ /kisskb/src/include/linux/kprobes.h:174:2: error: expected specifier-qualifier-list before 'kprobe_opcode_t' kprobe_opcode_t *ret_addr; ^ /kisskb/src/include/linux/kprobes.h:164:1: warning: empty declaration struct kretprobe_instance { ^ /kisskb/src/include/linux/kprobes.h:180:1: warning: empty declaration struct kretprobe_blackpoint { ^ /kisskb/src/include/linux/kprobes.h:185:1: warning: empty declaration struct kprobe_blacklist_entry { ^ /kisskb/src/include/linux/kprobes.h:454:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:458:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:462:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:473:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:477:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:483:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:494:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:497:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:500:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:507:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:512:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:517:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:523:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:527:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:533:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:569:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:576:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kprobes.h:584:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/kgdb.h:15:0, from /kisskb/src/include/linux/kgdb.h:21, from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/debug-monitors.h:58:1: warning: empty declaration struct task_struct; ^ /kisskb/src/arch/arm64/include/asm/debug-monitors.h:65:1: warning: empty declaration struct step_hook { ^ /kisskb/src/arch/arm64/include/asm/debug-monitors.h:76:1: warning: empty declaration struct break_hook { ^ /kisskb/src/arch/arm64/include/asm/debug-monitors.h:91:1: warning: empty declaration enum dbg_active_el { ^ In file included from /kisskb/src/include/linux/kgdb.h:21:0, from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kgdb.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kgdb.h:24:13: error: storage class specified for parameter 'kgdb_handle_bus_error' extern void kgdb_handle_bus_error(void); ^ /kisskb/src/arch/arm64/include/asm/kgdb.h:25:12: error: storage class specified for parameter 'kgdb_fault_expected' extern int kgdb_fault_expected; ^ In file included from /kisskb/src/arch/arm64/include/asm/cacheflush.h:11:0, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kgdb.h:366:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kgdb_panic(const char *msg) {} ^ /kisskb/src/include/linux/kgdb.h:367:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kgdb_free_init_mem(void) { } ^ In file included from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/cacheflush.h:72:13: error: storage class specified for parameter 'caches_clean_inval_pou' extern void caches_clean_inval_pou(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:73:13: error: storage class specified for parameter 'icache_inval_pou' extern void icache_inval_pou(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:74:13: error: storage class specified for parameter 'dcache_clean_inval_poc' extern void dcache_clean_inval_poc(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:75:13: error: storage class specified for parameter 'dcache_inval_poc' extern void dcache_inval_poc(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:76:13: error: storage class specified for parameter 'dcache_clean_poc' extern void dcache_clean_poc(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:77:13: error: storage class specified for parameter 'dcache_clean_pop' extern void dcache_clean_pop(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:78:13: error: storage class specified for parameter 'dcache_clean_pou' extern void dcache_clean_pou(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:79:13: error: storage class specified for parameter 'caches_clean_inval_user_pou' extern long caches_clean_inval_user_pou(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:80:13: error: storage class specified for parameter 'sync_icache_aliases' extern void sync_icache_aliases(unsigned long start, unsigned long end); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:112:13: error: storage class specified for parameter 'copy_to_user_page' extern void copy_to_user_page(struct vm_area_struct *, struct page *, ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:129:13: error: storage class specified for parameter 'flush_dcache_page' extern void flush_dcache_page(struct page *); ^ /kisskb/src/arch/arm64/include/asm/cacheflush.h:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/cacheflush.h:140:0, from /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:17, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:21, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/asm-generic/cacheflush.h:7:1: warning: empty declaration struct mm_struct; ^ /kisskb/src/include/asm-generic/cacheflush.h:8:1: warning: empty declaration struct vm_area_struct; ^ /kisskb/src/include/asm-generic/cacheflush.h:9:1: warning: empty declaration struct page; ^ /kisskb/src/include/asm-generic/cacheflush.h:10:1: warning: empty declaration struct address_space; ^ /kisskb/src/include/asm-generic/cacheflush.h:18:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:24:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:60:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/cacheflush.h: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/arch/arm64/include/asm/kvm_host.h:21:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:83:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:89:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:94:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:131:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:169:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/arch_gicv3.h:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:25:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/daifflags.h:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/daifflags.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/daifflags.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/daifflags.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/daifflags.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_asm.h:52:1: warning: empty declaration enum __kvm_host_smccc_func { ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:167:1: warning: empty declaration struct kvm_nvhe_init_params { ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:188:1: warning: empty declaration struct kvm_nvhe_stacktrace_info { ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:205:1: warning: empty declaration struct kvm; ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:206:1: warning: empty declaration struct kvm_vcpu; ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:207:1: warning: empty declaration struct kvm_s2_mmu; ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_asm.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe___kvm_hyp_init' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:82:47: note: in expansion of macro 'kvm_nvhe_sym' #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:209:1: note: in expansion of macro 'DECLARE_KVM_NVHE_SYM' DECLARE_KVM_NVHE_SYM(__kvm_hyp_init); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_asm.h:210:21: error: storage class specified for parameter '__kvm_hyp_vector' DECLARE_KVM_HYP_SYM(__kvm_hyp_vector); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:81:46: note: in definition of macro 'DECLARE_KVM_VHE_SYM' #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:210:1: note: in expansion of macro 'DECLARE_KVM_HYP_SYM' DECLARE_KVM_HYP_SYM(__kvm_hyp_vector); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_asm.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe___kvm_hyp_vector' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:82:47: note: in expansion of macro 'kvm_nvhe_sym' #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:90:2: note: in expansion of macro 'DECLARE_KVM_NVHE_SYM' DECLARE_KVM_NVHE_SYM(sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:210:1: note: in expansion of macro 'DECLARE_KVM_HYP_SYM' DECLARE_KVM_HYP_SYM(__kvm_hyp_vector); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_asm.h:214:22: error: storage class specified for parameter 'kvm_arm_hyp_percpu_base' extern unsigned long kvm_arm_hyp_percpu_base[NR_CPUS]; ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_asm.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe___per_cpu_start' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:82:47: note: in expansion of macro 'kvm_nvhe_sym' #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:215:1: note: in expansion of macro 'DECLARE_KVM_NVHE_SYM' DECLARE_KVM_NVHE_SYM(__per_cpu_start); ^ /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe___per_cpu_end' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:82:47: note: in expansion of macro 'kvm_nvhe_sym' #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:216:1: note: in expansion of macro 'DECLARE_KVM_NVHE_SYM' DECLARE_KVM_NVHE_SYM(__per_cpu_end); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_asm.h:218:21: error: storage class specified for parameter '__bp_harden_hyp_vecs' DECLARE_KVM_HYP_SYM(__bp_harden_hyp_vecs); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:81:46: note: in definition of macro 'DECLARE_KVM_VHE_SYM' #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:218:1: note: in expansion of macro 'DECLARE_KVM_HYP_SYM' DECLARE_KVM_HYP_SYM(__bp_harden_hyp_vecs); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_asm.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe___bp_harden_hyp_vecs' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:82:47: note: in expansion of macro 'kvm_nvhe_sym' #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:90:2: note: in expansion of macro 'DECLARE_KVM_NVHE_SYM' DECLARE_KVM_NVHE_SYM(sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:218:1: note: in expansion of macro 'DECLARE_KVM_HYP_SYM' DECLARE_KVM_HYP_SYM(__bp_harden_hyp_vecs); ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_asm.h:221:13: error: storage class specified for parameter '__kvm_flush_vm_context' extern void __kvm_flush_vm_context(void); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:222:13: error: storage class specified for parameter '__kvm_flush_cpu_context' extern void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:223:13: error: storage class specified for parameter '__kvm_tlb_flush_vmid_ipa' extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa, ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:225:13: error: storage class specified for parameter '__kvm_tlb_flush_vmid' extern void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:227:13: error: storage class specified for parameter '__kvm_timer_set_cntvoff' extern void __kvm_timer_set_cntvoff(u64 cntvoff); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:229:12: error: storage class specified for parameter '__kvm_vcpu_run' extern int __kvm_vcpu_run(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:231:13: error: storage class specified for parameter '__kvm_adjust_pc' extern void __kvm_adjust_pc(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:233:12: error: storage class specified for parameter '__vgic_v3_get_gic_config' extern u64 __vgic_v3_get_gic_config(void); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:234:12: error: storage class specified for parameter '__vgic_v3_read_vmcr' extern u64 __vgic_v3_read_vmcr(void); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:235:13: error: storage class specified for parameter '__vgic_v3_write_vmcr' extern void __vgic_v3_write_vmcr(u32 vmcr); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:236:13: error: storage class specified for parameter '__vgic_v3_init_lrs' extern void __vgic_v3_init_lrs(void); ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:238:12: error: storage class specified for parameter '__kvm_get_mdcr_el2' extern u64 __kvm_get_mdcr_el2(void); ^ In file included from /kisskb/src/include/kvm/arm_vgic.h:16:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:34, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/kvm/iodev.h:9:1: warning: empty declaration struct kvm_io_device; ^ /kisskb/src/include/kvm/iodev.h:10:1: warning: empty declaration 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: warning: empty declaration struct kvm_io_device_ops { ^ /kisskb/src/include/kvm/iodev.h:32:1: warning: empty declaration 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/include/kvm/arm_vgic.h:20:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:34, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/irqchip/arm-gic-v4.h:10:1: warning: empty declaration struct its_vpe; ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:19:1: warning: empty declaration struct its_vm { ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:32:1: warning: empty declaration struct its_vpe { ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:94:1: warning: empty declaration struct its_vlpi_map { ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:102:1: warning: empty declaration enum its_vcpu_info_cmd_type { ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:114:1: warning: empty declaration struct its_cmd_info { ^ /kisskb/src/include/linux/irqchip/arm-gic-v4.h:143:1: warning: empty declaration struct irq_domain_ops; ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:34:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/kvm/arm_vgic.h:38:1: warning: empty declaration enum vgic_type { ^ /kisskb/src/include/kvm/arm_vgic.h:44:1: warning: empty declaration struct vgic_global { ^ /kisskb/src/include/kvm/arm_vgic.h:86:27: error: storage class specified for parameter 'kvm_vgic_global_state' extern struct vgic_global kvm_vgic_global_state; ^ /kisskb/src/include/kvm/arm_vgic.h:92:1: warning: empty declaration enum vgic_irq_config { ^ /kisskb/src/include/kvm/arm_vgic.h:103:1: warning: empty declaration struct irq_ops { ^ /kisskb/src/include/kvm/arm_vgic.h:117:1: warning: empty declaration struct vgic_irq { ^ /kisskb/src/include/kvm/arm_vgic.h:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/kvm/arm_vgic.h:165:1: warning: empty declaration struct vgic_register_region; ^ /kisskb/src/include/kvm/arm_vgic.h:166:1: warning: empty declaration struct vgic_its; ^ /kisskb/src/include/kvm/arm_vgic.h:168:1: warning: empty declaration enum iodev_type { ^ /kisskb/src/include/kvm/arm_vgic.h:176:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t base_addr; ^ /kisskb/src/include/kvm/arm_vgic.h:175:1: warning: empty declaration struct vgic_io_device { ^ /kisskb/src/include/kvm/arm_vgic.h:189:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t vgic_its_base; ^ /kisskb/src/include/kvm/arm_vgic.h:187:1: warning: empty declaration struct vgic_its { ^ /kisskb/src/include/kvm/arm_vgic.h:214:1: warning: empty declaration struct vgic_state_iter; ^ /kisskb/src/include/kvm/arm_vgic.h:218:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t base; ^ /kisskb/src/include/kvm/arm_vgic.h:216:1: warning: empty declaration struct vgic_redist_region { ^ /kisskb/src/include/kvm/arm_vgic.h:247:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t vgic_dist_base; /* distributor */ ^ /kisskb/src/include/kvm/arm_vgic.h:224:1: warning: empty declaration struct vgic_dist { ^ /kisskb/src/include/kvm/arm_vgic.h:296:1: warning: empty declaration struct vgic_v2_cpu_if { ^ /kisskb/src/include/kvm/arm_vgic.h:305:1: warning: empty declaration struct vgic_v3_cpu_if { ^ /kisskb/src/include/kvm/arm_vgic.h:324:1: warning: empty declaration struct vgic_cpu { ^ /kisskb/src/include/kvm/arm_vgic.h:364:32: error: storage class specified for parameter 'vgic_v2_cpuif_trap' extern struct static_key_false vgic_v2_cpuif_trap; ^ /kisskb/src/include/kvm/arm_vgic.h:365:32: error: storage class specified for parameter 'vgic_v3_cpuif_trap' extern struct static_key_false vgic_v3_cpuif_trap; ^ /kisskb/src/include/kvm/arm_vgic.h:410:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/kvm/arm_vgic.h:422:1: warning: empty declaration struct kvm_kernel_irq_routing_entry; ^ In file included from /kisskb/src/include/kvm/arm_arch_timer.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:35, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/clocksource.h:24:1: warning: empty declaration struct clocksource; ^ /kisskb/src/include/linux/clocksource.h:25:1: warning: empty declaration struct module; ^ In file included from /kisskb/src/include/linux/clocksource.h:32:0, from /kisskb/src/include/kvm/arm_arch_timer.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:35, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/vdso/clocksource.h:11:1: warning: empty declaration enum vdso_clock_mode { ^ In file included from /kisskb/src/include/kvm/arm_arch_timer.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:35, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/clocksource.h:96:1: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] extern struct clocksource * __init clocksource_default_clock(void); ^ /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:267:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline 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/arch/arm64/include/asm/kvm_host.h:35:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/kvm/arm_arch_timer.h:13:1: warning: empty declaration enum kvm_arch_timers { ^ /kisskb/src/include/kvm/arm_arch_timer.h:19:1: warning: empty declaration enum kvm_arch_timer_regs { ^ /kisskb/src/include/kvm/arm_arch_timer.h:26:1: warning: empty declaration struct arch_timer_context { ^ /kisskb/src/include/kvm/arm_arch_timer.h:47:1: warning: empty declaration struct timer_map { ^ /kisskb/src/include/kvm/arm_arch_timer.h:53:1: warning: empty declaration struct arch_timer_cpu { ^ In file included from /kisskb/src/include/linux/perf_event.h:17:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/uapi/linux/perf_event.h:29:1: warning: empty declaration enum perf_type_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:60:1: warning: empty declaration enum perf_hw_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:85:1: warning: empty declaration enum perf_hw_cache_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:97:1: warning: empty declaration enum perf_hw_cache_op_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:105:1: warning: empty declaration enum perf_hw_cache_op_result_id { ^ /kisskb/src/include/uapi/linux/perf_event.h:118:1: warning: empty declaration enum perf_sw_ids { ^ /kisskb/src/include/uapi/linux/perf_event.h:139:1: warning: empty declaration enum perf_event_sample_format { ^ /kisskb/src/include/uapi/linux/perf_event.h:180:1: warning: empty declaration enum perf_branch_sample_type_shift { ^ /kisskb/src/include/uapi/linux/perf_event.h:210:1: warning: empty declaration enum perf_branch_sample_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:244:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:267:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:275:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:287:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:308:1: warning: empty declaration enum perf_sample_regs_abi { ^ /kisskb/src/include/uapi/linux/perf_event.h:318:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:358:1: warning: empty declaration enum perf_event_read_format { ^ /kisskb/src/include/uapi/linux/perf_event.h:384:1: warning: empty declaration struct perf_event_attr { ^ /kisskb/src/include/uapi/linux/perf_event.h:525:1: warning: empty declaration struct perf_event_query_bpf { ^ /kisskb/src/include/uapi/linux/perf_event.h:557:1: warning: empty declaration enum perf_event_ioc_flags { ^ /kisskb/src/include/uapi/linux/perf_event.h:564:1: warning: empty declaration struct perf_event_mmap_page { ^ /kisskb/src/include/uapi/linux/perf_event.h:808:1: warning: empty declaration struct perf_event_header { ^ /kisskb/src/include/uapi/linux/perf_event.h:814:1: warning: empty declaration struct perf_ns_link_info { ^ /kisskb/src/include/uapi/linux/perf_event.h:819:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/perf_event.h:831:1: warning: empty declaration enum perf_event_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1210:1: warning: empty declaration enum perf_record_ksymbol_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1223:1: warning: empty declaration enum perf_bpf_event_type { ^ /kisskb/src/include/uapi/linux/perf_event.h:1233:1: warning: empty declaration enum perf_callchain_context { ^ /kisskb/src/include/uapi/linux/perf_event.h:1264:1: warning: empty declaration union perf_mem_data_src { ^ /kisskb/src/include/uapi/linux/perf_event.h:1409:1: warning: empty declaration struct perf_branch_entry { ^ /kisskb/src/include/uapi/linux/perf_event.h:1424:1: warning: empty declaration union perf_sample_weight { ^ In file included from /kisskb/src/include/uapi/linux/bpf_perf_event.h:11:0, from /kisskb/src/include/linux/perf_event.h:18, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/uapi/asm/bpf_perf_event.h:7:29: error: storage class specified for parameter 'bpf_user_pt_regs_t' typedef struct user_pt_regs bpf_user_pt_regs_t; ^ In file included from /kisskb/src/include/linux/perf_event.h:18:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration struct bpf_perf_event_data { ^ In file included from /kisskb/src/include/linux/perf_event.h:25:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/perf_event.h:262:1: warning: empty declaration struct pt_regs; ^ /kisskb/src/arch/arm64/include/asm/perf_event.h:263:22: error: storage class specified for parameter 'perf_instruction_pointer' extern unsigned long perf_instruction_pointer(struct pt_regs *regs); ^ /kisskb/src/arch/arm64/include/asm/perf_event.h:264:22: error: storage class specified for parameter 'perf_misc_flags' extern unsigned long perf_misc_flags(struct pt_regs *regs); ^ In file included from ./arch/arm64/include/generated/asm/local.h:1:0, from /kisskb/src/include/asm-generic/local64.h:22, from ./arch/arm64/include/generated/asm/local64.h:1, from /kisskb/src/include/linux/perf_event.h:26, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/asm-generic/local.h:25:3: error: storage class specified for parameter 'local_t' } local_t; ^ In file included from ./arch/arm64/include/generated/asm/local64.h:1:0, from /kisskb/src/include/linux/perf_event.h:26, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:32:1: warning: empty declaration struct perf_guest_info_callbacks { ^ In file included from /kisskb/src/include/linux/cpu.h:17:0, from /kisskb/src/include/linux/perf_event.h:53, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/node.h:30:1: warning: empty declaration struct node_hmem_attrs { ^ /kisskb/src/include/linux/node.h:37:1: warning: empty declaration enum cache_indexing { ^ /kisskb/src/include/linux/node.h:43:1: warning: empty declaration enum cache_write_policy { ^ /kisskb/src/include/linux/node.h:58:1: warning: empty declaration struct node_cache_attrs { ^ /kisskb/src/include/linux/node.h:83:1: warning: empty declaration struct node { ^ /kisskb/src/include/linux/node.h:92:1: warning: empty declaration 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/cpu.h:20:0, from /kisskb/src/include/linux/perf_event.h:53, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/cpuhotplug.h:57:1: warning: empty declaration 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/perf_event.h:53:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/cpu.h:22:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/cpu.h:23:1: warning: empty declaration struct device_node; ^ /kisskb/src/include/linux/cpu.h:24:1: warning: empty declaration struct attribute_group; ^ /kisskb/src/include/linux/cpu.h:26:1: warning: empty declaration 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: warning: empty declaration enum cpuhp_smt_control { ^ /kisskb/src/include/linux/cpu.h:225:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void cpu_smt_disable(bool force) { } ^ /kisskb/src/include/linux/cpu.h:226:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void cpu_smt_check_topology(void) { } ^ /kisskb/src/include/linux/cpu.h:227:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline bool cpu_smt_possible(void) { return false; } ^ /kisskb/src/include/linux/cpu.h:228:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int cpuhp_smt_enable(void) { return 0; } ^ /kisskb/src/include/linux/cpu.h:229:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; } ^ /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/include/linux/perf_event.h:54:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/irq_work.h:17:1: warning: empty declaration 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/include/linux/perf_event.h:54, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/irq_work.h:5:13: error: storage class specified for parameter 'arch_irq_work_raise' extern void arch_irq_work_raise(void); ^ /kisskb/src/arch/arm64/include/asm/irq_work.h:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/perf_event.h:56:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/jump_label_ratelimit.h:9:1: warning: empty declaration struct static_key_deferred { ^ /kisskb/src/include/linux/jump_label_ratelimit.h:15:1: warning: empty declaration struct static_key_true_deferred { ^ /kisskb/src/include/linux/jump_label_ratelimit.h:21:1: warning: empty declaration 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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_regs.h:7:1: warning: empty declaration 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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/uapi/asm/perf_regs.h:5:1: warning: empty declaration enum perf_event_arm_regs { ^ 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/uapi/linux/taskstats.h:41:1: warning: empty declaration struct taskstats { ^ /kisskb/src/include/uapi/linux/taskstats.h:210:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/taskstats.h:219:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/taskstats.h:232:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/cgroup.h:16:0, from /kisskb/src/include/linux/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/uapi/linux/cgroupstats.h:32:1: warning: empty declaration struct cgroupstats { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:47:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:56:1: warning: empty declaration enum { ^ /kisskb/src/include/uapi/linux/cgroupstats.h:64:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/cgroup.h:24:0, from /kisskb/src/include/linux/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/user_namespace.h:17:1: warning: empty declaration struct uid_gid_extent { ^ /kisskb/src/include/linux/user_namespace.h:23:1: warning: empty declaration struct uid_gid_map { /* 64 bytes -- 1 cache line */ ^ /kisskb/src/include/linux/user_namespace.h:38:1: warning: empty declaration struct ucounts; ^ /kisskb/src/include/linux/user_namespace.h:40:1: warning: empty declaration enum ucount_type { ^ /kisskb/src/include/linux/user_namespace.h:60:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/arch/arm64/include/asm/elf.h:141, 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/acpi.h:15, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration 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/cgroup.h:26:0, from /kisskb/src/include/linux/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kernel_stat.h:20:1: warning: empty declaration enum cpu_usage_stat { ^ /kisskb/src/include/linux/kernel_stat.h:37:1: warning: empty declaration struct kernel_cpustat { ^ /kisskb/src/include/linux/kernel_stat.h:41:1: warning: empty declaration struct kernel_stat { ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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: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:101: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:101: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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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); ^ 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/u64_stats_sync.h:64:1: warning: empty declaration struct u64_stats_sync { ^ 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/bpf-cgroup-defs.h:11:1: warning: empty declaration struct bpf_prog_array; ^ /kisskb/src/include/linux/bpf-cgroup-defs.h:20:1: warning: empty declaration enum cgroup_bpf_attach_type { ^ /kisskb/src/include/linux/bpf-cgroup-defs.h:50:1: warning: empty declaration 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kthread.h:8:1: warning: empty declaration 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration 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: warning: empty declaration enum { ^ /kisskb/src/include/linux/kthread.h:122:1: warning: empty declaration 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: warning: empty declaration struct kthread_work { ^ /kisskb/src/include/linux/kthread.h:139:1: warning: empty declaration 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kthread.h:218:1: warning: empty declaration 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/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/psi_types.h:200:1: warning: empty declaration struct psi_group { }; ^ In file included from /kisskb/src/include/linux/cgroup.h:28:0, from /kisskb/src/include/linux/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/cgroup-defs.h:27:1: warning: empty declaration struct cgroup; ^ /kisskb/src/include/linux/cgroup-defs.h:28:1: warning: empty declaration struct cgroup_root; ^ /kisskb/src/include/linux/cgroup-defs.h:29:1: warning: empty declaration struct cgroup_subsys; ^ /kisskb/src/include/linux/cgroup-defs.h:30:1: warning: empty declaration struct cgroup_taskset; ^ /kisskb/src/include/linux/cgroup-defs.h:31:1: warning: empty declaration struct kernfs_node; ^ /kisskb/src/include/linux/cgroup-defs.h:32:1: warning: empty declaration struct kernfs_ops; ^ /kisskb/src/include/linux/cgroup-defs.h:33:1: warning: empty declaration struct kernfs_open_file; ^ /kisskb/src/include/linux/cgroup-defs.h:34:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/cgroup-defs.h:35:1: warning: empty declaration struct poll_table_struct; ^ /kisskb/src/include/linux/cgroup-defs.h:43:1: warning: empty declaration enum cgroup_subsys_id { ^ In file included from /kisskb/src/include/linux/cgroup.h:28:0, from /kisskb/src/include/linux/perf_event.h:60, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/cgroup-defs.h:50:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/cgroup-defs.h:59:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/cgroup-defs.h:80:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/cgroup-defs.h:121:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/cgroup-defs.h:141:1: warning: empty declaration struct cgroup_file { ^ /kisskb/src/include/linux/cgroup-defs.h:155:1: warning: empty declaration struct cgroup_subsys_state { ^ /kisskb/src/include/linux/cgroup-defs.h:221:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t refcount; ^ /kisskb/src/include/linux/cgroup-defs.h:212:1: warning: empty declaration struct css_set { ^ /kisskb/src/include/linux/cgroup-defs.h:302:1: warning: empty declaration struct cgroup_base_stat { ^ /kisskb/src/include/linux/cgroup-defs.h:330:1: warning: empty declaration struct cgroup_rstat_cpu { ^ /kisskb/src/include/linux/cgroup-defs.h:359:1: warning: empty declaration struct cgroup_freezer_state { ^ /kisskb/src/include/linux/cgroup-defs.h:493:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t offline_waitq; ^ /kisskb/src/include/linux/cgroup-defs.h:378:1: warning: empty declaration struct cgroup { ^ /kisskb/src/include/linux/cgroup-defs.h:519:1: warning: empty declaration struct cgroup_root { ^ /kisskb/src/include/linux/cgroup-defs.h:561:1: warning: empty declaration struct cftype { ^ /kisskb/src/include/linux/cgroup-defs.h:650:1: warning: empty declaration 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: warning: empty declaration 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/perf_event.h:60:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/cgroup.h:30:1: warning: empty declaration struct kernel_clone_args; ^ /kisskb/src/include/linux/cgroup.h:52:1: warning: empty declaration 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: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: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; ^ In file included from /kisskb/src/include/linux/perf_event.h:60:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: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: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; ^ In file included from /kisskb/src/include/linux/perf_event.h:60:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: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: warning: empty declaration 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/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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/file.h:14:1: warning: empty declaration 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: warning: empty declaration struct file_operations; ^ /kisskb/src/include/linux/file.h:19:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/file.h:20:1: warning: empty declaration struct vfsmount; ^ /kisskb/src/include/linux/file.h:21:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/file.h:22:1: warning: empty declaration struct inode; ^ /kisskb/src/include/linux/file.h:23:1: warning: empty declaration 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: warning: empty declaration 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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kernel_read_file.h:22:1: warning: empty declaration 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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/security.h:35:1: warning: empty declaration struct linux_binprm; ^ /kisskb/src/include/linux/security.h:36:1: warning: empty declaration struct cred; ^ /kisskb/src/include/linux/security.h:37:1: warning: empty declaration struct rlimit; ^ /kisskb/src/include/linux/security.h:38:1: warning: empty declaration struct kernel_siginfo; ^ /kisskb/src/include/linux/security.h:39:1: warning: empty declaration struct sembuf; ^ /kisskb/src/include/linux/security.h:40:1: warning: empty declaration struct kern_ipc_perm; ^ /kisskb/src/include/linux/security.h:41:1: warning: empty declaration struct audit_context; ^ /kisskb/src/include/linux/security.h:42:1: warning: empty declaration struct super_block; ^ /kisskb/src/include/linux/security.h:43:1: warning: empty declaration struct inode; ^ /kisskb/src/include/linux/security.h:44:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/security.h:45:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/security.h:46:1: warning: empty declaration struct vfsmount; ^ /kisskb/src/include/linux/security.h:47:1: warning: empty declaration struct path; ^ /kisskb/src/include/linux/security.h:48:1: warning: empty declaration struct qstr; ^ /kisskb/src/include/linux/security.h:49:1: warning: empty declaration struct iattr; ^ /kisskb/src/include/linux/security.h:50:1: warning: empty declaration struct fown_struct; ^ /kisskb/src/include/linux/security.h:51:1: warning: empty declaration struct file_operations; ^ /kisskb/src/include/linux/security.h:52:1: warning: empty declaration struct msg_msg; ^ /kisskb/src/include/linux/security.h:53:1: warning: empty declaration struct xattr; ^ /kisskb/src/include/linux/security.h:54:1: warning: empty declaration struct kernfs_node; ^ /kisskb/src/include/linux/security.h:55:1: warning: empty declaration struct xfrm_sec_ctx; ^ /kisskb/src/include/linux/security.h:56:1: warning: empty declaration struct mm_struct; ^ /kisskb/src/include/linux/security.h:57:1: warning: empty declaration struct fs_context; ^ /kisskb/src/include/linux/security.h:58:1: warning: empty declaration struct fs_parameter; ^ /kisskb/src/include/linux/security.h:59:1: warning: empty declaration enum fs_value_type; ^ /kisskb/src/include/linux/security.h:60:1: warning: empty declaration struct watch; ^ /kisskb/src/include/linux/security.h:61:1: warning: empty declaration struct watch_notification; ^ /kisskb/src/include/linux/security.h:73:1: warning: empty declaration struct ctl_table; ^ /kisskb/src/include/linux/security.h:74:1: warning: empty declaration struct audit_krule; ^ /kisskb/src/include/linux/security.h:75:1: warning: empty declaration struct user_namespace; ^ /kisskb/src/include/linux/security.h:76:1: warning: empty declaration struct timezone; ^ /kisskb/src/include/linux/security.h:78:1: warning: empty declaration enum lsm_event { ^ /kisskb/src/include/linux/security.h:106:1: warning: empty declaration 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/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration struct msghdr; ^ /kisskb/src/include/linux/security.h:173:1: warning: empty declaration struct sk_buff; ^ /kisskb/src/include/linux/security.h:174:1: warning: empty declaration struct sock; ^ /kisskb/src/include/linux/security.h:175:1: warning: empty declaration struct sockaddr; ^ /kisskb/src/include/linux/security.h:176:1: warning: empty declaration struct socket; ^ /kisskb/src/include/linux/security.h:177:1: warning: empty declaration struct flowi_common; ^ /kisskb/src/include/linux/security.h:178:1: warning: empty declaration struct dst_entry; ^ /kisskb/src/include/linux/security.h:179:1: warning: empty declaration struct xfrm_selector; ^ /kisskb/src/include/linux/security.h:180:1: warning: empty declaration struct xfrm_policy; ^ /kisskb/src/include/linux/security.h:181:1: warning: empty declaration struct xfrm_state; ^ /kisskb/src/include/linux/security.h:182:1: warning: empty declaration struct xfrm_user_sec_ctx; ^ /kisskb/src/include/linux/security.h:183:1: warning: empty declaration struct seq_file; ^ /kisskb/src/include/linux/security.h:184:1: warning: empty declaration 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: warning: empty declaration struct sched_param; ^ /kisskb/src/include/linux/security.h:215:1: warning: empty declaration 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: warning: empty declaration 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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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: warning: excess elements in scalar initializer __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:1377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1449:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1461:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1475:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1489:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1494:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1500:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1506:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1513:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1518:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1523:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1529:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1540:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1556:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1561:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1566:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1570:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1575:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1580:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1584:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1589:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1595:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1600:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1604:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1609:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1613:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1617:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1622:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1631:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1636:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1641:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1647:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1661:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1666:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1678:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1693:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1721:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1726:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1731:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1735:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1741:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1747:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1752:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1761:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1768:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1773:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1779:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1803:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1809:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1814:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1820:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1825:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1831:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1838:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1847:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1852:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/security.h:1856:64: error: expected declaration specifiers or '...' before 'kuid_t' static inline int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) ^ /kisskb/src/include/linux/security.h:1856:76: error: expected declaration specifiers or '...' before 'kgid_t' static inline int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) ^ /kisskb/src/include/linux/security.h:1862:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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: warning: empty declaration union bpf_attr; ^ /kisskb/src/include/linux/security.h:1981:1: warning: empty declaration struct bpf_map; ^ /kisskb/src/include/linux/security.h:1982:1: warning: empty declaration struct bpf_prog; ^ /kisskb/src/include/linux/security.h:1983:1: warning: empty declaration 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: warning: empty declaration struct perf_event_attr; ^ /kisskb/src/include/linux/security.h:2029:1: warning: empty declaration 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/include/linux/perf_event.h:63:0, from /kisskb/src/include/kvm/arm_pmu.h:10, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/static_call.h:282:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int static_call_init(void) { return 0; } ^ /kisskb/src/include/linux/static_call.h:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/static_call.h:304:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void __static_call_nop(void) { } ^ /kisskb/src/include/linux/static_call.h:330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/static_call.h:335:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:67:1: warning: empty declaration struct perf_callchain_entry { ^ /kisskb/src/include/linux/perf_event.h:72:1: warning: empty declaration 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: warning: empty declaration struct perf_raw_frag { ^ /kisskb/src/include/linux/perf_event.h:93:1: warning: empty declaration struct perf_raw_record { ^ /kisskb/src/include/linux/perf_event.h:118:1: warning: empty declaration struct perf_branch_stack { ^ /kisskb/src/include/linux/perf_event.h:124:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/perf_event.h:129:1: warning: empty declaration struct hw_perf_event_extra { ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ioport.h:13, from /kisskb/src/include/linux/acpi.h:12, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /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: warning: empty declaration struct hw_perf_event { ^ /kisskb/src/include/linux/perf_event.h:268:1: warning: empty declaration struct perf_event; ^ /kisskb/src/include/linux/perf_event.h:290:1: warning: empty declaration struct perf_output_handle; ^ /kisskb/src/include/linux/perf_event.h:295:1: warning: empty declaration struct pmu { ^ /kisskb/src/include/linux/perf_event.h:535:1: warning: empty declaration enum perf_addr_filter_action_t { ^ /kisskb/src/include/linux/perf_event.h:551:1: warning: empty declaration struct perf_addr_filter { ^ /kisskb/src/include/linux/perf_event.h:569:1: warning: empty declaration struct perf_addr_filters_head { ^ /kisskb/src/include/linux/perf_event.h:575:1: warning: empty declaration struct perf_addr_filter_range { ^ /kisskb/src/include/linux/perf_event.h:583:1: warning: empty declaration enum perf_event_state { ^ /kisskb/src/include/linux/perf_event.h:592:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/perf_event.h:593:1: warning: empty declaration 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: warning: empty declaration struct swevent_hlist { ^ /kisskb/src/include/linux/perf_event.h:629:1: warning: empty declaration struct bpf_prog; ^ /kisskb/src/include/linux/perf_event.h:630:1: warning: empty declaration struct perf_cgroup; ^ /kisskb/src/include/linux/perf_event.h:631:1: warning: empty declaration struct perf_buffer; ^ /kisskb/src/include/linux/perf_event.h:633:1: warning: empty declaration 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: warning: empty declaration struct perf_event { ^ /kisskb/src/include/linux/perf_event.h:813:1: warning: empty declaration struct perf_event_groups { ^ /kisskb/src/include/linux/perf_event.h:857:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t refcount; ^ /kisskb/src/include/linux/perf_event.h:823:1: warning: empty declaration 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: warning: empty declaration struct perf_cpu_context { ^ /kisskb/src/include/linux/perf_event.h:920:1: warning: empty declaration 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: warning: empty declaration struct bpf_perf_event_data_kern { ^ /kisskb/src/include/linux/perf_event.h:945:1: warning: empty declaration struct perf_cgroup_info { ^ /kisskb/src/include/linux/perf_event.h:952:1: warning: empty declaration 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: warning: empty declaration 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:1093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1104: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:1108: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:1113: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:1117: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:1120: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:1123: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:1129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1138: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:1142: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:1147: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:1150:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1167:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1175:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1180:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1184: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:1186: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:1187: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:1208:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1214: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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/perf_event.h:1219: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/perf_event.h:1219: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:1219: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/perf_event.h:1219:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]); ^ In file included from /kisskb/src/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1227:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1234: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:1237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1242:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1249:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1277: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:1279: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:1281: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:1286: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:1288: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:1288: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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1288: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:1289: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:1289: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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1289: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:1290: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:1290: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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1290: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:1293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1297:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1304: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:1305: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:1312:13: error: storage class specified for parameter 'perf_event_exec' extern void perf_event_exec(void); ^ /kisskb/src/include/linux/perf_event.h:1313: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:1314: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:1315: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:1316: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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/linux/perf_event.h:1321: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/perf_event.h:1321: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:1321: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:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/perf_event.h:1321: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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1323: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:1324: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:1326: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:1328: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:1329: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:1330:13: error: storage class specified for parameter 'put_callchain_buffers' extern void put_callchain_buffers(void); ^ /kisskb/src/include/linux/perf_event.h:1331: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:1332:13: error: storage class specified for parameter 'put_callchain_entry' extern void put_callchain_entry(int rctx); ^ /kisskb/src/include/linux/perf_event.h:1334: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:1335: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:1338:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1362:12: error: storage class specified for parameter 'sysctl_perf_event_paranoid' extern int sysctl_perf_event_paranoid; ^ /kisskb/src/include/linux/perf_event.h:1363:12: error: storage class specified for parameter 'sysctl_perf_event_mlock' extern int sysctl_perf_event_mlock; ^ /kisskb/src/include/linux/perf_event.h:1364: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:1365: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:1367: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:1385:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1398:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1406:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1413:13: error: storage class specified for parameter 'perf_event_init' extern void perf_event_init(void); ^ /kisskb/src/include/linux/perf_event.h:1414: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:1418: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:1430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1435:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1440:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1445:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1450:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1459:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1468: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:1469: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:1471: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:1474: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:1478: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:1483: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:1484: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:1486: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:1488: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:1491: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:1492: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:1493: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:1494: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:1495: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:1496: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:1497: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:1498: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:1499: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:1500: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:1501: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:1593:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void perf_restore_debug_store(void) { } ^ /kisskb/src/include/linux/perf_event.h:1597:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1603:1: warning: empty declaration struct perf_pmu_events_attr { ^ /kisskb/src/include/linux/perf_event.h:1609:1: warning: empty declaration struct perf_pmu_events_ht_attr { ^ /kisskb/src/include/linux/perf_event.h:1616:1: warning: empty declaration struct perf_pmu_events_hybrid_attr { ^ /kisskb/src/include/linux/perf_event.h:1623:1: warning: empty declaration struct perf_pmu_format_hybrid_attr { ^ /kisskb/src/include/linux/perf_event.h:1671: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:1673:11: warning: '__weak__' attribute ignored [-Wattributes] u64 now); ^ /kisskb/src/include/linux/perf_event.h:1676: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:1676:50: warning: '__weak__' attribute ignored [-Wattributes] extern __weak u64 arch_perf_get_page_size(struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/perf_event.h:1697: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:1699: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:1699: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/include/kvm/arm_pmu.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/perf_event.h:1699: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:1703:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1709:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1714:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1719:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1724:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/perf_event.h:1729:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_host.h:36:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/kvm/arm_pmu.h:18:1: warning: empty declaration struct kvm_pmc { ^ /kisskb/src/include/kvm/arm_pmu.h:23:1: warning: empty declaration struct kvm_pmu_events { ^ /kisskb/src/include/kvm/arm_pmu.h:28:1: warning: empty declaration struct kvm_pmu { ^ /kisskb/src/include/kvm/arm_pmu.h:38:1: warning: empty declaration struct arm_pmu_entry { ^ In file included from /kisskb/src/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/kvm/arm_pmu.h:43:26: error: storage class specified for parameter 'kvm_arm_pmu_available' DECLARE_STATIC_KEY_FALSE(kvm_arm_pmu_available); ^ /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/arm64/include/asm/kvm_host.h:36:0, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/kvm/arm_pmu.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_host.h:60:1: warning: empty declaration enum kvm_mode { ^ In file included from /kisskb/src/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/kvm_host.h:67:26: error: storage class specified for parameter 'userspace_irqchip_in_use' DECLARE_STATIC_KEY_FALSE(userspace_irqchip_in_use); ^ /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:45:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_host.h:69:21: error: storage class specified for parameter 'kvm_sve_max_vl' extern unsigned int kvm_sve_max_vl; ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:76:1: warning: empty declaration struct kvm_vmid { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:80:1: warning: empty declaration struct kvm_s2_mmu { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:102:1: warning: empty declaration struct kvm_arch_memory_slot { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:112:1: warning: empty declaration struct kvm_smccc_features { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:118:1: warning: empty declaration struct kvm_arch { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:171:1: warning: empty declaration struct kvm_vcpu_fault_info { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:178:1: warning: empty declaration enum vcpu_sysreg { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:258:1: warning: empty declaration struct kvm_cpu_context { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:273:1: warning: empty declaration struct kvm_host_data { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:277:1: warning: empty declaration struct kvm_host_psci_config { ^ In file included from /kisskb/src/arch/arm64/include/asm/kvm_asm.h:10:0, from /kisskb/src/arch/arm64/include/asm/kvm_host.h:28, from /kisskb/src/include/linux/kvm_host.h:45, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe_kvm_host_psci_config' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:290:36: note: in expansion of macro 'kvm_nvhe_sym' extern struct kvm_host_psci_config kvm_nvhe_sym(kvm_host_psci_config); ^ /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe_hyp_physvirt_offset' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:293:12: note: in expansion of macro 'kvm_nvhe_sym' extern s64 kvm_nvhe_sym(hyp_physvirt_offset); ^ /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe_hyp_cpu_logical_map' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:296:12: note: in expansion of macro 'kvm_nvhe_sym' extern u64 kvm_nvhe_sym(hyp_cpu_logical_map)[NR_CPUS]; ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_host.h:299:1: warning: empty declaration struct vcpu_reset_state { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:418:3: error: expected specifier-qualifier-list before 'gpa_t' gpa_t base; ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:306:1: warning: empty declaration struct kvm_vcpu_arch { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:698:1: warning: empty declaration struct kvm_vm_stat { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:702:1: warning: empty declaration struct kvm_vcpu_stat { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:811:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:816:1: error: expected declaration specifiers before 'gpa_t' gpa_t kvm_init_stolen_time(struct kvm_vcpu *vcpu); ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:827:21: error: storage class specified for parameter 'kvm_arm_vmid_bits' extern unsigned int kvm_arm_vmid_bits; ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:834:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:839: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/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:47: error: storage class specified for parameter 'kvm_host_data' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:93:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(type, sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:98:2: note: in expansion of macro 'DECLARE_KVM_VHE_PER_CPU' DECLARE_KVM_VHE_PER_CPU(type, sym); \ ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:1: note: in expansion of macro 'DECLARE_KVM_HYP_PER_CPU' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:47: error: section attribute not allowed for 'kvm_host_data' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:93:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(type, sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:98:2: note: in expansion of macro 'DECLARE_KVM_VHE_PER_CPU' DECLARE_KVM_VHE_PER_CPU(type, sym); \ ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:1: note: in expansion of macro 'DECLARE_KVM_HYP_PER_CPU' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: storage class specified for parameter '__kvm_nvhe_kvm_host_data' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:95:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(type, kvm_nvhe_sym(sym)) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:95:24: note: in expansion of macro 'kvm_nvhe_sym' DECLARE_PER_CPU(type, kvm_nvhe_sym(sym)) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:99:2: note: in expansion of macro 'DECLARE_KVM_NVHE_PER_CPU' DECLARE_KVM_NVHE_PER_CPU(type, sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:1: note: in expansion of macro 'DECLARE_KVM_HYP_PER_CPU' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ /kisskb/src/arch/arm64/include/asm/hyp_image.h:18:27: error: section attribute not allowed for '__kvm_nvhe_kvm_host_data' #define kvm_nvhe_sym(sym) __kvm_nvhe_##sym ^ /kisskb/src/include/linux/percpu-defs.h:101:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:95:2: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(type, kvm_nvhe_sym(sym)) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:95:24: note: in expansion of macro 'kvm_nvhe_sym' DECLARE_PER_CPU(type, kvm_nvhe_sym(sym)) ^ /kisskb/src/arch/arm64/include/asm/kvm_asm.h:99:2: note: in expansion of macro 'DECLARE_KVM_NVHE_PER_CPU' DECLARE_KVM_NVHE_PER_CPU(type, sym) ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:847:1: note: in expansion of macro 'DECLARE_KVM_HYP_PER_CPU' DECLARE_KVM_HYP_PER_CPU(struct kvm_host_data, kvm_host_data); ^ In file included from /kisskb/src/include/linux/kvm_host.h:45:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/arch/arm64/include/asm/kvm_host.h:850:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:856:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:862:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_hardware_unsetup(void) {} ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:863:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_sync_events(struct kvm *kvm) {} ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:864:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {} ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:894:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:921:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:942:20: error: storage class specified for parameter 'hyp_mem_base' extern phys_addr_t hyp_mem_base; ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:943:20: error: storage class specified for parameter 'hyp_mem_size' extern phys_addr_t hyp_mem_size; ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:944:13: error: section attribute not allowed for 'kvm_hyp_reserve' void __init kvm_hyp_reserve(void); ^ /kisskb/src/arch/arm64/include/asm/kvm_host.h:944:1: warning: '__cold__' attribute ignored [-Wattributes] void __init kvm_hyp_reserve(void); ^ In file included from /kisskb/src/include/linux/kvm_host.h:46:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kvm_dirty_ring.h:21:1: warning: empty declaration struct kvm_dirty_ring { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:54:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:59:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_dirty_ring.h:68:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:15:0: /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:189:21: error: storage class specified for parameter 'kvm_lock' extern struct mutex kvm_lock; ^ /kisskb/src/include/linux/kvm_host.h:190:25: error: storage class specified for parameter 'vm_list' extern struct list_head vm_list; ^ /kisskb/src/include/linux/kvm_host.h:193:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t addr; ^ /kisskb/src/include/linux/kvm_host.h:192:1: warning: empty declaration struct kvm_io_range { ^ /kisskb/src/include/linux/kvm_host.h:200:1: warning: empty declaration struct kvm_io_bus { ^ /kisskb/src/include/linux/kvm_host.h:206:1: warning: empty declaration enum kvm_bus { ^ /kisskb/src/include/linux/kvm_host.h:214: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:217: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:218: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:220: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:225:7: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t addr); ^ /kisskb/src/include/linux/kvm_host.h:251:2: error: expected specifier-qualifier-list before 'gfn_t' gfn_t start; ^ /kisskb/src/include/linux/kvm_host.h:249:1: warning: empty declaration struct kvm_gfn_range { ^ /kisskb/src/include/linux/kvm_host.h:262:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/kvm_host.h:282:2: error: unknown type name 'kvm_pfn_t' kvm_pfn_t pfn; ^ /kisskb/src/include/linux/kvm_host.h:283:2: error: unknown type name 'kvm_pfn_t' kvm_pfn_t gfn; ^ /kisskb/src/include/linux/kvm_host.h:271:1: warning: empty declaration struct kvm_host_map { ^ /kisskb/src/include/linux/kvm_host.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:295: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:295: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:305:2: error: expected specifier-qualifier-list before 'gpa_t' gpa_t gpa; ^ /kisskb/src/include/linux/kvm_host.h:304:1: warning: empty declaration struct kvm_mmio_fragment { ^ /kisskb/src/include/linux/kvm_host.h:334:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t sigset; ^ /kisskb/src/include/linux/kvm_host.h:310:1: warning: empty declaration struct kvm_vcpu { ^ /kisskb/src/include/linux/kvm_host.h:390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:409:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:430:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:453:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:472:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:481:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:493:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:499:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:525:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:571:2: error: expected specifier-qualifier-list before 'gfn_t' gfn_t base_gfn; ^ /kisskb/src/include/linux/kvm_host.h:567:1: warning: empty declaration struct kvm_memory_slot { ^ /kisskb/src/include/linux/kvm_host.h:582:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:587:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:592:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:602:1: warning: empty declaration struct kvm_s390_adapter_int { ^ /kisskb/src/include/linux/kvm_host.h:610:1: warning: empty declaration struct kvm_hv_sint { ^ /kisskb/src/include/linux/kvm_host.h:615:1: warning: empty declaration struct kvm_xen_evtchn { ^ /kisskb/src/include/linux/kvm_host.h:622:1: warning: empty declaration struct kvm_kernel_irq_routing_entry { ^ /kisskb/src/include/linux/kvm_host.h:648:1: warning: empty declaration struct kvm_irq_routing_table { ^ /kisskb/src/include/linux/kvm_host.h:668:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:673:1: warning: empty declaration struct kvm_memslots { ^ /kisskb/src/include/linux/kvm_host.h:748:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t users_count; ^ /kisskb/src/include/linux/kvm_host.h:690:1: warning: empty declaration struct kvm { ^ /kisskb/src/include/linux/kvm_host.h:818:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:824:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:849:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:858:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:868:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:873:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:880:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:894:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:920:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:923:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:951:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:959:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:964:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:971:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:982:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:995:1: warning: empty declaration struct kvm_memslot_iter { ^ /kisskb/src/include/linux/kvm_host.h:1002:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1012:8: error: expected declaration specifiers or '...' before 'gfn_t' gfn_t start) ^ /kisskb/src/include/linux/kvm_host.h:1070: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:1099:1: warning: empty declaration enum kvm_mr_change { ^ /kisskb/src/include/linux/kvm_host.h:1126: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:1129: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:1130: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:1131: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:1132: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:1133: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:1138: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:1138: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:1139: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:1139: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:1141: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:1141: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:1142: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:1142: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:1143: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:1143: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:1145:27: error: expected declaration specifiers or '...' before 'hva_t' bool *writable, hva_t *hva); ^ /kisskb/src/include/linux/kvm_host.h:1147:28: error: unknown type name 'kvm_pfn_t' void kvm_release_pfn_clean(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1148:28: error: unknown type name 'kvm_pfn_t' void kvm_release_pfn_dirty(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1149:24: error: unknown type name 'kvm_pfn_t' void kvm_set_pfn_dirty(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1150:27: error: unknown type name 'kvm_pfn_t' void kvm_set_pfn_accessed(kvm_pfn_t pfn); ^ /kisskb/src/include/linux/kvm_host.h:1152: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:1153: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:1155: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:1161: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:1163: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:1171:10: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1215: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:1216: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:1217: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:1218: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:1219: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:1220: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:1221: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:1224: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:1225: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:1225: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:1226: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:1226: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:1227: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:1229: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:1230: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:1231: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:1233: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:1235: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:1237: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:1239: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:1241: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:1271:10: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1292:5: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1313:6: error: expected declaration specifiers or '...' before 'gpa_t' gpa_t gpa, unsigned long len); ^ /kisskb/src/include/linux/kvm_host.h:1369: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:1375:6: error: expected declaration specifiers or '...' before 'gfn_t' gfn_t gfn_offset, ^ /kisskb/src/include/linux/kvm_host.h:1434:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kvm_create_vcpu_debugfs(struct kvm_vcpu *vcpu) {} ^ /kisskb/src/include/linux/kvm_host.h:1463:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1487:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1491:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1509:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1513:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1519:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1532:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1537:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1571: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:1574:1: warning: empty declaration struct kvm_irq_ack_notifier { ^ /kisskb/src/include/linux/kvm_host.h:1607: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:1626: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:1647: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:1671: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:1677: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:1690: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:1696: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:1703: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:1708: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:1713: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:1718: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:1725:1: warning: empty declaration enum kvm_stat_kind { ^ /kisskb/src/include/linux/kvm_host.h:1730:1: warning: empty declaration struct kvm_stat_data { ^ /kisskb/src/include/linux/kvm_host.h:1736:1: warning: empty declaration struct _kvm_stats_desc { ^ /kisskb/src/include/linux/kvm_host.h:1857:23: error: storage class specified for parameter 'kvm_debugfs_dir' extern struct dentry *kvm_debugfs_dir; ^ /kisskb/src/include/linux/kvm_host.h:1875:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1891:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1904: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:1905: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:1906: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:1907: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:1911:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:1935:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2020:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2030:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2043:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2048:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2053:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2058:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2073:13: error: storage class specified for parameter 'kvm_rebooting' extern bool kvm_rebooting; ^ /kisskb/src/include/linux/kvm_host.h:2075:21: error: storage class specified for parameter 'halt_poll_ns' extern unsigned int halt_poll_ns; ^ /kisskb/src/include/linux/kvm_host.h:2076: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:2077: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:2078: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:2080:1: warning: empty declaration struct kvm_device { ^ /kisskb/src/include/linux/kvm_host.h:2088:1: warning: empty declaration struct kvm_device_ops { ^ /kisskb/src/include/linux/kvm_host.h:2137: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:2138: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:2139: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:2144:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2164:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2195:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2217:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kvm_host.h:2236: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:2238: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:2244:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/memcontrol.h:17:0, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/page_counter.h:10:1: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/eventfd.h:33:1: warning: empty declaration struct eventfd_ctx; ^ /kisskb/src/include/linux/eventfd.h:34:1: warning: empty declaration struct file; ^ /kisskb/src/include/linux/eventfd.h:43:60: error: expected declaration specifiers or '...' before 'wait_queue_entry_t' int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, ^ /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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/vmpressure.h:13:1: warning: empty declaration struct vmpressure { ^ /kisskb/src/include/linux/vmpressure.h:30:1: warning: empty declaration struct mem_cgroup; ^ /kisskb/src/include/linux/vmpressure.h:33:13: error: storage class specified for parameter 'vmpressure' extern void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, ^ /kisskb/src/include/linux/vmpressure.h:35:13: error: storage class specified for parameter 'vmpressure_prio' extern void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio); ^ /kisskb/src/include/linux/vmpressure.h:37:13: error: storage class specified for parameter 'vmpressure_init' extern void vmpressure_init(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:38:13: error: storage class specified for parameter 'vmpressure_cleanup' extern void vmpressure_cleanup(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:39:27: error: storage class specified for parameter 'memcg_to_vmpressure' extern struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg); ^ /kisskb/src/include/linux/vmpressure.h:40:27: error: storage class specified for parameter 'vmpressure_to_memcg' extern struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr); ^ /kisskb/src/include/linux/vmpressure.h:41:12: error: storage class specified for parameter 'vmpressure_register_event' extern int vmpressure_register_event(struct mem_cgroup *memcg, ^ /kisskb/src/include/linux/vmpressure.h:44:13: error: storage class specified for parameter 'vmpressure_unregister_event' extern void vmpressure_unregister_event(struct mem_cgroup *memcg, ^ In file included from /kisskb/src/include/linux/writeback.h:11:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/flex_proportions.h:34:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t sequence; ^ /kisskb/src/include/linux/flex_proportions.h:28:1: warning: empty declaration struct fprop_global { ^ /kisskb/src/include/linux/flex_proportions.h:44:1: warning: empty declaration 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: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/backing-dev-defs.h:17:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/backing-dev-defs.h:18:1: warning: empty declaration struct device; ^ /kisskb/src/include/linux/backing-dev-defs.h:19:1: warning: empty declaration struct dentry; ^ /kisskb/src/include/linux/backing-dev-defs.h:24:1: warning: empty declaration enum wb_state { ^ /kisskb/src/include/linux/backing-dev-defs.h:31:1: warning: empty declaration enum wb_stat_item { ^ /kisskb/src/include/linux/backing-dev-defs.h:44:1: warning: empty declaration enum wb_reason { ^ /kisskb/src/include/linux/backing-dev-defs.h:65:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t *waitq; ^ /kisskb/src/include/linux/backing-dev-defs.h:63:1: warning: empty declaration struct wb_completion { ^ /kisskb/src/include/linux/backing-dev-defs.h:105:1: warning: empty declaration struct bdi_writeback { ^ /kisskb/src/include/linux/backing-dev-defs.h:190:2: error: expected specifier-qualifier-list before 'wait_queue_head_t' wait_queue_head_t wb_waitq; ^ /kisskb/src/include/linux/backing-dev-defs.h:165:1: warning: empty declaration struct backing_dev_info { ^ /kisskb/src/include/linux/backing-dev-defs.h:203:1: warning: empty declaration struct wb_lock_cookie { ^ /kisskb/src/include/linux/backing-dev-defs.h:215:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:226:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/backing-dev-defs.h:266:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/cacheflush.h:7:1: warning: empty declaration struct folio; ^ 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/kmsan.h:17:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/kmsan.h:18:1: warning: empty declaration struct kmem_cache; ^ /kisskb/src/include/linux/kmsan.h:19:1: warning: empty declaration struct task_struct; ^ /kisskb/src/include/linux/kmsan.h:20:1: warning: empty declaration struct scatterlist; ^ /kisskb/src/include/linux/kmsan.h:21:1: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /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/arm64/kernel/asm-offsets.c:17: /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: warning: parameter 'kmap' declared 'inline' /kisskb/src/include/linux/highmem.h:37:33: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kunmap' declared 'inline' /kisskb/src/include/linux/highmem.h:46:34: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kmap_to_page' declared 'inline' /kisskb/src/include/linux/highmem.h:54:22: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kmap_flush_unused' declared 'inline' /kisskb/src/include/linux/highmem.h:60:1: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kmap_local_page' declared 'inline' /kisskb/src/include/linux/highmem.h:96:44: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kmap_local_folio' declared 'inline' /kisskb/src/include/linux/highmem.h:133:45: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'kmap_atomic' declared 'inline' /kisskb/src/include/linux/highmem.h:180:40: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'nr_free_highpages' declared 'inline' /kisskb/src/include/linux/highmem.h:183:1: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: warning: parameter 'totalhigh_pages' declared 'inline' /kisskb/src/include/linux/highmem.h:184:1: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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: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: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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/bvec.h:18:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/bvec.h:32:1: warning: empty declaration struct bio_vec { ^ /kisskb/src/include/linux/bvec.h:38:1: warning: empty declaration struct bvec_iter { ^ /kisskb/src/include/linux/bvec.h:49:1: warning: empty declaration 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 { ^ /kisskb/src/include/linux/bvec.h:262:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/bvec.h:269:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/writeback.h:13:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/blk_types.h:14:1: warning: empty declaration struct bio_set; ^ /kisskb/src/include/linux/blk_types.h:15:1: warning: empty declaration struct bio; ^ /kisskb/src/include/linux/blk_types.h:16:1: warning: empty declaration struct bio_integrity_payload; ^ /kisskb/src/include/linux/blk_types.h:17:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/blk_types.h:18:1: warning: empty declaration struct io_context; ^ /kisskb/src/include/linux/blk_types.h:19:1: warning: empty declaration 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: warning: empty declaration struct bio_crypt_ctx; ^ /kisskb/src/include/linux/blk_types.h:40:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct bio { ^ /kisskb/src/include/linux/blk_types.h:320:1: warning: empty declaration 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: warning: empty declaration enum req_op { ^ /kisskb/src/include/linux/blk_types.h:391:1: warning: empty declaration enum req_flag_bits { ^ /kisskb/src/include/linux/blk_types.h:461:1: warning: empty declaration 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: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/writeback.h:15:1: warning: empty declaration struct bio; ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/arm64/include/asm/percpu.h:249, from /kisskb/src/arch/arm64/include/asm/smp.h:28, from /kisskb/src/include/linux/smp.h:113, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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:101: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:101: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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/writeback.h:27:1: warning: empty declaration struct backing_dev_info; ^ /kisskb/src/include/linux/writeback.h:32:1: warning: empty declaration enum writeback_sync_modes { ^ /kisskb/src/include/linux/writeback.h:42:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/mempool.h:11:1: warning: empty declaration struct kmem_cache; ^ /kisskb/src/include/linux/mempool.h:13:17: error: storage class specified for parameter 'mempool_alloc_t' typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:14:15: error: storage class specified for parameter 'mempool_free_t' typedef void (mempool_free_t)(void *element, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:23:2: error: expected specifier-qualifier-list before 'mempool_alloc_t' mempool_alloc_t *alloc; ^ /kisskb/src/include/linux/mempool.h:26:3: error: storage class specified for parameter 'mempool_t' } mempool_t; ^ /kisskb/src/include/linux/mempool.h:28:40: error: expected declaration specifiers or '...' before 'mempool_t' static inline bool mempool_initialized(mempool_t *pool) ^ /kisskb/src/include/linux/mempool.h:33:19: error: expected declaration specifiers or '...' before 'mempool_t' void mempool_exit(mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:34:23: error: expected declaration specifiers or '...' before 'mempool_t' int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:34:52: error: expected declaration specifiers or '...' before 'mempool_alloc_t' int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:35:9: error: expected declaration specifiers or '...' before 'mempool_free_t' mempool_free_t *free_fn, void *pool_data, ^ /kisskb/src/include/linux/mempool.h:37:18: error: expected declaration specifiers or '...' before 'mempool_t' int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:37:47: error: expected declaration specifiers or '...' before 'mempool_alloc_t' int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:38:4: error: expected declaration specifiers or '...' before 'mempool_free_t' mempool_free_t *free_fn, void *pool_data); ^ /kisskb/src/include/linux/mempool.h:40:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:42:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, ^ /kisskb/src/include/linux/mempool.h:46:27: error: expected declaration specifiers or '...' before 'mempool_t' extern int mempool_resize(mempool_t *pool, int new_min_nr); ^ /kisskb/src/include/linux/mempool.h:47:29: error: expected declaration specifiers or '...' before 'mempool_t' extern void mempool_destroy(mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:48:28: error: expected declaration specifiers or '...' before 'mempool_t' extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc; ^ /kisskb/src/include/linux/mempool.h:49:41: error: expected declaration specifiers or '...' before 'mempool_t' extern void mempool_free(void *element, mempool_t *pool); ^ /kisskb/src/include/linux/mempool.h:60:24: error: expected declaration specifiers or '...' before 'mempool_t' mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) ^ /kisskb/src/include/linux/mempool.h:66:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t * ^ /kisskb/src/include/linux/mempool.h:80:45: error: expected declaration specifiers or '...' before 'mempool_t' static inline int mempool_init_kmalloc_pool(mempool_t *pool, int min_nr, size_t size) ^ /kisskb/src/include/linux/mempool.h:86:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t *mempool_create_kmalloc_pool(int min_nr, size_t size) ^ /kisskb/src/include/linux/mempool.h:99:42: error: expected declaration specifiers or '...' before 'mempool_t' static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) ^ /kisskb/src/include/linux/mempool.h:105:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token static inline mempool_t *mempool_create_page_pool(int min_nr, int order) ^ In file included from /kisskb/src/include/linux/writeback.h:208:0, from /kisskb/src/include/linux/memcontrol.h:22, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17: /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: warning: empty declaration 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: warning: empty declaration enum bip_flags { ^ /kisskb/src/include/linux/bio.h:325:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/memcontrol.h:25:1: warning: empty declaration struct mem_cgroup; ^ /kisskb/src/include/linux/memcontrol.h:26:1: warning: empty declaration struct obj_cgroup; ^ /kisskb/src/include/linux/memcontrol.h:27:1: warning: empty declaration struct page; ^ /kisskb/src/include/linux/memcontrol.h:28:1: warning: empty declaration struct mm_struct; ^ /kisskb/src/include/linux/memcontrol.h:29:1: warning: empty declaration struct kmem_cache; ^ /kisskb/src/include/linux/memcontrol.h:32:1: warning: empty declaration enum memcg_stat_item { ^ /kisskb/src/include/linux/memcontrol.h:43:1: warning: empty declaration 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: warning: empty declaration struct mem_cgroup_reclaim_cookie { ^ /kisskb/src/include/linux/memcontrol.h:68:2: error: expected specifier-qualifier-list before 'refcount_t' refcount_t ref; ^ /kisskb/src/include/linux/memcontrol.h:66:1: warning: empty declaration struct mem_cgroup_id { ^ /kisskb/src/include/linux/memcontrol.h:77:1: warning: empty declaration enum mem_cgroup_events_target { ^ /kisskb/src/include/linux/memcontrol.h:83:1: warning: empty declaration struct memcg_vmstats_percpu; ^ /kisskb/src/include/linux/memcontrol.h:84:1: warning: empty declaration struct memcg_vmstats; ^ /kisskb/src/include/linux/memcontrol.h:86:1: warning: empty declaration struct mem_cgroup_reclaim_iter { ^ /kisskb/src/include/linux/memcontrol.h:96:1: warning: empty declaration struct shrinker_info { ^ /kisskb/src/include/linux/memcontrol.h:102:1: warning: empty declaration struct lruvec_stats_percpu { ^ /kisskb/src/include/linux/memcontrol.h:110:1: warning: empty declaration struct lruvec_stats { ^ /kisskb/src/include/linux/memcontrol.h:121:1: warning: empty declaration struct mem_cgroup_per_node { ^ /kisskb/src/include/linux/memcontrol.h:141:1: warning: empty declaration struct mem_cgroup_threshold { ^ /kisskb/src/include/linux/memcontrol.h:147:1: warning: empty declaration struct mem_cgroup_threshold_ary { ^ /kisskb/src/include/linux/memcontrol.h:156:1: warning: empty declaration struct mem_cgroup_thresholds { ^ /kisskb/src/include/linux/memcontrol.h:177:1: warning: empty declaration struct memcg_cgwb_frn { ^ /kisskb/src/include/linux/memcontrol.h:190:1: warning: empty declaration struct obj_cgroup { ^ /kisskb/src/include/linux/memcontrol.h:206:1: warning: empty declaration 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: warning: empty declaration 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: warning: parameter 'folio_memcg_kmem' declared 'inline' /kisskb/src/include/linux/memcontrol.h:351:44: warning: '__gnu_inline__' attribute ignored [-Wattributes] 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:763: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: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: warning: empty declaration 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 { ^ /kisskb/src/include/linux/memcontrol.h:1854:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1859:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/memcontrol.h:1863:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ 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/arm64/kernel/asm-offsets.c:17: /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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/pagemap.h:19:1: warning: empty declaration 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: warning: empty declaration 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: warning: empty declaration struct wait_page_key { ^ /kisskb/src/include/linux/pagemap.h:865:2: error: expected specifier-qualifier-list before 'wait_queue_entry_t' wait_queue_entry_t wait; ^ /kisskb/src/include/linux/pagemap.h:862:1: warning: empty declaration 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:1090:48: error: expected declaration specifiers or '...' before 'wait_queue_entry_t' void folio_add_wait_queue(struct folio *folio, wait_queue_entry_t *waiter); ^ /kisskb/src/include/linux/pagemap.h:1139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/pagemap.h:1164:1: warning: empty declaration 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/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/uapi/linux/mempolicy.h:19:1: warning: empty declaration enum { ^ In file included from /kisskb/src/include/linux/suspend.h:5:0, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17: /kisskb/src/include/linux/swap.h:19:1: warning: empty declaration struct notifier_block; ^ /kisskb/src/include/linux/swap.h:21:1: warning: empty declaration struct bio; ^ /kisskb/src/include/linux/swap.h:23:1: warning: empty declaration 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: warning: empty declaration union swap_header { ^ /kisskb/src/include/linux/swap.h:163:1: warning: empty declaration struct reclaim_state { ^ /kisskb/src/include/linux/swap.h:173:1: warning: empty declaration struct address_space; ^ /kisskb/src/include/linux/swap.h:174:1: warning: empty declaration struct sysinfo; ^ /kisskb/src/include/linux/swap.h:175:1: warning: empty declaration struct writeback_control; ^ /kisskb/src/include/linux/swap.h:176:1: warning: empty declaration struct zone; ^ /kisskb/src/include/linux/swap.h:186:1: warning: empty declaration struct swap_extent { ^ /kisskb/src/include/linux/swap.h:200:1: warning: empty declaration enum { ^ /kisskb/src/include/linux/swap.h:243:1: warning: empty declaration struct swap_cluster_info { ^ /kisskb/src/include/linux/swap.h:262:1: warning: empty declaration struct percpu_cluster { ^ /kisskb/src/include/linux/swap.h:267:1: warning: empty declaration struct swap_cluster_list { ^ /kisskb/src/include/linux/swap.h:275:1: warning: empty declaration struct swap_info_struct { ^ /kisskb/src/include/linux/swap.h:341:1: warning: empty declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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: warning: parameter names (without types) in function declaration 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: warning: empty declaration 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: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/arch/arm64/include/asm/lse.h:13:0, from /kisskb/src/arch/arm64/include/asm/cmpxchg.h:14, from /kisskb/src/arch/arm64/include/asm/atomic.h:16, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/of.h:15, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/kernel/asm-offsets.c:17: /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/arm64/kernel/asm-offsets.c:17: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: warning: empty declaration enum suspend_stat_step { ^ /kisskb/src/include/linux/suspend.h:54:1: warning: empty declaration 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: warning: empty declaration struct platform_suspend_ops { ^ /kisskb/src/include/linux/suspend.h:190:1: warning: empty declaration 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: warning: empty declaration 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: warning: '__cold__' attribute ignored [-Wattributes] extern void __init pm_states_init(void); ^ /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: warning: empty declaration 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: warning: empty declaration 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:604:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void queue_up_suspend_work(void) {} ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:22:0: /kisskb/src/arch/arm64/include/asm/signal32.h:13:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t trap_no; ^ /kisskb/src/arch/arm64/include/asm/signal32.h:11:1: warning: empty declaration struct compat_sigcontext { ^ /kisskb/src/arch/arm64/include/asm/signal32.h:38:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t uc_flags; ^ /kisskb/src/arch/arm64/include/asm/signal32.h:37:1: warning: empty declaration struct compat_ucontext { ^ /kisskb/src/arch/arm64/include/asm/signal32.h:49:2: error: expected specifier-qualifier-list before 'compat_ulong_t' compat_ulong_t retcode[2]; ^ /kisskb/src/arch/arm64/include/asm/signal32.h:47:1: warning: empty declaration struct compat_sigframe { ^ /kisskb/src/arch/arm64/include/asm/signal32.h:52:1: warning: empty declaration struct compat_rt_sigframe { ^ /kisskb/src/arch/arm64/include/asm/signal32.h:57:56: error: expected declaration specifiers or '...' before 'sigset_t' int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set, ^ /kisskb/src/arch/arm64/include/asm/signal32.h:59:59: error: expected declaration specifiers or '...' before 'sigset_t' int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:24:0: /kisskb/src/arch/arm64/include/asm/suspend.h:12:1: warning: empty declaration struct cpu_suspend_ctx { ^ /kisskb/src/arch/arm64/include/asm/suspend.h:33:1: warning: empty declaration struct sleep_stack_data { ^ /kisskb/src/arch/arm64/include/asm/suspend.h:38:23: error: storage class specified for parameter 'sleep_save_stash' extern unsigned long *sleep_save_stash; ^ /kisskb/src/arch/arm64/include/asm/suspend.h:40:12: error: storage class specified for parameter 'cpu_suspend' extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); ^ /kisskb/src/arch/arm64/include/asm/suspend.h:41:13: error: storage class specified for parameter 'cpu_resume' extern void cpu_resume(void); ^ /kisskb/src/arch/arm64/include/asm/suspend.h:46:5: error: redefinition of parameter 'swsusp_arch_suspend' int swsusp_arch_suspend(void); ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17:0: /kisskb/src/include/linux/suspend.h:439:23: note: previous definition of 'swsusp_arch_suspend' was here extern asmlinkage int swsusp_arch_suspend(void); ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:24:0: /kisskb/src/arch/arm64/include/asm/suspend.h:47:5: error: redefinition of parameter 'swsusp_arch_resume' int swsusp_arch_resume(void); ^ In file included from /kisskb/src/arch/arm64/kernel/asm-offsets.c:17:0: /kisskb/src/include/linux/suspend.h:440:23: note: previous definition of 'swsusp_arch_resume' was here extern asmlinkage int swsusp_arch_resume(void); ^ /kisskb/src/arch/arm64/kernel/asm-offsets.c:29: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/arch/arm64/include/asm/pointer_auth.h:7, from /kisskb/src/arch/arm64/include/asm/processor.h:43, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /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/arm64/kernel/asm-offsets.c:185:1: error: expected '{' at end of input } ^ /kisskb/src/arch/arm64/kernel/asm-offsets.c:185:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:118: arch/arm64/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1273: prepare0] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 8 ARCH=arm64 O=/kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_arm64-defconfig_arm64-gcc5 # Build took: 0:00:14.705648