Re: [PATCH v1] platform/chrome: use sysfs_emit() instead of sprintf()

From: Tzung-Bi Shih
Date: Thu Mar 14 2024 - 04:35:14 EST


On Thu, Mar 14, 2024 at 01:28:28PM +0800, 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.

It seems we overlooked the case when handling [1]. Will queue the patch
after for-next rebased to next -rc1.

[1] https://patchwork.kernel.org/project/chrome-platform/patch/202212021656040995199@xxxxxxxxxx/