[<prev] [next>] [day] [month] [year] [list]
Message-ID: <29893.1559875948@turing-police>
Date: Thu, 06 Jun 2019 22:52:28 -0400
From: "Valdis Klētnieks" <valdis.kletnieks@...edu>
To: David Howells <dhowells@...hat.com>
cc: keyrings@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] security/keys/request_key.c - fix kerneldoc
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@...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
Powered by blists - more mailing lists