Thread (2 messages) 2 messages, 2 authors, 2017-06-21

Re: [PATCH] block: Add fallthrough markers to switch statements

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-06-21 17:45:54

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help