All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] EFI sysfs constification
@ 2026-10-08  8:13 Ard Biesheuvel
  2026-10-08  8:13 ` [PATCH v2 1/2] efi: Constify sysfs attributes Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2026-10-08  8:13 UTC (permalink / raw)
  To: linux-efi; +Cc: linux-kernel, Ard Biesheuvel, Thomas Weißschuh

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-08 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-08  8:13 [PATCH v2 0/2] EFI sysfs constification Ard Biesheuvel
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

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.