summaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip/vhci_rx.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-07 21:52:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-09 18:06:35 +0200
commit2da3b53c78be8a11800a3d5053a8ca22b2455c8e (patch)
tree40c1e422cbbfa4f3401c22c69d3bfe397cfa5e78 /drivers/usb/usbip/vhci_rx.c
parentDocumentation/driver-api: usb/URB: drop doubled word (diff)
downloadlinux-2da3b53c78be8a11800a3d5053a8ca22b2455c8e.tar.xz
linux-2da3b53c78be8a11800a3d5053a8ca22b2455c8e.zip
usbip: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20200707195214.GA3932@embeddedor Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vhci_rx.c')
-rw-r--r--drivers/usb/usbip/vhci_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/vhci_rx.c b/drivers/usb/usbip/vhci_rx.c
index 00fc98741c5d..266024cbb64f 100644
--- a/drivers/usb/usbip/vhci_rx.c
+++ b/drivers/usb/usbip/vhci_rx.c
@@ -27,7 +27,7 @@ struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum)
switch (status) {
case -ENOENT:
- /* fall through */
+ fallthrough;
case -ECONNRESET:
dev_dbg(&urb->dev->dev,
"urb seq# %u was unlinked %ssynchronously\n",