commit | dfac1a167068d60b36cc8f2081394a28b6fc424b | [log] [tgz] |
---|---|---|
author | Qing Wang <wangqing@vivo.com> | Tue Oct 12 20:28:51 2021 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 10 13:25:55 2022 -0500 |
tree | 6b7711a72bb242408267a3d6e82e4bf92101d597 | |
parent | 4013d47a5307fdb5c13370b5392498b00fedd274 [diff] |
ext4: replace snprintf in show functions with sysfs_emit 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. Signed-off-by: Qing Wang <wangqing@vivo.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/1634095731-4528-1-git-send-email-wangqing@vivo.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>