Hi Qing and Sebastian.
On Fri, Oct 15, 2021 at 01:11:39PM +0200, Sebastian Reichel wrote:
Hi,
On Thu, Oct 14, 2021 at 11:48:10PM -0700, Qing Wang wrote:
show() must not use snprintf() when formatting the value to be returned to user space.
Fix the following coccicheck warning: drivers/gpu/drm/panel/panel-dsi-cm.c:251: WARNING: use scnprintf or sprintf. drivers/gpu/drm/panel/panel-dsi-cm.c:271: WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang wangqing@vivo.com
The patch subject could be more specific (this updates just one panel driver). Otherwise:
Reviewed-by: Sebastian Reichel sebastian.reichel@collabora.com
Updated the patch subject and applied the patch to drm-misc-next. It will show up in -next in 1-2 weeks.
Sam