# git rev-parse -q --verify 7d31677bb7b1944ac89e9155110dc1b9acbb3895^{commit} 7d31677bb7b1944ac89e9155110dc1b9acbb3895 already have revision, skipping fetch # git checkout -q -f -B kisskb 7d31677bb7b1944ac89e9155110dc1b9acbb3895 # git clean -qxdf # < git log -1 # commit 7d31677bb7b1944ac89e9155110dc1b9acbb3895 # Author: Arnd Bergmann # Date: Fri Jan 27 23:14:00 2023 +0100 # # gpu: host1x: fix uninitialized variable use # # The error handling for platform_get_irq() failing no longer works after # a recent change, clang now points this out with a warning: # # drivers/gpu/host1x/dev.c:520:6: error: variable 'syncpt_irq' is uninitialized when used here [-Werror,-Wuninitialized] # if (syncpt_irq < 0) # ^~~~~~~~~~ # # Fix this by removing the variable and checking the correct error status. # # Fixes: 625d4ffb438c ("gpu: host1x: Rewrite syncpoint interrupt handling") # Signed-off-by: Arnd Bergmann # Reviewed-by: Jon Hunter # Reviewed-by: Nick Desaulniers # Reviewed-by: Mikko Perttunen # Reviewed-by: Nathan Chancellor # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 7d31677bb7b1944ac89e9155110dc1b9acbb3895 # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=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_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12712:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12717:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12719:warning: override: reassigning to symbol UML_NET_SLIP .config:12724:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 In file included from /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:921:0, from /kisskb/src/arch/um/drivers/fd.c:7: /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h: In function 'atof': /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h:27:1: error: SSE register return with SSE disabled { ^ In file included from /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:921:0, from /kisskb/src/arch/um/os-Linux/execvp.c:24: /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h: In function 'atof': /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h:27:1: error: SSE register return with SSE disabled { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/drivers/fd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:921:0, from /kisskb/src/arch/x86/um/os-Linux/registers.c:8: /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h: In function 'atof': /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h:27:1: error: SSE register return with SSE disabled { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/execvp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:252: arch/x86/um/os-Linux/registers.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:494: arch/x86/um/os-Linux] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/x86/um] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:921:0, from /kisskb/src/arch/um/os-Linux/skas/process.c:7: /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h: In function 'atof': /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h:27:1: error: SSE register return with SSE disabled { ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/skas/process.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/os-Linux/skas] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/os-Linux] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/drivers] Error 2 In file included from /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:921:0, from arch/um/kernel/config.c:7: /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h: In function 'atof': /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdlib-float.h:27:1: error: SSE register return with SSE disabled { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/kernel/config.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/kernel] Error 2 /kisskb/src/fs/btrfs/send.c: In function 'get_cur_inode_state': /kisskb/src/fs/btrfs/send.c:1909:13: error: 'right_gen' may be used uninitialized in this function [-Werror=maybe-uninitialized] } else if (right_gen == gen) { ^ /kisskb/src/fs/btrfs/send.c: At top level: cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: fs/btrfs/send.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: fs/btrfs] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: fs] Error 2 make[1]: *** [/kisskb/src/Makefile:2025: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64 # Build took: 0:03:49.729863