WSL2-Linux-Kernel/drivers/misc/uacce
Kai Ye 2d2802fb24 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>
2021-12-21 10:13:34 +01:00
..
Kconfig uacce: add uacce driver 2020-02-22 09:25:42 +08:00
Makefile uacce: add uacce driver 2020-02-22 09:25:42 +08:00
uacce.c uacce: use sysfs_emit instead of sprintf 2021-12-21 10:13:34 +01:00