# 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/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1118: Error: unknown pseudo-op: `.' sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/net/pcs/pcs-xpcs.o] Error 4 make[4]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/net/pcs] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/byteorder/little_endian.h:5, from /kisskb/src/arch/sh/include/uapi/asm/byteorder.h:6, from /kisskb/src/arch/sh/include/asm/bitops.h:10, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/wireless/cisco/airo.c:25: /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_get_rate': /kisskb/src/drivers/net/wireless/cisco/airo.c:6163:45: error: 'status_rid.currentXmitRate' is used uninitialized [-Werror=uninitialized] 6163 | vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; /kisskb/src/include/uapi/linux/byteorder/little_endian.h:37:51: note: in definition of macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ /kisskb/src/drivers/net/wireless/cisco/airo.c:6163:23: note: in expansion of macro 'le16_to_cpu' 6163 | vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; | ^~~~~~~~~~~ /kisskb/src/drivers/net/wireless/cisco/airo.c:6159:19: note: 'status_rid' declared here 6159 | StatusRid status_rid; /* Card status info */ | ^~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/net/wireless/cisco/airo.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/net/wireless/cisco] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/net/wireless] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/net] 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=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sh-allmodconfig_sh4-gcc11 # Build took: 0:05:18.600924