mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crash_dump: fix typo in function name read_key_from_user_keying
The function read_key_from_user_keying() is missing an 'r' in its name. Fix the typo by renaming it to read_key_from_user_keyring(). Link: https://lkml.kernel.org/r/20260227230422.859423-1-thorsten.blum@linux.dev Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Baoquan He <bhe@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
c02474fe1a
commit
26430489b1
@@ -139,7 +139,7 @@ static int restore_dm_crypt_keys_to_thread_keyring(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int read_key_from_user_keying(struct dm_crypt_key *dm_key)
|
||||
static int read_key_from_user_keyring(struct dm_crypt_key *dm_key)
|
||||
{
|
||||
const struct user_key_payload *ukp;
|
||||
struct key *key;
|
||||
@@ -387,7 +387,7 @@ static int build_keys_header(void)
|
||||
|
||||
strscpy(keys_header->keys[i].key_desc, key->description,
|
||||
KEY_DESC_MAX_LEN);
|
||||
r = read_key_from_user_keying(&keys_header->keys[i]);
|
||||
r = read_key_from_user_keyring(&keys_header->keys[i]);
|
||||
if (r != 0) {
|
||||
kexec_dprintk("Failed to read key %s\n",
|
||||
keys_header->keys[i].key_desc);
|
||||
|
||||
Reference in New Issue
Block a user