Re: [PATCH] counter/counter-sysfs: use sysfs_emit everywhere

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

 



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@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: David Lechner <david@xxxxxxxxxxxxxx>
> 
> Acked-by: William Breathitt Gray <vilhelm.gray@xxxxxxxxx>

Thanks, want me to take this directly on top of the previous pull
request?

greg k-h



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux