diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-12-05 09:10:42 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-12-26 11:14:53 +0300 |
commit | b251c0e7ea5ddfab21495c36cd3c3fa90c36f104 (patch) | |
tree | 17a319a6af01a82c255270afa2f177c399d5c875 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 256b734efc7494eb3c45f3ff5abd632ff0afde03 (diff) | |
download | linux-b251c0e7ea5ddfab21495c36cd3c3fa90c36f104.tar.xz |
platform/chrome: use sysfs_emit_at() instead of scnprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221205061042.1774769-1-tzungbi@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions