OSDN Git Service

USB: gadget: udc: s3c2410_udc: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 5 Aug 2019 19:14:26 +0000 (14:14 -0500)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 9 Aug 2019 05:28:28 +0000 (08:28 +0300)
commitdccce749ac66aa01593273d86cf3c55542ce6fc0
treeace6def5e6f4571d0a52af1c38905e8c1377d3d2
parente21a712a9685488f5ce80495b37b9fdbe96c230d
USB: gadget: udc: s3c2410_udc: Mark expected switch fall-throughs

Mark switch cases where we are expecting to fall through.

This patch fixes the following warning (Building: tct_hammer_defconfig arm):

drivers/usb/gadget/udc/s3c2410_udc.c:314:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/usb/gadget/udc/s3c2410_udc.c:418:7: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/s3c2410_udc.c