Re: [PATCH] Staging: atomisp: Use sysfs_emit() instead of sprintf() where appropriate

From: Sakari Ailus
Date: Tue May 25 2021 - 12:37:41 EST


On Thu, May 13, 2021 at 11:46:50AM +0800, Nguyen Dinh Phi wrote:
> sysfs_emit() is preferred over raw sprintf() for sysfs attributes since it
> knows about the sysfs buffer specifics and has some built-in sanity checks.
>
> Signed-off-by: Nguyen Dinh Phi <phind.uet@xxxxxxxxx>

Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

--
Sakari Ailus