[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH 02/12] x86/time: address violations of MISRA C Rule 16.3
Address violations 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/time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index f37300946e..d79b0a6ab9 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -1477,6 +1477,7 @@ unsigned int rtc_guest_read(unsigned int port) default: ASSERT_UNREACHABLE(); + break; } return data; @@ -1529,6 +1530,7 @@ void rtc_guest_write(unsigned int port, unsigned int data) default: ASSERT_UNREACHABLE(); + break; } } -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |