# git rev-parse -q --verify 7bb4fa8a025a1bd305a146022083f0287653ea12^{commit} 7bb4fa8a025a1bd305a146022083f0287653ea12 already have revision, skipping fetch # git checkout -q -f -B kisskb 7bb4fa8a025a1bd305a146022083f0287653ea12 # git clean -qxdf # < git log -1 # commit 7bb4fa8a025a1bd305a146022083f0287653ea12 # Author: Stephen Rothwell # Date: Fri Aug 12 12:13:00 2022 +1000 # # Add linux-next specific files for 20220812 # # Signed-off-by: Stephen Rothwell # < /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 7bb4fa8a025a1bd305a146022083f0287653ea12 # < make -s -j 8 ARCH=x86_64 O=/kisskb/build/linux-next-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 8 ARCH=x86_64 O=/kisskb/build/linux-next-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 8 ARCH=x86_64 O=/kisskb/build/linux-next-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:6796:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6801:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:6802:warning: override: reassigning to symbol BPF_PRELOAD # make -s -j 8 ARCH=x86_64 O=/kisskb/build/linux-next-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:250: drivers/infiniband/core/user_mad.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:525: drivers/infiniband/core] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:525: drivers/infiniband] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2008: drivers] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 8 ARCH=x86_64 O=/kisskb/build/linux-next-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/linux-next-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:13:47.241180