[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/vmap: address violations of MISRA C:2012 Rule 8.2
commit 382257af0c9dc428e36d7dc290c82a2a6f5aedea Author: Federico Serafini <federico.serafini@xxxxxxxxxxx> AuthorDate: Thu Nov 23 10:09:10 2023 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Nov 23 10:09:10 2023 +0100 xen/vmap: address violations of MISRA C:2012 Rule 8.2 Add missing parameter names. No functional change. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/include/xen/vmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/include/xen/vmap.h b/xen/include/xen/vmap.h index b0f7632e89..2b7369e062 100644 --- a/xen/include/xen/vmap.h +++ b/xen/include/xen/vmap.h @@ -13,9 +13,9 @@ enum vmap_region { void vm_init_type(enum vmap_region type, void *start, void *end); void *__vmap(const mfn_t *mfn, unsigned int granularity, unsigned int nr, - unsigned int align, unsigned int flags, enum vmap_region); + unsigned int align, unsigned int flags, enum vmap_region type); void *vmap(const mfn_t *mfn, unsigned int nr); -void vunmap(const void *); +void vunmap(const void *va); void *vmalloc(size_t size); void *vmalloc_xen(size_t size); @@ -23,7 +23,7 @@ void *vmalloc_xen(size_t size); void *vzalloc(size_t size); void vfree(void *va); -void __iomem *ioremap(paddr_t, size_t); +void __iomem *ioremap(paddr_t pa, size_t len); static inline void iounmap(void __iomem *va) { -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |