diff options
| author | Qing Wang <[email protected]> | 2021-10-15 06:50:54 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2021-11-16 11:29:19 +0000 |
| commit | 4b9e04367afe214e06736685a7962fcbadd8b0af (patch) | |
| tree | 32da110f5e5856a71126f023c76527fee503e1b3 /net/unix/af_unix.c | |
| parent | s390/boot: simplify and fix kernel memory layout setup (diff) | |
| download | kernel-4b9e04367afe214e06736685a7962fcbadd8b0af.tar.gz kernel-4b9e04367afe214e06736685a7962fcbadd8b0af.zip | |
s390: replace snprintf in show functions with sysfs_emit
show() must not use snprintf() when formatting the value to be
returned to user space.
Fix the coccicheck warnings:
WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang <[email protected]>
Acked-by: Vineeth Vijayan <[email protected]>
Acked-by: Stefan Haberland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: fix indentation]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
