# git rev-parse -q --verify df202b452fe6c6d6f1351bad485e2367ef1e644e^{commit} df202b452fe6c6d6f1351bad485e2367ef1e644e already have revision, skipping fetch # git checkout -q -f -B kisskb df202b452fe6c6d6f1351bad485e2367ef1e644e # git clean -qxdf # < git log -1 # commit df202b452fe6c6d6f1351bad485e2367ef1e644e # Merge: 16477cdfefdb 5ce2176b81f7 # Author: Linus Torvalds # Date: Thu May 26 12:09:50 2022 -0700 # # Merge tag 'kbuild-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild # # Pull Kbuild updates from Masahiro Yamada: # # - Add HOSTPKG_CONFIG env variable to allow users to override pkg-config # # - Support W=e as a shorthand for KCFLAGS=-Werror # # - Fix CONFIG_IKHEADERS build to support toybox cpio # # - Add scripts/dummy-tools/pahole to ease distro packagers' life # # - Suppress false-positive warnings from checksyscalls.sh for W=2 build # # - Factor out the common code of arch/*/boot/install.sh into # scripts/install.sh # # - Support 'kernel-install' tool in scripts/prune-kernel # # - Refactor module-versioning to link the symbol versions at the final # link of vmlinux and modules # # - Remove CONFIG_MODULE_REL_CRCS because module-versioning now works in # an arch-agnostic way # # - Refactor modpost, Makefiles # # * tag 'kbuild-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (56 commits) # genksyms: adjust the output format to modpost # kbuild: stop merging *.symversions # kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS # modpost: extract symbol versions from *.cmd files # modpost: add sym_find_with_module() helper # modpost: change the license of EXPORT_SYMBOL to bool type # modpost: remove left-over cross_compile declaration # kbuild: record symbol versions in *.cmd files # kbuild: generate a list of objects in vmlinux # modpost: move *.mod.c generation to write_mod_c_files() # modpost: merge add_{intree_flag,retpoline,staging_flag} to add_header # scripts/prune-kernel: Use kernel-install if available # kbuild: factor out the common installation code into scripts/install.sh # modpost: split new_symbol() to symbol allocation and hash table addition # modpost: make sym_add_exported() always allocate a new symbol # modpost: make multiple export error # modpost: dump Module.symvers in the same order of modules.order # modpost: traverse the namespace_list in order # modpost: use doubly linked list for dump_lists # modpost: traverse unresolved symbols in order # ... # < /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 df202b452fe6c6d6f1351bad485e2367ef1e644e # < make -s -j 40 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 40 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 40 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:7363:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 40 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- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/arm64/include/uapi/asm/byteorder.h:21, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/arm64/include/asm/bitops.h:28, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:46: /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c: In function '_base_make_ioc_operational': /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5397:40: error: array subscript 'Mpi2SasIOUnitPage1_t {aka struct _MPI2_CONFIG_PAGE_SASIOUNIT_1}[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds] 5397 | (le16_to_cpu(sas_iounit_pg1->SASWideMaxQueueDepth)) ? /kisskb/src/include/uapi/linux/swab.h:105:39: note: in definition of macro '__swab16' 105 | (__builtin_constant_p((__u16)(x)) ? \ | ^ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' 91 | #define le16_to_cpu __le16_to_cpu | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5397:14: note: in expansion of macro 'le16_to_cpu' 5397 | (le16_to_cpu(sas_iounit_pg1->SASWideMaxQueueDepth)) ? | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5383:26: note: referencing an object of size 20 allocated by 'kzalloc' 5383 | sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/arm64/include/uapi/asm/byteorder.h:21, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/arm64/include/asm/bitops.h:28, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:46: /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5401:40: error: array subscript 'Mpi2SasIOUnitPage1_t {aka struct _MPI2_CONFIG_PAGE_SASIOUNIT_1}[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds] 5401 | (le16_to_cpu(sas_iounit_pg1->SASNarrowMaxQueueDepth)) ? /kisskb/src/include/uapi/linux/swab.h:105:39: note: in definition of macro '__swab16' 105 | (__builtin_constant_p((__u16)(x)) ? \ | ^ /kisskb/src/include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__le16_to_cpu' 91 | #define le16_to_cpu __le16_to_cpu | ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5401:14: note: in expansion of macro 'le16_to_cpu' 5401 | (le16_to_cpu(sas_iounit_pg1->SASNarrowMaxQueueDepth)) ? | ^~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5383:26: note: referencing an object of size 20 allocated by 'kzalloc' 5383 | sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5404:43: error: array subscript 'Mpi2SasIOUnitPage1_t {aka struct _MPI2_CONFIG_PAGE_SASIOUNIT_1}[0]' is partly outside array bounds of 'unsigned char[20]' [-Werror=array-bounds] 5404 | ioc->max_sata_qd = (sas_iounit_pg1->SATAMaxQDepth) ? | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:5383:26: note: referencing an object of size 20 allocated by 'kzalloc' 5383 | sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:271: drivers/scsi/mpt3sas/mpt3sas_base.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/scsi/mpt3sas] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/scsi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1839: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 40 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:02:09.794255