Buildresult: linus-rand/powerpc-randconfig/powerpc-gcc11 built on May 26 2022, 06:38
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 26 2022, 06:38
Duration:
0:02:32.620361
Builder:
ka4
Revision:
Merge tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest (
64e34b50d7aeee7082287ec39f9d34d4e60f3a04)
Target:
linus-rand/powerpc-randconfig/powerpc-gcc11
Branch:
linus-rand
Compiler:
powerpc-gcc11
(powerpc64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
drivers/staging/r8188eu/os_dep/ioctl_linux.c:412:41: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/r8188eu/os_dep/ioctl_linux.c:413:38: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/r8188eu/os_dep/ioctl_linux.c:423:32: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/r8188eu/os_dep/ioctl_linux.c:424:68: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/r8188eu/os_dep/ioctl_linux.c:433:105: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/r8188eu/os_dep/ioctl_linux.c:434:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:292: drivers/staging/r8188eu/os_dep/ioctl_linux.o] Error 1 make[3]: *** [scripts/Makefile.build:555: drivers/staging/r8188eu] Error 2 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:99:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:100:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:112:33: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:114:69: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:128:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:129:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:589:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:590:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:594:21: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:621:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:623:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:604:33: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:612:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:614:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:292: drivers/staging/rtl8723bs/os_dep/ioctl_linux.o] Error 1 make[3]: *** [scripts/Makefile.build:555: drivers/staging/rtl8723bs] Error 2 make[2]: *** [scripts/Makefile.build:555: drivers/staging] Error 2 make[1]: *** [Makefile:1835: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (4)
.config:6838:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:6839:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:6840:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6842:warning: override: reassigning to symbol GCC_PLUGINS
Full Log
# git rev-parse -q --verify 64e34b50d7aeee7082287ec39f9d34d4e60f3a04^{commit} 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 already have revision, skipping fetch # git checkout -q -f -B kisskb 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # git clean -qxdf # < git log -1 # commit 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # Merge: 1c6d2ead87e9 e7eaffce47b7 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Wed May 25 11:32:53 2022 -0700 # # Merge tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest # # Pull KUnit updates from Shuah Khan: # "Several fixes, cleanups, and enhancements to tests and framework: # # - introduce _NULL and _NOT_NULL macros to pointer error checks # # - rework kunit_resource allocation policy to fix memory leaks when # caller doesn't specify free() function to be used when allocating # memory using kunit_add_resource() and kunit_alloc_resource() funcs. # # - add ability to specify suite-level init and exit functions" # # * tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (41 commits) # kunit: tool: Use qemu-system-i386 for i386 runs # kunit: fix executor OOM error handling logic on non-UML # kunit: tool: update riscv QEMU config with new serial dependency # kcsan: test: use new suite_{init,exit} support # kunit: tool: Add list of all valid test configs on UML # kunit: take `kunit_assert` as `const` # kunit: tool: misc cleanups # kunit: tool: minor cosmetic cleanups in kunit_parser.py # kunit: tool: make parser stop overwriting status of suites w/ no_tests # kunit: tool: remove dead parse_crash_in_log() logic # kunit: tool: print clearer error message when there's no TAP output # kunit: tool: stop using a shell to run kernel under QEMU # kunit: tool: update test counts summary line format # kunit: bail out of test filtering logic quicker if OOM # lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTS # kunit: Rework kunit_resource allocation policy # kunit: fix debugfs code to use enum kunit_status, not bool # kfence: test: use new suite_{init/exit} support, add .kunitconfig # kunit: add ability to specify suite-level init and exit functions # kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite) # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=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_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:6838:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:6839:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:6840:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6842:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c: In function 'rtw_wx_set_enc_ext': /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:412:41: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 412 | pwep->KeyLength = wep_key_len; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:413:38: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 413 | pwep->Length = wep_total_len; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:423:32: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 423 | pwep->KeyIndex |= 0x80000000; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/ptrace.h:150, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:12, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/rcupdate.h:26, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/staging/r8188eu/os_dep/../include/osdep_service.h:7, from /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:4: /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:424:68: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 424 | memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:424:17: note: in expansion of macro 'memcpy' 424 | memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); | ^~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/ptrace.h:150, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:12, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/rcupdate.h:26, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/staging/r8188eu/os_dep/../include/osdep_service.h:7, from /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:4: /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:433:105: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 433 | memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:433:25: note: in expansion of macro 'memcpy' 433 | memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); | ^~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:434:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 434 | psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->KeyLength; | ~~~~^~~~~~~~~~~ /kisskb/src/drivers/staging/r8188eu/os_dep/ioctl_linux.c:408:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc' 408 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:292: drivers/staging/r8188eu/os_dep/ioctl_linux.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:555: drivers/staging/r8188eu] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function 'wpa_set_encryption': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:99:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 99 | pwep->key_length = wep_key_len; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:100:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 100 | pwep->length = wep_total_len; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:112:33: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 112 | pwep->key_index |= 0x80000000; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:23, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:8: /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:114:69: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 114 | memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); | ^~ /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:114:17: note: in expansion of macro 'memcpy' 114 | memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); | ^~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:23, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:8: /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:128:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 128 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~ /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:128:25: note: in expansion of macro 'memcpy' 128 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:129:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 129 | psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:93:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 93 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function 'rtw_set_encryption': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:589:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 589 | pwep->key_length = wep_key_len; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:590:29: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 590 | pwep->length = wep_total_len; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:594:21: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 594 | pwep->key_index = wep_key_idx; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:23, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:8: /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:621:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 621 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~ /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:621:25: note: in expansion of macro 'memcpy' 621 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:623:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 623 | psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:604:33: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 604 | if (pwep->key_length == 13) { | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/arch/powerpc/include/asm/paca.h:15, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:23, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:55, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:8: /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:612:108: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 612 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~ /kisskb/src/include/linux/fortify-string.h:359:42: note: in definition of macro '__fortify_memcpy_chk' 359 | size_t __fortify_size = (size_t)(size); \ | ^~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:612:25: note: in expansion of macro 'memcpy' 612 | memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); | ^~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:614:74: error: array subscript 'struct ndis_802_11_wep[0]' is partly outside array bounds of 'unsigned char[25]' [-Werror=array-bounds] 614 | psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; | ^~ /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:585:32: note: referencing an object of size between 17 and 25 allocated by 'kzalloc.constprop' 585 | pwep = kzalloc(wep_total_len, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:292: drivers/staging/rtl8723bs/os_dep/ioctl_linux.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:555: drivers/staging/rtl8723bs] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:555: drivers/staging] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1835: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:02:32.620361
© Michael Ellerman 2006-2018.