Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp714985imu; Tue, 27 Nov 2018 20:55:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/W4qksAmEYjQ2hhdltP+/XluZTjq0UZxczHqTPB+cujY3JQNxIQ8vCsktMLEzFgeLRQ9oDT X-Received: by 2002:a63:235f:: with SMTP id u31mr31568229pgm.122.1543380928817; Tue, 27 Nov 2018 20:55:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543380928; cv=none; d=google.com; s=arc-20160816; b=dM45LoBVQHn/fB5foE9XL4oOHDv+ZxbyeS2k6gmo17O2LtNlE3j5gWaGweeraHh073 yLmMW0we1z8e/cAdm/QBYbny0p5c6rkLyhPkx+EgZ7BzD+RT9a8NZWgjcLmovf96xf74 GfZxJzoOrAFnfhMijve1p/ndHXwOwd/BBI2MpYYdvGFVhu5sPr5fOrgLyQY9FO33arvZ QsHWMEd5sZel30BryHw9mcE01BOPSaIx8aKst8fJwdEaqqYjLgQ78hqf2ZZYNEB2BDoI 5N+MVPdfTDGnL30W1IbsQbJpMUIn1objI6YxNk8rjVaPdLZFOlOFBxzklqqNZKUZTgtO QW6w== 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=ggY0sT816vFxmq61/WCsFAVqJi91g9WbOHtyVMqYzTk=; b=NcP1g7XWghsgePj8xJt3/EGr9Z1ewAYjDpKeRZ7nNoRLljuDHazMzRbCf9erk6wCqy 0Su1WidTwBQtF4CNyCRKzbJt1aoBVUyx7w/iuk7m6Y1A3xM8RM12LVQ4uHxr7y2+h161 WKKQNGNWORhr/OoPQzj54a4ByvuCmgs05vZ0D7HfzDBudRjFdGxbJwIfHQFxYqgaMzje Zq5ekqVQ3nk36ama/Q0RK+z1ofbpcURI/sLvRAzEycHvNBh82uuk3ZnC3Yv5O/SWGmHG yLiIkV1lD2iTM3cx+WQaxJIb1r1QMWwSZZLWVgMs42sLLWZTrDVpF1C9/FsT/Qp7P3xn HPpg== 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 p32si5955353pgm.413.2018.11.27.20.55.13; Tue, 27 Nov 2018 20:55:28 -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 S1727528AbeK1Pxn (ORCPT + 99 others); Wed, 28 Nov 2018 10:53:43 -0500 Received: from gateway33.websitewelcome.com ([192.185.145.87]:40939 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeK1Pxm (ORCPT ); Wed, 28 Nov 2018 10:53:42 -0500 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 0462D2440E for ; Tue, 27 Nov 2018 22:31:19 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrVOggVoakBj6RrVPgcsc5; Tue, 27 Nov 2018 22:31:19 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58338 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrVO-001nsQ-BK; Tue, 27 Nov 2018 22:31:18 -0600 Date: Tue, 27 Nov 2018 22:31:16 -0600 From: "Gustavo A. R. Silva" To: James Smart , Dick Kennedy Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 23/41] scsi: lpfc: lpfc_els: Mark expected switch fall-throughs 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: 1gRrVO-001nsQ-BK X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58338 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 171 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. Addresses-Coverity-ID: 114978 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/lpfc/lpfc_els.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 5c34bfa624ef..1f20c35e0f84 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c @@ -8649,6 +8649,7 @@ lpfc_cmpl_reg_new_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) lpfc_nlp_put(ndlp); return; } + /* fall through */ default: /* Try to recover from this error */ -- 2.17.1