diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-10-27 23:33:00 +0100 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2025-11-27 23:56:58 +0200 |
| commit | 8c8e3df3d2f51e9a3f6f1a1112adf250f7652d42 (patch) | |
| tree | ffd86340dcefcf380617079f34c23b0c9ccfcb9c /include/linux | |
| parent | a0a76e3f8d9a0da679ea721decd26f8951eb2110 (diff) | |
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: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/key-type.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/key-type.h b/include/linux/key-type.h index 5caf3ce82373..bb97bd3e5af4 100644 --- a/include/linux/key-type.h +++ b/include/linux/key-type.h @@ -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); |
