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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux