Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thorsten Blum and committed by
Andrew Morton
26430489 c02474fe

+2 -2
+2 -2
kernel/crash_dump_dm_crypt.c
··· 139 139 return 0; 140 140 } 141 141 142 - static int read_key_from_user_keying(struct dm_crypt_key *dm_key) 142 + static int read_key_from_user_keyring(struct dm_crypt_key *dm_key) 143 143 { 144 144 const struct user_key_payload *ukp; 145 145 struct key *key; ··· 387 387 388 388 strscpy(keys_header->keys[i].key_desc, key->description, 389 389 KEY_DESC_MAX_LEN); 390 - r = read_key_from_user_keying(&keys_header->keys[i]); 390 + r = read_key_from_user_keyring(&keys_header->keys[i]); 391 391 if (r != 0) { 392 392 kexec_dprintk("Failed to read key %s\n", 393 393 keys_header->keys[i].key_desc);