[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH 07/12] x86/mmcfg: address violation of MISRA C Rule 16.3
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> --- xen/arch/x86/x86_64/mmconfig-shared.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/x86_64/mmconfig-shared.c b/xen/arch/x86/x86_64/mmconfig-shared.c index b3b2da7362..77ba1e28f1 100644 --- a/xen/arch/x86/x86_64/mmconfig-shared.c +++ b/xen/arch/x86/x86_64/mmconfig-shared.c @@ -112,6 +112,7 @@ static const char *__init cf_check pci_mmcfg_intel_945(void) break; default: pci_mmcfg_config_num = 0; + break; } /* Errata #2, things break when not aligned on a 256Mb boundary */ -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |