# git rev-parse -q --verify 1c6c4f42b3de4f18ea96d62950d0e266ca35a055^{commit} 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 already have revision, skipping fetch # git checkout -q -f -B kisskb 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # git clean -qxdf # < git log -1 # commit 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # Merge: d09d23fd51c2 ed744ecc49d4 # Author: Mark Brown # Date: Thu Sep 29 18:14:23 2022 +0100 # # Add linux-next specific files for 20220929 # # Signed-off-by: Mark Brown # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 # < make -s -j 24 ARCH=sparc64 O=/kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=sparc64 O=/kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 24 ARCH=sparc64 O=/kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 24 ARCH=sparc64 O=/kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-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/hrtimer.h:19:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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/hrtimer.h:19:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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/hrtimer.h:20:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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:96:57: error: type defaults to 'int' in declaration of 'seqcount_t' [-Werror=implicit-int] static inline void seqcount_lockdep_reader_access(const seqcount_t *s) ^ /kisskb/src/include/linux/seqlock.h:96:68: error: expected ';', ',' or ')' before '*' token static inline void seqcount_lockdep_reader_access(const seqcount_t *s) ^ /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/hrtimer.h:22:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/timerqueue.h:9:1: error: empty declaration [-Werror] struct timerqueue_node { ^ /kisskb/src/include/linux/timerqueue.h:14:1: error: empty declaration [-Werror] struct timerqueue_head { ^ /kisskb/src/include/linux/timerqueue.h:19:13: error: storage class specified for parameter 'timerqueue_add' extern bool timerqueue_add(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:21:13: error: storage class specified for parameter 'timerqueue_del' extern bool timerqueue_del(struct timerqueue_head *head, ^ /kisskb/src/include/linux/timerqueue.h:23:32: error: storage class specified for parameter 'timerqueue_iterate_next' extern struct timerqueue_node *timerqueue_iterate_next( ^ /kisskb/src/include/linux/timerqueue.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/timerqueue.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/hrtimer.h:24:1: error: empty declaration [-Werror] struct hrtimer_clock_base; ^ /kisskb/src/include/linux/hrtimer.h:25:1: error: empty declaration [-Werror] struct hrtimer_cpu_base; ^ /kisskb/src/include/linux/hrtimer.h:39:1: error: empty declaration [-Werror] enum hrtimer_mode { ^ /kisskb/src/include/linux/hrtimer.h:65:1: error: empty declaration [-Werror] enum hrtimer_restart { ^ /kisskb/src/include/linux/hrtimer.h:118:1: error: empty declaration [-Werror] struct hrtimer { ^ /kisskb/src/include/linux/hrtimer.h:136:1: error: empty declaration [-Werror] struct hrtimer_sleeper { ^ /kisskb/src/include/linux/hrtimer.h: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: error: empty declaration [-Werror] struct hrtimer_clock_base { ^ /kisskb/src/include/linux/hrtimer.h:170:1: error: empty declaration [-Werror] enum hrtimer_base_type { ^ /kisskb/src/include/linux/hrtimer.h:214:1: error: empty declaration [-Werror] struct hrtimer_cpu_base { ^ /kisskb/src/include/linux/hrtimer.h:241:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:253:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:259:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:265:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:271:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:291:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:301:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:306:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:311:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:317:1: error: empty declaration [-Werror] struct clock_event_device; ^ /kisskb/src/include/linux/hrtimer.h:319:13: error: storage class specified for parameter 'hrtimer_interrupt' extern void hrtimer_interrupt(struct clock_event_device *dev); ^ /kisskb/src/include/linux/hrtimer.h:321:21: error: storage class specified for parameter 'hrtimer_resolution' extern unsigned int hrtimer_resolution; ^ /kisskb/src/include/linux/hrtimer.h:331:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:351:13: error: storage class specified for parameter 'timerfd_clock_was_set' extern void timerfd_clock_was_set(void); ^ /kisskb/src/include/linux/hrtimer.h:352:13: error: storage class specified for parameter 'timerfd_resume' extern void timerfd_resume(void); ^ In file included from /kisskb/src/include/asm-generic/percpu.h:7:0, from /kisskb/src/arch/sparc/include/asm/percpu_64.h:25, from /kisskb/src/arch/sparc/include/asm/percpu.h:5, from /kisskb/src/include/linux/irqflags.h:17, from /kisskb/src/include/asm-generic/cmpxchg-local.h:6, from /kisskb/src/arch/sparc/include/asm/cmpxchg_64.h:111, from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:5, from /kisskb/src/arch/sparc/include/asm/atomic_64.h:12, from /kisskb/src/arch/sparc/include/asm/atomic.h:5, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_64.h:52, from /kisskb/src/arch/sparc/include/asm/bitops.h:5, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/thread_info.h:27, from /kisskb/src/arch/sparc/include/asm/current.h:15, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/percpu-defs.h:87:33: error: storage class specified for parameter '__pcpu_scope_tick_cpu_device' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:87:33: error: section attribute not allowed for '__pcpu_scope_tick_cpu_device' extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \ ^ /kisskb/src/include/linux/percpu-defs.h:112:2: note: in expansion of macro 'DECLARE_PER_CPU_SECTION' DECLARE_PER_CPU_SECTION(type, name, "") ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/hrtimer.h:358:37: error: storage class specified for parameter 'tick_cpu_device' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/hrtimer.h:358:37: error: section attribute not allowed for 'tick_cpu_device' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ /kisskb/src/include/linux/percpu-defs.h:88:44: note: in definition of macro 'DECLARE_PER_CPU_SECTION' extern __PCPU_ATTRS(sec) __typeof__(type) name ^ /kisskb/src/include/linux/hrtimer.h:358:1: note: in expansion of macro 'DECLARE_PER_CPU' DECLARE_PER_CPU(struct tick_device, tick_cpu_device); ^ In file included from /kisskb/src/include/linux/sched.h:20:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/hrtimer.h:364:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:372:13: error: storage class specified for parameter 'hrtimer_init' extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock, ^ /kisskb/src/include/linux/hrtimer.h:374:13: error: storage class specified for parameter 'hrtimer_init_sleeper' extern void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, ^ /kisskb/src/include/linux/hrtimer.h:378:13: error: storage class specified for parameter 'hrtimer_init_on_stack' extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock, ^ /kisskb/src/include/linux/hrtimer.h:380:13: error: storage class specified for parameter 'hrtimer_init_sleeper_on_stack' extern void hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, ^ /kisskb/src/include/linux/hrtimer.h:384:13: error: storage class specified for parameter 'destroy_hrtimer_on_stack' extern void destroy_hrtimer_on_stack(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:404:13: error: storage class specified for parameter 'hrtimer_start_range_ns' extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, ^ /kisskb/src/include/linux/hrtimer.h:417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:421:12: error: storage class specified for parameter 'hrtimer_cancel' extern int hrtimer_cancel(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:422:12: error: storage class specified for parameter 'hrtimer_try_to_cancel' extern int hrtimer_try_to_cancel(struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:439:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:444:16: error: storage class specified for parameter '__hrtimer_get_remaining' extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust); ^ /kisskb/src/include/linux/hrtimer.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:455:12: error: storage class specified for parameter 'hrtimer_get_next_event' extern u64 hrtimer_get_next_event(void); ^ /kisskb/src/include/linux/hrtimer.h:456:12: error: storage class specified for parameter 'hrtimer_next_event_without' extern u64 hrtimer_next_event_without(const struct hrtimer *exclude); ^ /kisskb/src/include/linux/hrtimer.h:458:13: error: storage class specified for parameter 'hrtimer_active' extern bool hrtimer_active(const struct hrtimer *timer); ^ /kisskb/src/include/linux/hrtimer.h:469:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:479:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:485:1: error: storage class specified for parameter 'hrtimer_forward' hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); ^ /kisskb/src/include/linux/hrtimer.h:505:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/hrtimer.h:511:12: error: storage class specified for parameter 'nanosleep_copyout' extern int nanosleep_copyout(struct restart_block *, struct timespec64 *); ^ /kisskb/src/include/linux/hrtimer.h:512:13: error: storage class specified for parameter 'hrtimer_nanosleep' extern long hrtimer_nanosleep(ktime_t rqtp, const enum hrtimer_mode mode, ^ /kisskb/src/include/linux/hrtimer.h:515:12: error: storage class specified for parameter 'schedule_hrtimeout_range' extern int schedule_hrtimeout_range(ktime_t *expires, u64 delta, ^ /kisskb/src/include/linux/hrtimer.h:517:12: error: storage class specified for parameter 'schedule_hrtimeout_range_clock' extern int schedule_hrtimeout_range_clock(ktime_t *expires, ^ /kisskb/src/include/linux/hrtimer.h:521:12: error: storage class specified for parameter 'schedule_hrtimeout' extern int schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode); ^ /kisskb/src/include/linux/hrtimer.h:524:13: error: storage class specified for parameter 'hrtimer_run_queues' extern void hrtimer_run_queues(void); ^ /kisskb/src/include/linux/hrtimer.h:527:20: error: storage class specified for parameter 'hrtimers_init' extern void __init hrtimers_init(void); ^ /kisskb/src/include/linux/hrtimer.h:527:20: error: section attribute not allowed for 'hrtimers_init' /kisskb/src/include/linux/hrtimer.h:527:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init hrtimers_init(void); ^ /kisskb/src/include/linux/hrtimer.h:530:13: error: storage class specified for parameter 'sysrq_timer_list_show' extern void sysrq_timer_list_show(void); ^ In file included from /kisskb/src/include/linux/seccomp.h:5:0, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/linux/seccomp.h:62:1: error: empty declaration [-Werror] struct seccomp_data { ^ /kisskb/src/include/uapi/linux/seccomp.h:69:1: error: empty declaration [-Werror] struct seccomp_notif_sizes { ^ /kisskb/src/include/uapi/linux/seccomp.h:75:1: error: empty declaration [-Werror] struct seccomp_notif { ^ /kisskb/src/include/uapi/linux/seccomp.h:111:1: error: empty declaration [-Werror] struct seccomp_notif_resp { ^ /kisskb/src/include/uapi/linux/seccomp.h:130:1: error: empty declaration [-Werror] struct seccomp_notif_addfd { ^ In file included from /kisskb/src/arch/sparc/include/asm/seccomp.h:9:0, from /kisskb/src/include/linux/seccomp.h:22, from /kisskb/src/include/linux/sched.h:22, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/asm-generic/seccomp.h:32:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:22:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/seccomp.h:24:1: error: empty declaration [-Werror] struct seccomp_filter; ^ /kisskb/src/include/linux/seccomp.h:36:1: error: empty declaration [-Werror] struct seccomp { ^ /kisskb/src/include/linux/seccomp.h:51:13: error: storage class specified for parameter 'secure_computing_strict' extern void secure_computing_strict(int this_syscall); ^ /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:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/seccomp.h:102:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /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/uapi/linux/random.h:13:0, from /kisskb/src/include/linux/random.h:11, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/irqnr.h:8:12: error: storage class specified for parameter 'nr_irqs' extern int nr_irqs; ^ /kisskb/src/include/linux/irqnr.h:9:25: error: storage class specified for parameter 'irq_to_desc' extern struct irq_desc *irq_to_desc(unsigned int irq); ^ In file included from /kisskb/src/include/linux/random.h:11:0, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/linux/random.h:41:1: error: empty declaration [-Werror] struct rand_pool_info { ^ In file included from /kisskb/src/include/linux/nodemask.h:97:0, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/random.h:13:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/random.h:16:13: error: section attribute not allowed for 'add_bootloader_randomness' void __init add_bootloader_randomness(const void *buf, size_t len); ^ /kisskb/src/include/linux/random.h:16:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init add_bootloader_randomness(const void *buf, size_t len); ^ /kisskb/src/include/linux/random.h:28:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void add_latent_entropy(void) { } ^ /kisskb/src/include/linux/random.h:36:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int register_random_vmfork_notifier(struct notifier_block *nb) { return 0; } ^ /kisskb/src/include/linux/random.h:37:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int unregister_random_vmfork_notifier(struct notifier_block *nb) { return 0; } ^ /kisskb/src/include/linux/random.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:77:13: error: section attribute not allowed for 'random_init_early' void __init random_init_early(const char *command_line); ^ /kisskb/src/include/linux/random.h:77:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init random_init_early(const char *command_line); ^ /kisskb/src/include/linux/random.h:78:13: error: section attribute not allowed for 'random_init' void __init random_init(void); ^ /kisskb/src/include/linux/random.h:78:1: error: '__cold__' attribute ignored [-Werror=attributes] void __init random_init(void); ^ /kisskb/src/include/linux/random.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:92:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int get_random_ ## name ## _wait(ret_type *out) { \ ^ /kisskb/src/include/linux/random.h:99:1: note: in expansion of macro 'declare_get_random_var_wait' declare_get_random_var_wait(u32, u32) ^ /kisskb/src/include/linux/random.h:92:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int get_random_ ## name ## _wait(ret_type *out) { \ ^ /kisskb/src/include/linux/random.h:100:1: note: in expansion of macro 'declare_get_random_var_wait' declare_get_random_var_wait(u64, u32) ^ /kisskb/src/include/linux/random.h:92:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int get_random_ ## name ## _wait(ret_type *out) { \ ^ /kisskb/src/include/linux/random.h:101:1: note: in expansion of macro 'declare_get_random_var_wait' declare_get_random_var_wait(int, unsigned int) ^ /kisskb/src/include/linux/random.h:92:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline int get_random_ ## name ## _wait(ret_type *out) { \ ^ /kisskb/src/include/linux/random.h:102:1: note: in expansion of macro 'declare_get_random_var_wait' declare_get_random_var_wait(long, unsigned long) ^ In file included from /kisskb/src/include/linux/random.h:110:0, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/prandom.h:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:25:1: error: empty declaration [-Werror] struct rnd_state { ^ /kisskb/src/include/linux/prandom.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:57:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:67:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/prandom.h:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from ./arch/sparc/include/generated/asm/archrandom.h:1:0, from /kisskb/src/include/linux/random.h:112, from /kisskb/src/include/linux/nodemask.h:97, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/asm-generic/archrandom.h:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/asm-generic/archrandom.h:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/nodemask.h:97:0, from /kisskb/src/include/linux/sched.h:23, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/random.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/random.h:140:37: error: storage class specified for parameter 'random_fops' extern const struct file_operations random_fops, urandom_fops; ^ /kisskb/src/include/linux/random.h:140:50: error: storage class specified for parameter 'urandom_fops' extern const struct file_operations random_fops, urandom_fops; ^ In file included from /kisskb/src/include/linux/sched.h:23:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/nodemask.h:99:56: error: storage class specified for parameter 'nodemask_t' typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; ^ /kisskb/src/include/linux/nodemask.h:100:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_unused_nodemask_arg_' extern nodemask_t _unused_nodemask_arg_; ^ /kisskb/src/include/linux/nodemask.h:110:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:110:68: error: expected ';', ',' or ')' before '*' token static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:114:61: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:114:72: error: expected ';', ',' or ')' before '*' token static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) ^ /kisskb/src/include/linux/nodemask.h:129:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static __always_inline void __node_set(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:129:70: error: expected ';', ',' or ')' before '*' token static __always_inline void __node_set(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:135:52: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __node_clear(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:135:63: error: expected ';', ',' or ')' before '*' token static inline void __node_clear(int node, volatile nodemask_t *dstp) ^ /kisskb/src/include/linux/nodemask.h:141:35: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:147:34: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:157:50: error: expected declaration specifiers or '...' before 'nodemask_t' static inline bool __node_test_and_set(int node, nodemask_t *addr) ^ /kisskb/src/include/linux/nodemask.h:164:32: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:164:56: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:164:67: error: expected ';', ',' or ')' before '*' token static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:31: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:55: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:172:66: error: expected ';', ',' or ')' before '*' token static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:32: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:56: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:180:67: error: expected ';', ',' or ')' before '*' token static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:35: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:188:70: error: expected ';', ',' or ')' before '*' token static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:196:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_complement(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:197:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:197:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:204:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_equal(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:204:51: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_equal(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:212:45: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_intersects(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:212:56: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_intersects(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:220:41: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_subset(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:220:52: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_subset(const nodemask_t *src1p, ^ /kisskb/src/include/linux/nodemask.h:227:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:227:51: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:233:39: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:233:50: error: expected ';', ',' or ')' before '*' token static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:239:40: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:239:51: error: expected ';', ',' or ')' before '*' token static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) ^ /kisskb/src/include/linux/nodemask.h:246:40: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_shift_right(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:247:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:247:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:254:39: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_shift_left(nodemask_t *dstp, ^ /kisskb/src/include/linux/nodemask.h:255:12: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:255:23: error: expected ';', ',' or ')' before '*' token const nodemask_t *srcp, int n, int nbits) ^ /kisskb/src/include/linux/nodemask.h:264:47: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __first_node(const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:264:58: error: expected ';', ',' or ')' before '*' token static inline unsigned int __first_node(const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:270:53: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __next_node(int n, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:270:64: error: expected ';', ',' or ')' before '*' token static inline unsigned int __next_node(int n, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:280:59: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __next_node_in(int node, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:280:70: error: expected ';', ',' or ')' before '*' token static inline unsigned int __next_node_in(int node, const nodemask_t *srcp) ^ /kisskb/src/include/linux/nodemask.h:289:42: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void init_nodemask_of_node(nodemask_t *mask, int node) ^ /kisskb/src/include/linux/nodemask.h:307:53: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline unsigned int __first_unset_node(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:307:64: error: expected ';', ',' or ')' before '*' token static inline unsigned int __first_unset_node(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:342:6: error: expected declaration specifiers or '...' before 'nodemask_t' nodemask_t *dstp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:348:53: error: expected declaration specifiers or '...' before 'nodemask_t' static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:356:9: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] const nodemask_t *oldp, const nodemask_t *newp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:356:20: error: expected ';', ',' or ')' before '*' token const nodemask_t *oldp, const nodemask_t *newp, int nbits) ^ /kisskb/src/include/linux/nodemask.h:363:34: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:363:58: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:363:69: error: expected ';', ',' or ')' before '*' token static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, ^ /kisskb/src/include/linux/nodemask.h:371:33: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:371:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:371:68: error: expected ';', ',' or ')' before '*' token static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:33: error: expected declaration specifiers or '...' before 'nodemask_t' static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:57: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:379:68: error: expected ';', ',' or ')' before '*' token static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, ^ /kisskb/src/include/linux/nodemask.h:398:1: error: empty declaration [-Werror] enum node_states { ^ /kisskb/src/include/linux/nodemask.h:418:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'node_states' extern nodemask_t node_states[NR_NODE_STATES]; ^ /kisskb/src/include/linux/nodemask.h:422:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:432:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:437:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:447:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:455:21: error: storage class specified for parameter 'nr_node_ids' extern unsigned int nr_node_ids; ^ /kisskb/src/include/linux/nodemask.h:456:21: error: storage class specified for parameter 'nr_online_nodes' extern unsigned int nr_online_nodes; ^ /kisskb/src/include/linux/nodemask.h:459:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/nodemask.h:505:37: error: type defaults to 'int' in declaration of 'nodemask_t' [-Werror=implicit-int] static inline int node_random(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:505:48: error: expected ';', ',' or ')' before '*' token static inline int node_random(const nodemask_t *maskp) ^ /kisskb/src/include/linux/nodemask.h:555:2: error: expected specifier-qualifier-list before 'nodemask_t' nodemask_t mask1; ^ /kisskb/src/include/linux/nodemask.h:554:1: error: empty declaration [-Werror] struct nodemask_scratch { ^ In file included from /kisskb/src/include/linux/resource.h:5:0, from /kisskb/src/include/linux/sched.h:26, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/linux/resource.h:24:1: error: empty declaration [-Werror] struct rusage { ^ /kisskb/src/include/uapi/linux/resource.h:43:1: error: empty declaration [-Werror] struct rlimit { ^ /kisskb/src/include/uapi/linux/resource.h:50:1: error: empty declaration [-Werror] struct rlimit64 { ^ In file included from /kisskb/src/include/linux/sched.h:26:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/resource.h:8:1: error: empty declaration [-Werror] struct task_struct; ^ In file included from /kisskb/src/include/linux/sched.h:27:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/latencytop.h:14:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/latencytop.h:21:1: error: empty declaration [-Werror] struct latency_record { ^ /kisskb/src/include/linux/latencytop.h:30:12: error: storage class specified for parameter 'latencytop_enabled' extern int latencytop_enabled; ^ /kisskb/src/include/linux/latencytop.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:28:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/sched/prio.h:33:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched/prio.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:29:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/sched/types.h:17:1: error: empty declaration [-Werror] struct task_cputime { ^ In file included from /kisskb/src/include/linux/personality.h:5:0, from /kisskb/src/arch/sparc/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/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/linux/personality.h:11:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/uapi/linux/personality.h:42:1: error: empty declaration [-Werror] enum { ^ In file included from /kisskb/src/arch/sparc/include/uapi/asm/signal.h:5:0, from /kisskb/src/arch/sparc/include/asm/signal.h:9, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/arch/sparc/include/asm/sigcontext.h:13:1: error: empty declaration [-Werror] struct sigcontext32 { ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:47:3: error: storage class specified for parameter '__siginfo32_t' } __siginfo32_t; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:54:3: error: storage class specified for parameter '__siginfo_reg_window' } __siginfo_reg_window; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:58:2: error: expected specifier-qualifier-list before '__siginfo_reg_window' __siginfo_reg_window reg_window[__SIGC_MAXWIN]; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:60:3: error: storage class specified for parameter '__siginfo_rwin_t' } __siginfo_rwin_t; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:68:3: error: storage class specified for parameter '__siginfo_fpu_t' } __siginfo_fpu_t; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:83:2: error: expected specifier-qualifier-list before '__siginfo_fpu_t' __siginfo_fpu_t * sigc_fpu_save; ^ /kisskb/src/arch/sparc/include/asm/sigcontext.h:72:1: error: empty declaration [-Werror] struct sigcontext { ^ In file included from /kisskb/src/arch/sparc/include/asm/signal.h:9:0, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/arch/sparc/include/uapi/asm/signal.h:97:25: error: storage class specified for parameter 'old_sigset_t' #define __old_sigset_t old_sigset_t ^ /kisskb/src/arch/sparc/include/uapi/asm/signal.h:110:23: note: in expansion of macro '__old_sigset_t' typedef unsigned long __old_sigset_t; /* at least 32 bits */ ^ /kisskb/src/arch/sparc/include/uapi/asm/signal.h:94:25: error: storage class specified for parameter 'sigset_t' #define __new_sigset_t sigset_t ^ /kisskb/src/arch/sparc/include/uapi/asm/signal.h:114:3: note: in expansion of macro '__new_sigset_t' } __new_sigset_t; ^ /kisskb/src/arch/sparc/include/uapi/asm/signal.h:117:1: error: empty declaration [-Werror] struct sigstack { ^ In file included from /kisskb/src/arch/sparc/include/uapi/asm/signal.h:153:0, from /kisskb/src/arch/sparc/include/asm/signal.h:9, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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/arch/sparc/include/asm/signal.h:9:0, from /kisskb/src/include/uapi/linux/signal.h:5, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/arch/sparc/include/uapi/asm/signal.h:176:3: error: storage class specified for parameter 'stack_t' } stack_t; ^ In file included from /kisskb/src/arch/sparc/include/uapi/asm/siginfo.h:11:0, from /kisskb/src/include/uapi/linux/signal.h:6, from /kisskb/src/include/linux/signal_types.h:10, from /kisskb/src/include/linux/sched.h:30, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/asm-generic/siginfo.h:11:3: error: storage class specified for parameter 'sigval_t' } sigval_t; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:48:3: error: expected specifier-qualifier-list before 'sigval_t' sigval_t _sigval; /* same as below */ ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:56:3: error: expected specifier-qualifier-list before 'sigval_t' sigval_t _sigval; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:37:1: error: empty declaration [-Werror] union __sifields { ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:144:24: error: storage class specified for parameter 'siginfo_t' } __ARCH_SI_ATTRIBUTES siginfo_t; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:341:2: error: expected specifier-qualifier-list before 'sigval_t' sigval_t sigev_value; ^ /kisskb/src/include/uapi/asm-generic/siginfo.h:353:3: error: storage class specified for parameter 'sigevent_t' } sigevent_t; ^ In file included from /kisskb/src/include/linux/sched.h:30:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/signal_types.h:14:3: error: storage class specified for parameter 'kernel_siginfo_t' } kernel_siginfo_t; ^ /kisskb/src/include/linux/signal_types.h:16:1: error: empty declaration [-Werror] struct ucounts; ^ /kisskb/src/include/linux/signal_types.h:25:2: error: expected specifier-qualifier-list before 'kernel_siginfo_t' kernel_siginfo_t info; ^ /kisskb/src/include/linux/signal_types.h:22:1: error: empty declaration [-Werror] struct sigqueue { ^ /kisskb/src/include/linux/signal_types.h:34:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t signal; ^ /kisskb/src/include/linux/signal_types.h:32:1: error: empty declaration [-Werror] struct sigpending { ^ /kisskb/src/include/linux/signal_types.h:39:2: error: unknown type name '__sighandler_t' __sighandler_t sa_handler; ^ /kisskb/src/include/linux/signal_types.h:46:2: error: unknown type name '__sigrestore_t' __sigrestore_t sa_restorer; ^ /kisskb/src/include/linux/signal_types.h:48:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t sa_mask; /* mask last for extensibility */ ^ /kisskb/src/include/linux/signal_types.h:37:1: error: empty declaration [-Werror] struct sigaction { ^ /kisskb/src/include/linux/signal_types.h:54:2: error: unknown type name '__sigrestore_t' __sigrestore_t ka_restorer; ^ /kisskb/src/include/linux/signal_types.h:51:1: error: empty declaration [-Werror] struct k_sigaction { ^ /kisskb/src/include/linux/signal_types.h:69:2: error: expected specifier-qualifier-list before 'kernel_siginfo_t' kernel_siginfo_t info; ^ /kisskb/src/include/linux/signal_types.h:67:1: error: empty declaration [-Werror] struct ksignal { ^ In file included from /kisskb/src/include/linux/sched.h:31:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/syscall_user_dispatch.h:26:1: error: empty declaration [-Werror] struct syscall_user_dispatch {}; ^ /kisskb/src/include/linux/syscall_user_dispatch.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/syscall_user_dispatch.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/sched.h:32:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/mm_types_task.h:31:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/mm_types_task.h:42:1: error: empty declaration [-Werror] struct task_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:48:1: error: empty declaration [-Werror] struct mm_rss_stat { ^ /kisskb/src/include/linux/mm_types_task.h:52:1: error: empty declaration [-Werror] struct page_frag { ^ /kisskb/src/include/linux/mm_types_task.h:64:1: error: empty declaration [-Werror] struct tlbflush_unmap_batch { ^ In file included from /kisskb/src/include/linux/sched.h:33:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/task_io_accounting.h:12:1: error: empty declaration [-Werror] struct task_io_accounting { ^ In file included from /kisskb/src/include/linux/posix-timers.h:7:0, from /kisskb/src/include/linux/sched.h:34, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/alarmtimer.h:9:1: error: empty declaration [-Werror] struct rtc_device; ^ /kisskb/src/include/linux/alarmtimer.h:11:1: error: empty declaration [-Werror] enum alarmtimer_type { ^ /kisskb/src/include/linux/alarmtimer.h:23:1: error: empty declaration [-Werror] enum alarmtimer_restart { ^ /kisskb/src/include/linux/alarmtimer.h:42:1: error: empty declaration [-Werror] struct alarm { ^ In file included from /kisskb/src/include/linux/sched.h:34:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/posix-timers.h:10:1: error: empty declaration [-Werror] struct kernel_siginfo; ^ /kisskb/src/include/linux/posix-timers.h:11:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/posix-timers.h:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:69:1: error: empty declaration [-Werror] struct cpu_timer { ^ /kisskb/src/include/linux/posix-timers.h:79:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:100:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:105:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:114:1: error: empty declaration [-Werror] struct posix_cputimer_base { ^ /kisskb/src/include/linux/posix-timers.h:129:1: error: empty declaration [-Werror] struct posix_cputimers { ^ /kisskb/src/include/linux/posix-timers.h:140:1: error: empty declaration [-Werror] struct posix_cputimers_work { ^ /kisskb/src/include/linux/posix-timers.h:146:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/posix-timers.h:189:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void clear_posix_cputimers_work(struct task_struct *p) { } ^ /kisskb/src/include/linux/posix-timers.h:190:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void posix_cputimers_init_work(void) { } ^ /kisskb/src/include/linux/posix-timers.h:218:1: error: empty declaration [-Werror] struct k_itimer { ^ In file included from /kisskb/src/include/linux/sched.h:35:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/uapi/linux/rseq.h:16:1: error: empty declaration [-Werror] enum rseq_cpu_id_state { ^ /kisskb/src/include/uapi/linux/rseq.h:21:1: error: empty declaration [-Werror] enum rseq_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:25:1: error: empty declaration [-Werror] enum rseq_cs_flags_bit { ^ /kisskb/src/include/uapi/linux/rseq.h:31:1: error: empty declaration [-Werror] enum rseq_cs_flags { ^ /kisskb/src/include/uapi/linux/rseq.h:45:1: error: empty declaration [-Werror] struct rseq_cs { ^ /kisskb/src/include/uapi/linux/rseq.h:62:1: error: empty declaration [-Werror] struct rseq { ^ In file included from /kisskb/src/include/linux/sched.h:37:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/kcsan.h:71:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void kcsan_init(void) { } ^ In file included from /kisskb/src/include/linux/sched.h:38:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /kisskb/src/include/linux/rv.h:16:1: error: empty declaration [-Werror] struct da_monitor { ^ /kisskb/src/include/linux/rv.h:33:1: error: empty declaration [-Werror] union rv_task_monitor { ^ /kisskb/src/include/linux/rv.h:38:1: error: empty declaration [-Werror] struct rv_reactor { ^ /kisskb/src/include/linux/rv.h:45:1: error: empty declaration [-Werror] struct rv_monitor { ^ In file included from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14:0: /kisskb/src/include/linux/sched.h:42:1: error: empty declaration [-Werror] struct audit_context; ^ /kisskb/src/include/linux/sched.h:43:1: error: empty declaration [-Werror] struct backing_dev_info; ^ /kisskb/src/include/linux/sched.h:44:1: error: empty declaration [-Werror] struct bio_list; ^ /kisskb/src/include/linux/sched.h:45:1: error: empty declaration [-Werror] struct blk_plug; ^ /kisskb/src/include/linux/sched.h:46:1: error: empty declaration [-Werror] struct bpf_local_storage; ^ /kisskb/src/include/linux/sched.h:47:1: error: empty declaration [-Werror] struct bpf_run_ctx; ^ /kisskb/src/include/linux/sched.h:48:1: error: empty declaration [-Werror] struct capture_control; ^ /kisskb/src/include/linux/sched.h:49:1: error: empty declaration [-Werror] struct cfs_rq; ^ /kisskb/src/include/linux/sched.h:50:1: error: empty declaration [-Werror] struct fs_struct; ^ /kisskb/src/include/linux/sched.h:51:1: error: empty declaration [-Werror] struct futex_pi_state; ^ /kisskb/src/include/linux/sched.h:52:1: error: empty declaration [-Werror] struct io_context; ^ /kisskb/src/include/linux/sched.h:53:1: error: empty declaration [-Werror] struct io_uring_task; ^ /kisskb/src/include/linux/sched.h:54:1: error: empty declaration [-Werror] struct mempolicy; ^ /kisskb/src/include/linux/sched.h:55:1: error: empty declaration [-Werror] struct nameidata; ^ /kisskb/src/include/linux/sched.h:56:1: error: empty declaration [-Werror] struct nsproxy; ^ /kisskb/src/include/linux/sched.h:57:1: error: empty declaration [-Werror] struct perf_event_context; ^ /kisskb/src/include/linux/sched.h:58:1: error: empty declaration [-Werror] struct pid_namespace; ^ /kisskb/src/include/linux/sched.h:59:1: error: empty declaration [-Werror] struct pipe_inode_info; ^ /kisskb/src/include/linux/sched.h:60:1: error: empty declaration [-Werror] struct rcu_node; ^ /kisskb/src/include/linux/sched.h:61:1: error: empty declaration [-Werror] struct reclaim_state; ^ /kisskb/src/include/linux/sched.h:62:1: error: empty declaration [-Werror] struct robust_list_head; ^ /kisskb/src/include/linux/sched.h:63:1: error: empty declaration [-Werror] struct root_domain; ^ /kisskb/src/include/linux/sched.h:64:1: error: empty declaration [-Werror] struct rq; ^ /kisskb/src/include/linux/sched.h:65:1: error: empty declaration [-Werror] struct sched_attr; ^ /kisskb/src/include/linux/sched.h:66:1: error: empty declaration [-Werror] struct sched_param; ^ /kisskb/src/include/linux/sched.h:67:1: error: empty declaration [-Werror] struct seq_file; ^ /kisskb/src/include/linux/sched.h:68:1: error: empty declaration [-Werror] struct sighand_struct; ^ /kisskb/src/include/linux/sched.h:69:1: error: empty declaration [-Werror] struct signal_struct; ^ /kisskb/src/include/linux/sched.h:70:1: error: empty declaration [-Werror] struct task_delay_info; ^ /kisskb/src/include/linux/sched.h:71:1: error: empty declaration [-Werror] struct task_group; ^ /kisskb/src/include/linux/sched.h:290:1: error: empty declaration [-Werror] enum { ^ /kisskb/src/include/linux/sched.h:294:13: error: storage class specified for parameter 'scheduler_tick' extern void scheduler_tick(void); ^ /kisskb/src/include/linux/sched.h:298:13: error: storage class specified for parameter 'schedule_timeout' extern long schedule_timeout(long timeout); ^ /kisskb/src/include/linux/sched.h:299:13: error: storage class specified for parameter 'schedule_timeout_interruptible' extern long schedule_timeout_interruptible(long timeout); ^ /kisskb/src/include/linux/sched.h:300:13: error: storage class specified for parameter 'schedule_timeout_killable' extern long schedule_timeout_killable(long timeout); ^ /kisskb/src/include/linux/sched.h:301:13: error: storage class specified for parameter 'schedule_timeout_uninterruptible' extern long schedule_timeout_uninterruptible(long timeout); ^ /kisskb/src/include/linux/sched.h:302:13: error: storage class specified for parameter 'schedule_timeout_idle' extern long schedule_timeout_idle(long timeout); ^ /kisskb/src/include/linux/sched.h:304:13: error: storage class specified for parameter 'schedule_preempt_disabled' extern void schedule_preempt_disabled(void); ^ /kisskb/src/include/linux/sched.h:310:25: error: storage class specified for parameter 'io_schedule_prepare' extern int __must_check io_schedule_prepare(void); ^ /kisskb/src/include/linux/sched.h:311:13: error: storage class specified for parameter 'io_schedule_finish' extern void io_schedule_finish(int token); ^ /kisskb/src/include/linux/sched.h:312:13: error: storage class specified for parameter 'io_schedule_timeout' extern long io_schedule_timeout(long timeout); ^ /kisskb/src/include/linux/sched.h:313:13: error: storage class specified for parameter 'io_schedule' extern void io_schedule(void); ^ /kisskb/src/include/linux/sched.h:324:1: error: empty declaration [-Werror] struct prev_cputime { ^ /kisskb/src/include/linux/sched.h:332:1: error: empty declaration [-Werror] enum vtime_state { ^ /kisskb/src/include/linux/sched.h:346:2: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t seqcount; ^ /kisskb/src/include/linux/sched.h:345:1: error: empty declaration [-Werror] struct vtime { ^ /kisskb/src/include/linux/sched.h:361:1: error: empty declaration [-Werror] enum uclamp_id { ^ /kisskb/src/include/linux/sched.h:368:27: error: storage class specified for parameter 'def_root_domain' extern struct root_domain def_root_domain; ^ /kisskb/src/include/linux/sched.h:369:21: error: storage class specified for parameter 'sched_domains_mutex' extern struct mutex sched_domains_mutex; ^ /kisskb/src/include/linux/sched.h:372:1: error: empty declaration [-Werror] struct sched_info { ^ /kisskb/src/include/linux/sched.h:407:1: error: empty declaration [-Werror] struct load_weight { ^ /kisskb/src/include/linux/sched.h:441:1: error: empty declaration [-Werror] struct util_est { ^ /kisskb/src/include/linux/sched.h:493:1: error: empty declaration [-Werror] struct sched_avg { ^ /kisskb/src/include/linux/sched.h:505:1: error: empty declaration [-Werror] struct sched_statistics { ^ /kisskb/src/include/linux/sched.h:547:1: error: empty declaration [-Werror] struct sched_entity { ^ /kisskb/src/include/linux/sched.h:583:1: error: empty declaration [-Werror] struct sched_rt_entity { ^ /kisskb/src/include/linux/sched.h:601:1: error: empty declaration [-Werror] struct sched_dl_entity { ^ /kisskb/src/include/linux/sched.h:701:1: error: empty declaration [-Werror] struct uclamp_se { ^ /kisskb/src/include/linux/sched.h:709:1: error: empty declaration [-Werror] union rcu_special { ^ /kisskb/src/include/linux/sched.h:719:1: error: empty declaration [-Werror] enum perf_event_task_context { ^ /kisskb/src/include/linux/sched.h:726:1: error: empty declaration [-Werror] struct wake_q_node { ^ /kisskb/src/include/linux/sched.h:730:1: error: empty declaration [-Werror] struct kmap_ctrl { ^ /kisskb/src/include/linux/sched.h:1108:2: error: expected specifier-qualifier-list before 'sigset_t' sigset_t blocked; ^ /kisskb/src/include/linux/sched.h:737:1: error: empty declaration [-Werror] struct task_struct { ^ /kisskb/src/include/linux/sched.h:1551:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1569:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1574:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1579:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1585:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1600:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1605:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1610:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1616:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1621:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1631:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1636:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1648:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1654:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1663:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1683:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1688:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1697:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1711:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1715:20: error: storage class specified for parameter 'cad_pid' extern struct pid *cad_pid; ^ /kisskb/src/include/linux/sched.h:1783:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1814:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1815:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(NO_NEW_PRIVS, no_new_privs) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1817:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1818:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1819:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_PAGE, spread_page) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1821:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1822:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1823:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPREAD_SLAB, spread_slab) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1825:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1826:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1827:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_DISABLE, spec_ssb_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1829:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1830:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1831:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_SSB_NOEXEC, spec_ssb_noexec) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1833:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1834:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_SSB_FORCE_DISABLE, spec_ssb_force_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1836:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1837:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1812:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { clear_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1838:1: note: in expansion of macro 'TASK_PFA_CLEAR' TASK_PFA_CLEAR(SPEC_IB_DISABLE, spec_ib_disable) ^ /kisskb/src/include/linux/sched.h:1804:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { return test_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1840:1: note: in expansion of macro 'TASK_PFA_TEST' TASK_PFA_TEST(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) ^ /kisskb/src/include/linux/sched.h:1808:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { set_bit(PFA_##name, &p->atomic_flags); } ^ /kisskb/src/include/linux/sched.h:1841:1: note: in expansion of macro 'TASK_PFA_SET' TASK_PFA_SET(SPEC_IB_FORCE_DISABLE, spec_ib_force_disable) ^ /kisskb/src/include/linux/sched.h:1845:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1850:12: error: storage class specified for parameter 'cpuset_cpumask_can_shrink' extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial); ^ /kisskb/src/include/linux/sched.h:1851:12: error: storage class specified for parameter 'task_can_attach' extern int task_can_attach(struct task_struct *p, const struct cpumask *cs_effective_cpus); ^ /kisskb/src/include/linux/sched.h:1853:13: error: storage class specified for parameter 'do_set_cpus_allowed' extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:1854:12: error: storage class specified for parameter 'set_cpus_allowed_ptr' extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:1855:12: error: storage class specified for parameter 'dup_user_cpus_ptr' extern int dup_user_cpus_ptr(struct task_struct *dst, struct task_struct *src, int node); ^ /kisskb/src/include/linux/sched.h:1856:13: error: storage class specified for parameter 'release_user_cpus_ptr' extern void release_user_cpus_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1857:12: error: storage class specified for parameter 'dl_task_check_affinity' extern int dl_task_check_affinity(struct task_struct *p, const struct cpumask *mask); ^ /kisskb/src/include/linux/sched.h:1858:13: error: storage class specified for parameter 'force_compatible_cpus_allowed_ptr' extern void force_compatible_cpus_allowed_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1859:13: error: storage class specified for parameter 'relax_compatible_cpus_allowed_ptr' extern void relax_compatible_cpus_allowed_ptr(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1887:12: error: storage class specified for parameter 'yield_to' extern int yield_to(struct task_struct *p, bool preempt); ^ /kisskb/src/include/linux/sched.h:1888:13: error: storage class specified for parameter 'set_user_nice' extern void set_user_nice(struct task_struct *p, long nice); ^ /kisskb/src/include/linux/sched.h:1889:12: error: storage class specified for parameter 'task_prio' extern int task_prio(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1898:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1902:12: error: storage class specified for parameter 'can_nice' extern int can_nice(const struct task_struct *p, const int nice); ^ /kisskb/src/include/linux/sched.h:1903:12: error: storage class specified for parameter 'task_curr' extern int task_curr(const struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1904:12: error: storage class specified for parameter 'idle_cpu' extern int idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1905:12: error: storage class specified for parameter 'available_idle_cpu' extern int available_idle_cpu(int cpu); ^ /kisskb/src/include/linux/sched.h:1906:12: error: storage class specified for parameter 'sched_setscheduler' extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); ^ /kisskb/src/include/linux/sched.h:1907:12: error: storage class specified for parameter 'sched_setscheduler_nocheck' extern int sched_setscheduler_nocheck(struct task_struct *, int, const struct sched_param *); ^ /kisskb/src/include/linux/sched.h:1908:13: error: storage class specified for parameter 'sched_set_fifo' extern void sched_set_fifo(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1909:13: error: storage class specified for parameter 'sched_set_fifo_low' extern void sched_set_fifo_low(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1910:13: error: storage class specified for parameter 'sched_set_normal' extern void sched_set_normal(struct task_struct *p, int nice); ^ /kisskb/src/include/linux/sched.h:1911:12: error: storage class specified for parameter 'sched_setattr' extern int sched_setattr(struct task_struct *, const struct sched_attr *); ^ /kisskb/src/include/linux/sched.h:1912:12: error: storage class specified for parameter 'sched_setattr_nocheck' extern int sched_setattr_nocheck(struct task_struct *, const struct sched_attr *); ^ /kisskb/src/include/linux/sched.h:1913:28: error: storage class specified for parameter 'idle_task' extern struct task_struct *idle_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1922:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1926:28: error: storage class specified for parameter 'curr_task' extern struct task_struct *curr_task(int cpu); ^ /kisskb/src/include/linux/sched.h:1927:13: error: storage class specified for parameter 'ia64_set_curr_task' extern void ia64_set_curr_task(int cpu, struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:1931:1: error: empty declaration [-Werror] union thread_union { ^ /kisskb/src/include/linux/sched.h:1942:27: error: storage class specified for parameter 'init_thread_info' extern struct thread_info init_thread_info; ^ /kisskb/src/include/linux/sched.h:1945:22: error: storage class specified for parameter 'init_stack' extern unsigned long init_stack[THREAD_SIZE / sizeof(unsigned long)]; ^ /kisskb/src/include/linux/sched.h:1964:28: error: storage class specified for parameter 'find_task_by_vpid' extern struct task_struct *find_task_by_vpid(pid_t nr); ^ /kisskb/src/include/linux/sched.h:1965:28: error: storage class specified for parameter 'find_task_by_pid_ns' extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns); ^ /kisskb/src/include/linux/sched.h:1970:28: error: storage class specified for parameter 'find_get_task_by_vpid' extern struct task_struct *find_get_task_by_vpid(pid_t nr); ^ /kisskb/src/include/linux/sched.h:1972:12: error: storage class specified for parameter 'wake_up_state' extern int wake_up_state(struct task_struct *tsk, unsigned int state); ^ /kisskb/src/include/linux/sched.h:1973:12: error: storage class specified for parameter 'wake_up_process' extern int wake_up_process(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1974:13: error: storage class specified for parameter 'wake_up_new_task' extern void wake_up_new_task(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1977:13: error: storage class specified for parameter 'kick_process' extern void kick_process(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1982:13: error: storage class specified for parameter '__set_task_comm' extern void __set_task_comm(struct task_struct *tsk, const char *from, bool exec); ^ /kisskb/src/include/linux/sched.h:1985:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:1989:14: error: storage class specified for parameter '__get_task_comm' extern char *__get_task_comm(char *to, size_t len, struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:1997:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2005:22: error: storage class specified for parameter 'wait_task_inactive' extern unsigned long wait_task_inactive(struct task_struct *, unsigned int match_state); ^ /kisskb/src/include/linux/sched.h:2019:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2024:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2030:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2035:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2040:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2045:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2050:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2055:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2060:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2071:12: error: storage class specified for parameter '__cond_resched' extern int __cond_resched(void); ^ /kisskb/src/include/linux/sched.h:2093:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2110:12: error: storage class specified for parameter '__cond_resched_lock' extern int __cond_resched_lock(spinlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2111:12: error: storage class specified for parameter '__cond_resched_rwlock_read' extern int __cond_resched_rwlock_read(rwlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2112:12: error: storage class specified for parameter '__cond_resched_rwlock_write' extern int __cond_resched_rwlock_write(rwlock_t *lock); ^ /kisskb/src/include/linux/sched.h:2149:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2166:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2170:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2174:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2194:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2204:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2221:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2230:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2244:13: error: storage class specified for parameter 'set_task_cpu' extern void set_task_cpu(struct task_struct *p, unsigned int cpu); ^ /kisskb/src/include/linux/sched.h:2259:13: error: storage class specified for parameter 'sched_task_on_rq' extern bool sched_task_on_rq(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2260:22: error: storage class specified for parameter 'get_wchan' extern unsigned long get_wchan(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2261:28: error: storage class specified for parameter 'cpu_curr_snapshot' extern struct task_struct *cpu_curr_snapshot(int cpu); ^ /kisskb/src/include/linux/sched.h:2273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2278:13: error: storage class specified for parameter 'sched_setaffinity' extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); ^ /kisskb/src/include/linux/sched.h:2279:13: error: storage class specified for parameter 'sched_getaffinity' extern long sched_getaffinity(pid_t pid, struct cpumask *mask); ^ /kisskb/src/include/linux/sched.h:2287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2390:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2393:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2396:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2402:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2414:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/sched.h:2420:13: error: storage class specified for parameter 'sched_core_free' extern void sched_core_free(struct task_struct *tsk); ^ /kisskb/src/include/linux/sched.h:2421:13: error: storage class specified for parameter 'sched_core_fork' extern void sched_core_fork(struct task_struct *p); ^ /kisskb/src/include/linux/sched.h:2422:12: error: storage class specified for parameter 'sched_core_share_pid' extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, ^ /kisskb/src/include/linux/sched.h:2429:13: error: storage class specified for parameter 'sched_set_stop_task' extern void sched_set_stop_task(int cpu, struct task_struct *stop); ^ In file included from /kisskb/src/include/linux/mm_types.h:8:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/kref.h:19:1: error: empty declaration [-Werror] struct kref { ^ /kisskb/src/include/linux/kref.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:63:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:74:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/kref.h:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/mm_types.h:12:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/maple_tree.h:80:1: error: empty declaration [-Werror] struct maple_metadata { ^ /kisskb/src/include/linux/maple_tree.h:106:1: error: empty declaration [-Werror] struct maple_range_64 { ^ /kisskb/src/include/linux/maple_tree.h:127:1: error: empty declaration [-Werror] struct maple_arange_64 { ^ /kisskb/src/include/linux/maple_tree.h:135:1: error: empty declaration [-Werror] struct maple_alloc { ^ /kisskb/src/include/linux/maple_tree.h:142:1: error: empty declaration [-Werror] struct maple_topiary { ^ /kisskb/src/include/linux/maple_tree.h:147:1: error: empty declaration [-Werror] enum maple_type { ^ /kisskb/src/include/linux/maple_tree.h:187:29: error: storage class specified for parameter 'lockdep_map_p' typedef struct lockdep_map *lockdep_map_p; ^ /kisskb/src/include/linux/maple_tree.h:214:3: error: expected specifier-qualifier-list before 'lockdep_map_p' lockdep_map_p ma_external_lock; ^ /kisskb/src/include/linux/maple_tree.h:211:1: error: empty declaration [-Werror] struct maple_tree { ^ /kisskb/src/include/linux/maple_tree.h:270:1: error: empty declaration [-Werror] struct maple_node { ^ /kisskb/src/include/linux/maple_tree.h:298:1: error: empty declaration [-Werror] struct ma_topiary { ^ /kisskb/src/include/linux/maple_tree.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:373:1: error: empty declaration [-Werror] struct ma_state { ^ /kisskb/src/include/linux/maple_tree.h:386:1: error: empty declaration [-Werror] struct ma_wr_state { ^ /kisskb/src/include/linux/maple_tree.h:476:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:506:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:538:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:554:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:560:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:575:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:591:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:596:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:627:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/maple_tree.h:662:17: error: storage class specified for parameter 'maple_tree_tests_run' extern atomic_t maple_tree_tests_run; ^ /kisskb/src/include/linux/maple_tree.h:663:17: error: storage class specified for parameter 'maple_tree_tests_passed' extern atomic_t maple_tree_tests_passed; ^ In file included from /kisskb/src/include/linux/mm_types.h:13:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/rwsem.h:47:1: error: empty declaration [-Werror] struct rw_semaphore { ^ /kisskb/src/include/linux/rwsem.h:70:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwsem.h:103:13: error: storage class specified for parameter '__init_rwsem' extern void __init_rwsem(struct rw_semaphore *sem, const char *name, ^ /kisskb/src/include/linux/rwsem.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/rwsem.h:174:13: error: storage class specified for parameter 'down_read' extern void down_read(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:175:25: error: storage class specified for parameter 'down_read_interruptible' extern int __must_check down_read_interruptible(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:176:25: error: storage class specified for parameter 'down_read_killable' extern int __must_check down_read_killable(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:181:12: error: storage class specified for parameter 'down_read_trylock' extern int down_read_trylock(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:186:13: error: storage class specified for parameter 'down_write' extern void down_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:187:25: error: storage class specified for parameter 'down_write_killable' extern int __must_check down_write_killable(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:192:12: error: storage class specified for parameter 'down_write_trylock' extern int down_write_trylock(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:197:13: error: storage class specified for parameter 'up_read' extern void up_read(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:202:13: error: storage class specified for parameter 'up_write' extern void up_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:207:13: error: storage class specified for parameter 'downgrade_write' extern void downgrade_write(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:223:13: error: storage class specified for parameter 'down_read_nested' extern void down_read_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:224:25: error: storage class specified for parameter 'down_read_killable_nested' extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:225:13: error: storage class specified for parameter 'down_write_nested' extern void down_write_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:226:12: error: storage class specified for parameter 'down_write_killable_nested' extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass); ^ /kisskb/src/include/linux/rwsem.h:227:13: error: storage class specified for parameter '_down_write_nest_lock' extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock); ^ /kisskb/src/include/linux/rwsem.h:241:13: error: storage class specified for parameter 'down_read_non_owner' extern void down_read_non_owner(struct rw_semaphore *sem); ^ /kisskb/src/include/linux/rwsem.h:242:13: error: storage class specified for parameter 'up_read_non_owner' extern void up_read_non_owner(struct rw_semaphore *sem); ^ In file included from /kisskb/src/include/linux/completion.h:12:0, from /kisskb/src/include/linux/mm_types.h:14, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/swait.h:41:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/include/linux/swait.h:43:1: error: empty declaration [-Werror] struct swait_queue_head { ^ /kisskb/src/include/linux/swait.h:48:1: error: empty declaration [-Werror] struct swait_queue { ^ /kisskb/src/include/linux/swait.h:69:13: error: storage class specified for parameter '__init_swait_queue_head' extern void __init_swait_queue_head(struct swait_queue_head *q, const char *name, ^ /kisskb/src/include/linux/swait.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swait.h:135:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/swait.h:147:13: error: storage class specified for parameter 'swake_up_one' extern void swake_up_one(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:148:13: error: storage class specified for parameter 'swake_up_all' extern void swake_up_all(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:149:13: error: storage class specified for parameter 'swake_up_locked' extern void swake_up_locked(struct swait_queue_head *q); ^ /kisskb/src/include/linux/swait.h:151:13: error: storage class specified for parameter 'prepare_to_swait_exclusive' extern void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state); ^ /kisskb/src/include/linux/swait.h:152:13: error: storage class specified for parameter 'prepare_to_swait_event' extern long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state); ^ /kisskb/src/include/linux/swait.h:154:13: error: storage class specified for parameter '__finish_swait' extern void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait); ^ /kisskb/src/include/linux/swait.h:155:13: error: storage class specified for parameter 'finish_swait' extern void finish_swait(struct swait_queue_head *q, struct swait_queue *wait); ^ In file included from /kisskb/src/include/linux/mm_types.h:14:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/completion.h:26:1: error: empty declaration [-Werror] struct completion { ^ /kisskb/src/include/linux/completion.h:32:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void complete_acquire(struct completion *x) {} ^ /kisskb/src/include/linux/completion.h:33:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token static inline void complete_release(struct completion *x) {} ^ /kisskb/src/include/linux/completion.h:85:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/completion.h:98:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/completion.h:102:13: error: storage class specified for parameter 'wait_for_completion' extern void wait_for_completion(struct completion *); ^ /kisskb/src/include/linux/completion.h:103:13: error: storage class specified for parameter 'wait_for_completion_io' extern void wait_for_completion_io(struct completion *); ^ /kisskb/src/include/linux/completion.h:104:12: error: storage class specified for parameter 'wait_for_completion_interruptible' extern int wait_for_completion_interruptible(struct completion *x); ^ /kisskb/src/include/linux/completion.h:105:12: error: storage class specified for parameter 'wait_for_completion_killable' extern int wait_for_completion_killable(struct completion *x); ^ /kisskb/src/include/linux/completion.h:106:12: error: storage class specified for parameter 'wait_for_completion_state' extern int wait_for_completion_state(struct completion *x, unsigned int state); ^ /kisskb/src/include/linux/completion.h:107:22: error: storage class specified for parameter 'wait_for_completion_timeout' extern unsigned long wait_for_completion_timeout(struct completion *x, ^ /kisskb/src/include/linux/completion.h:109:22: error: storage class specified for parameter 'wait_for_completion_io_timeout' extern unsigned long wait_for_completion_io_timeout(struct completion *x, ^ /kisskb/src/include/linux/completion.h:111:13: error: storage class specified for parameter 'wait_for_completion_interruptible_timeout' extern long wait_for_completion_interruptible_timeout( ^ /kisskb/src/include/linux/completion.h:113:13: error: storage class specified for parameter 'wait_for_completion_killable_timeout' extern long wait_for_completion_killable_timeout( ^ /kisskb/src/include/linux/completion.h:115:13: error: storage class specified for parameter 'try_wait_for_completion' extern bool try_wait_for_completion(struct completion *x); ^ /kisskb/src/include/linux/completion.h:116:13: error: storage class specified for parameter 'completion_done' extern bool completion_done(struct completion *x); ^ /kisskb/src/include/linux/completion.h:118:13: error: storage class specified for parameter 'complete' extern void complete(struct completion *); ^ /kisskb/src/include/linux/completion.h:119:13: error: storage class specified for parameter 'complete_all' extern void complete_all(struct completion *); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:19:1: error: empty declaration [-Werror] struct vm_area_struct; ^ /kisskb/src/include/linux/uprobes.h:20:1: error: empty declaration [-Werror] struct mm_struct; ^ /kisskb/src/include/linux/uprobes.h:21:1: error: empty declaration [-Werror] struct inode; ^ /kisskb/src/include/linux/uprobes.h:22:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/include/linux/uprobes.h:23:1: error: empty declaration [-Werror] struct page; ^ /kisskb/src/include/linux/uprobes.h:30:1: error: empty declaration [-Werror] enum uprobe_filter_ctx { ^ /kisskb/src/include/linux/uprobes.h:36:1: error: empty declaration [-Werror] struct uprobe_consumer { ^ In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:14:13: error: storage class specified for parameter 'uprobe_opcode_t' typedef u32 uprobe_opcode_t; ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:25:1: error: empty declaration [-Werror] struct arch_uprobe { ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:32:1: error: empty declaration [-Werror] struct arch_uprobe_task { ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:37:1: error: empty declaration [-Werror] struct task_struct; ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:38:1: error: empty declaration [-Werror] struct notifier_block; ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:40:13: error: storage class specified for parameter 'arch_uprobe_analyze_insn' extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:41:13: error: storage class specified for parameter 'arch_uprobe_pre_xol' extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:42:13: error: storage class specified for parameter 'arch_uprobe_post_xol' extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:43:13: error: storage class specified for parameter 'arch_uprobe_xol_was_trapped' extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk); ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:44:13: error: storage class specified for parameter 'arch_uprobe_exception_notify' extern int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data); ^ /kisskb/src/arch/sparc/include/asm/uprobes.h:45:13: error: storage class specified for parameter 'arch_uprobe_abort_xol' extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:51:1: error: empty declaration [-Werror] enum uprobe_task_state { ^ /kisskb/src/include/linux/uprobes.h:61:1: error: empty declaration [-Werror] struct uprobe_task { ^ /kisskb/src/include/linux/uprobes.h:83:1: error: empty declaration [-Werror] struct return_instance { ^ /kisskb/src/include/linux/uprobes.h:93:1: error: empty declaration [-Werror] enum rp_check { ^ /kisskb/src/include/linux/uprobes.h:99:1: error: empty declaration [-Werror] struct xol_area; ^ /kisskb/src/include/linux/uprobes.h:101:1: error: empty declaration [-Werror] struct uprobes_state { ^ /kisskb/src/include/linux/uprobes.h:105:20: error: storage class specified for parameter 'uprobes_init' extern void __init uprobes_init(void); ^ /kisskb/src/include/linux/uprobes.h:105:20: error: section attribute not allowed for 'uprobes_init' /kisskb/src/include/linux/uprobes.h:105:1: error: '__cold__' attribute ignored [-Werror=attributes] extern void __init uprobes_init(void); ^ /kisskb/src/include/linux/uprobes.h:106:12: error: storage class specified for parameter 'set_swbp' extern int set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); ^ /kisskb/src/include/linux/uprobes.h:107:12: error: storage class specified for parameter 'set_orig_insn' extern int set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr); ^ /kisskb/src/include/linux/uprobes.h:108:26: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern bool is_swbp_insn(uprobe_opcode_t *insn); ^ /kisskb/src/include/linux/uprobes.h:109:26: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern bool is_trap_insn(uprobe_opcode_t *insn); ^ /kisskb/src/include/linux/uprobes.h:110:22: error: storage class specified for parameter 'uprobe_get_swbp_addr' extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:111:22: error: storage class specified for parameter 'uprobe_get_trap_addr' extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:112:104: error: expected declaration specifiers or '...' before 'uprobe_opcode_t' extern int uprobe_write_opcode(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr, uprobe_opcode_t); ^ /kisskb/src/include/linux/uprobes.h:113:12: error: storage class specified for parameter 'uprobe_register' extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:114:12: error: storage class specified for parameter 'uprobe_register_refctr' extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:115:12: error: storage class specified for parameter 'uprobe_apply' extern int uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool); ^ /kisskb/src/include/linux/uprobes.h:116:13: error: storage class specified for parameter 'uprobe_unregister' extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); ^ /kisskb/src/include/linux/uprobes.h:117:12: error: storage class specified for parameter 'uprobe_mmap' extern int uprobe_mmap(struct vm_area_struct *vma); ^ /kisskb/src/include/linux/uprobes.h:118:13: error: storage class specified for parameter 'uprobe_munmap' extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end); ^ /kisskb/src/include/linux/uprobes.h:119:13: error: storage class specified for parameter 'uprobe_start_dup_mmap' extern void uprobe_start_dup_mmap(void); ^ /kisskb/src/include/linux/uprobes.h:120:13: error: storage class specified for parameter 'uprobe_end_dup_mmap' extern void uprobe_end_dup_mmap(void); ^ /kisskb/src/include/linux/uprobes.h:121:13: error: storage class specified for parameter 'uprobe_dup_mmap' extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm); ^ /kisskb/src/include/linux/uprobes.h:122:13: error: storage class specified for parameter 'uprobe_free_utask' extern void uprobe_free_utask(struct task_struct *t); ^ /kisskb/src/include/linux/uprobes.h:123:13: error: storage class specified for parameter 'uprobe_copy_process' extern void uprobe_copy_process(struct task_struct *t, unsigned long flags); ^ /kisskb/src/include/linux/uprobes.h:124:12: error: storage class specified for parameter 'uprobe_post_sstep_notifier' extern int uprobe_post_sstep_notifier(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:125:12: error: storage class specified for parameter 'uprobe_pre_sstep_notifier' extern int uprobe_pre_sstep_notifier(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:126:13: error: storage class specified for parameter 'uprobe_notify_resume' extern void uprobe_notify_resume(struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:127:13: error: storage class specified for parameter 'uprobe_deny_signal' extern bool uprobe_deny_signal(void); ^ /kisskb/src/include/linux/uprobes.h:128:13: error: storage class specified for parameter 'arch_uprobe_skip_sstep' extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:129:13: error: storage class specified for parameter 'uprobe_clear_state' extern void uprobe_clear_state(struct mm_struct *mm); ^ /kisskb/src/include/linux/uprobes.h:130:13: error: storage class specified for parameter 'arch_uprobe_analyze_insn' extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long addr); ^ /kisskb/src/include/linux/uprobes.h:130:13: error: redefinition of parameter 'arch_uprobe_analyze_insn' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:40:13: note: previous definition of 'arch_uprobe_analyze_insn' was here extern int arch_uprobe_analyze_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long addr); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:131:13: error: storage class specified for parameter 'arch_uprobe_pre_xol' extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:131:13: error: redefinition of parameter 'arch_uprobe_pre_xol' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:41:13: note: previous definition of 'arch_uprobe_pre_xol' was here extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:132:13: error: storage class specified for parameter 'arch_uprobe_post_xol' extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:132:13: error: redefinition of parameter 'arch_uprobe_post_xol' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:42:13: note: previous definition of 'arch_uprobe_post_xol' was here extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:133:13: error: storage class specified for parameter 'arch_uprobe_xol_was_trapped' extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk); ^ /kisskb/src/include/linux/uprobes.h:133:13: error: redefinition of parameter 'arch_uprobe_xol_was_trapped' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:43:13: note: previous definition of 'arch_uprobe_xol_was_trapped' was here extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:134:13: error: storage class specified for parameter 'arch_uprobe_exception_notify' extern int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data); ^ /kisskb/src/include/linux/uprobes.h:134:13: error: redefinition of parameter 'arch_uprobe_exception_notify' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:44:13: note: previous definition of 'arch_uprobe_exception_notify' was here extern int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val, void *data); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:135:13: error: storage class specified for parameter 'arch_uprobe_abort_xol' extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:135:13: error: redefinition of parameter 'arch_uprobe_abort_xol' In file included from /kisskb/src/include/linux/uprobes.h:49:0, from /kisskb/src/include/linux/mm_types.h:16, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/uprobes.h:45:13: note: previous definition of 'arch_uprobe_abort_xol' was here extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs); ^ In file included from /kisskb/src/include/linux/mm_types.h:16:0, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/include/linux/uprobes.h:136:22: error: storage class specified for parameter 'arch_uretprobe_hijack_return_addr' extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:137:13: error: storage class specified for parameter 'arch_uretprobe_is_alive' extern bool arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:138:13: error: storage class specified for parameter 'arch_uprobe_ignore' extern bool arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs); ^ /kisskb/src/include/linux/uprobes.h:139:13: error: storage class specified for parameter 'arch_uprobe_copy_ixol' extern void arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, ^ In file included from /kisskb/src/arch/sparc/include/asm/mmu.h:5:0, from /kisskb/src/include/linux/mm_types.h:22, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15: /kisskb/src/arch/sparc/include/asm/mmu_64.h:66:1: error: empty declaration [-Werror] struct tsb { ^ /kisskb/src/arch/sparc/include/asm/mmu_64.h:75:1: error: empty declaration [-Werror] struct tsb_config { ^ /kisskb/src/arch/sparc/include/asm/mmu_64.h:105:3: error: storage class specified for parameter 'tag_storage_desc_t' } tag_storage_desc_t; ^ /kisskb/src/arch/sparc/include/asm/mmu_64.h:116:2: error: expected specifier-qualifier-list before 'tag_storage_desc_t' tag_storage_desc_t *tag_store; ^ /kisskb/src/arch/sparc/include/asm/mmu_64.h:118:3: error: storage class specified for parameter 'mm_context_t' } mm_context_t; ^ In file included from /kisskb/src/arch/sparc/kernel/asm-offsets.c:15:0: /kisskb/src/include/linux/mm_types.h:31:1: error: empty declaration [-Werror] struct address_space; ^ /kisskb/src/include/linux/mm_types.h:32:1: error: empty declaration [-Werror] struct mem_cgroup; ^ /kisskb/src/include/linux/mm_types.h:73:1: error: empty declaration [-Werror] struct page { ^ /kisskb/src/include/linux/mm_types.h:276:1: error: empty declaration [-Werror] struct folio { ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ratelimit_types.h:5, from /kisskb/src/include/linux/printk.h:9, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/sparc/include/asm/bug.h:25, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:13, from /kisskb/src/arch/sparc/include/asm/current.h:15, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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/arch/sparc/kernel/asm-offsets.c:15:0: /kisskb/src/include/linux/mm_types.h:345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:351:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:356:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:382:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:386:1: error: empty declaration [-Werror] struct page_frag_cache { ^ /kisskb/src/include/linux/mm_types.h:401:23: error: storage class specified for parameter 'vm_flags_t' typedef unsigned long vm_flags_t; ^ /kisskb/src/include/linux/mm_types.h:410:2: error: expected specifier-qualifier-list before 'vm_flags_t' vm_flags_t vm_flags; /* VMA vm_flags */ ^ /kisskb/src/include/linux/mm_types.h:408:1: error: empty declaration [-Werror] struct vm_region { ^ /kisskb/src/include/linux/mm_types.h:424:1: error: empty declaration [-Werror] struct vm_userfaultfd_ctx { ^ /kisskb/src/include/linux/mm_types.h:432:1: error: empty declaration [-Werror] struct anon_vma_name { ^ /kisskb/src/include/linux/mm_types.h:444:1: error: empty declaration [-Werror] struct vm_area_struct { ^ /kisskb/src/include/linux/mm_types.h:511:1: error: empty declaration [-Werror] struct kioctx_table; ^ /kisskb/src/include/linux/mm_types.h:605:3: error: expected specifier-qualifier-list before 'seqcount_t' seqcount_t write_protect_seq; ^ /kisskb/src/include/linux/mm_types.h:512:1: error: empty declaration [-Werror] struct mm_struct { ^ /kisskb/src/include/linux/mm_types.h:729:25: error: storage class specified for parameter 'init_mm' extern struct mm_struct init_mm; ^ /kisskb/src/include/linux/mm_types.h:733:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:742:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:748:1: error: empty declaration [-Werror] struct lru_gen_mm_list { ^ /kisskb/src/include/linux/mm_types.h:762:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:771:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:806:1: error: empty declaration [-Werror] struct vma_iterator { ^ /kisskb/src/include/linux/mm_types.h:821:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/include/linux/mm_types.h:827:1: error: empty declaration [-Werror] struct mmu_gather; ^ /kisskb/src/include/linux/mm_types.h:828:13: error: storage class specified for parameter 'tlb_gather_mmu' extern void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm); ^ /kisskb/src/include/linux/mm_types.h:829:13: error: storage class specified for parameter 'tlb_gather_mmu_fullmm' extern void tlb_gather_mmu_fullmm(struct mmu_gather *tlb, struct mm_struct *mm); ^ /kisskb/src/include/linux/mm_types.h:830:13: error: storage class specified for parameter 'tlb_finish_mmu' extern void tlb_finish_mmu(struct mmu_gather *tlb); ^ /kisskb/src/include/linux/mm_types.h:832:1: error: empty declaration [-Werror] struct vm_fault; ^ /kisskb/src/include/linux/mm_types.h:839:32: error: storage class specified for parameter 'vm_fault_t' typedef __bitwise unsigned int vm_fault_t; ^ /kisskb/src/include/linux/mm_types.h:868:2: error: enumerator value for 'VM_FAULT_OOM' is not an integer constant VM_FAULT_OOM = (__force vm_fault_t)0x000001, ^ /kisskb/src/include/linux/mm_types.h:868:48: error: expected ',' or '}' before numeric constant VM_FAULT_OOM = (__force vm_fault_t)0x000001, ^ /kisskb/src/include/linux/mm_types.h:867:1: error: empty declaration [-Werror] enum vm_fault_reason { ^ /kisskb/src/include/linux/mm_types.h:923:2: error: expected specifier-qualifier-list before 'vm_fault_t' vm_fault_t (*fault)(const struct vm_special_mapping *sm, ^ /kisskb/src/include/linux/mm_types.h:908:1: error: empty declaration [-Werror] struct vm_special_mapping { ^ /kisskb/src/include/linux/mm_types.h:931:1: error: empty declaration [-Werror] enum tlb_flush_reason { ^ /kisskb/src/include/linux/mm_types.h:946:3: error: storage class specified for parameter 'swp_entry_t' } swp_entry_t; ^ /kisskb/src/include/linux/mm_types.h:989:1: error: empty declaration [-Werror] enum fault_flag { ^ /kisskb/src/include/linux/mm_types.h:1004:32: error: storage class specified for parameter 'zap_flags_t' typedef unsigned int __bitwise zap_flags_t; ^ In file included from /kisskb/src/arch/sparc/kernel/asm-offsets.c:19:0: /kisskb/src/arch/sparc/include/asm/hibernate.h:11:1: error: empty declaration [-Werror] struct saved_context { ^ /kisskb/src/arch/sparc/kernel/asm-offsets.c:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ /kisskb/src/arch/sparc/kernel/asm-offsets.c:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token { ^ In file included from /kisskb/src/include/linux/hrtimer.h:19:0, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/arch/sparc/kernel/asm-offsets.c:14: /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/sparc/kernel/asm-offsets.c:59:1: error: expected '{' at end of input } ^ /kisskb/src/arch/sparc/kernel/asm-offsets.c:59:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:118: arch/sparc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1273: prepare0] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 24 ARCH=sparc64 O=/kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_sparc64-allmodconfig_sparc64-gcc5 # Build took: 0:00:09.190395