OSDN Git Service

[media] uvcvideo: annotate a switch fall through
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 May 2017 12:06:07 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 May 2017 12:06:07 +0000 (09:06 -0300)
Without annotations, gcc 7.1 will complain.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_video.c

index a29f39d..fb86d6a 100644 (file)
@@ -1323,7 +1323,7 @@ static void uvc_video_complete(struct urb *urb)
        default:
                uvc_printk(KERN_WARNING, "Non-zero status (%d) in video "
                        "completion handler.\n", urb->status);
-
+               /* fall through */
        case -ENOENT:           /* usb_kill_urb() called. */
                if (stream->frozen)
                        return;