aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQing Wang <[email protected]>2021-10-14 23:50:40 -0700
committerHans de Goede <[email protected]>2021-10-19 16:59:44 +0200
commit2d5b0755b754fcb39598df87b3a8656a569e9979 (patch)
treed228e132733c4f5f3c7a255e9dceb6147aefd06b /tools/perf/scripts/python/exported-sql-viewer.py
parent043449e7516106826346d9923a81da0310a387de (diff)
platform/x86: panasonic-laptop: 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 coccicheck warnings: WARNING: use scnprintf or sprintf. Use sysfs_emit instead of scnprintf or sprintf makes more sense. Signed-off-by: Qing Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions