# 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/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 61d791365b72a89062fbbea69aa61479476da946 # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- help # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- olddefconfig # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils /kisskb/src/arch/arm64/kernel/smp.c: In function 'arch_show_interrupts': /kisskb/src/arch/arm64/kernel/smp.c:810:16: warning: unused variable 'irq' [-Wunused-variable] unsigned int irq = irq_desc_get_irq(ipi_desc[i]); ^ Completed OK # rm -rf /kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 # Build took: 0:06:01.629618