# git rev-parse -q --verify ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab^{commit} ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab already have revision, skipping fetch # git checkout -q -f -B kisskb ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab # git clean -qxdf # < git log -1 # commit ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab # Author: Arnd Bergmann # Date: Tue Apr 18 08:11:43 2023 +0200 # # media: nxp: imx8-isi: fix buiding on 32-bit # # The #if check is wrong, leading to a build failure: # # drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c: In function 'mxc_isi_channel_set_inbuf': # drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:33:5: error: "CONFIG_ARCH_DMA_ADDR_T_64BIT" is not defined, evaluates to 0 [-Werror=undef] # 33 | #if CONFIG_ARCH_DMA_ADDR_T_64BIT # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # This could just be an #ifdef, but it seems nicer to just remove the # check entirely. Apparently the only reason for the #ifdef is to avoid # another warning: # # drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:55:24: error: right shift count >= width of type [-Werror=shift-count-overflow] # # But this is best avoided by using the lower_32_bits()/upper_32_bits() # helpers. # # Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver") # Signed-off-by: Arnd Bergmann # Reviewed-by: Laurent Pinchart # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab # < make -s -j 160 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_64BIT=n # 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 160 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c:328:12: error: 'mxc_isi_pm_resume' defined but not used [-Werror=unused-function] 328 | static int mxc_isi_pm_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c:314:12: error: 'mxc_isi_pm_suspend' defined but not used [-Werror=unused-function] 314 | static int mxc_isi_pm_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/media/platform/nxp/imx8-isi/imx8-isi-core.o] Error 1 make[6]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/media/platform/nxp/imx8-isi] Error 2 make[5]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/media/platform/nxp] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/media/platform] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/media] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: drivers] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2026: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc-allmodconfig_sparc64-gcc11 # Build took: 0:08:10.070360