Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1483467pxb; Fri, 20 Nov 2020 10:32:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIWW0uYhECFdHyyskqBJ6JOoRzuaYZlm9TRfIrt5xaqeV5QDNklPS7zLLIx6tE4j9MN/Z6 X-Received: by 2002:a50:cd09:: with SMTP id z9mr37452175edi.152.1605897164697; Fri, 20 Nov 2020 10:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605897164; cv=none; d=google.com; s=arc-20160816; b=epAZRWv0p6LtnBzT2L+jhDwmUr7VHpvHV9rsi3QXU5YkGUEkA3jiM8+9E6sfdTpnc5 oH67yCuAbU7aFwNXRBc+a4RYAPUNfOcgR/Yn4hvhGvBr5D/2E08oL4Z0KF9laeZy+CGf mWFexf/EgkORvMtLHICTgMEwKPe5L0zVEwBL8pp29Lw6lXNlsfrtOI4KbQ1i2UbM2Fkk 7WzJ+m5WKm906yk0AJD7NxeVkHBkE7hWZzQW9ajMjpTa35Ez7Y26HS2kMWIcAKLlGmU5 Q19RCqYx23spQD/zFnhgJainDCs5NzVe/fLP44DxVzlEnSNF3H0JGNfuccUYVBdwQb/3 SmKg== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=4DGwuzNqcFr0cxfgI0nIDa6e/VSwsEng5GxlZGv/ZjY=; b=aEKUIZ/Aa+CamQ8H6J5naCiJC13vUh1oI1Xem4q9LF1o1CkYHP5dRHM77ggxti9CvB ANnEhKK5/lCsZc+o0qAg76dmxFB2bg0/1I2hRhT5/I2o5alRyUaSja3zm1kKpEGvoz2K SzqW12IOVImb+qxnFHVM8C8JrRR0huaWKXkN/bsoATsd+07BelhoUYHIwUlHE09sD/cu GZ4JAZ18Wn3QGui61FUwoIKIFlYfx+qOXZj7/LXzdBzCDbDpI60u1HQhJJjB254cDzsj Ro7I1PEQ5xFRv0GNyZGU+42s42nH9+GHlCYUOf0PNI6Lb7M7kaB5gfglqAxOWN8g3gd5 fM6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RPb37dHk; 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 p14si1302961edy.528.2020.11.20.10.32.21; Fri, 20 Nov 2020 10:32:44 -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=RPb37dHk; 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 S1730425AbgKTS2x (ORCPT + 99 others); Fri, 20 Nov 2020 13:28:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:49030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728325AbgKTS2v (ORCPT ); Fri, 20 Nov 2020 13:28:51 -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 1DAF52224C; Fri, 20 Nov 2020 18:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605896931; bh=wUUrySqSMPWdRnThf5O0yJ5ZiJ507CYSUK16UOmr1kI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RPb37dHkVTNro9t/smUmA730yq9m0mc05+W/sAJoUOdLPIJZijtuAm1OAGsW4BDMy rz0Us0zB9IkGo9UI53jOb0asqiXM1fu9Rd0mC6arA7QV89+ErEtq++L26gikNuIEuV PG5GqlPvmDMHMt1agCEmvZLqSe/SjlFHDhdJjytY= Date: Fri, 20 Nov 2020 12:28:56 -0600 From: "Gustavo A. R. Silva" To: Michal Kalderon , Ariel Elior , Doug Ledford , Jason Gunthorpe Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 035/141] IB/qedr: Fix fall-through warnings for Clang Message-ID: <8d7cf00ec3a4b27a895534e02077c2c9ed8a5f8e.1605896059.git.gustavoars@kernel.org> 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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://github.com/KSPP/linux/issues/115 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