[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a155e3ee-69aa-408d-208b-06144cf6cf8f@kernel.org>
Date: Wed, 23 Jun 2021 09:28:55 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH 2/2] ACPI: bgrt: Use sysfs_emit
On 6/22/2021 10:51 PM, Kees Cook wrote:
> On Tue, Jun 22, 2021 at 06:38:02PM -0700, Nathan Chancellor wrote:
>> sysfs_emit is preferred to snprintf for emitting values after
>> commit 2efc459d06f1 ("sysfs: Add sysfs_emit and sysfs_emit_at to format
>> sysfs output").
>>
>> Signed-off-by: Nathan Chancellor <nathan@...nel.org>
>
> Perhaps just squash this into patch 1? Looks good otherwise!
>
I thought about it but sysfs_emit is a relatively new API and the
previous change may want to be backported but I do not have a strong
opinion so I can squash it if Rafael or Len feel strongly :)
Thanks for taking a look, cheers!
Nathan
Powered by blists - more mailing lists