* [PATCH] x86/usercopy: Fix kernel-doc func param name
@ 2025-01-11 6:33 Randy Dunlap
2025-02-23 15:39 ` [tip: x86/cleanups] x86/usercopy: Fix kernel-doc func param name in clean_cache_range()'s description tip-bot2 for Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2025-01-11 6:33 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
Dave Hansen, x86
Use @addr instead of @vaddr in the kernel-doc comment for
clean_cache_range() to eliminate warnings:
arch/x86/lib/usercopy_64.c:29: warning: Function parameter or struct member 'addr' not described in 'clean_cache_range'
arch/x86/lib/usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'
Fixes: 0aed55af8834 ("x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass operations")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: x86@kernel.org
---
arch/x86/lib/usercopy_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20250108.orig/arch/x86/lib/usercopy_64.c
+++ linux-next-20250108/arch/x86/lib/usercopy_64.c
@@ -18,7 +18,7 @@
#ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE
/**
* clean_cache_range - write back a cache range with CLWB
- * @vaddr: virtual start address
+ * @addr: virtual start address
* @size: number of bytes to write back
*
* Write back a cache range using the CLWB (cache line write back)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/usercopy: Fix kernel-doc func param name in clean_cache_range()'s description
2025-01-11 6:33 [PATCH] x86/usercopy: Fix kernel-doc func param name Randy Dunlap
@ 2025-02-23 15:39 ` tip-bot2 for Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2025-02-23 15:39 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Randy Dunlap, Borislav Petkov (AMD), x86, linux-kernel
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 51184c3c96a19b5143710ef91426e311f4364bac
Gitweb: https://git.kernel.org/tip/51184c3c96a19b5143710ef91426e311f4364bac
Author: Randy Dunlap <rdunlap@infradead.org>
AuthorDate: Fri, 10 Jan 2025 22:33:33 -08:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Sun, 23 Feb 2025 11:52:48 +01:00
x86/usercopy: Fix kernel-doc func param name in clean_cache_range()'s description
Use @addr instead of @vaddr in the kernel-doc comment for
clean_cache_range() to eliminate warnings:
arch/x86/lib/usercopy_64.c:29: warning: Function parameter or struct member 'addr' not described in 'clean_cache_range'
arch/x86/lib/usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'
Fixes: 0aed55af8834 ("x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass operations")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250111063333.911084-1-rdunlap@infradead.org
---
arch/x86/lib/usercopy_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/usercopy_64.c b/arch/x86/lib/usercopy_64.c
index e9251b8..654280a 100644
--- a/arch/x86/lib/usercopy_64.c
+++ b/arch/x86/lib/usercopy_64.c
@@ -18,7 +18,7 @@
#ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE
/**
* clean_cache_range - write back a cache range with CLWB
- * @vaddr: virtual start address
+ * @addr: virtual start address
* @size: number of bytes to write back
*
* Write back a cache range using the CLWB (cache line write back)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-23 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-11 6:33 [PATCH] x86/usercopy: Fix kernel-doc func param name Randy Dunlap
2025-02-23 15:39 ` [tip: x86/cleanups] x86/usercopy: Fix kernel-doc func param name in clean_cache_range()'s description tip-bot2 for Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®