[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH 8/8] x86/nmi: address MISRA C:2012 Rule 8.4
Include an additional header to make the declarations for functions 'watchdog_*' visible prior to their definition in the file, thereby resolving the violations of Rule 8.4. No functional change. Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx> --- xen/arch/x86/nmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c index 104e366bd3..dc79c25e3f 100644 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -24,6 +24,7 @@ #include <xen/console.h> #include <xen/smp.h> #include <xen/keyhandler.h> +#include <xen/watchdog.h> #include <xen/cpu.h> #include <asm/current.h> #include <asm/mc146818rtc.h> -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |