diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-01 23:34:49 +0300 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 07:38:29 +0300 | 
| commit | 0fd128428a1494d01b826d201dad4cc6571bf2b5 (patch) | |
| tree | bce022a64151882636b8307547dbad2b3b0e3a66 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 936ee65ffc8fa35de4f20ffc867a3509568e1868 (diff) | |
| download | linux-0fd128428a1494d01b826d201dad4cc6571bf2b5.tar.xz | |
net: dsa: microchip: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
This patch fixes the following warning:
drivers/net/dsa/microchip/ksz9477.c: In function ‘ksz9477_get_interface’:
drivers/net/dsa/microchip/ksz9477.c:1145:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (gbit)
      ^
drivers/net/dsa/microchip/ksz9477.c:1147:2: note: here
  case 0:
  ^~~~
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
