Buildresult: linus-rand/x86_64-randconfig/x86_64-gcc11 built on May 23 2022, 06:41
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 23 2022, 06:41
Duration:
0:06:38.001853
Builder:
blade46
Revision:
Linux 5.18 (
4b0986a3613c92f4ec1bdc7f60ec66fea135991f)
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/infiniband/core/user_mad.c:564:50: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] drivers/infiniband/core/user_mad.c:566:42: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] drivers/infiniband/core/user_mad.c:618:25: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] drivers/infiniband/core/user_mad.c:622:44: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:288: drivers/infiniband/core/user_mad.o] Error 1 make[3]: *** [scripts/Makefile.build:550: drivers/infiniband/core] Error 2 make[2]: *** [scripts/Makefile.build:550: drivers/infiniband] Error 2 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:26: 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:29: 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:25: 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:23: 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:18: 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:25: 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:44: 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 (2)
.config:5043:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5045:warning: override: reassigning to symbol GCC_PLUGINS
Full Log
# git rev-parse -q --verify 4b0986a3613c92f4ec1bdc7f60ec66fea135991f^{commit} 4b0986a3613c92f4ec1bdc7f60ec66fea135991f already have revision, skipping fetch # git checkout -q -f -B kisskb 4b0986a3613c92f4ec1bdc7f60ec66fea135991f # git clean -qxdf # < git log -1 # commit 4b0986a3613c92f4ec1bdc7f60ec66fea135991f # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sun May 22 09:52:31 2022 -1000 # # Linux 5.18 # < /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 4b0986a3613c92f4ec1bdc7f60ec66fea135991f # < 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:5043:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5045:warning: override: reassigning to symbol GCC_PLUGINS # 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- /kisskb/src/drivers/infiniband/core/user_mad.c: In function 'ib_umad_write': /kisskb/src/drivers/infiniband/core/user_mad.c:564:50: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 564 | hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:566:42: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 566 | if (ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:618:25: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 618 | rmpp_mad->mad_hdr.tid = *tid; | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:622:44: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 622 | && ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/infiniband/core/user_mad.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/infiniband/core] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/infiniband] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/net/wireless/marvell/libertas/cfg.c: In function 'lbs_cfg_connect': /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:26: 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:29: 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:25: 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:23: 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/drivers/net/wireless/marvell/libertas/cfg.c:22: /kisskb/src/drivers/net/wireless/marvell/libertas/cmd.h:35:18: 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/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:25: 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/bitops/le.h:6, from /kisskb/src/arch/x86/include/asm/bitops.h:393, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/arch/x86/include/asm/percpu.h:27, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/percpu.h:6, 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/bitops/le.h:6, from /kisskb/src/arch/x86/include/asm/bitops.h:393, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/arch/x86/include/asm/percpu.h:27, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/percpu.h:6, 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/bitops/le.h:6, from /kisskb/src/arch/x86/include/asm/bitops.h:393, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/arch/x86/include/asm/percpu.h:27, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/percpu.h:6, 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/bitops/le.h:6, from /kisskb/src/arch/x86/include/asm/bitops.h:393, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/arch/x86/include/asm/percpu.h:27, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/percpu.h:6, 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/bitops/le.h:6, from /kisskb/src/arch/x86/include/asm/bitops.h:393, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/arch/x86/include/asm/percpu.h:27, from /kisskb/src/arch/x86/include/asm/preempt.h:6, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/percpu.h:6, 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:44: 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[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[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net/wireless] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/net] Error 2 make[1]: *** [/kisskb/src/Makefile:1834: drivers] Error 2 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:06:38.001853
© Michael Ellerman 2006-2018.