]> git.baikalelectronics.ru Git - kernel.git/commit
fbcon: replace snprintf in show functions with sysfs_emit
authorYang Guang <yang.guang5@zte.com.cn>
Tue, 30 Nov 2021 00:05:08 +0000 (08:05 +0800)
committerHelge Deller <deller@gmx.de>
Thu, 14 Apr 2022 19:56:19 +0000 (21:56 +0200)
commitbc94d9620635328353cb05c92070d050c9e2b072
treec8f110cb3da6680c88e5ab0bf83772ae61662528
parent1c4b6cb9e7470e09f96e3b2eb440b402baa275bf
fbcon: replace snprintf in show functions with sysfs_emit

Use sysfs_emit instead of scnprintf or sprintf.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/0cb7ca73d9cd7162988a22a24cd18bbcd3d8bb27.1638156341.git.yang.guang5@zte.com.cn
drivers/video/fbdev/core/fbcon.c