mirror of
https://github.com/torvalds/linux.git
synced 2026-08-12 02:15:02 +02:00
nfp: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Acked-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
This commit is contained in:
parent
c3754da3b7
commit
ebd0476256
|
|
@ -103,6 +103,7 @@ nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats)
|
|||
case NFP_PORT_PF_PORT:
|
||||
case NFP_PORT_VF_PORT:
|
||||
nfp_repr_vnic_get_stats64(repr->port, stats);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user