All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Bart Van Assche <bart.vanassche@wdc.com>
Cc: linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH] block: Add fallthrough markers to switch statements
Date: Wed, 21 Jun 2017 11:45:54 -0600	[thread overview]
Message-ID: <5d4fb46b-1864-3b29-85a4-7e90c0006a1f@kernel.dk> (raw)
In-Reply-To: <20170621164011.4409-1-bart.vanassche@wdc.com>

On 06/21/2017 10:40 AM, Bart Van Assche wrote:
> This patch suppresses gcc 7 warnings about falling through in switch
> statements when building with W=1. From the gcc documentation: The
> -Wimplicit-fallthrough=3 warning is enabled by -Wextra. See also
> https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Warning-Options.html.

Sort of split on patches like this, but let's just queue it up.

-- 
Jens Axboe

      reply	other threads:[~2017-06-21 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 16:40 [PATCH] block: Add fallthrough markers to switch statements Bart Van Assche
2017-06-21 17:45 ` Jens Axboe [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=5d4fb46b-1864-3b29-85a4-7e90c0006a1f@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bart.vanassche@wdc.com \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.