[XEN PATCH 5/5] xen/xalloc: address violations of MISRA C:2012 Rule 8.2

Federico Serafini posted 5 patches 2 years, 2 months ago
[XEN PATCH 5/5] xen/xalloc: address violations of MISRA C:2012 Rule 8.2
Posted by Federico Serafini 2 years, 2 months ago
Add missing parameter names. No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
---
 xen/include/xen/xmalloc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/xen/xmalloc.h b/xen/include/xen/xmalloc.h
index 16979a117c..9ecddbff5e 100644
--- a/xen/include/xen/xmalloc.h
+++ b/xen/include/xen/xmalloc.h
@@ -63,7 +63,7 @@
     })
 
 /* Free any of the above. */
-extern void xfree(void *);
+extern void xfree(void *p);
 
 /* Free an allocation, and zero the pointer to it. */
 #define XFREE(p) do { \
-- 
2.34.1
Re: [XEN PATCH 5/5] xen/xalloc: address violations of MISRA C:2012 Rule 8.2
Posted by Stefano Stabellini 2 years, 2 months ago
On Fri, 17 Nov 2023, Federico Serafini wrote:
> Add missing parameter names. No functional change.
> 
> Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>