[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221013210648.137452-3-gpiccoli@igalia.com>
Date: Thu, 13 Oct 2022 18:06:47 -0300
From: "Guilherme G. Piccoli" <gpiccoli@...lia.com>
To: linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Cc: linux-fsdevel@...r.kernel.org, linux-efi@...r.kernel.org,
kernel-dev@...lia.com, kernel@...ccoli.net, keescook@...omium.org,
anton@...msg.org, ccross@...roid.com, tony.luck@...el.com,
ardb@...nel.org, "Guilherme G. Piccoli" <gpiccoli@...lia.com>
Subject: [PATCH V2 2/3] 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).
Acked-by: Ard Biesheuvel <ardb@...nel.org>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@...lia.com>
---
V2:
- Added Ard's ACK - thanks!
drivers/firmware/efi/efi-pstore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c
index 3bddc152fcd4..97a9e84840a0 100644
--- a/drivers/firmware/efi/efi-pstore.c
+++ b/drivers/firmware/efi/efi-pstore.c
@@ -207,7 +207,7 @@ static int efi_pstore_erase(struct pstore_record *record)
static struct pstore_info efi_pstore_info = {
.owner = THIS_MODULE,
- .name = "efi",
+ .name = KBUILD_MODNAME,
.flags = PSTORE_FLAGS_DMESG,
.open = efi_pstore_open,
.close = efi_pstore_close,
--
2.38.0
Powered by blists - more mailing lists