[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/arm: mmu: address a violations of MISRA C:2012 Rule 16.3
commit e9786ba9ee5f0b4b6eadb4ca80417f195ce251a0 Author: Federico Serafini <federico.serafini@xxxxxxxxxxx> AuthorDate: Wed Dec 20 12:03:06 2023 +0100 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Wed Dec 20 10:20:16 2023 -0800 xen/arm: mmu: address a violations of MISRA C:2012 Rule 16.3 Add missing break at the end of the switch-clause to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause"). No functional change. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Acked-by: Julien Grall <jgrall@xxxxxxxxxx> --- xen/arch/arm/mmu/p2m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/mmu/p2m.c b/xen/arch/arm/mmu/p2m.c index 6a5a080307..41fcca011c 100644 --- a/xen/arch/arm/mmu/p2m.c +++ b/xen/arch/arm/mmu/p2m.c @@ -657,6 +657,7 @@ static lpae_t mfn_to_p2m_entry(mfn_t mfn, p2m_type_t t, p2m_access_t a) default: e.p2m.mattr = MATTR_MEM; e.p2m.sh = LPAE_SH_INNER; + break; } p2m_set_permission(&e, t, a); -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |