Re: [PATCH v7 2/5] dax/bus.c: replace several sprintf() with sysfs_emit()

2024-01-26 Thread Alison Schofield
On Wed, Jan 24, 2024 at 12:03:47PM -0800, Vishal Verma wrote: > There were several places where drivers/dax/bus.c uses 'sprintf' to > print sysfs data. Since a sysfs_emit() helper is available specifically > for this purpose, replace all the sprintf() usage for sysfs with > sysfs_emit() in this fil

[PATCH v7 2/5] dax/bus.c: replace several sprintf() with sysfs_emit()

2024-01-24 Thread Vishal Verma
There were several places where drivers/dax/bus.c uses 'sprintf' to print sysfs data. Since a sysfs_emit() helper is available specifically for this purpose, replace all the sprintf() usage for sysfs with sysfs_emit() in this file. Cc: Dan Williams Reported-by: Greg Kroah-Hartman Signed-off-by: