Re: [PATCH v1 1/6] params: Use sysfs_emit() to instead of scnprintf()
From: Andy Shevchenko
Date: Thu Sep 21 2023 - 15:49:59 EST
On Wed, Sep 20, 2023 at 05:32:55PM -0700, Luis Chamberlain wrote:
> On Mon, Sep 18, 2023 at 07:57:41PM +0300, Andy Shevchenko wrote:
> > On Tue, Sep 12, 2023 at 06:05:46PM +0300, Andy Shevchenko wrote:
> > > 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.
> >
> > Any comments?
>
> What tree were you taretting, looks sane to me.
I see that you was a person with last SoB in late patches in that area.
Whatever it went through in your case.
P.S. TBH I thought you have your own tree for things like this...
--
With Best Regards,
Andy Shevchenko