Re: [PATCH] serial: core: use sysfs_emit() in sysfs show handlers

From: Ilpo Järvinen
Date: Tue Apr 02 2024 - 08:05:26 EST


On Fri, 29 Mar 2024, Nikita Kiryushin wrote:

> Change sprintf() in sysfs show() handlers to sysfs_emit(),
> as recommended by sysfs documentation.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Nikita Kiryushin <kiryushin@xxxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.