Commit 8c8e3df3 authored by Thorsten Blum's avatar Thorsten Blum Committed by Jarkko Sakkinen
Browse files

keys: Fix grammar and formatting in 'struct key_type' comments



s/it/if/ and s/revokation/revocation/, capitalize "clear", and add a
period after the sentence. Fix the comment formatting.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent a0a76e3f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -107,11 +107,14 @@ struct key_type {
	 */
	int (*match_preparse)(struct key_match_data *match_data);

	/* Free preparsed match data (optional).  This should be supplied it
	 * ->match_preparse() is supplied. */
	/*
	 * Free preparsed match data (optional).  This should be supplied if
	 * ->match_preparse() is supplied.
	 */
	void (*match_free)(struct key_match_data *match_data);

	/* clear some of the data from a key on revokation (optional)
	/*
	 * Clear some of the data from a key on revocation (optional).
	 * - the key's semaphore will be write-locked by the caller
	 */
	void (*revoke)(struct key *key);