Skip to contentSkip to conversation

security/keys/request_key.c - fix kerneldoc

PATCH New Valdis Klētnieks 1 participant 1 message Jun 7, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

security/keys/request_key.c +1 -1
index 2f17d84d46f1..2623253ae6c8 100644
@@ -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