Skip to content

EFI sysfs constification

Ard Biesheuvel linux-efi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- constify efi_runtime_show() prototype and use __KOBJ_ATTR
- add sysfs_emit() patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi: Constify sysfs attributesarch/x86/platform/efi/efi.c drivers/firmware/efi/efi.c include/linux/efi.h+28 -220 replies
2/2efi: Use sysfs_emit() not sprintf() to generate sysfs file contentsarch/x86/platform/efi/efi.c drivers/firmware/efi/efi.c+9 -90 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas Weißschuh
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] EFI sysfs constification

From: Ard Biesheuvel <[email protected]>

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 <[email protected]>

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(-)
Signature · 1 line
2.56.0.360.g66cac248cb-goog