stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Shuah Khan <shuahkh@osg.samsung.com>
Cc: valentina.manea.m@gmail.com, shuah@kernel.org, jdieter@lesbg.com,
	peter.senna@gmail.com, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 4.9] usbip: Fix implicit fallthrough warning
Date: Wed, 24 Jan 2018 10:11:30 +0100	[thread overview]
Message-ID: <20180124091130.GD30613@kroah.com> (raw)
In-Reply-To: <20180124023212.32005-1-shuahkh@osg.samsung.com>

On Tue, Jan 23, 2018 at 07:32:11PM -0700, Shuah Khan wrote:
> From: Jonathan Dieter <jdieter@lesbg.com>
> 
> 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 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>
> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
> ---
>  tools/usb/usbip/src/usbip.c | 2 ++
>  1 file changed, 2 insertions(+)

All of these usbip tools patches are now queued up, thanks!

greg k-h

      parent reply	other threads:[~2018-01-24  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-24  2:32 [PATCH 4.9] usbip: Fix implicit fallthrough warning Shuah Khan
2018-01-24  2:32 ` [PATCH 4.9] usbip: Fix potential format overflow in userspace tools Shuah Khan
2018-01-24  9:11 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180124091130.GD30613@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=jdieter@lesbg.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=peter.senna@gmail.com \
    --cc=shuah@kernel.org \
    --cc=shuahkh@osg.samsung.com \
    --cc=stable@vger.kernel.org \
    --cc=valentina.manea.m@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).