RE: [char-misc-next 1/6] mei: use sprintf in tx_queue_limit_show sysfs

2021-02-06 Thread Winkler, Tomas
> On Sat, Feb 06, 2021 at 04:43:20PM +0200, Tomas Winkler wrote: > > Using of snprintf is discouraged in sysfs. > > For simple u8 it is safe to use sprintf. > > > > Signed-off-by: Tomas Winkler > > --- > > drivers/misc/mei/main.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >

Re: [char-misc-next 1/6] mei: use sprintf in tx_queue_limit_show sysfs

2021-02-06 Thread Greg Kroah-Hartman
On Sat, Feb 06, 2021 at 04:43:20PM +0200, Tomas Winkler wrote: > Using of snprintf is discouraged in sysfs. > For simple u8 it is safe to use sprintf. > > Signed-off-by: Tomas Winkler > --- > drivers/misc/mei/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/driver