# git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} 4156c85dbf936800bc450ceaa3ed7cd1570315dd already have revision, skipping fetch # git checkout -q -f -B kisskb 4156c85dbf936800bc450ceaa3ed7cd1570315dd # git clean -qxdf # < git log -1 # commit 4156c85dbf936800bc450ceaa3ed7cd1570315dd # Author: Stephen Rothwell # Date: Wed Aug 19 21:32:00 2020 +1000 # # syscalls: use simpler file guard defines # # A couple of architectures were defining the generated file's guards to 1 # rather than just defining then like most of our other include file guards. # This simplifies the generating script a little. # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 4156c85dbf936800bc450ceaa3ed7cd1570315dd # make -s -j 32 ARCH=xtensa O=/kisskb/build/sfr-test_defconfig_xtensa-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux- defconfig # < make -s -j 32 ARCH=xtensa O=/kisskb/build/sfr-test_defconfig_xtensa-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 32 ARCH=xtensa O=/kisskb/build/sfr-test_defconfig_xtensa-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 32 ARCH=xtensa O=/kisskb/build/sfr-test_defconfig_xtensa-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux- In file included from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/percpu.h:6, from /kisskb/src/kernel/locking/percpu-rwsem.c:3: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:100:2, inlined from '__add_wait_queue_entry_tail' at /kisskb/src/include/linux/wait.h:185:2, inlined from 'percpu_rwsem_wait' at /kisskb/src/kernel/locking/percpu-rwsem.c:152:3: /kisskb/src/include/linux/list.h:70:20: warning: storing the address of local variable 'wq_entry' in '((struct list_head *)sem)[4].prev' [-Wdangling-pointer=] 70 | next->prev = new; | ~~~~~~~~~~~^~~~~ In file included from /kisskb/src/kernel/locking/percpu-rwsem.c:4: /kisskb/src/kernel/locking/percpu-rwsem.c: In function 'percpu_rwsem_wait': /kisskb/src/kernel/locking/percpu-rwsem.c:141:26: note: 'wq_entry' declared here 141 | DEFINE_WAIT_FUNC(wq_entry, percpu_rwsem_wake_function); | ^~~~~~~~ /kisskb/src/include/linux/wait.h:1136:33: note: in definition of macro 'DEFINE_WAIT_FUNC' 1136 | struct wait_queue_entry name = { \ | ^~~~ /kisskb/src/kernel/locking/percpu-rwsem.c:141:26: note: 'sem' declared here 141 | DEFINE_WAIT_FUNC(wq_entry, percpu_rwsem_wake_function); | ^~~~~~~~ /kisskb/src/include/linux/wait.h:1136:33: note: in definition of macro 'DEFINE_WAIT_FUNC' 1136 | struct wait_queue_entry name = { \ | ^~~~ In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/net/ethernet/eth.c:36: /kisskb/src/net/ethernet/eth.c: In function 'eth_type_trans': /kisskb/src/net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from /kisskb/src/net/ethernet/eth.c:47: /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:169:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 170 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4646:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4646 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4646:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/net/core/dev.c:91: /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4676 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux-ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux-ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/xtensa-linux/bin/xtensa-linux-ld: warning: vmlinux has a LOAD segment with RWX permissions Completed OK # rm -rf /kisskb/build/sfr-test_defconfig_xtensa-gcc12 # Build took: 0:00:36.052707