diff options
author | Qing Wang <wangqing@vivo.com> | 2021-10-12 20:28:51 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-01-10 13:25:55 -0500 |
commit | dfac1a167068d60b36cc8f2081394a28b6fc424b (patch) | |
tree | 6b7711a72bb242408267a3d6e82e4bf92101d597 /fs/xfs/xfs_buf_item_recover.c | |
parent | 4013d47a5307fdb5c13370b5392498b00fedd274 (diff) | |
download | linux-dfac1a167068d60b36cc8f2081394a28b6fc424b.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/xfs_buf_item_recover.c')
0 files changed, 0 insertions, 0 deletions