lkml.org 
[lkml]   [2022]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Correct documentation comments for x86 csum_and_copy_...user()
Date
Clean up of calling conventions for csum_and_copy_..._user() did not update
associated documentation comments to account for the removal of additional
parameters.

Fixes: c693cc4676a0 ("saner calling conventions for csum_and_copy_..._user()")
Signed-off-by: William Kucharski <william.kucharski@oracle.com>
---
arch/x86/lib/csum-wrappers_64.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/x86/lib/csum-wrappers_64.c b/arch/x86/lib/csum-wrappers_64.c
index 189344924a2b..25d533502693 100644
--- a/arch/x86/lib/csum-wrappers_64.c
+++ b/arch/x86/lib/csum-wrappers_64.c
@@ -14,8 +14,6 @@
* @src: source address (user space)
* @dst: destination address
* @len: number of bytes to be copied.
- * @isum: initial sum that is added into the result (32bit unfolded)
- * @errp: set to -EFAULT for an bad source address.
*
* Returns an 32bit unfolded checksum of the buffer.
* src and dst are best aligned to 64bits.
@@ -39,8 +37,6 @@ EXPORT_SYMBOL(csum_and_copy_from_user);
* @src: source address
* @dst: destination address (user space)
* @len: number of bytes to be copied.
- * @isum: initial sum that is added into the result (32bit unfolded)
- * @errp: set to -EFAULT for an bad destination address.
*
* Returns an 32bit unfolded checksum of the buffer.
* src and dst are best aligned to 64bits.
@@ -64,7 +60,6 @@ EXPORT_SYMBOL(csum_and_copy_to_user);
* @src: source address
* @dst: destination address
* @len: number of bytes to be copied.
- * @sum: initial sum that is added into the result (32bit unfolded)
*
* Returns an 32bit unfolded checksum of the buffer.
*/
--
2.34.1
\
 
 \ /
  Last update: 2022-02-05 13:17    [W:0.117 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site