Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc11 built on Apr 24 2022, 10:49
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Apr 24 2022, 10:49
Duration:
0:03:12.983541
Builder:
ka7
Revision:
Merge tag 'arc-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc (
f39359260e39fc45008c1140a84497ffde193fa7)
Target:
linus-rand/x86_64-randconfig/x86_64-gcc11
Branch:
linus-rand
Compiler:
x86_64-gcc11
(x86_64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
drivers/net/wireless/marvell/libertas/cfg.c:1081:15: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1095:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1099:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1100:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1135:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cmd.h:35:42: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cmd.h:36:14: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1150:34: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1199:70: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1199:39: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1198:63: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] drivers/net/wireless/marvell/libertas/cfg.c:1201:39: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:288: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 make[5]: *** [scripts/Makefile.build:550: drivers/net/wireless/marvell/libertas] Error 2 make[4]: *** [scripts/Makefile.build:550: drivers/net/wireless/marvell] Error 2 make[3]: *** [scripts/Makefile.build:550: drivers/net/wireless] Error 2 make[2]: *** [scripts/Makefile.build:550: drivers/net] Error 2 make[1]: *** [Makefile:1834: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (5)
.config:6306:warning: override: reassigning to symbol STANDALONE .config:6307:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6312:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0xf0: call to do_strncpy_from_user() with UACCESS enabled lib/strnlen_user.o: warning: objtool: strnlen_user()+0x88: call to do_strnlen_user() with UACCESS enabled
Full Log
# git rev-parse -q --verify f39359260e39fc45008c1140a84497ffde193fa7^{commit} f39359260e39fc45008c1140a84497ffde193fa7 already have revision, skipping fetch # git checkout -q -f -B kisskb f39359260e39fc45008c1140a84497ffde193fa7 # git clean -qxdf # < git log -1 # commit f39359260e39fc45008c1140a84497ffde193fa7 # Merge: 6fc2586d23b5 c6ed4d84a2c4 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sat Apr 23 16:24:30 2022 -0700 # # Merge tag 'arc-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc # # Pull ARC fixes from Vineet Gupta: # # - Assorted fixes # # * tag 'arc-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: # ARC: remove redundant READ_ONCE() in cmpxchg loop # ARC: atomic: cleanup atomic-llsc definitions # arc: drop definitions of pgd_index() and pgd_offset{, _k}() entirely # ARC: dts: align SPI NOR node name with dtschema # ARC: Remove a redundant memset() # ARC: fix typos in comments # ARC: entry: fix syscall_trace_exit argument # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 f39359260e39fc45008c1140a84497ffde193fa7 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6306:warning: override: reassigning to symbol STANDALONE .config:6307:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6312:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0xf0: call to do_strncpy_from_user() with UACCESS enabled lib/strnlen_user.o: warning: objtool: strnlen_user()+0x88: call to do_strnlen_user() with UACCESS enabled /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_associate': /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1081:15: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1081 | pos = &cmd->iebuf[0]; | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1095:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1095 | cmd->hdr.command = cpu_to_le16(CMD_802_11_ASSOCIATE); | ^~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1099:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1099 | cmd->listeninterval = cpu_to_le16(MRVDRV_DEFAULT_LISTEN_INTERVAL); | ^~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1100:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1100 | cmd->capability = cpu_to_le16(bss->capability); | ^~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1135:12: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1135 | cmd->hdr.size = cpu_to_le16(len); | ^~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cmd.h:35:42: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 35 | uint16_t __sz = le16_to_cpu((cmd)->hdr.size); \ | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/drivers/net/wireless/marvell/libertas/cmd.h:41:9: note: in expansion of macro 'lbs_cmd' 41 | lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) | ^~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1143:15: note: in expansion of macro 'lbs_cmd_with_response' 1143 | ret = lbs_cmd_with_response(priv, CMD_802_11_ASSOCIATE, cmd); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:22: /kisskb/src/drivers/net/wireless/marvell/libertas/cmd.h:36:14: error: array subscript 'struct cmd_ds_802_11_associate[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 36 | (cmd)->hdr.size = cpu_to_le16(sizeof(*(cmd))); \ | ^~ /kisskb/src/drivers/net/wireless/marvell/libertas/cmd.h:41:9: note: in expansion of macro 'lbs_cmd' 41 | lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) | ^~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1143:15: note: in expansion of macro 'lbs_cmd_with_response' 1143 | ret = lbs_cmd_with_response(priv, CMD_802_11_ASSOCIATE, cmd); | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1150:34: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1150 | status = le16_to_cpu(resp->statuscode); | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1150:18: note: in expansion of macro 'le16_to_cpu' 1150 | status = le16_to_cpu(resp->statuscode); | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1199:70: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1199 | le16_to_cpu(resp->capability), le16_to_cpu(resp->aid)); | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/include/linux/printk.h:446:26: note: in expansion of macro 'printk_index_wrap' 446 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:53:3: note: in expansion of macro 'printk' 53 | printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) | ^~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:64:41: note: in expansion of macro 'LBS_DEB_LL' 64 | #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1197:9: note: in expansion of macro 'lbs_deb_assoc' 1197 | lbs_deb_assoc("status %d, statuscode 0x%04x, capability 0x%04x, " | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1199:39: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1199 | le16_to_cpu(resp->capability), le16_to_cpu(resp->aid)); | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/include/linux/printk.h:446:26: note: in expansion of macro 'printk_index_wrap' 446 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:53:3: note: in expansion of macro 'printk' 53 | printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) | ^~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:64:41: note: in expansion of macro 'LBS_DEB_LL' 64 | #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1197:9: note: in expansion of macro 'lbs_deb_assoc' 1197 | lbs_deb_assoc("status %d, statuscode 0x%04x, capability 0x%04x, " | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1198:63: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1198 | "aid 0x%04x\n", status, le16_to_cpu(resp->statuscode), | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/include/linux/printk.h:446:26: note: in expansion of macro 'printk_index_wrap' 446 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:53:3: note: in expansion of macro 'printk' 53 | printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) | ^~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/defs.h:64:41: note: in expansion of macro 'LBS_DEB_LL' 64 | #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1197:9: note: in expansion of macro 'lbs_deb_assoc' 1197 | lbs_deb_assoc("status %d, statuscode 0x%04x, capability 0x%04x, " | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/x86/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/qrwlock_types.h:6, from /kisskb/src/arch/x86/include/asm/spinlock_types.h:7, from /kisskb/src/include/linux/spinlock_types_raw.h:7, from /kisskb/src/include/linux/ratelimit_types.h:7, from /kisskb/src/include/linux/printk.h:10, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/x86/include/asm/bug.h:87, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:12: /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1201:39: error: array subscript 'struct cmd_ds_802_11_associate_response[0]' is partly outside array bounds of 'unsigned char[203]' [-Werror=array-bounds] 1201 | resp_ie_len = le16_to_cpu(resp->hdr.size) | ^~ /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1201:23: note: in expansion of macro 'le16_to_cpu' 1201 | resp_ie_len = le16_to_cpu(resp->hdr.size) | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c:1068:47: note: referencing an object of size 203 allocated by 'kzalloc' 1068 | struct cmd_ds_802_11_associate *cmd = kzalloc(LBS_ASSOC_MAX_CMD_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1069 | GFP_KERNEL); | ~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/net/wireless/marvell/libertas/cfg.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/wireless/marvell/libertas] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/wireless/marvell] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/wireless] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1834: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:03:12.983541
© Michael Ellerman 2006-2018.