# git rev-parse -q --verify d5226fa6dbae0569ee43ecfc08bdcd6770fc4755^{commit} d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 already have revision, skipping fetch # git checkout -q -f -B kisskb d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # git clean -qxdf # < git log -1 # commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # Author: Linus Torvalds # Date: Sun Jan 26 16:23:03 2020 -0800 # # Linux 5.5 # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # make -s -j 160 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/kernel/trace/trace.c: In function 'tracer_alloc_buffers': /kisskb/src/kernel/trace/trace.c:9272:40: warning: comparison between two arrays [-Warray-compare] 9272 | if (__stop___trace_bprintk_fmt != __start___trace_bprintk_fmt) | ^~ /kisskb/src/kernel/trace/trace.c:9272:40: note: use '&__stop___trace_bprintk_fmt[0] != &__start___trace_bprintk_fmt[0]' to compare the addresses /kisskb/src/net/8021q/vlan_core.c: In function 'vlan_do_receive': /kisskb/src/net/8021q/vlan_core.c:36:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 36 | if (ether_addr_equal_64bits(eth_hdr(skb)->h_dest, vlan_dev->dev_addr)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/8021q/vlan_core.c:36:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:11, from /kisskb/src/net/8021q/vlan_core.c:4: /kisskb/src/include/linux/etherdevice.h:344:20: note: in a call to function 'ether_addr_equal_64bits' 344 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/fdinfo.c: In function 'show_mark_fhandle': /kisskb/src/fs/notify/fdinfo.c:66:61: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] 66 | seq_printf(m, "%02x", (int)f.handle.f_handle[i]); | ~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/fs/notify/fdinfo.c:3: /kisskb/src/include/linux/fs.h:980:23: note: while referencing 'f_handle' 980 | unsigned char f_handle[0]; | ^~~~~~~~ In function 'kernel_lds_init', inlined from 'report_memory' at /kisskb/src/arch/sparc/mm/init_64.c:3076:2: /kisskb/src/arch/sparc/mm/init_64.c:3064:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds] 3064 | code_resource.end = compute_kern_paddr(_etext - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/sparc/include/asm/sections.h:6, from /kisskb/src/include/linux/interrupt.h:20, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/hugetlb.h:9, from /kisskb/src/arch/sparc/mm/init_64.c:16: /kisskb/src/include/asm-generic/sections.h: In function 'report_memory': /kisskb/src/include/asm-generic/sections.h:35:32: note: at offset -1 into object '_etext' of size [0, 9223372036854775807] 35 | extern char _text[], _stext[], _etext[]; | ^~~~~~ In function 'kernel_lds_init', inlined from 'report_memory' at /kisskb/src/arch/sparc/mm/init_64.c:3076:2: /kisskb/src/arch/sparc/mm/init_64.c:3066:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds] 3066 | data_resource.end = compute_kern_paddr(_edata - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/sections.h: In function 'report_memory': /kisskb/src/include/asm-generic/sections.h:36:32: note: at offset -1 into object '_edata' of size [0, 9223372036854775807] 36 | extern char _data[], _sdata[], _edata[]; | ^~~~~~ In function 'kernel_lds_init', inlined from 'report_memory' at /kisskb/src/arch/sparc/mm/init_64.c:3076:2: /kisskb/src/arch/sparc/mm/init_64.c:3068:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds] 3068 | bss_resource.end = compute_kern_paddr(_end - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/sections.h: In function 'report_memory': /kisskb/src/include/asm-generic/sections.h:41:13: note: at offset -1 into object '_end' of size [0, 9223372036854775807] 41 | extern char _end[]; | ^~~~ /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: arch/sparc/vdso/vdso-note.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: arch/sparc/vdso/vdso32/vdso-note.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /kisskb/src/kernel/extable.c: In function 'sort_main_extable': /kisskb/src/kernel/extable.c:37:59: warning: comparison between two arrays [-Warray-compare] 37 | if (main_extable_sort_needed && __stop___ex_table > __start___ex_table) { | ^ /kisskb/src/kernel/extable.c:37:59: note: use '&__stop___ex_table[0] > &__start___ex_table[0]' to compare the addresses /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'mdesc_node_by_name': /kisskb/src/arch/sparc/kernel/mdesc.c:647:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 647 | if (!strcmp(names + ep[ret].name_offset, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset 16 into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'mdesc_get_property': /kisskb/src/arch/sparc/kernel/mdesc.c:692:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 692 | if (!strcmp(names + ep->name_offset, name)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset 16 into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'mdesc_next_arc': /kisskb/src/arch/sparc/kernel/mdesc.c:719:21: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 719 | if (strcmp(names + ep->name_offset, arc_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934606] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ In function 'mark_proc_ids', inlined from '__set_proc_ids' at /kisskb/src/arch/sparc/kernel/mdesc.c:1046:3: /kisskb/src/arch/sparc/kernel/mdesc.c:1022:21: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 1022 | if (strcmp(name, "cpu")) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function '__set_proc_ids': /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'find_back_node_value.part.0.constprop': /kisskb/src/arch/sparc/kernel/mdesc.c:875:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 875 | if (!strcmp(srch_val, name)) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'fill_in_one_cache': /kisskb/src/arch/sparc/kernel/mdesc.c:854:30: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 854 | if (!strcmp(name, "cache")) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:265: arch/sparc/mm/init_64.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:503: arch/sparc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'fill_in_one_cpu': /kisskb/src/arch/sparc/kernel/mdesc.c:1208:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 1208 | if (!strcmp(t_name, "cache")) { | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:1218:30: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 1218 | if (!strcmp(n_name, "cache")) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ In function 'set_sock_ids_by_socket', inlined from 'set_sock_ids' at /kisskb/src/arch/sparc/kernel/mdesc.c:1009:3, inlined from 'mdesc_fill_in_cpu_data' at /kisskb/src/arch/sparc/kernel/mdesc.c:1239:2: /kisskb/src/arch/sparc/kernel/mdesc.c:984:29: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] 984 | if (strcmp(name, "cpu")) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/kernel/mdesc.c: In function 'mdesc_fill_in_cpu_data': /kisskb/src/arch/sparc/kernel/mdesc.c:77:33: note: at offset [32, 8589934638] into source object 'mdesc' of size 16 77 | struct mdesc_hdr mdesc; | ^~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:266: arch/sparc/kernel/mdesc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 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:344:20: note: in a call to function 'ether_addr_equal_64bits' 344 | 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:344:20: note: in a call to function 'ether_addr_equal_64bits' 344 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'regcache_rbtree_insert_to_block', inlined from 'regcache_rbtree_write' at /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:10: /kisskb/src/drivers/base/regmap/regcache-rbtree.c:274:27: warning: 'new_top_reg' may be used uninitialized [-Wmaybe-uninitialized] 274 | blklen = (top_reg - base_reg) / map->reg_stride + 1; | ~~~~~~~~~^~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_write': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:389:44: note: 'new_top_reg' was declared here 389 | unsigned int new_base_reg, new_top_reg; | ^~~~~~~~~~~ In function 'regcache_rbtree_insert_to_block', inlined from 'regcache_rbtree_write' at /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:10: /kisskb/src/drivers/base/regmap/regcache-rbtree.c:276:36: warning: 'new_base_reg' may be used uninitialized [-Wmaybe-uninitialized] 276 | offset = (rbnode->base_reg - base_reg) / map->reg_stride; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_write': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:389:30: note: 'new_base_reg' was declared here 389 | unsigned int new_base_reg, new_top_reg; | ^~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'aoecmd_cfg_pkts' at /kisskb/src/drivers/block/aoe/aoecmd.c:433:3, inlined from 'aoecmd_cfg' at /kisskb/src/drivers/block/aoe/aoecmd.c:1372:2: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_cfg': /kisskb/src/drivers/block/aoe/aoecmd.c:1369:29: note: object 'queue' of size 24 1369 | struct sk_buff_head queue; | ^~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:503: arch/sparc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1693: arch/sparc] Error 2 make[1]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: drivers/char/hw_random/n2-asm.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /kisskb/src/drivers/input/mouse/synaptics.c: In function 'synaptics_report_mt_data': /kisskb/src/drivers/input/mouse/synaptics.c:996:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 996 | input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->info.x_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/synaptics.c:26: /kisskb/src/include/linux/input/mt.h:118:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 118 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/synaptics.c:986:29: note: 'pos' declared here 986 | struct input_mt_pos pos[2]; | ^~~ /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4515:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4515 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4515: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:90: /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:4548:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4548 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4548: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/drivers/input/mouse/cypress_ps2.c: In function 'cypress_process_packet.constprop': /kisskb/src/drivers/input/mouse/cypress_ps2.c:536:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 536 | input_mt_assign_slots(input, slots, pos, n, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/cypress_ps2.c:21: /kisskb/src/include/linux/input/mt.h:118:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 118 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/cypress_ps2.c:520:29: note: 'pos' declared here 520 | struct input_mt_pos pos[CYTP_MAX_MT_SLOTS]; | ^~~ /kisskb/src/crypto/lrw.c:292:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 292 | static void free(struct skcipher_instance *inst) | ^~~~ /kisskb/src/crypto/lrw.c:27:1: note: 'free' is declared in header '' 26 | #include +++ |+#include 27 | /kisskb/src/crypto/xts.c:331:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 331 | static void free(struct skcipher_instance *inst) | ^~~~ /kisskb/src/crypto/xts.c:22:1: note: 'free' is declared in header '' 21 | #include +++ |+#include 22 | In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/net/sock.h:46, from /kisskb/src/fs/io_uring.c:63: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'io_sqe_file_unregister' at /kisskb/src/fs/io_uring.c:4393:3, inlined from 'io_sqe_files_update' at /kisskb/src/fs/io_uring.c:4488:4, inlined from '__io_uring_register' at /kisskb/src/fs/io_uring.c:5473:9, inlined from '__do_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5516:8, inlined from '__se_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5498:1: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/io_uring.c: In function '__se_sys_io_uring_register': /kisskb/src/fs/io_uring.c:4351:29: note: object 'list' of size 24 4351 | struct sk_buff_head list, *head = &sock->sk_receive_queue; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'io_sqe_file_unregister' at /kisskb/src/fs/io_uring.c:4383:5, inlined from 'io_sqe_files_update' at /kisskb/src/fs/io_uring.c:4488:4, inlined from '__io_uring_register' at /kisskb/src/fs/io_uring.c:5473:9, inlined from '__do_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5516:8, inlined from '__se_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5498:1: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/io_uring.c: In function '__se_sys_io_uring_register': /kisskb/src/fs/io_uring.c:4351:29: note: object 'list' of size 24 4351 | struct sk_buff_head list, *head = &sock->sk_receive_queue; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/net/dst.h:13, from /kisskb/src/net/ipv4/tcp_input.c:73: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'tcp_collapse' at /kisskb/src/net/ipv4/tcp_input.c:4977:4: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_collapse': /kisskb/src/net/ipv4/tcp_input.c:4916:29: note: object 'tmp' of size 24 4916 | struct sk_buff_head tmp; | ^~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_handed_over': /kisskb/src/drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1331 | reg = &ehci->regs->port_status[portnum - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci.h:273, from /kisskb/src/drivers/usb/host/ehci-hcd.c:96: /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'set_owner': /kisskb/src/drivers/usb/host/ehci-hub.c:541:22: warning: array subscript 'portnum' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 541 | status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_status_data': /kisskb/src/drivers/usb/host/ehci-hub.c:662:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 662 | temp = ehci_readl(ehci, &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_power.isra': /kisskb/src/drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript -3 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1338 | u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In function 'ehci_turn_off_all_ports', inlined from 'ehci_silence_controller' at /kisskb/src/drivers/usb/host/ehci-hcd.c:340:2: /kisskb/src/drivers/usb/host/ehci-hcd.c:326:33: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 326 | &ehci->regs->port_status[port]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h: In function 'ehci_silence_controller': /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_control': /kisskb/src/drivers/usb/host/ehci-hub.c:891:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 891 | status_reg = &ehci->regs->port_status[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:892:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 892 | hostpc_reg = &ehci->regs->hostpc[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:1281:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1281 | &ehci->regs->port_status[ports]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hcd.c: In function 'ehci_irq': /kisskb/src/drivers/usb/host/ehci-hcd.c:786:42: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 786 | &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.c: In function 'tg3_init_one': /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:17864:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] 17864 | struct tg3_napi *tnapi = &tp->napi[i]; | ~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:72: /kisskb/src/drivers/net/ethernet/broadcom/tg3.h:3203:41: note: while referencing 'napi' 3203 | struct tg3_napi napi[TG3_IRQ_MAX_VECS]; | ^~~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.c:17864:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds] 17864 | struct tg3_napi *tnapi = &tp->napi[i]; | ~~~~~~~~^~~ /kisskb/src/drivers/net/ethernet/broadcom/tg3.h:3203:41: note: while referencing 'napi' 3203 | struct tg3_napi napi[TG3_IRQ_MAX_VECS]; | ^~~~ make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 160 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/mpe_defconfig_sparc64-gcc12 # Build took: 0:00:47.762817