Re: [PATCH] ext4: replace snprintf in show functions with sysfs_emit
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-12-27 05:34:52
Also in:
lkml
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-12-27 05:34:52
Also in:
lkml
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 [off-list ref]