]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
keys: Fix grammar and formatting in 'struct key_type' comments
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 27 Oct 2025 22:33:00 +0000 (23:33 +0100)
committerJarkko Sakkinen <jarkko@kernel.org>
Thu, 27 Nov 2025 21:56:58 +0000 (23:56 +0200)
s/it/if/ and s/revokation/revocation/, capitalize "clear", and add a
period after the sentence. Fix the comment formatting.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
include/linux/key-type.h

index 5caf3ce823733ab510f53d8dfa4b25cc150dbae4..bb97bd3e5af4faa3ea1970b36719cfb99363fe81 100644 (file)
@@ -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);