# git rev-parse -q --verify 61d791365b72a89062fbbea69aa61479476da946^{commit} 61d791365b72a89062fbbea69aa61479476da946 already have revision, skipping fetch # git checkout -q -f -B kisskb 61d791365b72a89062fbbea69aa61479476da946 # git clean -qxdf # < git log -1 # commit 61d791365b72a89062fbbea69aa61479476da946 # Author: Linus Torvalds # Date: Fri Dec 25 15:41:13 2020 -0800 # # drm/amd/display: avoid uninitialized variable warning # # clang (quite rightly) complains fairly loudly about the newly added # mpc1_get_mpc_out_mux() function returning an uninitialized value if the # 'opp_id' checks don't pass. # # This may not happen in practice, but the code really shouldn't return # garbage if the sanity checks don't pass. # # So just initialize 'val' to zero to avoid the issue. # # Fixes: 110b055b2827 ("drm/amd/display: add getter routine to retrieve mpcc mux") # Cc: Josip Pavic # Cc: Bindu Ramamurthy # Cc: Alex Deucher # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 61d791365b72a89062fbbea69aa61479476da946 # < make -s -j 120 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- magicpanelr2_defconfig # make -s -j 120 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/traps.c: In function 'nmi_trap_handler': /kisskb/src/arch/sh/kernel/traps.c:183:15: warning: unused variable 'cpu' [-Wunused-variable] unsigned int cpu = smp_processor_id(); ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: kernel/sched/core.o: uses dsp instructions while previous modules use floating point instructions /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: kernel/sched/core.o: uses instructions which are incompatible with instructions used in previous modules /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: failed to merge target specific data of file kernel/sched/core.o make[1]: *** [/kisskb/src/Makefile:1170: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 120 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 # Build took: 0:00:34.281444