From 5a3ace21f3d779b291a2d305824b2820d88de7f1 Mon Sep 17 00:00:00 2001 From: Federico Serafini Date: Wed, 20 Dec 2023 12:03:07 +0100 Subject: [PATCH] xen/arm: smmu-v3: address violations of MISRA C:2012 Rule 16.3 Add a break statement at the end of the switch-clauses to address violations of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause"). No funtional change. Signed-off-by: Federico Serafini Acked-by: Julien Grall Reviewed-by: Bertrand Marquis features |= ARM_SMMU_FEAT_STALLS; + break; } if (reg & IDR0_S2P) @@ -2301,6 +2302,7 @@ static int arm_smmu_device_hw_probe(struct arm_smmu_device *smmu) fallthrough; case IDR5_OAS_48_BIT: smmu->oas = 48; + break; } smmu->oas = min_t(unsigned long, PADDR_BITS, smmu->oas); -- 2.39.5