summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-fs-f2fs
diff options
context:
space:
mode:
authorQing Wang <wangqing@vivo.com>2021-10-13 05:29:04 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2021-10-26 23:04:30 +0200
commit84eab2a899f28137e51a36861ed2df9579f54ebe (patch)
tree3f21c1d6c2a006347b5a329355b73a95e10491e6 /Documentation/ABI/testing/sysfs-fs-f2fs
parentf2fs: include non-compressed blocks in compr_written_block (diff)
downloadlinux-84eab2a899f28137e51a36861ed2df9579f54ebe.tar.xz
linux-84eab2a899f28137e51a36861ed2df9579f54ebe.zip
f2fs: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions. Fix the following coccicheck warning: fs/f2fs/sysfs.c:198:12-20: WARNING: use scnprintf or sprintf. fs/f2fs/sysfs.c:247:8-16: 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: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-fs-f2fs')
0 files changed, 0 insertions, 0 deletions