OpenCloudOS-Kernel/drivers/block/aoe
Ye Guojin ff06ed7e81 block: aoe: fixup coccinelle warnings
coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING  use scnprintf or sprintf

Use sysfs_emit instead of scnprintf or sprintf makes more sense.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Link: https://lore.kernel.org/r/20211021064931.1047687-1-ye.guojin@zte.com.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-21 08:54:15 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
aoe.h aoe: replace ->special use with private data in the request 2018-11-10 08:03:49 -07:00
aoeblk.c block: aoe: fixup coccinelle warnings 2021-10-21 08:54:15 -06:00
aoechr.c aoe: remove unnecessary oom message 2021-06-09 09:41:48 -06:00
aoecmd.c aoe: remove unnecessary mutex_init() 2021-05-24 06:47:21 -06:00
aoedev.c aoe: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
aoemain.c aoe: add __exit annotation 2018-12-16 09:01:38 -07:00
aoenet.c aoe: update copyright date 2013-07-03 16:08:05 -07:00