summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-07-31 05:00:37 +0200
committerJuergen Gross <jgross@suse.com>2023-08-21 15:58:57 +0200
commit187b4c0d34e34cc4a275fd98393a3bc21a460a66 (patch)
tree2105350c34ad7badcd6fa8891d0a9cb96b164a7e /drivers/xen
parentxen: xenbus: Use helper function IS_ERR_OR_NULL() (diff)
downloadlinux-187b4c0d34e34cc4a275fd98393a3bc21a460a66.tar.xz
linux-187b4c0d34e34cc4a275fd98393a3bc21a460a66.zip
xen: Fix one kernel-doc comment
Use colon to separate parameter name from their specific meaning. silence the warning: drivers/xen/grant-table.c:1051: warning: Function parameter or member 'nr_pages' not described in 'gnttab_free_pages' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6030 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20230731030037.123946-1-yang.lee@linux.alibaba.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/grant-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index f13c3b76ad1e..35659bf70746 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -1044,7 +1044,7 @@ EXPORT_SYMBOL_GPL(gnttab_pages_clear_private);
/**
* gnttab_free_pages - free pages allocated by gnttab_alloc_pages()
- * @nr_pages; number of pages to free
+ * @nr_pages: number of pages to free
* @pages: the pages
*/
void gnttab_free_pages(int nr_pages, struct page **pages)