[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae3ade7d-ca88-e2a5-aba5-9574e16e59c0@linux.intel.com>
Date: Thu, 14 Mar 2024 13:55:39 +0200 (EET)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Ai Chao <aichao@...inos.cn>
cc: Hans de Goede <hdegoede@...hat.com>, u.kleine-koenig@...gutronix.de,
mario.limonciello@....com, jes965@....edu, alexbelm48@...il.com,
onenowy@...il.com, platform-driver-x86@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] platform/x86: hp-wmi: use sysfs_emit() instead of
sprintf()
On Thu, 14 Mar 2024, Ai Chao wrote:
> Follow the advice in Documentation/filesystems/sysfs.rst:
> show() should only use sysfs_emit() or sysfs_emit_at() when formatting
> the value to be returned to user space.
>
> Signed-off-by: Ai Chao <aichao@...inos.cn>
> ---
Thanks.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
--
i.
Powered by blists - more mailing lists