aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBean Huo <[email protected]>2021-01-06 22:15:41 +0100
committerMartin K. Petersen <[email protected]>2021-01-07 22:42:44 -0500
commitd9edeb8b4768296755171bd50bd945136d89b5c3 (patch)
treebe0e97ac441733a283ada8eb7b800a3066426ee8 /tools/perf/scripts/python
parentaaac0ea983906cb145e5decfe6252fa787edcc4b (diff)
scsi: ufs: Replace sprintf and snprintf with sysfs_emit
sprintf and snprintf may cause output defect in sysfs content, it is better to use new added sysfs_emit function which knows the size of the temporary buffer. Link: https://lore.kernel.org/r/[email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Avri Altman <[email protected]> Reviewed-by: Can Guo <[email protected]> Signed-off-by: Bean Huo <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions