# 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/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 61d791365b72a89062fbbea69aa61479476da946 # < make -s -j 120 ARCH=arm O=/kisskb/build/linus_u8500_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- u8500_defconfig # < make -s -j 120 ARCH=arm O=/kisskb/build/linus_u8500_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- help # make -s -j 120 ARCH=arm O=/kisskb/build/linus_u8500_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- olddefconfig # make -s -j 120 ARCH=arm O=/kisskb/build/linus_u8500_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- /kisskb/src/drivers/pinctrl/nomadik/pinctrl-nomadik.c: In function 'nmk_gpio_dbg_show_one': /kisskb/src/drivers/pinctrl/nomadik/pinctrl-nomadik.c:952:8: warning: unused variable 'wake' [-Wunused-variable] bool wake; ^ /kisskb/src/drivers/mfd/ab8500-debugfs.c: In function 'ab8500_interrupts_show': /kisskb/src/drivers/mfd/ab8500-debugfs.c:1526:2: error: no return statement in function returning non-void [-Werror=return-type] } ^ /kisskb/src/drivers/mfd/ab8500-debugfs.c: At top level: /kisskb/src/drivers/mfd/ab8500-debugfs.c:1528:2: error: expected identifier or '(' before 'return' return 0; ^ /kisskb/src/drivers/mfd/ab8500-debugfs.c:1529:1: error: expected identifier or '(' before '}' token } ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:279: drivers/mfd/ab8500-debugfs.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:496: drivers/mfd] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1805: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 120 ARCH=arm O=/kisskb/build/linus_u8500_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_u8500_defconfig_arm-gcc4.9 # Build took: 0:00:41.928906