# git rev-parse -q --verify c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a^{commit} c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a # git checkout -q -f -B kisskb c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a # git clean -qxdf # < git log -1 # commit c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a # Author: Linus Torvalds # Date: Sun May 8 13:54:17 2022 -0700 # # Linux 5.18-rc6 # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:7190:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function 'rtw_ioctl': /kisskb/src/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:99:42: 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:38: 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/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/arch/arm64/include/asm/arch_timer.h:18, from /kisskb/src/arch/arm64/include/asm/timex.h:8, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/skbuff.h:15, 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:589:42: 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:38: 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:33: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/arch/arm64/include/asm/arch_timer.h:18, from /kisskb/src/arch/arm64/include/asm/timex.h:8, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/skbuff.h:15, 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:288: drivers/staging/rtl8723bs/os_dep/ioctl_linux.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/staging/rtl8723bs] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/staging] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1834: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:07:35.674444