summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/sysfs.h
diff options
context:
space:
mode:
authorQing Wang <wangqing@vivo.com>2021-11-08 18:34:58 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-09 10:02:51 -0800
commit3bcd6c5bd483287f4a09d3d59a012d47677b6edc (patch)
tree92a2202f7b6b13844fa56aa7c8957a699b6d96cb /fs/nilfs2/sysfs.h
parent98d5b61ef5fae7681df27065ad95ee6e30c42243 (diff)
downloadlinux-3bcd6c5bd483287f4a09d3d59a012d47677b6edc.tar.bz2
nilfs2: replace snprintf in show functions with sysfs_emit
Patch series "nilfs2 updates". This patch (of 2): 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. Link: https://lkml.kernel.org/r/1635151862-11547-1-git-send-email-konishi.ryusuke@gmail.com Link: https://lkml.kernel.org/r/1634095759-4625-1-git-send-email-wangqing@vivo.com Link: https://lkml.kernel.org/r/1635151862-11547-2-git-send-email-konishi.ryusuke@gmail.com Signed-off-by: Qing Wang <wangqing@vivo.com> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/sysfs.h')
0 files changed, 0 insertions, 0 deletions