Skip to contentSkip to conversation

docs: fix prototype for `request_key`

PATCH In review Ben Boeckel 2 participants 3 messages Sep 27, 2018

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

PATCH 1/5 docs: fix prototype for `request_key`

---
 Documentation/security/keys/core.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/security/keys/core.rst +1 -1
index 3d36f42283e6..51b2e10abc55 100644
@@ -1059,7 +1059,7 @@ payload contents" for more information.
 
 	struct key *request_key(const struct key_type *type,
 				const char *description,
-				const char *callout_info);
+				const char *callout_string);
 
     This is used to request a key or keyring with a description that matches
     the description specified according to the key type's match_preparse()
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Documentation/security/keys/core.rst payload contents" for more information. · line 1062

Quoted 4 lines · Ben Boeckel
Documentation/security/keys/core.rst +1 -1
 	struct key *request_key(const struct key_type *type,
 				const char *description,
-				const char *callout_info);
+				const char *callout_string);

Ummm... This no longer corresponds with the code:

struct key *request_key(struct key_type *type,
const char *description, const char *callout_info)

so no.

David

#2 lore raw
In reply to Ben Boeckel
Quoted 9 lines · David Howells

Documentation/security/keys/core.rst payload contents" for more information. · line 1062

Quoted 4 lines · Ben Boeckel
Documentation/security/keys/core.rst +1 -1
 	struct key *request_key(const struct key_type *type,
 				const char *description,
-				const char *callout_info);
+				const char *callout_string);

Ummm... This no longer corresponds with the code:

Quoted 5 lines

struct key *request_key(struct key_type *type,
const char *description, const char *callout_info)

so no.

OK, I'll update the other sentence which called it callout_string then.

--Ben