# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7d31677bb7b1944ac89e9155110dc1b9acbb3895 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/btrfs/send.c: In function 'get_cur_inode_state': /kisskb/src/fs/btrfs/send.c:1902:23: warning: 'right_gen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (left_gen == gen && right_gen == gen) { ^ /kisskb/src/fs/btrfs/send.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 # Build took: 0:02:28.598649