lkml.org 
[lkml]   [2021]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] counter/counter-sysfs: use sysfs_emit everywhere
On Mon, Oct 18, 2021 at 08:06:58AM +0200, Greg KH wrote:
> On Mon, Oct 18, 2021 at 08:33:34AM +0900, William Breathitt Gray wrote:
> > On Sun, Oct 17, 2021 at 02:01:06PM -0500, David Lechner wrote:
> > > In the counter subsystem, we are already using sysfs_emit(), but there
> > > were a few places where we were still using sprintf() in *_show()
> > > functions. For consistency and added protections, use sysfs_emit()
> > > everywhere.
> > >
> > > Suggested-by: Greg KH <gregkh@linuxfoundation.org>
> > > Signed-off-by: David Lechner <david@lechnology.com>
> >
> > Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
>
> Thanks, want me to take this directly on top of the previous pull
> request?
>
> greg k-h

Yes, that should be a fine path forward for this patch.

Thank you,

William Breathitt Gray
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-10-18 10:19    [W:0.055 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site