diff options
author | Yang Guang <yang.guang5@zte.com.cn> | 2021-11-30 03:04:11 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2021-12-02 07:13:45 +0300 |
commit | 06d5d558f5a30582546dcbe9327601af867ce1c9 (patch) | |
tree | ffeee240089d71d16fb05c504ed62fb1ec235a48 /arch/x86/kvm/vmx/vmx.c | |
parent | 6f48394cf1f3e8486591ad98c11cdadb8f1ef2ad (diff) | |
download | linux-06d5d558f5a30582546dcbe9327601af867ce1c9.tar.xz |
ata: replace snprintf in show functions with sysfs_emit
coccinelle report:
./drivers/ata/libata-sata.c:830:8-16:
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: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.c')
0 files changed, 0 insertions, 0 deletions