aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQing Wang <[email protected]>2021-10-14 23:48:10 -0700
committerSam Ravnborg <[email protected]>2021-10-15 20:14:31 +0200
commit5f9741f53a3e0e84befc60cc1491272d18564ea0 (patch)
treefc33ff29b972c31de89d31847ea025692ff6a0ca /tools/perf/scripts/python
parentf6632721cd6231e1bf28b5317dcc7543e43359f7 (diff)
drm/panel: dsi-cm: replace snprintf in show functions with sysfs_emit
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 <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions