summaryrefslogtreecommitdiff
path: root/drivers/net/usb/catc.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-06-28 21:50:48 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-30 14:47:16 +0300
commit9ca78674eb6a19acbb1d69e86273ebd1d3edf087 (patch)
tree9bf053d0cc2b9f987e5272b8a90fde25481ce1eb /drivers/net/usb/catc.c
parentd241d4aac93f25a48ed42c246163b6c28354b1e5 (diff)
downloadlinux-9ca78674eb6a19acbb1d69e86273ebd1d3edf087.tar.xz
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/catc.c')
-rw-r--r--drivers/net/usb/catc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c
index 18d36dff97ea..424053bd8b21 100644
--- a/drivers/net/usb/catc.c
+++ b/drivers/net/usb/catc.c
@@ -869,6 +869,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id
default:
dev_warn(&intf->dev,
"Couldn't detect memory size, assuming 32k\n");
+ /* fall through */
case 0x87654321:
catc_set_reg(catc, TxBufCount, 4);
catc_set_reg(catc, RxBufCount, 16);