[<prev] [next>] [day] [month] [year] [list]
Message-ID: <03eab112-da42-628b-d6cd-dccb981bf8be@intel.com>
Date: Thu, 20 Dec 2018 09:51:29 +0100
From: Artur Paszkiewicz <artur.paszkiewicz@...el.com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
intel-linux-scu <intel-linux-scu@...el.com>
Cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 20/41] scsi: isci: request: mark expected switch
fall-through
On 11/28/18 5:30 AM, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that, in this particular case, a dash is added as a token in
> order to separate the "Fall through" annotation from the rest of the
> comment on the same line, which is what GCC is expecting to find.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Acked-by: Artur Paszkiewicz <artur.paszkiewicz@...el.com>
Powered by blists - more mailing lists