Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp309597imu; Wed, 19 Dec 2018 19:17:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xue83CseO5/Te8xIZV2RgrOpJrvqyJmlDBn8alA+hOltFENoZPU1ZXAGzUk3sMUY9T3kr7 X-Received: by 2002:a63:451a:: with SMTP id s26mr21819798pga.150.1545275836992; Wed, 19 Dec 2018 19:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545275836; cv=none; d=google.com; s=arc-20160816; b=WwL73JKdxirgE0v9g3k270gOjLK+OTDnZZjiCHGEysU0d1w5QhPF5XvzaPxbr3LZRw iRmb3K7OwO79CKfTIM+lmSDQ3JYNxh/3UzhVvKbFvL+Re947YOt3zP58pGVmFP7mg6yH gsbAfpXls8Yn52NomGM903fHbdTYEPvBm4Es13zHqVgeod+mJ6v8gJyPGRfXmiydLncH hpNJ3hYaf52BAb4AW/eYOd0ahRq6p6UesKxBvf0gNRt7tQ32ZjLOfavNZqAFgVQKy+9t tqDOym2hIPmOsyery+6gzDUwOfO8DeqqqQdlfg8thb4bX72l7TbFVDhe5axWZ+sMqeX4 PECw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PwrfNEXkgXpSAnaetVro6YB2CL3x6JDh8dcbgyc/lWI=; b=pDkCwR33XA+VyIYgxCEDNMr2ENfbo1NjqdnOYTzQSL5nyHXTAycvVFJVZ8NvzQpwdj BlTj8L5+W91RwPzQh4f7xjJxacnPuUeKJSYAi1hbtqkz8u50TBYIY6BuZ77Rjrj4DJ+E CsvQBdz1oxatir6SkgK0Mq4naiU4yk6muJjwx9D38QIdZCeAcW2K5D56l0ifgt30OJpG pKH+PkauX3mBlhbBbYarCuA2TC9CjKiGczh8oHs45MZAWLr3VrmDOWcAaw99XJQaYlbX 8bgy6LztSqK1EYfOX9ZTCmjjplBOxmUAYSBD15CThcpUtzxCX/ThkLFoBUJqqTwosWnH jihw== 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 n32si17153927pgm.439.2018.12.19.19.17.01; Wed, 19 Dec 2018 19:17:16 -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 S1729714AbeLSW1b (ORCPT + 99 others); Wed, 19 Dec 2018 17:27:31 -0500 Received: from gateway21.websitewelcome.com ([192.185.45.95]:36429 "EHLO gateway21.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727990AbeLSW1b (ORCPT ); Wed, 19 Dec 2018 17:27:31 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 2BDEE400CE582 for ; Wed, 19 Dec 2018 16:27:30 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ZkJOgs96HiQerZkJOgxbqn; Wed, 19 Dec 2018 16:27:30 -0600 X-Authority-Reason: nr=8 Received: from [189.250.106.44] (port=47212 helo=[192.168.1.76]) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gZkJN-000Dd9-Po; Wed, 19 Dec 2018 16:27:29 -0600 Subject: Re: [PATCH 23/41] scsi: lpfc: lpfc_els: Mark expected switch fall-throughs To: James Smart , Dick Kennedy Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: From: "Gustavo A. R. Silva" Message-ID: Date: Wed, 19 Dec 2018 16:27:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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.106.44 X-Source-L: No X-Exim-ID: 1gZkJN-000Dd9-Po X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.76]) [189.250.106.44]:47212 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 40 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 Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:31 PM, Gustavo A. R. Silva wrote: > 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 */ >