Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp260093imu; Wed, 19 Dec 2018 18:03:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UyNWLlvwsZG2G1a7DqjGSXY7bXSmgUDlwZ77Rahh5o6Uz7J4+G0Tjbxtm1ocov7tDy9pJV X-Received: by 2002:a63:6604:: with SMTP id a4mr15700370pgc.118.1545271397187; Wed, 19 Dec 2018 18:03:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545271397; cv=none; d=google.com; s=arc-20160816; b=bsQAx8Sq95xyVgPm7Lpn709w1+2HyjToEdZpe/aNdYx/rhyNjikmVK9Xsup0IT2twd ZRwgRlDwIR7otM2llC5baWeZMMWw+6UxOHojGyyJHleQsLjVrpTCpmlio7dMhqQfMGNT svhNVGIyrSE6Z8Caot1hxRBh5G6VmAN7SuByXId/whnLa5ro/iL/2aOLaAKjL4X8rE/n HYkOJ7dA/eVS60JgXMcDKRQ7dHp3F5pq0BL/EonepJChukYy9zq64546+k/RwaBox5M/ bs3A7H2sQw6FFo+NBHD2qTHi4S0Tta69az2UvOQnq0viPmAGC/D+iSoleFFJsBUoZ1DA yUSg== 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=Y781Pi5o211qfzh0+DLlvm5i6ofl/gr+oVgrM4Y3TjY=; b=OrKKQYjRhhrUa7rSfYDjup1IFcoD3DoQvYVY2T87A+15rJ5qigAAzpruG6aygRps5P YhwIfx46kdAZow+GLgbOsoFgUP/DWK4+3hOSMl138nG2k77D66fLrH1VfiYnsd2wCyTB y/fLItxtPM4pZcL6Z13l88cntAoqtrU1yiQvPM/00UtpayEoftjI4bCOVlwaKx7gbKEY AMXuuysVp7aUfh8yxo9NGhvAer844klp5RwuyN7jodbVBaG4XQoSSfV3w4GcmoNbquMx MdIS7yRPK5BBNW6JRUxC2/sjjESIBkCH9OAdunvfMad3odWliC0i/u9AGgLE82mMkpzL BMxQ== 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 e33si4665760pld.397.2018.12.19.18.03.00; Wed, 19 Dec 2018 18:03:17 -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 S1730469AbeLTAJr (ORCPT + 99 others); Wed, 19 Dec 2018 19:09:47 -0500 Received: from gateway34.websitewelcome.com ([192.185.149.13]:41304 "EHLO gateway34.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728902AbeLTAJr (ORCPT ); Wed, 19 Dec 2018 19:09:47 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 37C36A27B for ; Wed, 19 Dec 2018 18:08:20 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ZlsygtNsmiQerZlsygyppi; Wed, 19 Dec 2018 18:08:20 -0600 X-Authority-Reason: nr=8 Received: from [189.250.106.44] (port=50534 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 1gZlsx-0015pe-SY; Wed, 19 Dec 2018 18:08:19 -0600 Subject: Re: [PATCH 38/41] scsi: sym53c8xx_2: sym_hipd: mark expected switch fall-throughs To: Matthew Wilcox Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <81f959a632339d224fd0dd894746d1081bf249f3.1543374820.git.gustavo@embeddedor.com> From: "Gustavo A. R. Silva" Message-ID: <7ecbfc9c-4c03-c441-cf9b-c5a44d5a9ea5@embeddedor.com> Date: Wed, 19 Dec 2018 18:08:18 -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: <81f959a632339d224fd0dd894746d1081bf249f3.1543374820.git.gustavo@embeddedor.com> 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: 1gZlsx-0015pe-SY X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.76]) [189.250.106.44]:50534 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 50 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:34 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: 114996 ("Missing break in switch") > Signed-off-by: Gustavo A. R. Silva > --- > drivers/scsi/sym53c8xx_2/sym_hipd.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c > index 0a2a54517b15..054fb0599263 100644 > --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c > +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c > @@ -3072,6 +3072,7 @@ static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb > sym_print_addr(cp->cmd, "%s\n", > s_status == S_BUSY ? "BUSY" : "QUEUE FULL\n"); > } > + /* fall through */ > default: /* S_INT, S_INT_COND_MET, S_CONFLICT */ > sym_complete_error (np, cp); > break; > @@ -4632,6 +4633,7 @@ static void sym_int_sir(struct sym_hcb *np) > * Negotiation failed. > * Target does not want answer message. > */ > + /* fall through */ > case SIR_NEGO_PROTO: > sym_nego_default(np, tp, cp); > goto out; >