# 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-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 61d791365b72a89062fbbea69aa61479476da946 # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- malta_defconfig # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- Completed OK # rm -rf /kisskb/build/linus_malta_defconfig_mips-gcc8 # Build took: 0:02:36.202134