From: Ard Biesheuvel <ardb+git@google.com>
To: linux-efi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, "Ard Biesheuvel" <ardb@kernel.org>,
"Thomas Weißschuh" <linux@weissschuh.net>
Subject: [PATCH v2 0/2] EFI sysfs constification
Date: Thu, 8 Oct 2026 10:13:18 +0200 [thread overview]
Message-ID: <20261008081317.2602565-4-ardb+git@google.com> (raw)
From: Ard Biesheuvel <ardb@kernel.org>
Constify static sysfs node accessors in the EFI core code. While at it,
switch to sysfs_emit() where appropriate.
Changes since v1:
- constify efi_runtime_show() prototype and use __KOBJ_ATTR
- add sysfs_emit() patch
Cc: Thomas Weißschuh <linux@weissschuh.net>
Ard Biesheuvel (2):
efi: Constify sysfs attributes
efi: Use sysfs_emit() not sprintf() to generate sysfs file contents
arch/x86/platform/efi/efi.c | 13 ++---
drivers/firmware/efi/efi.c | 52 +++++++++++---------
include/linux/efi.h | 3 +-
3 files changed, 37 insertions(+), 31 deletions(-)
--
2.56.0.360.g66cac248cb-goog
next reply other threads:[~2026-10-08 8:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 8:13 Ard Biesheuvel [this message]
2026-10-08 8:13 ` [PATCH v2 1/2] efi: Constify sysfs attributes Ard Biesheuvel
2026-10-08 8:13 ` [PATCH v2 2/2] efi: Use sysfs_emit() not sprintf() to generate sysfs file contents Ard Biesheuvel
2026-10-08 13:04 ` [PATCH v2 0/2] EFI sysfs constification Thomas Weißschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261008081317.2602565-4-ardb+git@google.com \
--to=ardb+git@google.com \
--cc=ardb@kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@weissschuh.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.