Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1213867pxu; Mon, 23 Nov 2020 14:53:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyP1gIoQ1MuBS2bZbFgCPAqtwj0uy4reTOOTNu8pX8dZvskYWZWcdD4k8tKoLdtmmIIH0KR X-Received: by 2002:aa7:d351:: with SMTP id m17mr1386874edr.215.1606172001016; Mon, 23 Nov 2020 14:53:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606172001; cv=none; d=google.com; s=arc-20160816; b=HaMtb6XSj+cMLl8KxEI03Y9m+Sw/Cgyx/5fbbg6cb8xzExHi1GKM527EFe7BB7GeHc i845yMGjHE4G5WX5Zvs+zpDfb+9YwL1G8LSCk/D2puOFG3/VsO9kyx+MVuL1i80rn96T EmE+JFLRtfUUGD5GzX6VDzSLCWs/Y1binTnfiA4yxrUL0/GWJswa3xyOuu4xCKr9H6CO zS7UAQFQNXMH54Kl+GM8UBpRRyZIqbdcPWPyX9TEepudbGGXInRwLxsIm39OFKaEFqty PRiCa4Ls/PwfvvufTLWYm3BAJqB0I/mUwAID1h0GMw6AalnVGMZaXLTE0nR+V16SF1IK Y+5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VILA+HVqvkljKoGNbVaSBC2DZNb1okZ6e+LfmSsSBsE=; b=abfjq1U0zAcK8mJZ5WNAOqXjLer+kgzWeDQ6+HS7F9Ng8/spyvQeSLPLXLYNumdEln wBcsJ3GkRZB2Qe4T+5azlmEEmMHIKZXHVQiYcgfAxFsLzQNwpPQTEim25mBsx6yCb4ay F2wfkITCJWVv+KjvLWgCKoxx2wt1rVqRg4qsmwvNvAhHAKlToAzYAGe1Exqaz4orlfNI iqmZXatU/F56+gDg4v9O76a5qjp86h6igRFbanmIzqT+pPFHfot4gjEQwffXooBmW/zL g4vnoMoNCBJana2Yu8j0uh/6dAdgL/6BHM73hyuzacFedm/n5Gj54ePpRP2ISlUeh7rd /5Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UDUoBNUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si3000980eja.87.2020.11.23.14.52.58; Mon, 23 Nov 2020 14:53:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UDUoBNUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387487AbgKWWsB (ORCPT + 99 others); Mon, 23 Nov 2020 17:48:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:50094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731007AbgKWWsA (ORCPT ); Mon, 23 Nov 2020 17:48:00 -0500 Received: from embeddedor (187-162-31-110.static.axtel.net [187.162.31.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 08A8F206D8; Mon, 23 Nov 2020 22:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606171679; bh=3RMlvihFG6FapSYwsjGeZnlTVoLlN4a3ELNxdW2lrVg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UDUoBNUFrRJuTyYj/yyz2PkzOniIhadu3YsBI9aE3MUHwX0T8WBljrjYfBPN65SB9 CKNwWhmeMrtcc/uiwvXDHVsHiJWaKJBzStiLQ+bPyeC3nhlXn3l2x8ygUAcjbp3W4Q mi9a+HKPy5dayL+rpd+KD+9o0U7MM8L4vPubgHZ8= Date: Mon, 23 Nov 2020 16:48:13 -0600 From: "Gustavo A. R. Silva" To: Michal Kalderon Cc: Ariel Elior , Doug Ledford , Jason Gunthorpe , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hardening@vger.kernel.org" Subject: Re: [EXT] [PATCH 035/141] IB/qedr: Fix fall-through warnings for Clang Message-ID: <20201123224813.GJ21644@embeddedor> References: <8d7cf00ec3a4b27a895534e02077c2c9ed8a5f8e.1605896059.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 22, 2020 at 08:12:15PM +0000, Michal Kalderon wrote: > > From: Gustavo A. R. Silva > > Sent: Friday, November 20, 2020 8:29 PM > > > > ---------------------------------------------------------------------- > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by > > explicitly adding a break statement instead of just letting the code fall > > through to the next case. > > > > Link: https://urldefense.proofpoint.com/v2/url?u=https- > > 3A__github.com_KSPP_linux_issues_115&d=DwIBAg&c=nKjWec2b6R0mOyP > > az7xtfQ&r=5_8rRZTDuAS-6X-cGRU9Fo4yjCnkS1t7T3- > > gjL4FQng&m=ZJjyam8OGRTmM8iCzOSDOL7dMn31Pmw3aA- > > QOVDY8eg&s=4rQYW1K3xAzeRV7SRkrvaivRWz2WwEuuk0ZnjnDTA1w&e= > > Signed-off-by: Gustavo A. R. Silva > > --- > > drivers/infiniband/hw/qedr/main.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/infiniband/hw/qedr/main.c > > b/drivers/infiniband/hw/qedr/main.c > > index 967641662b24..10707b451ab8 100644 > > --- a/drivers/infiniband/hw/qedr/main.c > > +++ b/drivers/infiniband/hw/qedr/main.c > > @@ -796,6 +796,7 @@ static void qedr_affiliated_event(void *context, u8 > > e_code, void *fw_handle) > > } > > xa_unlock_irqrestore(&dev->srqs, flags); > > DP_NOTICE(dev, "SRQ event %d on handle %p\n", e_code, > > srq); > > + break; > > default: > > break; > > } > > -- > > 2.27.0 > > Thanks,? > > Acked-by: Michal Kalderon? Thanks, Michal. -- Gustavo