[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/notifier: address violations of MISRA C:2012 Rule 8.3
commit dbd566ab729d2839c3c0be5c47cdcc06c2c477f0 Author: Federico Serafini <federico.serafini@xxxxxxxxxxx> AuthorDate: Fri Jul 28 09:41:47 2023 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Jul 28 09:41:47 2023 +0200 xen/notifier: address violations of MISRA C:2012 Rule 8.3 Change parameter names in function declarations to be consistent with the corresponding definitions. This addesses violations of MISRA C:2012 Rule 8.3: "All declarations of an object or function shall use the same names and type qualifiers". No functional changes. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/include/xen/notifier.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/xen/notifier.h b/xen/include/xen/notifier.h index 3d6017d4f7..51453c1552 100644 --- a/xen/include/xen/notifier.h +++ b/xen/include/xen/notifier.h @@ -37,9 +37,9 @@ struct notifier_head { void notifier_chain_register( - struct notifier_head *nh, struct notifier_block *nb); + struct notifier_head *nh, struct notifier_block *n); void notifier_chain_unregister( - struct notifier_head *nh, struct notifier_block *nb); + struct notifier_head *nh, struct notifier_block *n); int notifier_call_chain( struct notifier_head *nh, unsigned long val, void *v, -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |