# git rev-parse -q --verify c1c76700a0d6e6090ccfe1209527f14c21b6681b^{commit} c1c76700a0d6e6090ccfe1209527f14c21b6681b already have revision, skipping fetch # git checkout -q -f -B kisskb c1c76700a0d6e6090ccfe1209527f14c21b6681b # git clean -qxdf # < git log -1 # commit c1c76700a0d6e6090ccfe1209527f14c21b6681b # Merge: 723c188d5cd4 58301e1c15db # Author: Linus Torvalds # Date: Thu Aug 4 12:12:54 2022 -0700 # # Merge tag 'spdx-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx # # Pull SPDX updates from Greg KH: # "Here is the set of SPDX comment updates for 6.0-rc1. # # Nothing huge here, just a number of updated SPDX license tags and # cleanups based on the review of a number of common patterns in GPLv2 # boilerplate text. # # Also included in here are a few other minor updates, two USB files, # and one Documentation file update to get the SPDX lines correct. # # All of these have been in the linux-next tree for a very long time" # # * tag 'spdx-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx: (28 commits) # Documentation: samsung-s3c24xx: Add blank line after SPDX directive # x86/crypto: Remove stray comment terminator # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_406.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_398.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_391.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_390.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_319.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_318.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_298.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_292.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_179.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_168.RULE (part 2) # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_168.RULE (part 1) # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_160.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_152.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_149.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_147.RULE # treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_133.RULE # ... # < /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 c1c76700a0d6e6090ccfe1209527f14c21b6681b # < 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:4607:warning: override: reassigning to symbol STANDALONE .config:4608:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4610: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/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:335:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-bounds] 335 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:339:59: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-bounds] 339 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:349:52: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-bounds] 349 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:350:55: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-bounds] 350 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:351:51: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-bounds] 351 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:306:59: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-bounds] 306 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:295:16: note: referencing an object of size 235 allocated by 'krealloc' 295 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:310:59: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-bounds] 310 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:295:16: note: referencing an object of size 235 allocated by 'krealloc' 295 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c: In function 'ib_umad_write': /kisskb/src/drivers/infiniband/core/user_mad.c:564:50: warning: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Warray-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: warning: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Warray-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: warning: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Warray-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: warning: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Warray-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:05:24.556905