diff options
author | Kai Ye <yekai13@huawei.com> | 2021-12-06 13:47:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-21 12:13:34 +0300 |
commit | 2d2802fb24de8cbacb4a2d6da2e002acc1c17143 (patch) | |
tree | 181b1adc68f8de93679e73dbdfbde0ad06c4844e /drivers/misc/ibmvmc.h | |
parent | 909c648e03e8eda8eb72678b3e95042739d6eb71 (diff) | |
download | linux-2d2802fb24de8cbacb4a2d6da2e002acc1c17143.tar.xz |
uacce: use sysfs_emit instead of sprintf
Use the sysfs_emit to replace sprintf. sprintf may cause
output defect in sysfs content, it is better to use new
added sysfs_emit function which knows the size of the
temporary buffer.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Link: https://lore.kernel.org/r/20211206104724.11559-1-yekai13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ibmvmc.h')
0 files changed, 0 insertions, 0 deletions