On Tue, Dec 19, 2023 at 06:15:13PM -0800, Dan Williams wrote: > sysfs_emit() properly handles the PAGE_SIZE limitation of populating > sysfs attribute buffers. Clean up the deprecated usage of sprintf() in > all of nfit's sysfs show() handlers. > > Reported-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> > Closes: http://lore.kernel.org/0d1bf461-d9e8-88bc-b7e2-b03b56594213@xxxxxxxxxxxxxxx > Cc: Alison Schofield <alison.schofield@xxxxxxxxx> > Cc: Dave Jiang <dave.jiang@xxxxxxxxx> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx> > --- > drivers/acpi/nfit/core.c | 44 ++++++++++++++++++++++---------------------- > 1 file changed, 22 insertions(+), 22 deletions(-) >