[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210525163730.GJ3@paasikivi.fi.intel.com>
Date: Tue, 25 May 2021 19:37:30 +0300
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Nguyen Dinh Phi <phind.uet@...il.com>
Cc: mchehab@...nel.org, gregkh@...uxfoundation.org,
andriy.shevchenko@...ux.intel.com, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: atomisp: Use sysfs_emit() instead of sprintf()
where appropriate
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@...il.com>
Acked-by: Sakari Ailus <sakari.ailus@...ux.intel.com>
--
Sakari Ailus
Powered by blists - more mailing lists