aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2021-10-27 12:08:23 -0700
committerMark Brown <[email protected]>2021-10-28 13:28:18 +0100
commitc6c203bc4dfed6812cf77e7737074b9cff8dd78d (patch)
tree2b9c5fd600dc08feae18215299fb9f69527e3356 /scripts/gdb/linux/utils.py
parent5c7dee4407dcd3522a133acdd90d64bf41d00986 (diff)
ASoC: qdsp6: audioreach: Fix clang -Wimplicit-fallthrough
Clang warns: sound/soc/qcom/qdsp6/topology.c:465:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ sound/soc/qcom/qdsp6/topology.c:465:3: note: insert 'break;' to avoid fall-through default: ^ break; 1 warning generated. Clang is a little more pedantic than GCC, which permits implicit fallthroughs to cases that contain 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 fix the warning. Link: https://github.com/ClangBuiltLinux/linux/issues/1495 Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions