diff options
author | Ye Guojin <ye.guojin@zte.com.cn> | 2021-10-21 11:06:08 +0000 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2021-10-21 06:54:12 -0500 |
commit | fc4e78481afa33585195e896f0f9d9cec1129c80 (patch) | |
tree | 3cae2587f8b69e9966896821daedf9cd0065523c /lib/test_fortify/write_overflow-memcpy.c | |
parent | ed83855f1efceda932a121b9fb13d08b27427f9b (diff) | |
download | linux-fc4e78481afa33585195e896f0f9d9cec1129c80.tar.gz linux-fc4e78481afa33585195e896f0f9d9cec1129c80.tar.bz2 linux-fc4e78481afa33585195e896f0f9d9cec1129c80.zip |
char: ipmi: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf
Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
sense.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Message-Id: <20211021110608.1060260-1-ye.guojin@zte.com.cn>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions