kernel_samsung_a53x/fs/nilfs2
Qing Wang 5a064488ff nilfs2: replace snprintf in show functions with sysfs_emit
[ Upstream commit 3bcd6c5bd483287f4a09d3d59a012d47677b6edc ]

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>
Stable-dep-of: 683408258917 ("nilfs2: protect references to superblock parameters exposed in sysfs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-19 00:09:58 +01:00
..
alloc.c nilfs2: fix incorrect inode allocation from reserved inodes 2024-11-19 14:19:43 +01:00
alloc.h nilfs2: fix incorrect inode allocation from reserved inodes 2024-11-19 14:19:43 +01:00
bmap.c
bmap.h
btnode.c nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint 2024-12-17 13:20:51 +01:00
btnode.h
btree.c Revert "nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()" 2024-11-24 00:23:22 +01:00
btree.h
cpfile.c
cpfile.h
dat.c nilfs2: fix incorrect inode allocation from reserved inodes 2024-11-19 14:19:43 +01:00
dat.h
dir.c nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry() 2024-12-17 13:24:28 +01:00
direct.c
direct.h
export.h
file.c
gcinode.c nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint 2024-12-17 13:20:51 +01:00
ifile.c nilfs2: fix incorrect inode allocation from reserved inodes 2024-11-19 14:19:43 +01:00
ifile.h
inode.c nilfs2: prevent kernel bug at submit_bh_wbc() 2024-11-19 09:22:36 +01:00
ioctl.c nilfs2: fix out-of-range warning 2024-11-19 12:26:52 +01:00
Kconfig
Makefile
mdt.c nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint 2024-12-17 13:20:51 +01:00
mdt.h
namei.c Revert "nilfs2: propagate directory read errors from nilfs_find_entry()" 2024-11-24 00:22:51 +01:00
nilfs.h Revert "nilfs2: propagate directory read errors from nilfs_find_entry()" 2024-11-24 00:22:51 +01:00
page.c nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint 2024-12-17 13:20:51 +01:00
page.h
recovery.c nilfs2: fix missing cleanup on rollforward recovery error 2024-11-23 23:21:01 +01:00
segbuf.c
segbuf.h
segment.c nilfs2: fix state management in error path of log writing function 2024-11-23 23:21:01 +01:00
segment.h
sufile.c
sufile.h
super.c
sysfs.c nilfs2: replace snprintf in show functions with sysfs_emit 2025-01-19 00:09:58 +01:00
sysfs.h
the_nilfs.c nilfs2: fix inode number range checks 2024-11-19 14:19:41 +01:00
the_nilfs.h nilfs2: fix inode number range checks 2024-11-19 14:19:41 +01:00