Re: [PATCH 4.9] usbip: Fix implicit fallthrough warning

2018-01-24 Thread Greg KH
On Tue, Jan 23, 2018 at 07:32:11PM -0700, Shuah Khan wrote: > From: Jonathan Dieter > > Upstream commit cfd6ed4537a9 ("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

[PATCH 4.9] usbip: Fix implicit fallthrough warning

2018-01-23 Thread Shuah Khan
From: Jonathan Dieter Upstream commit cfd6ed4537a9 ("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