x86/usercopy: fix kernel-doc function param name
PATCH v2 1/1 x86/usercopy: fix kernel-doc function param name
Correct the function parameter name in clean_cache_range() to prevent kernel-doc warnings:
usercopy_64.c:29: warning: Function parameter or member 'addr' not described in 'clean_cache_range' usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'
---
v2: add Rev-by: Sohil Mehta
From: Randy Dunlap <[email protected]>
Subject: [PATCH v2] x86/usercopy: fix kernel-doc function param name
Correct the function parameter name in clean_cache_range() to prevent kernel-doc warnings:
usercopy_64.c:29: warning: Function parameter or member 'addr' not described in 'clean_cache_range' usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'
---
v2: add Rev-by: Sohil Mehta
arch/x86/lib/usercopy_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/lib/usercopy_64.c +1 -1
@@ -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)
arch/x86/lib/usercopy_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/lib/usercopy_64.c +1 -1
@@ -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)
Borislav Petkov
maintainerQuoted 57 lines · Randy Dunlap
Correct the function parameter name in
clean_cache_range()to prevent kernel-doc warnings:usercopy_64.c:29: warning: Function parameter or member 'addr' not described in '
clean_cache_range' usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'Signed-off-by Randy Dunlap <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Ingo Molnar <[email protected]>Cc Borislav Petkov <[email protected]>Cc Dave Hansen <[email protected]>Reviewed-by Sohil Mehta <[email protected]>---
v2: add Rev-by: Sohil MehtaFrom: Randy Dunlap <[email protected]>
Subject: [PATCH v2] x86/usercopy: fix kernel-doc function param nameCorrect the function parameter name in
clean_cache_range()to prevent kernel-doc warnings:usercopy_64.c:29: warning: Function parameter or member 'addr' not described in '
clean_cache_range' usercopy_64.c:29: warning: Excess function parameter 'vaddr' description in 'clean_cache_range'Signed-off-by Randy Dunlap <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Ingo Molnar <[email protected]>Cc Borislav Petkov <[email protected]>Cc Dave Hansen <[email protected]>Reviewed-by Sohil Mehta <[email protected]>---
v2: add Rev-by: Sohil Mehtaarch/x86/lib/usercopy_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --
a/arch/x86/lib/usercopy_64.cb/arch/x86/lib/usercopy_64.carch/x86/lib/usercopy_64.c +1
-1@@ -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) arch/x86/lib/usercopy_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --
a/arch/x86/lib/usercopy_64.cb/arch/x86/lib/usercopy_64.c
arch/x86/lib/usercopy_64.c line 24
Quoted 8 lines
arch/x86/lib/usercopy_64.c +1
-1@@ -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)
What happened here? :)
Commit message and patch diff appear twice.
Once not enough huh?
:-P
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 5 lines · Borislav Petkov
Quoted 2 lines · Randy Dunlap
Correct the function parameter name in
clean_cache_range()to prevent kernel-doc warnings:
Quoted 8 lines
What happened here? :)
Commit message and patch diff appear twice.
Once not enough huh?
:-P
Wow, I have no idea. I'll fix it up.
Thanks.
Signature · 1 line
#Randy