aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2025-03-19 16:08:01 +0000
committerAlexandre Belloni <[email protected]>2025-03-20 22:02:30 +0000
commite8d2d287e26d9bd9114cf258a123a6b70812442e (patch)
tree7631ea395e2f30b3f4320501df52ef089806b465 /lib/crypto/mpi/mpi-add.c
parenti3c: master: svc: Fix missing STOP for master request (diff)
downloadkernel-e8d2d287e26d9bd9114cf258a123a6b70812442e.tar.gz
kernel-e8d2d287e26d9bd9114cf258a123a6b70812442e.zip
i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work()
Clang warns (or errors with CONFIG_WERROR=y): drivers/i3c/master/svc-i3c-master.c:596:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] 596 | default: | ^ drivers/i3c/master/svc-i3c-master.c:596:2: note: insert 'break;' to avoid fall-through 596 | default: | ^ | break; 1 error generated. Clang is a little more pedantic than GCC, which does not warn when falling through to a case that is just break or return. Clang's version is more in line with the kernel's own stance in deprecated.rst, which states that all switch/case blocks must end in either break, fallthrough, continue, goto, or return. Add the missing break to silence the warning. Fixes: 0430bf9bc1ac ("i3c: master: svc: Fix missing STOP for master request") Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions