Re: [PATCH v2] block: Replace sprintf() with sysfs_emit()

From: Christoph Hellwig
Date: Thu Nov 07 2024 - 08:45:19 EST


On Thu, Nov 07, 2024 at 06:42:58PM +0800, zhangguopeng wrote:
> Per Documentation/filesystems/sysfs.rst, show() should only use
> sysfs_emit() or sysfs_emit_at() when formatting the value to be
> returned to user space.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>