]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
authorJing Yao <yao.jing2@zte.com.cn>
Fri, 5 Nov 2021 08:13:33 +0000 (08:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:06:39 +0000 (09:06 +0200)
commit05a78ffddc0da32792b146cf1c2d1adf79e52009
treec53cedfbdafac2aa89f9d99d3db5f5aa80e6573e
parentfff4496e67a44967fbb2f90651e9d8a30be4d480
video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()

[ Upstream commit f63658a59c3d439c8ad7b290f8ec270980e0f384 ]

Use sysfs_emit instead of scnprintf, snprintf or sprintf.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jing Yao <yao.jing2@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c