From nobody Mon Feb 9 06:09:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=arm.com Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1662125957691206.60850294564068; Fri, 2 Sep 2022 06:39:17 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.397749.638422 (Exim 4.92) (envelope-from ) id 1oU6ss-0003xs-Cz; Fri, 02 Sep 2022 13:38:58 +0000 Received: by outflank-mailman (output) from mailman id 397749.638422; Fri, 02 Sep 2022 13:38:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oU6ss-0003xl-A8; Fri, 02 Sep 2022 13:38:58 +0000 Received: by outflank-mailman (input) for mailman id 397749; Fri, 02 Sep 2022 13:38:56 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oU6sq-0003jF-Mu for xen-devel@lists.xenproject.org; Fri, 02 Sep 2022 13:38:56 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id 97253a69-2ac4-11ed-82f2-63bd783d45fa; Fri, 02 Sep 2022 15:38:55 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 803BA1515; Fri, 2 Sep 2022 06:39:01 -0700 (PDT) Received: from e109506.cambridge.arm.com (e109506.cambridge.arm.com [10.1.199.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 373113F766; Fri, 2 Sep 2022 06:38:54 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 97253a69-2ac4-11ed-82f2-63bd783d45fa From: Rahul Singh To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, rahul.singh@arm.com, "Gustavo A. R. Silva" , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , kernel test robot Subject: [PATCH v2 09/10] xen/arm: smmuv3: Fix fall-through warning for Clang Date: Fri, 2 Sep 2022 14:35:01 +0100 Message-Id: <1a17c80becb0b2466efadef378d000f45debdc14.1662123432.git.rahul.singh@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1662125959583100001 Content-Type: text/plain; charset="utf-8" From: "Gustavo A. R. Silva" Backport Linux commit 5a1ab5c0299a. This is the clean backport without any changes. Fix the following fallthrough warning (arm64-randconfig with Clang): drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:382:2: warning: unannotated fal= l-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.co= m/ Signed-off-by: Gustavo A. R. Silva Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5a= 1ab5c0299a Signed-off-by: Rahul Singh --- Changes in v2: - fix commit msg. --- xen/drivers/passthrough/arm/smmu-v3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/drivers/passthrough/arm/smmu-v3.c b/xen/drivers/passthroug= h/arm/smmu-v3.c index f8f0eeb528..6fb74d864e 100644 --- a/xen/drivers/passthrough/arm/smmu-v3.c +++ b/xen/drivers/passthrough/arm/smmu-v3.c @@ -489,6 +489,7 @@ static void arm_smmu_cmdq_skip_err(struct arm_smmu_devi= ce *smmu) switch (idx) { case CMDQ_ERR_CERROR_ABT_IDX: dev_err(smmu->dev, "retrying command fetch\n"); + return; case CMDQ_ERR_CERROR_NONE_IDX: return; case CMDQ_ERR_CERROR_ATC_INV_IDX: --=20 2.25.1