* [PATCH] security/keys/request_key.c - fix kerneldoc
@ 2019-03-12 10:20 Valdis Klētnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis Klētnieks @ 2019-03-12 10:20 UTC (permalink / raw)
To: David Howells; +Cc: keyrings, linux-kernel
CC security/keys/request_key.o
security/keys/request_key.c:35: warning: Function parameter or member 'authkey' not described in 'complete_request_key'
security/keys/request_key.c:35: warning: Excess function parameter 'auth_key' description in 'complete_request_key'
Fix it up to match the function
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu
diff --git a/security/keys/request_key.c b/security/keys/request_key.c
index 2f17d84d46f1..2623253ae6c8 100644
--- a/security/keys/request_key.c
+++ b/security/keys/request_key.c
@@ -24,7 +24,7 @@
/**
* complete_request_key - Complete the construction of a key.
- * @auth_key: The authorisation key.
+ * @authkey: The authorisation key.
* @error: The success or failute of the construction.
*
* Complete the attempt to construct a key. The key will be negated
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] security/keys/request_key.c - fix kerneldoc
@ 2019-06-07 2:52 Valdis Klētnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis Klētnieks @ 2019-06-07 2:52 UTC (permalink / raw)
To: David Howells; +Cc: keyrings, linux-kernel
When building with W=1, gcc complains due to a typo in a kerneldoc comment
CC security/keys/request_key.o
security/keys/request_key.c:35: warning: Function parameter or member 'authkey' not described in 'complete_request_key'
security/keys/request_key.c:35: warning: Excess function parameter 'auth_key' description in 'complete_request_key'
Fix it up to match the function
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu
diff --git a/security/keys/request_key.c b/security/keys/request_key.c
index 2f17d84d46f1..2623253ae6c8 100644
--- a/security/keys/request_key.c
+++ b/security/keys/request_key.c
@@ -24,7 +24,7 @@
/**
* complete_request_key - Complete the construction of a key.
- * @auth_key: The authorisation key.
+ * @authkey: The authorisation key.
* @error: The success or failute of the construction.
*
* Complete the attempt to construct a key. The key will be negated
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-07 2:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 10:20 [PATCH] security/keys/request_key.c - fix kerneldoc Valdis Klētnieks
2019-06-07 2:52 Valdis Klētnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).