diff options
| author | Anders Roxell <[email protected]> | 2021-12-07 12:02:28 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-12-09 22:41:21 +1100 |
| commit | e89257e28e844f5d1d39081bb901d9f1183a7705 (patch) | |
| tree | 5fc5a103473c8cfab2c26ed6d2f0555795f9b523 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8cffe0b0b6b3342d75e5469f07496173feace6bc (diff) | |
powerpc/cell: Fix clang -Wimplicit-fallthrough warning
Clang warns:
arch/powerpc/platforms/cell/pervasive.c:81:2: error: unannotated fall-through between switch labels
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.
Clang is more pedantic than GCC, which does not warn when failing
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. Add athe missing
break to silence the warning.
Fixes: 6e83985b0f6e ("powerpc/cbe: Do not process external or decremeter interrupts from sreset")
Reported-by: Naresh Kamboju <[email protected]>
Signed-off-by: Anders Roxell <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions