docs: fix prototype for `request_key`
Subsystems (2)
PATCH 1/5 docs: fix prototype for `request_key`
Signed-off-by Ben Boeckel <[email protected]>
--- Documentation/security/keys/core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/security/keys/core.rst +1 -1
@@ -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
David Howells
maintainerDocumentation/security/keys/core.rst payload contents" for more information. · line 1062
Quoted 4 lines · Ben Boeckel
Documentation/security/keys/core.rst +1
-1struct 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
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
-1struct 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