diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-06-28 13:50:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 20:47:16 +0900 |
commit | 9ca78674eb6a19acbb1d69e86273ebd1d3edf087 (patch) | |
tree | 9bf053d0cc2b9f987e5272b8a90fde25481ce1eb /drivers/net/usb/cdc-phonet.c | |
parent | d241d4aac93f25a48ed42c246163b6c28354b1e5 (diff) | |
download | linux-9ca78674eb6a19acbb1d69e86273ebd1d3edf087.tar.gz linux-9ca78674eb6a19acbb1d69e86273ebd1d3edf087.tar.bz2 linux-9ca78674eb6a19acbb1d69e86273ebd1d3edf087.zip |
net: usb: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/cdc-phonet.c')
-rw-r--r-- | drivers/net/usb/cdc-phonet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc-phonet.c b/drivers/net/usb/cdc-phonet.c index 3c40312fa453..78b16eb9e58c 100644 --- a/drivers/net/usb/cdc-phonet.c +++ b/drivers/net/usb/cdc-phonet.c @@ -110,6 +110,7 @@ static void tx_complete(struct urb *req) case -ECONNRESET: case -ESHUTDOWN: dev->stats.tx_aborted_errors++; + /* fall through */ default: dev->stats.tx_errors++; dev_dbg(&dev->dev, "TX error (%d)\n", status); |