# git rev-parse -q --verify 1a2dcbdde82e3a5f1db9b2f4c48aa1aeba534fb2^{commit} 1a2dcbdde82e3a5f1db9b2f4c48aa1aeba534fb2 already have revision, skipping fetch # git checkout -q -f -B kisskb 1a2dcbdde82e3a5f1db9b2f4c48aa1aeba534fb2 # git clean -qxdf # < git log -1 # commit 1a2dcbdde82e3a5f1db9b2f4c48aa1aeba534fb2 # Author: Sreekanth Reddy # Date: Tue Sep 13 17:35:38 2022 +0530 # # scsi: mpt3sas: re-do lost mpt3sas DMA mask fix # # This is a re-do of commit e0e0747de0ea ("scsi: mpt3sas: Fix return value # check of dma_get_required_mask()"), which I ended up undoing in a # mis-merge in commit 62e6e5940c0c ("Merge tag 'scsi-misc' of # git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi"). # # The original commit message was # # scsi: mpt3sas: Fix return value check of dma_get_required_mask() # # Fix the incorrect return value check of dma_get_required_mask(). Due to # this incorrect check, the driver was always setting the DMA mask to 63 bit. # # Link: https://lore.kernel.org/r/20220913120538.18759-2-sreekanth.reddy@broadcom.com # Fixes: ba27c5cf286d ("scsi: mpt3sas: Don't change the DMA coherent mask after allocations") # Signed-off-by: Sreekanth Reddy # Signed-off-by: Martin K. Petersen # # and this fix was lost when I mis-merged the conflict with commit # 9df650963bf6 ("scsi: mpt3sas: Don't change DMA mask while reallocating # pools"). # # Reported-by: Juergen Gross # Fixes: 62e6e5940c0c ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") # Link: https://lore.kernel.org/all/CAHk-=wjaK-TxrNaGtFDpL9qNHL1MVkWXO1TT6vObD5tXMSC4Zg@mail.gmail.com # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 1a2dcbdde82e3a5f1db9b2f4c48aa1aeba534fb2 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function 'dc_stream_remove_writeback': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:531:55: error: array subscript is above array bounds [-Werror=array-bounds] stream->writeback_info[j] = stream->writeback_info[i]; ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1992: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc64-allmodconfig_sparc64-gcc5 # Build took: 0:25:22.351099