Re: [PATCH] ide: hpt366: mark expected switch fall-throughs
From: David Miller
Date: Sun Mar 10 2019 - 14:13:44 EST
From: "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx>
Date: Thu, 10 Jan 2019 10:34:23 -0600
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that, in this particular case, I removed the "else: "
> part from the comment. As we are now using Warning level 3:
> -Wimplicit-fallthrough=3, this is what GCC is expecting to
> find.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
Applied.