powerpc: pervasive.c:: error: unannotated fall-through between switch labels
From: Naresh Kamboju
Date: Wed Nov 17 2021 - 07:53:36 EST
Regression found on ppc clang-nightly build.
Following build warnings / errors reported on linux next 20211117.
metadata:
git_describe: next-20211117
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: fd96a4057bd0 (\"Add linux-next specific files for 20211117\")
target_arch: ppc
toolchain: clang-nightly
build error :
--------------
<stdin>:1559:2: warning: syscall futex_waitv not implemented [-W#warnings]
#warning syscall futex_waitv not implemented
^
1 warning generated.
arch/powerpc/platforms/cell/pervasive.c:81:2: error: unannotated
fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case SRR1_WAKEEE:
^
arch/powerpc/platforms/cell/pervasive.c:81:2: note: insert 'break;' to
avoid fall-through
case SRR1_WAKEEE:
^
break;
1 error generated.
Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
build link:
-----------
https://builds.tuxbuild.com/211sfsuxt3flikHFzRts8cFUwqe/build.log
build config:
-------------
https://builds.tuxbuild.com/211sfsuxt3flikHFzRts8cFUwqe/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch powerpc --toolchain
clang-nightly --kconfig defconfig LLVM_IAS=0
--
Linaro LKFT
https://lkft.linaro.org