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>
Wed, 31 Jan 2018 11:55:50 +0000 (12:55 +0100)
commit853c39f239eb89cfd91ee03257c624aaac0575c6
tree87398ad1bd37c1ecbd3834456bc07d6df06c0797
parentce601a07bc504b4748f8e7a34896684f79514e51
usbip: Fix implicit fallthrough warning

commit cfd6ed4537a9e938fa76facecd4b9cd65b6d1563 upstream.

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: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/src/usbip.c