From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 4/7] dm-mpath: Avoid that building with W=1 causes gcc 7 to complain about fall-through Date: Thu, 10 Aug 2017 11:29:43 +0200 Message-ID: <20170810092943.GH24539@lst.de> References: <20170809183216.526-1-bart.vanassche@wdc.com> <20170809183216.526-5-bart.vanassche@wdc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170809183216.526-5-bart.vanassche@wdc.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Bart Van Assche Cc: dm-devel@redhat.com, Laurence Oberman , Christoph Hellwig , Mike Snitzer List-Id: dm-devel.ids On Wed, Aug 09, 2017 at 11:32:13AM -0700, Bart Van Assche wrote: > Signed-off-by: Bart Van Assche > Cc: Laurence Oberman > --- > drivers/md/dm-mpath.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c > index 0baa461eccaa..6e20deac4add 100644 > --- a/drivers/md/dm-mpath.c > +++ b/drivers/md/dm-mpath.c > @@ -1379,6 +1379,7 @@ static void pg_init_done(void *data, int errors) > case SCSI_DH_RETRY: > /* Wait before retrying. */ > delay_retry = 1; > + /* fall through */ > case SCSI_DH_IMM_RETRY: > case SCSI_DH_RES_TEMP_UNAVAIL: > if (pg_init_limit_reached(m, pgpath)) I prefer /*FALLTHRU*/ over the less shouty lower case version, but either way this looks okay: Reviewed-by: Christoph Hellwig