diff options
author | Qing Wang <[email protected]> | 2021-10-14 09:37:03 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-10-19 11:45:12 -0700 |
commit | 53eb47b491c86ab23787fa561a6dc8378cb0eb36 (patch) | |
tree | f0350aee5f37998688326a9b329953d25a83f955 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 11a83f4c393040dc3a6a368c6399785dbfae7602 (diff) |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions