summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-06-28 13:37:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-02 18:08:19 +0200
commit25b22e353c1f8d48e69fdef70a31be2f0d2bc410 (patch)
tree686e0c3f77dbcdb0e0301b19a2b540fb272e3f98 /drivers/usb/renesas_usbhs
parent169d3606dccfa3cfc5aa98b6e01705582074e1eb (diff)
downloadlinux-25b22e353c1f8d48e69fdef70a31be2f0d2bc410.tar.bz2
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 33d059c40616..59cac40aafcc 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -502,6 +502,7 @@ static int usbhsg_irq_ctrl_stage(struct usbhs_priv *priv,
case READ_STATUS_STAGE:
case WRITE_STATUS_STAGE:
usbhs_dcp_control_transfer_done(pipe);
+ /* fall through */
default:
return ret;
}