summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 16:11:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:19 -0700
commit54b14f40c5b13aeb179f68d82214e728617d5704 (patch)
tree31aa0b404d17f52ca2ecb752939b91bf947a8b79
parent38b4fe5fcc8690719339fb44afb330a75af08021 (diff)
downloadblackbird-op-linux-54b14f40c5b13aeb179f68d82214e728617d5704.tar.gz
blackbird-op-linux-54b14f40c5b13aeb179f68d82214e728617d5704.zip
lib/digsig.c: kernel-doc warning fixes
Small typo and @return: -> Returns ... Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Duan Jiong <duanj.fnst@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/digsig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/digsig.c b/lib/digsig.c
index 8793aeda30ca..ae05ea393fc8 100644
--- a/lib/digsig.c
+++ b/lib/digsig.c
@@ -175,10 +175,11 @@ err1:
* digsig_verify() - digital signature verification with public key
* @keyring: keyring to search key in
* @sig: digital signature
- * @sigen: length of the signature
+ * @siglen: length of the signature
* @data: data
* @datalen: length of the data
- * @return: 0 on success, -EINVAL otherwise
+ *
+ * Returns 0 on success, -EINVAL otherwise
*
* Verifies data integrity against digital signature.
* Currently only RSA is supported.
OpenPOWER on IntegriCloud