Skip to content

Commit cbe73b8

Browse files
committed
xvmalloc: please Misra C:2012 Rule 8.2
The cloning from xmalloc.h happened long before Misra work started in earnest, leading to the missing parameter name having been overlooked later on. Fixes: 9102fcd ("mm: introduce xvmalloc() et al and use for grant table allocations") Signed-off-by: Jan Beulich <[email protected]> Acked-by: Michal Orzel <[email protected]> Acked-by: Andrew Cooper <[email protected]>
1 parent 5ed317c commit cbe73b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xen/include/xen/xvmalloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
__alignof__(typeof(*(ptr)))))
4242

4343
/* Free any of the above. */
44-
void xvfree(void *);
44+
void xvfree(void *va);
4545

4646
/* Free an allocation, and zero the pointer to it. */
4747
#define XVFREE(p) do { \

0 commit comments

Comments
 (0)