# git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} # git fetch -q -n -f https://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux.git test # git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} 4156c85dbf936800bc450ceaa3ed7cd1570315dd # 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-12.2.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 4156c85dbf936800bc450ceaa3ed7cd1570315dd # make -s -j 40 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sh4-linux/bin/sh4-linux- defconfig # < make -s -j 40 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 40 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 40 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.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/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_); | ^~ /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/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_); | ^~ 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_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_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: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_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_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/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': /kisskb/src/include/linux/spinlock_api_smp.h: In function '__raw_spin_trylock_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: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_); | ^~ 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/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_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_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/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_); | ^~ /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/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: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_); | ^~ /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/mm.h:10, from /kisskb/src/arch/sh/kernel/cpu/init.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_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/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: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': 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: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_); | ^~ /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_); | ^~ 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: In function '__raw_spin_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: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: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/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_); | ^~ 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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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_); | ^~ /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_); | ^~ 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_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_); | ^~~~~~~~~~~~~~~~~~~ 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_); | ^~ 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': /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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' 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_); | ^~ 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': /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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' 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/mmzone.h: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_); | ^~ /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/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_); | ^~ 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: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/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': /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_); | ^~ 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': /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/mmzone.h:1226:13: warning: the comparison will 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/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/rwlock_api_smp.h: In function '__raw_read_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: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_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_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_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: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: 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/spinlock_api_smp.h: In function '__raw_spin_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/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_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_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: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_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': /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_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/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: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: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/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/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_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/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/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_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_); | ^~ 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/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: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': /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/mm.h:10, from /kisskb/src/arch/sh/mm/flush-sh4.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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' 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]; | ^~~~~~~~~~~ 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: 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/mmzone.h: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_); | ^~ 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': /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/mmzone.h: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_); | ^~ 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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' 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_); | ^~ 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: 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_); | ^~ /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/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: arch/sh/mm/extable_32.o] Error 1 make[2]: *** 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: 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: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_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': /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_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_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_write_trylock': /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: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_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_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_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': /kisskb/src/include/linux/rwlock_api_smp.h: In function '__raw_write_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: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: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_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: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: 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/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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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:1226:13: warning: the comparison will always evaluate as 'true' 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: 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: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': /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_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_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_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_irqrestore': 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/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_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_); | ^~ /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/arch/sh/mm/kmap.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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/mm/consistent.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)]) | ^ 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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/kernel/irq.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/arch/sh/kernel/io.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/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/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': /kisskb/src/include/linux/mmzone.h: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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/process.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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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[2]: *** [/kisskb/src/scripts/Makefile.build:283: init/version.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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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: arch/sh/kernel/cpu/pfc.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/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/arch/sh/kernel/nmi_debug.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/arch/sh/kernel/cpu/fpu.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/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/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]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/fpu.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/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/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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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: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_); | ^~ /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[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/proc.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': 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/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/nmi_debug.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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: arch/sh/kernel/cpu/clock.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/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)]) | ^ /kisskb/src/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/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: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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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': /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_); | ^~ /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/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_); | ^~ 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.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/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/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_); | ^~ 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/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/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/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/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/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/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/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': /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: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_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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/kernel/cpu/sh4a/setup-shx3.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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/ipc/util.c:47: /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/notify/dnotify/dnotify.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]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: init/init_task.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: arch/sh/kernel/cpu/irq/imask.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/irq] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:283: arch/sh/boards/mach-x3proto/setup.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/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/fs.h:15, from /kisskb/src/mm/fadvise.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[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/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/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/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]; | ^~~~~~~~~~~ /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/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:1226:13: warning: the comparison will always evaluate as 'true' for the 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.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/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/mm.h:10, from /kisskb/src/security/min_addr.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)]) | ^ /kisskb/src/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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/slab.h:15, from /kisskb/src/ipc/shm.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: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/fair.c:23: /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_); | ^~ make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/mm] Error 2 make[1]: *** 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, 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/sh4a] 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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: 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.... 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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/ipc/msg.c:30: /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)]) | ^ 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/mmzone.h: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/ipc/mqueue.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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/pagewalk.h:5, from /kisskb/src/fs/proc/task_mmu.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/block/partitions/core.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]; | ^~~~~~~~~~~ make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/boards/mach-x3proto] Error 2 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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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:1226:13: warning: the comparison will always evaluate as 'true' for the 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:500: fs/notify] 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/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/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/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/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/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/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]; | ^~~~~~~~~~~ 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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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: arch/sh/kernel/cpu/sh4] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: arch/sh/kernel] 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/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: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/proc_fs.h:10, from /kisskb/src/fs/proc/inode.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/mm/swap.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/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': /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_); | ^~ 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_); | ^~ /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_); | ^~ 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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/block/elevator.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: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/sched/core.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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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[1]: *** [/kisskb/src/Makefile:1789: init] Error 2 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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/sched/loadavg.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/root.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]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/clock.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/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]; | ^~~~~~~~~~~ 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/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: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/fs/iomap/apply.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/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_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:283: security/commoncap.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1789: security] 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_); | ^~ 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_); | ^~ /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': /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/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/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_); | ^~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/idle.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/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': /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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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_); | ^~ 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_); | ^~ /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_); | ^~ make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/root.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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/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/locking/rwsem.c:20: /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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' 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: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/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_); | ^~ 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/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_); | ^~ 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': /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_); | ^~ 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/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: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: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_); | ^~ 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/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/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': 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]; | ^~~~~~~~~~~ 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: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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/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/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/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/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]; | ^~~~~~~~~~~ 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 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/locking/rwsem.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_); | ^~ /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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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: kernel/locking/mutex.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/pinctrl/sh-pfc/pinctrl.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/pinctrl/sh-pfc] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/pinctrl] 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/clk/clk-devres.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)]) | ^ /kisskb/src/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/clk/clk-devres.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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/kernel/power/process.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]; | ^~~~~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/locking/semaphore.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/cputime.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/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)]) | ^ /kisskb/src/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-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/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_); | ^~ /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_); | ^~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/locking] Error 2 make[2]: *** Waiting for unfinished jobs.... /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/block/blk-settings.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_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/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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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-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/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/clk/clk-bulk.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: kernel/sched/fair.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/sched] 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/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]; | ^~~~~~~~~~~ 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/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]; | ^~~~~~~~~~~ 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': /kisskb/src/include/linux/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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/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/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 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/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/mmzone.h: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_); | ^~ 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': 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:1226:13: warning: the comparison will always evaluate as 'true' for the 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_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/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/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]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/clk] Error 2 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]; | ^~~~~~~~~~~ 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/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_); | ^~ /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/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/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': /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/block/blk-mq-tag.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_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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/iomap/swapfile.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 make[3]: *** [/kisskb/src/scripts/Makefile.build:283: fs/proc/base.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/proc] 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/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)]) | ^ /kisskb/src/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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-mq-sysfs.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)]) | ^ /kisskb/src/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-sched.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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/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)]) | ^ /kisskb/src/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[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/blk-map.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/gpio/gpiolib-legacy.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/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': 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/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/mmzone.h:1226:13: warning: the comparison will always evaluate as 'true' for the 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/block/ioprio.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: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/genhd.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]; | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:500: kernel/power] Error 2 cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:283: block/blk-stat.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: drivers/gpio/gpiolib-cdev.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpio] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: fs] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: mm] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: block] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sh O=/kisskb/build/sfr-test_defconfig_sh4-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/sfr-test_defconfig_sh4-gcc12 # Build took: 0:00:28.531521