+6
−5
Loading
Replace sprintf() with sysfs_emit() in sysfs show functions. sysfs_emit() is preferred for formatting sysfs output because it provides safer bounds checking. Signed-off-by:Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by:
Damien Le Moal <dlemoal@kernel.org> Link: https://patch.msgid.link/20260402164958.894879-4-thorsten.blum@linux.dev Signed-off-by:
Jens Axboe <axboe@kernel.dk>