]> xenbits.xensource.com Git - xen.git/commit
xen/arm: smmuv3: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 23 Aug 2022 14:34:08 +0000 (15:34 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 6 Sep 2022 16:43:33 +0000 (17:43 +0100)
commiteabda52f217124ed48bdd34ac008f98a5cb1feb9
treee8d8d2414d13d83fcdd53c568f2b0a563785b2fe
parent96a0f2a264c6afb128cff4c6845225f8e3776ed7
xen/arm: smmuv3: Fix fall-through warning for Clang

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 fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5a1ab5c0299a
Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/passthrough/arm/smmu-v3.c