mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <linux@weissschuh.net>
To: Ard Biesheuvel <ardb+git@google.com>
Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Ard Biesheuvel <ardb@kernel.org>
Subject: Re: [PATCH v2 0/2] EFI sysfs constification
Date: Thu, 8 Oct 2026 15:04:20 +0200	[thread overview]
Message-ID: <91f74adb-e1ff-4687-8ccf-66ff2583d680@weissschuh.net> (raw)
In-Reply-To: <20261008081317.2602565-4-ardb+git@google.com>

Oct 8, 2026 10:13:25 Ard Biesheuvel <ardb+git@google.com>:

> 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

Reviewed-by: 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


      parent reply	other threads:[~2026-10-08 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08  8:13 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 ` Thomas Weißschuh [this message]

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=91f74adb-e1ff-4687-8ccf-66ff2583d680@weissschuh.net \
    --to=linux@weissschuh.net \
    --cc=ardb+git@google.com \
    --cc=ardb@kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®