Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp710215imu; Tue, 27 Nov 2018 20:47:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/UO2o6RXDD+uqC8WKsAsWYDTDp7JftXqYG61i6EjXgLHenapFHE9k1bMxgDH1j94r5vfP95 X-Received: by 2002:a17:902:f20b:: with SMTP id gn11mr15517755plb.274.1543380457456; Tue, 27 Nov 2018 20:47:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543380457; cv=none; d=google.com; s=arc-20160816; b=0gVQ5LacrShOx3U3MH4iPFjUM5cxaJj50MirktcKH4HjGPO2Zb4CnfYUpHaQarRTef x17ZfKmDs5iQWxbdMhQYPfMM3U2fu2P2GDvbbSJR6zJxTHX/lhnzzYXFQOeNiWQGsKn+ gQHU7jyznrTfxcOsuoTgZk1cqax39/wTPeoX5re/KIe7NSGWjAZLrFVgPoHzKzL1gQmQ 6UfwUOAmDTNWjsxhn+X3MdhggRQCZfJeNhSBTdDhUCJmz/wPeOvCXJEH6I6uhCcQMkzG CY7ed0cBBZPb9da+yoraJuCfAIVdClzwJTkJAvnFWgWNH6VeI2YhEx06zS16SEn6RxPp AHtA== 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=QAugJ0Ev1p+rCGB/gdqQzNs7X3WGOgASh3w8jdSafsw=; b=eM7IZyp1ppncRU8+osXXkZe/w1mzn3Lo8xs8ww6SinkI2tLyjf1Uzq07ci000+0QQ7 PO6RfPTtPG3FCGR6zkMdB3FjkN0WNFfrFMmCsS+06n9//1nbh6LLR+yRE1CZ0+qANRDl acYMm4TM1GyqJWjSiELnwECHddmpQA49iYZa9dNg02qh1u1krD9XZm/kOBydRVPLvkr9 e5IhRczMYaapyB4SWTKZK77ZnhSIHA06Yo7Ogf39EMKHqpe9X1GtR5btCRNRb4553TFV Ow9PyUXFIqwgtk6W+U56A15TKQXVoL/PBYw8ok4WxzpNINrb+sVwQCTxk1PU893UkMBL LXow== 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 b19si6703682pfm.100.2018.11.27.20.47.22; Tue, 27 Nov 2018 20:47:37 -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 S1727280AbeK1Ppe (ORCPT + 99 others); Wed, 28 Nov 2018 10:45:34 -0500 Received: from gateway23.websitewelcome.com ([192.185.50.141]:43523 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbeK1Ppe (ORCPT ); Wed, 28 Nov 2018 10:45:34 -0500 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 7360E7A55 for ; Tue, 27 Nov 2018 22:21:27 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrLrgD3ywPvAdRrLrgssK6; Tue, 27 Nov 2018 22:21:27 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58152 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrLq-001fmS-L2; Tue, 27 Nov 2018 22:21:26 -0600 Date: Tue, 27 Nov 2018 22:21:23 -0600 From: "Gustavo A. R. Silva" To: Khalid Aziz Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 01/41] scsi: BusLogic: 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: 1gRrLq-001fmS-L2 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58152 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 47 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: 1056537 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/BusLogic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 9cee941f97d6..717eef3ee893 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -2641,6 +2641,7 @@ static int blogic_resultcode(struct blogic_adapter *adapter, case BLOGIC_BAD_CMD_PARAM: blogic_warn("BusLogic Driver Protocol Error 0x%02X\n", adapter, adapter_status); + /* fall through */ case BLOGIC_DATA_UNDERRUN: case BLOGIC_DATA_OVERRUN: case BLOGIC_NOEXPECT_BUSFREE: -- 2.17.1