Skip to content

Commit 51184c3

Browse files
rddunlapbp3tk0v
authored andcommitted
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: 0aed55a ("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
1 parent 0156338 commit 51184c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/lib/usercopy_64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifdef CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE
1919
/**
2020
* clean_cache_range - write back a cache range with CLWB
21-
* @vaddr: virtual start address
21+
* @addr: virtual start address
2222
* @size: number of bytes to write back
2323
*
2424
* Write back a cache range using the CLWB (cache line write back)

0 commit comments

Comments
 (0)