diff options
author | 2021-10-14 09:37:03 -0700 | |
---|---|---|
committer | 2021-10-19 11:45:12 -0700 | |
commit | 53eb47b491c86ab23787fa561a6dc8378cb0eb36 (patch) | |
tree | f0350aee5f37998688326a9b329953d25a83f955 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: remove the xfs_dqblk_t typedef (diff) | |
download | wireguard-linux-53eb47b491c86ab23787fa561a6dc8378cb0eb36.tar.xz wireguard-linux-53eb47b491c86ab23787fa561a6dc8378cb0eb36.zip |
xfs: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.
Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang <wangqing@vivo.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions