Re: [PATCH] usbip: convert sysfs snprintf to sysfs_emit

From: Shuah Khan
Date: Fri Oct 14 2022 - 12:22:17 EST


On 10/14/22 05:06, Xuezhi Zhang wrote:
From: Xuezhi Zhang <zhangxuezhi1@xxxxxxxxxxx>

Follow the advice of the Documentation/filesystems/sysfs.rst
and show() should only use sysfs_emit() or sysfs_emit_at()
when formatting the value to be returned to user space.

Signed-off-by: Xuezhi Zhang <zhangxuezhi1@xxxxxxxxxxx>
---

Looks good to me.

Reviewed-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>

Greg, Please pick this up.

thanks,
-- Shuah