Buildresult: mpe/sparc64-defconfig/sparc64-gcc13 built on Jul 20 2023, 11:43
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 20 2023, 11:43
Duration:
0:00:52.701366
Builder:
ka7
Revision:
Linux 5.5 (
d5226fa6dbae0569ee43ecfc08bdcd6770fc4755)
Target:
mpe/sparc64-defconfig/sparc64-gcc13
Branch:
mpe
Compiler:
sparc64-gcc13
(sparc64-linux-gcc (GCC) 13.1.0 / GNU ld (GNU Binutils) 2.40)
Config:
defconfig
(
download
)
Log:
Download original
Possible errors
arch/sparc/mm/init_64.c:3064:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds=] arch/sparc/mm/init_64.c:3066:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds=] arch/sparc/mm/init_64.c:3068:31: error: array subscript -1 is outside array bounds of 'char[]' [-Werror=array-bounds=] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:265: arch/sparc/mm/init_64.o] Error 1 make[2]: *** [scripts/Makefile.build:503: arch/sparc/mm] Error 2 arch/sparc/kernel/mdesc.c:647:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:692:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:719:21: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:1022:21: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:875:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:854:30: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:1208:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:1218:30: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] arch/sparc/kernel/mdesc.c:984:29: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:266: arch/sparc/kernel/mdesc.o] Error 1 make[2]: *** [scripts/Makefile.build:503: arch/sparc/kernel] Error 2 make[1]: *** [Makefile:1693: arch/sparc] Error 2 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (44)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] /opt/cross/kisskb/korg/gcc-13.1.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-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: arch/sparc/vdso/vdso32/vdso-note.o: missing .note.GNU-stack section implies executable stack kernel/trace/trace.c:9272:40: warning: comparison between two arrays [-Warray-compare] crypto/lrw.c:292:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] crypto/xts.c:331:13: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] drivers/base/regmap/regcache-rbtree.c:275:20: warning: 'new_base_reg' may be used uninitialized [-Wmaybe-uninitialized] drivers/base/regmap/regcache-rbtree.c:274:27: warning: 'new_top_reg' may be used uninitialized [-Wmaybe-uninitialized] kernel/extable.c:37:59: warning: comparison between two arrays [-Warray-compare] arch/sparc/include/asm/percpu_64.h:14:20: warning: array subscript 4096 is above array bounds of 'struct trap_per_cpu[4096]' [-Warray-bounds=] include/linux/list.h:338:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.9503.D.9449.lru.next' [-Wdangling-pointer=] fs/notify/fdinfo.c:66:61: warning: array subscript -1 is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 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=] /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: drivers/char/hw_random/n2-asm.o: missing .note.GNU-stack section implies executable stack drivers/input/mouse/synaptics.c:996:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] drivers/input/mouse/cypress_ps2.c:536:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] drivers/md/raid10.c:840:12: warning: 'best_pending_slot' may be used uninitialized [-Wmaybe-uninitialized] 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=] 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=] drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] 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] drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript -2 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/net/ethernet/broadcom/tg3.c:17864:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds=] drivers/net/ethernet/broadcom/tg3.c:17864:51: warning: array subscript 5 is above array bounds of 'struct tg3_napi[5]' [-Warray-bounds=] drivers/usb/host/ehci-hcd.c:326:33: warning: array subscript -3 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] 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] drivers/usb/host/ehci-hub.c:1281:49: warning: array subscript -3 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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]
Full Log
# 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 <torvalds@linux-foundation.org> # Date: Sun Jan 26 16:23:03 2020 -0800 # # Linux 5.5 # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # make -s -j 32 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/kernel/locking/semaphore.c:30: In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:93:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_killable' at /kisskb/src/kernel/locking/semaphore.c:247:9: /kisskb/src/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] 63 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_killable': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:245:63: note: 'sem' declared here 245 | static noinline int __sched __down_killable(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:93:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_timeout' at /kisskb/src/kernel/locking/semaphore.c:252:9: /kisskb/src/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] 63 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_timeout': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:250:62: note: 'sem' declared here 250 | static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:93:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down' at /kisskb/src/kernel/locking/semaphore.c:237:2: /kisskb/src/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] 63 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:235:55: note: 'sem' declared here 235 | static noinline void __sched __down(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ In function '__list_add', inlined from 'list_add_tail' at /kisskb/src/include/linux/list.h:93:2, inlined from '__down_common' at /kisskb/src/kernel/locking/semaphore.c:209:2, inlined from '__down_interruptible' at /kisskb/src/kernel/locking/semaphore.c:242:9: /kisskb/src/include/linux/list.h:63:20: warning: storing the address of local variable 'waiter' in '*(struct list_head *)((char *)sem + 8).prev' [-Wdangling-pointer=] 63 | next->prev = new; | ~~~~~~~~~~~^~~~~ /kisskb/src/kernel/locking/semaphore.c: In function '__down_interruptible': /kisskb/src/kernel/locking/semaphore.c:207:33: note: 'waiter' declared here 207 | struct semaphore_waiter waiter; | ^~~~~~ /kisskb/src/kernel/locking/semaphore.c:240:68: note: 'sem' declared here 240 | static noinline int __sched __down_interruptible(struct semaphore *sem) | ~~~~~~~~~~~~~~~~~~^~~ 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-13.1.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-13.1.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-13.1.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-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker 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 '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 [32, 8589934606] 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 [32, 8589934606] 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; | ^~~~~ /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.... /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 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.... /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 '<stdlib.h>' 26 | #include <crypto/gf128mul.h> +++ |+#include <stdlib.h> 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 '<stdlib.h>' 21 | #include <crypto/gf128mul.h> +++ |+#include <stdlib.h> 22 | 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:275:20: warning: 'new_base_reg' may be used uninitialized [-Wmaybe-uninitialized] 275 | pos = (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; | ^~~~~~~~~~~~ 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; | ^~~~~~~~~~~ /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 In file included from /kisskb/src/include/linux/compiler_types.h:68, from <command-line>: In function 'wake_affine_weight', inlined from 'wake_affine' at /kisskb/src/kernel/sched/fair.c:5566:12, inlined from 'select_task_rq_fair' at /kisskb/src/kernel/sched/fair.c:6373:15: /kisskb/src/arch/sparc/include/asm/percpu_64.h:14:20: warning: array subscript 4096 is above array bounds of 'struct trap_per_cpu[4096]' [-Warray-bounds=] 14 | (trap_block[(__cpu)].__per_cpu_base) | ~~~~~~~~~~^~~~~~~~~ /kisskb/src/include/linux/compiler-gcc.h:58:33: note: in definition of macro 'RELOC_HIDE' 58 | (typeof(ptr)) (__ptr + (off)); \ | ^~~ /kisskb/src/include/linux/percpu-defs.h:237:9: note: in expansion of macro 'SHIFT_PERCPU_PTR' 237 | SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \ | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/include/asm/percpu_64.h:15:28: note: in expansion of macro '__per_cpu_offset' 15 | #define per_cpu_offset(x) (__per_cpu_offset(x)) | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:237:33: note: in expansion of macro 'per_cpu_offset' 237 | SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \ | ^~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:270:35: note: in expansion of macro 'per_cpu_ptr' 270 | #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu)) | ^~~~~~~~~~~ /kisskb/src/kernel/sched/sched.h:1045:35: note: in expansion of macro 'per_cpu' 1045 | #define cpu_rq(cpu) (&per_cpu(runqueues, (cpu))) | ^~~~~~~ /kisskb/src/kernel/sched/fair.c:5521:34: note: in expansion of macro 'cpu_rq' 5521 | this_eff_load = cpu_load(cpu_rq(this_cpu)); | ^~~~~~ In file included from /kisskb/src/arch/sparc/include/asm/percpu_64.h:11, from /kisskb/src/arch/sparc/include/asm/percpu.h:5, from /kisskb/src/arch/sparc/include/asm/smp_64.h:32, from /kisskb/src/arch/sparc/include/asm/smp.h:5, from /kisskb/src/include/linux/smp.h:68, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/hrtimer.h:19, from /kisskb/src/include/linux/sched.h:20, from /kisskb/src/kernel/sched/sched.h:5, from /kisskb/src/kernel/sched/fair.c:23: /kisskb/src/arch/sparc/include/asm/trap_block.h: In function 'select_task_rq_fair': /kisskb/src/arch/sparc/include/asm/trap_block.h:54:28: note: while referencing 'trap_block' 54 | extern struct trap_per_cpu trap_block[NR_CPUS]; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/kobject.h:19, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/linux/node.h:18, from /kisskb/src/include/linux/cpu.h:17, from /kisskb/src/mm/compaction.c:11: In function '__list_cut_position', inlined from 'list_cut_position' at /kisskb/src/include/linux/list.h:368:3, inlined from 'move_freelist_tail' at /kisskb/src/mm/compaction.c:1215:3: /kisskb/src/include/linux/list.h:338:21: warning: storing the address of local variable 'sublist' in '*&freepage_6(D)->D.9503.D.9449.lru.next' [-Wdangling-pointer=] 338 | entry->next = list; | ~~~~~~~~~~~~^~~~~~ /kisskb/src/mm/compaction.c: In function 'move_freelist_tail': /kisskb/src/mm/compaction.c:1212:19: note: 'sublist' declared here 1212 | LIST_HEAD(sublist); | ^~~~~~~ /kisskb/src/include/linux/list.h:24:26: note: in definition of macro 'LIST_HEAD' 24 | struct list_head name = LIST_HEAD_INIT(name) | ^~~~ /kisskb/src/mm/compaction.c:1210:61: note: 'freepage' declared here 1210 | move_freelist_tail(struct list_head *freelist, struct page *freepage) | ~~~~~~~~~~~~~^~~~~~~~ /kisskb/src/fs/notify/fdinfo.c: In function 'show_mark_fhandle': /kisskb/src/fs/notify/fdinfo.c:66:61: warning: array subscript -1 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]; | ^~~~~~~~ /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; | ^~~~~ /opt/cross/kisskb/korg/gcc-13.1.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-13.1.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/drivers/input/mouse/cypress_ps2.c: In function 'cypress_process_packet.isra': /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/drivers/md/raid10.c: In function 'read_balance': /kisskb/src/drivers/md/raid10.c:840:12: warning: 'best_pending_slot' may be used uninitialized [-Wmaybe-uninitialized] 840 | if (slot >= 0) { | ^ /kisskb/src/drivers/md/raid10.c:714:29: note: 'best_pending_slot' was declared here 714 | int best_dist_slot, best_pending_slot; | ^~~~~~~~~~~~~~~~~ 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/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 '<unknown>' 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/net/ethernet/broadcom/tg3.c: In function 'tg3_init_one': /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 -2 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 */ | ^~~~~~~~~~~ /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]; | ^~~~ 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 -3 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 -3 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 */ | ^~~~~~~~~~~ make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 32 ARCH=sparc64 O=/kisskb/build/mpe_defconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/mpe_defconfig_sparc64-gcc13 # Build took: 0:00:52.701366
© Michael Ellerman 2006-2018.