From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933861AbdJQXFm convert rfc822-to-8bit (ORCPT ); Tue, 17 Oct 2017 19:05:42 -0400 Received: from mga05.intel.com ([192.55.52.43]:43780 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753941AbdJQXFl (ORCPT ); Tue, 17 Oct 2017 19:05:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,392,1503385200"; d="scan'208";a="1206930052" From: "Dilger, Andreas" To: "Gustavo A. R. Silva" CC: "Drokin, Oleg" , James Simmons , Greg Kroah-Hartman , "lustre-devel@lists.lustre.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 12/20] staging: lustre: lnet: selftest: mark expected switch fall-through Thread-Topic: [PATCH 12/20] staging: lustre: lnet: selftest: mark expected switch fall-through Thread-Index: AQHTQ3XpUYb4l/+MuUeqT2/gct58vaLpJ1KA Date: Tue, 17 Oct 2017 23:05:39 +0000 Message-ID: References: <4633f85babbbeb119e318a9c319c8a49d68f6f13.1507781178.git.garsilva@embeddedor.com> In-Reply-To: <4633f85babbbeb119e318a9c319c8a49d68f6f13.1507781178.git.garsilva@embeddedor.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.142.85] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Oct 12, 2017, at 10:17, Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Reviewed-by: Andreas Dilger > --- > drivers/staging/lustre/lnet/selftest/conctl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/lustre/lnet/selftest/conctl.c b/drivers/staging/lustre/lnet/selftest/conctl.c > index 9619ecb..551e921 100644 > --- a/drivers/staging/lustre/lnet/selftest/conctl.c > +++ b/drivers/staging/lustre/lnet/selftest/conctl.c > @@ -151,6 +151,7 @@ lst_debug_ioctl(struct lstio_debug_args *args) > > case LST_OPC_BATCHSRV: > client = 0; > + /* fall through */ > case LST_OPC_BATCHCLI: > if (!name) > goto out; > -- > 2.7.4 > Cheers, Andreas -- Andreas Dilger Lustre Principal Architect Intel Corporation