Re: [PATCH] ext4: replace snprintf in show functions with sysfs_emit

From: Theodore Ts'o
Date: Mon Dec 27 2021 - 00:35:03 EST


On Tue, 12 Oct 2021 20:28:51 -0700, Qing Wang wrote:
> coccicheck complains about the use of snprintf() in sysfs show functions.
>
> Fix the coccicheck warning:
> WARNING: use scnprintf or sprintf.
>
> Use sysfs_emit instead of scnprintf or sprintf makes more sense.
>
> [...]

Applied, thanks!

[1/1] ext4: replace snprintf in show functions with sysfs_emit
commit: cc5fef71a1c741473eebb1aa6f7056ceb49bc33d

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>