Commit 1389cead authored by Jing Yao's avatar Jing Yao Committed by Zheng Zengkai
Browse files

video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit

stable inclusion
from stable-v5.10.110
commit 681a317034b214c30177162235690a401158cf43
bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=681a317034b214c30177162235690a401158cf43



--------------------------------

[ Upstream commit 81a99828 ]

Use sysfs_emit instead of scnprintf, snprintf or sprintf.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJing Yao <yao.jing2@zte.com.cn>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent c09b0f40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment