Skip to content

Commit 8ae292c

Browse files
PeterZhu789Ingo Molnar
authored andcommitted
x86/lib: Address kernel-doc warnings
Fix all kernel-doc warnings in csum-wrappers_64.c: arch/x86/lib/csum-wrappers_64.c:25: warning: Excess function parameter 'isum' description in 'csum_and_copy_from_user' arch/x86/lib/csum-wrappers_64.c:25: warning: Excess function parameter 'errp' description in 'csum_and_copy_from_user' arch/x86/lib/csum-wrappers_64.c:49: warning: Excess function parameter 'isum' description in 'csum_and_copy_to_user' arch/x86/lib/csum-wrappers_64.c:49: warning: Excess function parameter 'errp' description in 'csum_and_copy_to_user' arch/x86/lib/csum-wrappers_64.c:71: warning: Excess function parameter 'sum' description in 'csum_partial_copy_nocheck' Signed-off-by: Zhu Wang <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected]
1 parent 1882366 commit 8ae292c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/lib/csum-wrappers_64.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* @src: source address (user space)
1515
* @dst: destination address
1616
* @len: number of bytes to be copied.
17-
* @isum: initial sum that is added into the result (32bit unfolded)
18-
* @errp: set to -EFAULT for an bad source address.
1917
*
2018
* Returns an 32bit unfolded checksum of the buffer.
2119
* src and dst are best aligned to 64bits.
@@ -38,8 +36,6 @@ csum_and_copy_from_user(const void __user *src, void *dst, int len)
3836
* @src: source address
3937
* @dst: destination address (user space)
4038
* @len: number of bytes to be copied.
41-
* @isum: initial sum that is added into the result (32bit unfolded)
42-
* @errp: set to -EFAULT for an bad destination address.
4339
*
4440
* Returns an 32bit unfolded checksum of the buffer.
4541
* src and dst are best aligned to 64bits.
@@ -62,7 +58,6 @@ csum_and_copy_to_user(const void *src, void __user *dst, int len)
6258
* @src: source address
6359
* @dst: destination address
6460
* @len: number of bytes to be copied.
65-
* @sum: initial sum that is added into the result (32bit unfolded)
6661
*
6762
* Returns an 32bit unfolded checksum of the buffer.
6863
*/

0 commit comments

Comments
 (0)