Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp716323imu; Tue, 27 Nov 2018 20:57:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/WhCjWk3EA+7fuF+qMuM503v/DKbIi8zJi5Myzm10AhwncdCO/sc68gQraMcjVqkAnOYYdq X-Received: by 2002:a63:fd53:: with SMTP id m19mr32319822pgj.340.1543381065096; Tue, 27 Nov 2018 20:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543381065; cv=none; d=google.com; s=arc-20160816; b=RNM/hSTHEwZCPkzb3hS13nYYdyeDyf54GB0kVPgPRPQ2UqB5CktFLkbho8jkFypyvu HZYNHeeLaIVU2eMpUiD75jeKBRHkmB7tcH6YXPne/Tfh88X+Ujp5lYUGRCvtyc9GwPFX uN1mdjpcduOCN4U3i36KLDIrJI0ksgEUUMxWCvK6OrQl6x0fp6fk5T9JwDDNvaVmYMNs d4Hfj0jzD27I1viBL4Gq7ya4Tl7FCPL4Pg66ufdGsBimKS0tyzrLNu68WmucZz66tEuA sZNB1KPeN+iEiqa/VWNLEADCkCgIsSqs0dkIJzhVbJZWCoPLQaNyN1k+g13uSlS5wjDe zERg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lVeUhJiVJNTduPKflvixTzPAI2+5s5DUAPz5BfbaJrg=; b=gnnzskFpWQ9qJY/KMZqMY9sJ7xRp0LzC2jywLtjkJ/p1/GTRF0SVsk/KYIOcCCNnzf 3n8wEh6ej35kWxThsb9F4FMM4eOELW3H2wG/huNGrGqz/jWxovBM/slL1Womni3gG//G L2dGLrxdUXglntnJY4q4NEvnF70pYQE0BiRSH6+tTioOhlgM6SEKvbB/jbyzyww24PF/ HyawBNhRHbgLixvxThvdTm5DeAw/6OWhQBTRlqjuCVwJYT5xRZIg5QJ6oGCy7EkYxmjn 4GMLjecmEP6mz5+xrVO7VmchDRXk8l3DZbxD7bh8Ot+qPq8PxYKJMqoC7mvy8K8/MGDi UFCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si6169010pgc.587.2018.11.27.20.57.29; Tue, 27 Nov 2018 20:57:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727622AbeK1P5H (ORCPT + 99 others); Wed, 28 Nov 2018 10:57:07 -0500 Received: from gateway22.websitewelcome.com ([192.185.47.168]:40987 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726972AbeK1P5G (ORCPT ); Wed, 28 Nov 2018 10:57:06 -0500 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 97347A90C for ; Tue, 27 Nov 2018 22:33:47 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrXngw24fRPojRrXng4g6w; Tue, 27 Nov 2018 22:33:47 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58380 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrXm-001qGG-F9; Tue, 27 Nov 2018 22:33:47 -0600 Date: Tue, 27 Nov 2018 22:33:43 -0600 From: "Gustavo A. R. Silva" To: QLogic-Storage-Upstream@qlogic.com Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 36/41] scsi: qla4xxx: ql4_os: mark expected switch fall-through Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.78.127 X-Source-L: No X-Exim-ID: 1gRrXm-001qGG-F9 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58380 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 250 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that, in this particular case, I replaced "allow fall-through" with a "fall through" annotation, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/qla4xxx/ql4_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 1c702cd22359..7fd3491ea2d9 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -2876,7 +2876,7 @@ static int qla4xxx_session_get_param(struct iscsi_cls_session *cls_sess, chap_tbl.secret_len); } } - /* allow fall-through */ + /* fall through */ default: return iscsi_session_get_param(cls_sess, param, buf); } -- 2.17.1