commit | 3bcd6c5bd483287f4a09d3d59a012d47677b6edc | [log] [tgz] |
---|---|---|
author | Qing Wang <wangqing@vivo.com> | Mon Nov 08 18:34:58 2021 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Nov 09 10:02:51 2021 -0800 |
tree | 92a2202f7b6b13844fa56aa7c8957a699b6d96cb | |
parent | 98d5b61ef5fae7681df27065ad95ee6e30c42243 [diff] |
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>