Re: [PATCH RESEND] block: use sysfs_emit in sysfs show functions

From: Jens Axboe

Date: Fri Apr 03 2026 - 07:13:40 EST



On Thu, 02 Apr 2026 18:50:00 +0200, Thorsten Blum wrote:
> Replace sprintf() with sysfs_emit() in sysfs show functions.
> sysfs_emit() is preferred for formatting sysfs output because it
> provides safer bounds checking.

Applied, thanks!

[1/1] block: use sysfs_emit in sysfs show functions
commit: a175ee8273319547a4be7584da03831a2fb2f835

Best regards,
--
Jens Axboe