commit | 2d2802fb24de8cbacb4a2d6da2e002acc1c17143 | [log] [tgz] |
---|---|---|
author | Kai Ye <yekai13@huawei.com> | Mon Dec 06 18:47:24 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Dec 21 10:13:34 2021 +0100 |
tree | 181b1adc68f8de93679e73dbdfbde0ad06c4844e | |
parent | 909c648e03e8eda8eb72678b3e95042739d6eb71 [diff] |
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>