Skip to content

Commit 893c5f1

Browse files
guilhermepiccolikees
authored andcommitted
efi: pstore: Follow convention for the efi-pstore backend name
For some reason, the efi-pstore backend name (exposed through the pstore infrastructure) is hardcoded as "efi", whereas all the other backends follow a kind of convention in using the module name. Let's do it here as well, to make user's life easier (they might use this info for unloading the module backend, for example). Cc: Ard Biesheuvel <[email protected]> Signed-off-by: Guilherme G. Piccoli <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6a14f19 commit 893c5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/efi-pstore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static int efi_pstore_erase(struct pstore_record *record)
207207

208208
static struct pstore_info efi_pstore_info = {
209209
.owner = THIS_MODULE,
210-
.name = "efi",
210+
.name = KBUILD_MODNAME,
211211
.flags = PSTORE_FLAGS_DMESG,
212212
.open = efi_pstore_open,
213213
.close = efi_pstore_close,

0 commit comments

Comments
 (0)