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 <federico.serafini@bugseng.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com
fallthrough;
case IDR0_STALL_MODEL_STALL:
smmu->features |= ARM_SMMU_FEAT_STALLS;
+ break;
}
if (reg & IDR0_S2P)
fallthrough;
case IDR5_OAS_48_BIT:
smmu->oas = 48;
+ break;
}
smmu->oas = min_t(unsigned long, PADDR_BITS, smmu->oas);