usbip: Fix implicit fallthrough warning
authorJonathan Dieter <jdieter@lesbg.com>
Mon, 27 Feb 2017 08:31:04 +0000 (10:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:16:56 +0000 (13:16 +0900)
commitcfd6ed4537a9e938fa76facecd4b9cd65b6d1563
treef85a7d09bfa4aa9ff7cb5532213edff95cb71533
parente5dfa3f902b9a642ae8c6997d57d7c41e384a90b
usbip: Fix implicit fallthrough warning

GCC 7 now warns when switch statements fall through implicitly, and with
-Werror enabled in configure.ac, that makes these tools unbuildable.

We fix this by notifying the compiler that this particular case statement
is meant to fall through.

Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/src/usbip.c