]> git.baikalelectronics.ru Git - kernel.git/commit
net: plip: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 10 Mar 2021 05:45:22 +0000 (23:45 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 20:45:15 +0000 (12:45 -0800)
commite06a118744f7a1b23281c5c75597c2ad4cd80bb5
treeb53b42b1003c486835297f24cfa86eb4ef2a0233
parent38a6ef03a858627f962c62edc79cb22b88a3abfc
net: plip: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/plip/plip.c