From 59f31d970f1be4c6a764b3400a0b7c8d4fe9141a Mon Sep 17 00:00:00 2001 From: Federico Serafini Date: Fri, 1 Dec 2023 10:49:34 +0100 Subject: [PATCH] xen/notifier: address violations of MISRA C:2012 Rule 8.2 Add missing parameter names. No functional change. Signed-off-by: Federico Serafini Acked-by: Jan Beulich Reviewed-by: Stefano Stabellini --- xen/include/xen/notifier.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/xen/notifier.h b/xen/include/xen/notifier.h index 51453c1552..2a952484df 100644 --- a/xen/include/xen/notifier.h +++ b/xen/include/xen/notifier.h @@ -23,7 +23,8 @@ */ struct notifier_block { - int (*notifier_call)(struct notifier_block *, unsigned long, void *); + int (*notifier_call)(struct notifier_block *nfb, unsigned long action, + void *hcpu); struct list_head chain; int priority; };