# git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} 4156c85dbf936800bc450ceaa3ed7cd1570315dd already have revision, skipping fetch # git checkout -q -f -B kisskb 4156c85dbf936800bc450ceaa3ed7cd1570315dd # git clean -qxdf # < git log -1 # commit 4156c85dbf936800bc450ceaa3ed7cd1570315dd # Author: Stephen Rothwell # Date: Wed Aug 19 21:32:00 2020 +1000 # # syscalls: use simpler file guard defines # # A couple of architectures were defining the generated file's guards to 1 # rather than just defining then like most of our other include file guards. # This simplifies the generating script a little. # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 4156c85dbf936800bc450ceaa3ed7cd1570315dd # make -s -j 160 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- defconfig # < make -s -j 160 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/asm-offsets.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/init_task.h:5, from /kisskb/src/init/init_task.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/utsname.h:6, from /kisskb/src/init/version.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/arch/sh/mm/extable_32.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/platform_device.h:13, from /kisskb/src/arch/sh/kernel/cpu/pfc.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/arch/sh/kernel/cpu/clock.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/seq_file.h:8, from /kisskb/src/arch/sh/kernel/cpu/proc.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ptrace.h:6, from /kisskb/src/arch/sh/kernel/cpu/irq/imask.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/arch/sh/kernel/nmi_debug.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/platform_device.h:13, from /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/platform_device.h:13, from /kisskb/src/arch/sh/boards/mach-x3proto/setup.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/ptrace_32.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ptrace.h:6, from /kisskb/src/arch/sh/kernel/ptrace.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/signal_32.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/arch/sh/kernel/cpu/sh4/sq.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/sys_sh.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/arch/sh/kernel/cpu/fpu.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/arch/sh/kernel/topology.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/arch/sh/kernel/cpu/sh4a/ubc.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/utsname.h:6, from /kisskb/src/arch/sh/kernel/setup.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/arch/sh/kernel/cpu/sh4/fpu.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ptrace.h:6, from /kisskb/src/arch/sh/kernel/traps_32.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/time.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/include/linux/oom.h:6, from /kisskb/src/mm/oom_kill.c:21: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/sys_sh32.c:3: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/kernel/locking/mutex.c:21: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/sched/numa_balancing.h:10, from /kisskb/src/include/trace/events/sched.h:8, from /kisskb/src/kernel/sched/core.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/init/main.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/dcache.h:7, from /kisskb/src/fs/notify/fsnotify.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/locking/semaphore.c:30: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/clock.c:56: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/pm_qos.h:16, from /kisskb/src/kernel/power/qos.c:23: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/sh/kernel/stacktrace.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/loadavg.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/cputime.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/kernel/rcu/srcutree.c:19: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/locking/rwsem.c:20: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/flush-sh4.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/init/do_mounts.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/dcache.h:7, from /kisskb/src/fs/notify/inotify/inotify_fsnotify.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/cache.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/consistent.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/fair.c:23: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/init.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/fs/notify/group.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/idle.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/kallsyms.h:12, from /kisskb/src/arch/sh/kernel/dumpstack.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/kernel/cpu/sh4a/intc-shx3.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/kdebugfs.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/mm/alignment.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/idle.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/fault.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/irq_32.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/init/do_mounts_rd.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/kernel/irq.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/pgtable.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/mm/ioremap.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/tlb-sh4.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/vsyscall/vsyscall.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/cpu/init.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/tlbflush_32.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/tlb-urb.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/cgroup.h:12, from /kisskb/src/kernel/cgroup/cgroup-internal.h:5, from /kisskb/src/kernel/cgroup/cgroup.c:31: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/sched/mm.h:7, from /kisskb/src/kernel/cpu.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/io.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/mmap.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/sh/boards/mach-x3proto/gpio.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/kmap.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/mempool.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/smp.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/mm/numa.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/mm/uncached.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/clkdev.h:12, from /kisskb/src/arch/sh/kernel/cpu/sh4a/clock-shx3.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/swap.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/arch/sh/mm/hugetlbpage.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/include/linux/moduleloader.h:6, from /kisskb/src/arch/sh/kernel/module.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/fork.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/kallsyms.h:12, from /kisskb/src/include/linux/ftrace.h:11, from /kisskb/src/include/linux/kprobes.h:29, from /kisskb/src/kernel/printk/printk_safe.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/sh_bios.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/machine_kexec.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/sh_ksyms_32.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/printk/printk.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/sysfs/file.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/power/process.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/vmscan.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/irqdesc.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/apply.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/ipc/msg.c:30: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/memblock.h:13, from /kisskb/src/kernel/dma/direct.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/devpts/inode.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/mm/fadvise.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/dax.h:5, from /kisskb/src/mm/filemap.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/dax.h:5, from /kisskb/src/mm/readahead.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/rcu/update.c:25: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/locking/spinlock.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/manage.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/rcu/tree.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/audit.h:12, from /kisskb/src/security/commoncap.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/ipc/util.c:47: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/kallsyms.h:12, from /kisskb/src/include/linux/ftrace.h:11, from /kisskb/src/include/linux/init_task.h:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/elfcore.h:11, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/include/linux/kexec.h:18, from /kisskb/src/arch/sh/kernel/reboot.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/kernel/events/core.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/cache-sh4.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/ipc/sem.c:73: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/process.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/sh/kernel/cpu/sh4a/smp-shx3.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/bvec.h:13, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/iomap.h:7, from /kisskb/src/fs/iomap/trace.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/maccess.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/handle.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/uapi/linux/aio_abi.h:31, from /kisskb/src/include/linux/syscalls.h:73, from /kisskb/src/init/noinitramfs.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/unwinder.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/process_32.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/security.h:28, from /kisskb/src/ipc/msgutil.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/return_address.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/kernel/cpu/sh4a/perf_event.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/iomap.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/boards/mach-x3proto/ilsel.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/mm/ioremap_fixed.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/mm/tlbex_32.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/mm/page-writeback.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/memblock.h:13, from /kisskb/src/kernel/dma/mapping.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/spurious.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/buffered-io.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/kernfs/inode.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/panic.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/kernel/exec_domain.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext2/ext2.h:14, from /kisskb/src/fs/ext2/balloc.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/ipc/shm.c:28: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/buffer_head.h:12, from /kisskb/src/fs/ext4/bitmap.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/notify/notification.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/kernfs/mount.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/timekeeper_internal.h:10, from /kisskb/src/kernel/time/time.c:31: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/balloc.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagewalk.h:5, from /kisskb/src/fs/proc/task_mmu.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/notify/dnotify/dnotify.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/kernel/trace/trace_clock.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/dma/coherent.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/backing-dev.h:13, from /kisskb/src/mm/truncate.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/jbd2/transaction.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/uapi/linux/aio_abi.h:31, from /kisskb/src/include/linux/syscalls.h:73, from /kisskb/src/ipc/syscall.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/mm/shmem.c:24: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/arch/sh/kernel/nmi_debug.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/arch/sh/kernel/traps.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ramfs/inode.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/crypto/cipher.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/include/linux/filter.h:12, from /kisskb/src/kernel/bpf/core.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/crypto/api.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ramfs/file-mmu.c:27: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/pfc.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/sh4a/ubc.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/inode.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[4]: *** Waiting for unfinished jobs.... make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/crypto/compress.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/block_validity.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:283: init/version.o] Error 1 cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11, from /kisskb/src/include/linux/sh_clk.h:6, from /kisskb/src/arch/sh/include/asm/clock.h:5, from /kisskb/src/arch/sh/kernel/cpu/clock.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/direct-io.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/mm/extable_32.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ptrace.h:6, from /kisskb/src/include/uapi/asm-generic/bpf_perf_event.h:4, from ./arch/sh/include/generated/uapi/asm/bpf_perf_event.h:1, from /kisskb/src/include/uapi/linux/bpf_perf_event.h:11, from /kisskb/src/include/linux/perf_event.h:18, from /kisskb/src/kernel/events/ring_buffer.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/ptrace_32.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/arch/sh/kernel/time.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/nmi_debug.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/block/partitions/core.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/notify/group.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/signal_32.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/sys_sh.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/kallsyms.h:12, from /kisskb/src/include/linux/ftrace.h:11, from /kisskb/src/kernel/locking/semaphore.c:34: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/arch/sh/kernel/cpu/fpu.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/proc.o] Error 1 /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/notify/fsnotify.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/sh/kernel/sys_sh32.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/notify/inotify/inotify_fsnotify.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/arch/sh/kernel/setup.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/sched/mm.h:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/oom.h:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/arch/sh/kernel/stacktrace.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/crypto/algapi.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/locking/mutex.c:29: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/rcu/srcutree.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/fpu.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/sh4/fpu.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/cgroup.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/audit.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/crypto/memneq.c:62: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/pm_qos.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/locking/rwsem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/cgroup.h:12, from /kisskb/src/kernel/cgroup/cgroup-internal.h:5, from /kisskb/src/kernel/cgroup/rstat.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/dir.c:25: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/stacktrace.o] Error 1 cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/cgroup.h:12, from /kisskb/src/kernel/cgroup/cgroup-internal.h:5, from /kisskb/src/kernel/cgroup/namespace.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/topology.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/drivers/pinctrl/sh-pfc/core.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/ring_buffer.h:5, from /kisskb/src/include/linux/trace_events.h:6, from /kisskb/src/include/trace/trace_events.h:21, from /kisskb/src/include/trace/define_trace.h:102, from /kisskb/src/include/trace/events/sched.h:652: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/cgroup.h:12, from /kisskb/src/kernel/cgroup/cgroup-internal.h:5, from /kisskb/src/kernel/cgroup/cgroup-v1.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/locking/mutex.o] Error 1 In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/cgroup.h:12, from /kisskb/src/kernel/cgroup/freezer.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/clock.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/security/min_addr.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:283: init/init_task.o] Error 1 /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/resend.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/irq/imask.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/irq] Error 2 cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/extents.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/boards/mach-x3proto/setup.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/boards/mach-x3proto] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: fs/notify/inotify/inotify_fsnotify.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: fs/notify/inotify] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/pinctrl/sh-pfc/pinctrl.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/ext4_jbd2.h:15, from /kisskb/src/fs/ext4/ext4_jbd2.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/ptrace.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/rcu/srcutree.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/fs/ext4/ext4.h:21, from /kisskb/src/fs/ext4/fsmap.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/locking/semaphore.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/exit.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/ext4/extents_status.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/kernel/softirq.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/cgroup.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/ring_buffer.h:5, from /kisskb/src/include/linux/trace_events.h:6, from /kisskb/src/kernel/trace/ring_buffer.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/file.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/block/partitions/efi.c:89: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/kernel/trace/trace_seq.c:26: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rbtree.h:22, from /kisskb/src/include/linux/key.h:15, from /kisskb/src/include/linux/security.h:26, from /kisskb/src/kernel/trace/trace_stat.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/chip.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/sh4/sq.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:576, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:13, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:10: /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c: At top level: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/irq/dummychip.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/ring_buffer.h:5, from /kisskb/src/kernel/trace/trace.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/include/crypto/scatterwalk.h:14, from /kisskb/src/crypto/scatterwalk.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/cgroup.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in expansion of macro 'DECLARE_INTC_DESC' 309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in expansion of macro 'DECLARE_INTC_DESC' 309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/block/partitions/check.h:2, from /kisskb/src/block/partitions/msdos.c:31: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:322:8: note: in expansion of macro 'DECLARE_INTC_DESC' 322 | static DECLARE_INTC_DESC(intc_desc_irq, "shx3-irq", vectors_irq, groups, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in expansion of macro 'DECLARE_INTC_DESC' 337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in expansion of macro 'DECLARE_INTC_DESC' 337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/notify/fsnotify.o] Error 1 In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/seq_file.h:8, from /kisskb/src/kernel/trace/trace_printk.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/sh4a/setup-shx3.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/time.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/sh4a] Error 2 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/cgroup.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/traps_32.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/setup.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/trace/trace_output.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/rt.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/fs/proc/root.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/cgroup.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/crypto/proc.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/pinctrl/sh-pfc/gpio.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/rcu/rcu_segcblist.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/deadline.c:18: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/wait.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ptrace.h:6, from /kisskb/src/include/uapi/asm-generic/bpf_perf_event.h:4, from ./arch/sh/include/generated/uapi/asm/bpf_perf_event.h:1, from /kisskb/src/include/uapi/linux/bpf_perf_event.h:11, from /kisskb/src/include/linux/perf_event.h:18, from /kisskb/src/kernel/events/callchain.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/sys_sh.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/trace/trace_sched_switch.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/sys_sh32.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/device_cgroup.h:2, from /kisskb/src/security/device_cgroup.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/kernel/irq/irqdomain.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/trace/trace_nop.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/gpio/gpiolib.c:4: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/seek.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/fsync.c:27: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/cdev.h:5, from /kisskb/src/drivers/gpio/gpiolib-cdev.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/gpio/driver.h:5, from /kisskb/src/drivers/gpio/gpiolib-legacy.c:3: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/sysfs/dir.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/fiemap.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/hash.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/iomap/swapfile.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/block/bio.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/sysfs/symlink.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/irq/devres.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/gpio/gpiolib-devres.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/pinctrl/pinconf-generic.h:14, from /kisskb/src/drivers/pinctrl/sh-pfc/sh_pfc.h:12, from /kisskb/src/drivers/pinctrl/sh-pfc/pfc-shx3.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/security.h:28: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/fs/sysfs/group.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/block/blk-sysfs.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/block/elevator.c:27: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/kernel/irq/proc.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/kallsyms.h:12, from /kisskb/src/kernel/events/hw_breakpoint.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-core.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/kernel/irq/affinity.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/resource.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/jbd2/recovery.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/wait_bit.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_file.h:11, from /kisskb/src/kernel/trace/trace_seq.c:27: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-flush.c:67: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/util.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/ptrace_32.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/notify/group.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/notify] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/swait.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/jbd2/commit.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/gpio/gpiolib-devprop.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/signal_32.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/pinctrl/pinctrl-utils.c:22: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/power/qos.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext2/ext2.h:14, from /kisskb/src/fs/ext2/dir.c:25: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/fs/hugetlbfs/inode.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/root.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/sysfs/mount.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/sysctl.c:22: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/fs/proc/base.c:51: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/kernel/trace/blktrace.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/events/ring_buffer.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/cgroup/legacy_freezer.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: mm/oom_kill.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/mm] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/tracefs/inode.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/trace/trace_seq.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:283: security/commoncap.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cgroup/namespace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/fs/open.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/nls/nls_base.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/locking] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/drivers/pinctrl/core.c:19: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/file_table.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/read_write.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/pinctrl/pinmux.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/include/linux/vt_kern.h:12, from /kisskb/src/drivers/video/console/dummycon.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/include/crypto/internal/hash.h:11, from /kisskb/src/crypto/ahash.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/exportfs/expfs.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/pinctrl/sh-pfc/pinctrl.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/super.c:25: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/ipc/ipc_sysctl.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/ialloc.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/fs/proc/fd.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/jbd2/checkpoint.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/fs/proc/proc_tty.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/audit.h:12, from /kisskb/src/kernel/capability.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/fs/proc/array.c:60: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cgroup/rstat.o] Error 1 In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/ptrace.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/char_dev.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/generic.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cgroup/freezer.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cgroup/cgroup-v1.o] Error 1 cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cpu.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/pinctrl/pinconf.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/pinctrl/sh-pfc/pfc-shx3.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/mm/mmzone.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/security.h:28, from /kisskb/src/kernel/trace/trace_events.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/hugetlbfs/inode.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/user.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/kernfs/dir.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/base.c:55: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/bvec.h:13, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/iomap.h:7, from /kisskb/src/fs/ext4/inline.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/pinctrl/sh-pfc/gpio.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/pinctrl/sh-pfc] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/ext4_jbd2.h:15, from /kisskb/src/fs/ext4/indirect.c:24: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/mm/vmstat.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/root.o] Error 1 /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/include/linux/cpufreq.h:11, from /kisskb/src/fs/proc/cpuinfo.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/fs/proc/consoles.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/proc/cmdline.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/pinctrl/pinconf-generic.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/jbd2/revoke.c:84: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/ipc/mqueue.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/sched/mm.h:9, from /kisskb/src/kernel/ptrace.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/clock.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/sched/task_stack.h:9, from /kisskb/src/block/blk-map.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/cputime.o] Error 1 cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/gpio/gpiolib-legacy.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/proc/proc_tty.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/loadavg.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/audit.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/sysfs/group.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/include/crypto/scatterwalk.h:14, from /kisskb/src/crypto/shash.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/fdtable.h:16, from /kisskb/src/fs/proc/fd.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/ext2/file.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/kernfs/file.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-settings.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/crypto.h:20, from /kisskb/src/include/crypto/algapi.h:10, from /kisskb/src/include/crypto/internal/hash.h:11, from /kisskb/src/crypto/crc32c_generic.c:34: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/trace/trace_printk.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/cpufreq.h:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/pinctrl/pinctrl-utils.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/user.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/trace/trace_stat.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-ioc.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/tty/vt/vt_ioctl.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/irq/irqdomain.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-exec.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/kernel/time/timer.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/kernfs/dir.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/gpio/gpiolib-cdev.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/quotaops.h:11, from /kisskb/src/fs/ext2/ialloc.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/events/callchain.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/clk/clk-devres.c:2: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/kernfs/symlink.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/ioctl.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/idle.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/inode.c:22: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/ext2/inode.c:28: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/drivers/char/mem.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/ext4_jbd2.h:15, from /kisskb/src/fs/ext4/mballoc.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/utsname.h:6, from /kisskb/src/drivers/char/random.c:312: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-merge.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-timeout.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-map.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/user.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-lib.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/proc_tty.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/fd.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/vt/vc_screen.c:33: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/tty/serial/sh-sci.c:20: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/ipc_namespace.h:6, from /kisskb/src/ipc/namespace.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/tty/serial/serial_mctrl_gpio.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-mq.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/char/misc.c:37: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pagemap.h:8, from /kisskb/src/fs/ext2/namei.c:34: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/tty/tty_io.c:73: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-mq-tag.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/ext2/super.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/drivers/tty/n_tty.c:36: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/include/asm-generic/termios.h:6, from ./arch/sh/include/generated/uapi/asm/termios.h:1, from /kisskb/src/include/uapi/linux/termios.h:6, from /kisskb/src/drivers/tty/tty_ioctl.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext2/ext2.h:14, from /kisskb/src/fs/ext2/ioctl.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/block/blk-stat.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/vt/vt_ioctl.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext2/ext2.h:14, from /kisskb/src/fs/ext2/symlink.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/drivers/clk/clk-devres.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/base/power/clock_ops.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/cpuinfo.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/serial/serial_core.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/ipc_namespace.h:6, from /kisskb/src/ipc/mq_sysctl.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/power] Error 2 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/drivers/tty/tty_ldisc.c:4: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-mq-cpumap.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/clk/clk-bulk.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/kernfs/dir.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/char/random.c:313: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-mq-sysfs.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/hugetlbfs/inode.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/hugetlbfs] Error 2 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/ext4/migrate.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_buffer.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/blk-mq-sched.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/clk/clk-devres.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/vt/selection.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/seqlock.h:18, from /kisskb/src/include/linux/badblocks.h:5, from /kisskb/src/block/badblocks.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/cpufreq.h:14, from /kisskb/src/drivers/tty/serial/sh-sci.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/block/blk-rq-qos.h:6, from /kisskb/src/block/blk-rq-qos.c:3: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/block/genhd.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/sysfs] Error 2 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_port.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/block/ioprio.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/tty/tty_io.c:75: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/cgroup/cgroup.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/vt/keyboard.c:29: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/capability.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/block/brd.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/hrtimer.c:25: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/block/ioctl.c:3: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/ext4/fsmap.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/block/kyber-iosched.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/clk/clkdev.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/base/firmware_loader/main.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/tty/n_tty.c:37: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/include/linux/blk-mq.h:5, from /kisskb/src/block/blk-stat.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/ptrace.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/mmp.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/move_extent.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/include/asm-generic/termios.h:6, from ./arch/sh/include/generated/uapi/asm/termios.h:1, from /kisskb/src/include/uapi/linux/termios.h:6, from /kisskb/src/drivers/tty/tty_baudrate.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clk-provider.h:9, from /kisskb/src/drivers/clk/clk-bulk.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/fs/ext4/readpage.c:33: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_ioctl.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/tty/tty_jobctrl.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/block/mq-deadline.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/trace/blktrace.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/wait.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/page-io.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/namei.c:28: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_mutex.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/block/scsi_ioctl.c:5: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/fair.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[1]: *** [/kisskb/src/Makefile:1789: security] Error 2 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/base.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/ext4/resize.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/core.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/badblocks.h:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_ldsem.c:31: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[1]: *** [/kisskb/src/Makefile:1789: init] Error 2 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/audit.h:12, from /kisskb/src/drivers/tty/tty_audit.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/vt/consolemap.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/jbd2/journal.c:22: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/power/clock_ops.o] Error 1 cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/base/component.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/blk-map.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/base/power] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/cgroup] Error 2 cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/vt/vt.c:74: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/swait.o] Error 1 In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/drivers/base/core.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi.c:41: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/tty/pty.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/async.h:14, from /kisskb/src/drivers/base/bus.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/clk/clk-bulk.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/ata/libata-eh.c:15: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/rt.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/spi/spi.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/badblocks.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/n_null.c:4: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/ata/libata-transport.c:28: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/fs/ext4/super.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_baudrate.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/deadline.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/serial/serial_mctrl_gpio.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/drivers/base/syscore.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/fs/ext4/symlink.c:21: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/ata/libata-core.c:29: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/tty/sysrq.c:18: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/tty.h:5, from /kisskb/src/drivers/tty/tty_jobctrl.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/wait_bit.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/sched] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/tty_ioctl.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/drivers/ata/libata-scsi.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/vt/vt_ioctl.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/kernel/time/clocksource.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/irq] Error 2 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/debugfs.h:15, from /kisskb/src/drivers/base/dd.c:19: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_buf.h:5, from /kisskb/src/include/linux/trace_seq.h:5, from /kisskb/src/drivers/ata/libata-trace.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/pid_namespace.h:7, from /kisskb/src/include/linux/ptrace.h:10, from /kisskb/src/include/linux/audit.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/timekeeper_internal.h:10, from /kisskb/src/kernel/time/timekeeping.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/net/mii.c:31: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/leds.h:12, from /kisskb/src/include/linux/can/led.h:10, from /kisskb/src/include/linux/can/dev.h:19, from /kisskb/src/drivers/net/can/rx-offload.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/tty_baudrate.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/ata/pata_platform.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/n_tty.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/drivers/ata/libata-sff.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/tty_io.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/net/can/vcan.c:43: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/kernel/time/jiffies.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/base/syscore.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/kernel/time/ntp.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/blk-stat.o] Error 1 In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/kernel/time/posix-cpu-timers.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/net/loopback.c:29: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/include/linux/ethtool.h:17, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/Space.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/net/can/dev.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/kernel/time/timeconv.c:32: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rbtree.h:22, from /kisskb/src/include/linux/hrtimer.h:16, from /kisskb/src/kernel/time/alarmtimer.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:284: drivers/tty/tty_jobctrl.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/kernel/time/posix-clock.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/hosts.c:25: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/serial/sh-sci.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/proc_fs.h:10, from /kisskb/src/kernel/time/timer_list.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi_ioctl.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/mon/mon_text.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsicam.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/tty/sysrq.c:22: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/bus.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/blk-rq-qos.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/time/posix-timers.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/common/common.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/usb/mon/mon_bin.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/usb.c:26: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/usb/core/driver.c:28: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/time/itimer.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/component.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/drivers/usb/core/message.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/usb/mon/mon_stat.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/mon/mon_main.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/drivers/input/serio/serport.c:12: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/drivers/usb/common/debug.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/hub.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/kernel/time/alarmtimer.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/host/r8a66597-hcd.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/serio/serio.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/tty_audit.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/gadget/udc/core.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/hcd.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/char/random.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/config.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/tick-common.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/net/ethernet/smsc/smc91x.c:56: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/radix-tree.h:15, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/drivers/input/input.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/kernel/time/posix-cpu-timers.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/input/mouse/focaltech.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/urb.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/clk] Error 2 /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/kernel/time/clockevents.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/sh4] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/kernel] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/input.h:19, from /kisskb/src/drivers/input/mouse/byd.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/firmware_loader/main.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/base/firmware_loader] Error 2 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/keyboard/atkbd.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/input.h:19, from /kisskb/src/drivers/input/mouse/logips2pp.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/buffer.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/kernfs] Error 2 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/serio/libps2.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/usb/core/file.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/usb/gadget.h:20, from /kisskb/src/drivers/usb/gadget/udc/trace.h:18, from /kisskb/src/drivers/usb/gadget/udc/trace.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/kyber-iosched.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/mouse/psmouse-base.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/mouse/synaptics.c:23: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': cc1: some warnings being treated as errors /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/hrtimer.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/clocksource.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/drivers/usb/mon/mon_bin.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/input/mouse/alps.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/scsi/scsi_lib_dma.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/input/serio/serport.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/char] Error 2 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/pinctrl] Error 2 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi_error.c:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/tick-broadcast.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/scsi/scsi_devinfo.c:3: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/input/mouse/trackpoint.c:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/include/linux/i2c.h:13, from /kisskb/src/drivers/i2c/i2c-boardinfo.c:7: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/drivers/i2c/i2c-core-base.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/common/debug.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/tick-broadcast-hrtimer.c:5: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/input/mouse/cypress_ps2.c:15: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/tick-oneshot.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/drivers/rtc/systohc.c:2: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/kernel/time/tick-sched.c:11: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/drivers/rtc/lib.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/sysfs.c:17: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi_scan.c:29: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bio.h:8, from /kisskb/src/drivers/scsi/scsi_lib.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/sysctl.h:26, from /kisskb/src/drivers/scsi/scsi_sysctl.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:6, from /kisskb/src/drivers/input/input-compat.c:9: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/input.h:19, from /kisskb/src/include/linux/input/mt.h:11, from /kisskb/src/drivers/input/input-mt.c:8: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/drivers/usb/core/notify.c:16: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/clocksource.h:19, from /kisskb/src/kernel/time/sched_clock.c:6: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/posix-cpu-timers.o] Error 1 /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/i2c/i2c-core-smbus.c:13: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/ata/libata-transport.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/include/linux/genhd.h:16, from /kisskb/src/include/linux/blkdev.h:8: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/usb/core/endpoint.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/notifier.h:14, from /kisskb/src/include/linux/nvmem-consumer.h:14, from /kisskb/src/drivers/rtc/nvmem.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi_proc.c:20: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /kisskb/src/fs/ext4/readpage.c:414:1: warning: the frame size of 1124 bytes is larger than 1024 bytes [-Wframe-larger-than=] 414 | } | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/scsi/scsi.h:10, from /kisskb/src/drivers/scsi/scsi_logging.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/alarmtimer.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/seq_buf.h:5, from /kisskb/src/include/linux/trace_seq.h:5, from /kisskb/src/drivers/scsi/scsi_trace.c:7: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/drivers/usb/core/devio.c:24: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/rtc/class.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/tty/sysrq.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/mon/mon_text.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/drivers/rtc/interface.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/input/input-poller.c:6: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/generic.c:22: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/input.h:19, from /kisskb/src/drivers/input/ff-core.c:14: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/serio/serport.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/drivers/scsi/scsi_priv.h:5, from /kisskb/src/drivers/scsi/scsi_sysctl.c:12: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/sd.c:36: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/mouse/focaltech.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/mon/mon_bin.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/syscore.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/posix-clock.o] Error 1 cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/mouse/byd.o] Error 1 In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/notify.c:17: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/usb/ch9.h:36, from /kisskb/src/include/linux/usb.h:6, from /kisskb/src/drivers/usb/core/quirks.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/drivers/input/input-compat.h:12, from /kisskb/src/drivers/input/input-compat.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/driver.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/i2c/i2c-boardinfo.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/topology.h:33, from /kisskb/src/include/linux/irq.h:19, from /kisskb/src/arch/sh/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:10, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/drivers/rtc/nvmem.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/scsi/scsi_sysfs.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/ata/libata-eh.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/mouse/logips2pp.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/spinlock.h:318, from /kisskb/src/arch/sh/include/asm/smp.h:11, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/usb/core/phy.c:10: /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock': /kisskb/src/include/linux/spinlock_api_smp.h:90:17: error: implicit declaration of function 'spin_acquire'; did you mean 'xchg_acquire'? [-Werror=implicit-function-declaration] 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~ | xchg_acquire /kisskb/src/include/linux/spinlock_api_smp.h:90:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 90 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ cc1: some warnings being treated as errors /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock': /kisskb/src/include/linux/spinlock_api_smp.h:150:9: error: implicit declaration of function 'spin_release'; did you mean 'xchg_release'? [-Werror=implicit-function-declaration] 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~ | xchg_release /kisskb/src/include/linux/spinlock_api_smp.h:150:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 150 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irqrestore': /kisskb/src/include/linux/spinlock_api_smp.h:158:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 158 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_irq': make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/input.o] Error 1 /kisskb/src/include/linux/spinlock_api_smp.h:166:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 166 | spin_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** Waiting for unfinished jobs.... /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_unlock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:174:27: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 174 | spin_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_bh': /kisskb/src/include/linux/spinlock_api_smp.h:183:35: error: 'raw_spinlock_t' {aka 'struct raw_spinlock'} has no member named 'dep_map' 183 | spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/rtc/proc.c:11: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/config.o] Error 1 /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/base/core.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/drivers/rtc/dev.c:13: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/tick-broadcast.o] Error 1 /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors In file included from /kisskb/src/include/linux/spinlock_api_smp.h:190: /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:121:17: error: implicit declaration of function 'rwlock_acquire_read' [-Werror=implicit-function-declaration] 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:121:42: error: 'rwlock_t' has no member named 'dep_map' 121 | rwlock_acquire_read(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/tick-broadcast-hrtimer.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/rtc/sysfs.c:9: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_trylock': /kisskb/src/include/linux/rwlock_api_smp.h:132:17: error: implicit declaration of function 'rwlock_acquire' [-Werror=implicit-function-declaration] 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:132:37: error: 'rwlock_t' has no member named 'dep_map' 132 | rwlock_acquire(&lock->dep_map, 0, 1, _RET_IP_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/tick-oneshot.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/input/ff-memless.c:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:16, from /kisskb/src/drivers/rtc/rtc-sh.c:14: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:218:9: error: implicit declaration of function 'rwlock_release' [-Werror=implicit-function-declaration] 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/rwlock_api_smp.h:218:29: error: 'rwlock_t' has no member named 'dep_map' 218 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock': /kisskb/src/include/linux/rwlock_api_smp.h:225:29: error: 'rwlock_t' has no member named 'dep_map' 225 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:233:29: error: 'rwlock_t' has no member named 'dep_map' 233 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:241:29: error: 'rwlock_t' has no member named 'dep_map' 241 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_read_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:249:29: error: 'rwlock_t' has no member named 'dep_map' 249 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irqrestore': /kisskb/src/include/linux/rwlock_api_smp.h:257:29: error: 'rwlock_t' has no member named 'dep_map' 257 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_irq': /kisskb/src/include/linux/rwlock_api_smp.h:265:29: error: 'rwlock_t' has no member named 'dep_map' 265 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_unlock_bh': /kisskb/src/include/linux/rwlock_api_smp.h:273:29: error: 'rwlock_t' has no member named 'dep_map' 273 | rwlock_release(&lock->dep_map, _RET_IP_); | ^~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/time/tick-common.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/spi/spi.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/spi] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/base] Error 2 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/drivers/usb/core/port.c:10: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/usb/common] Error 2 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/input-compat.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/fs.h:15, from /kisskb/src/drivers/usb/core/devices.c:39: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/input-mt.o] Error 1 In file included from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/xarray.h:14, from /kisskb/src/include/linux/radix-tree.h:18, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:13, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16: /kisskb/src/include/linux/mmzone.h: In function '__nr_to_section': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1226 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ /kisskb/src/include/linux/mmzone.h:1212:27: note: 'mem_section' declared here 1212 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/scsi/scsi_lib_dma.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/scsi/scsi_devinfo.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/rtc/nvmem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/input/serio] Error 2 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/notify.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/usb/mon] Error 2 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:284: kernel/time/tick-sched.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/input-poller.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/message.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/sysfs.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/net/can/rx-offload.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/i2c/i2c-core-smbus.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/scsi/scsi_sysctl.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/input/ff-core.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/generic.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/proc] Error 2 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/quirks.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/usb/core/phy.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/i2c/i2c-core-base.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/i2c] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpio] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/rtc] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/tty/serial] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/input/mouse] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/input] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/rcu] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/can] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: block] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/trace] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/scsi] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/time] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/ata] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: mm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/usb/core] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/usb] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/tty/vt] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/tty] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: drivers] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/events] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: kernel] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/ext4] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: fs] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/sfr-test_defconfig_sh4-gcc13 # Build took: 0:01:06.578890