Messages in this thread | | | Date | Mon, 24 Jul 2023 16:27:12 +0200 | From | Simon Horman <> | Subject | Re: [PATCH net-next 1/2] netconsole: Use sysfs_emit() instead of snprintf() |
| |
On Fri, Jul 21, 2023 at 02:21:44AM -0700, Breno Leitao wrote: > According to the sysfs.rst documentation, _show() functions should only > use sysfs_emit() instead of snprintf(). > > Since snprintf() shouldn't be used in the sysfs _show() path, replace it > by sysfs_emit(). > > Suggested-by: Petr Mladek <pmladek@suse.com> > Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
| |