diff options
author | Thomas Weißschuh <[email protected]> | 2024-09-30 07:35:19 +0200 |
---|---|---|
committer | Thomas Weißschuh <[email protected]> | 2024-10-07 21:56:18 +0200 |
commit | 079ec6a3cf529d86c2895059eb8be1b36cc9fd72 (patch) | |
tree | 4e785d23c9542dbf112889b63ce08c793b40e36b /tools/perf/scripts/python/libxed.py | |
parent | 711b5875814b2a0e9a5aaf7a85ba7c80f5a389b1 (diff) |
tools/nolibc: compiler: add macro __nolibc_fallthrough
Recent version of GCC and clang gained -Wimplicit-fallthrough,
warning about implicit fall-through between switch labels.
As nolibc does not control the compilation flags, this can trigger
warnings for when built by the user.
Make use of the "fallthrough" attribute to explicitly annotate the
expected fall-throughs and silence the warning.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions