diff options
| author | Martin K. Petersen <[email protected]> | 2017-05-25 09:34:30 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-26 15:00:58 -0400 |
| commit | 4c11712ad0e1aa38154854a2a3efb1f4a90a059d (patch) | |
| tree | f02a91f0e695252105aee1a3441657749fcb0d1f /tools/perf/scripts/python | |
| parent | 6934be4f016311cf88c316dad5c75e4ccf8a7fc0 (diff) | |
scsi: sd: Use sysfs_match_string()
Avoid unnecessary snprintf() when formatting variables for display in
sysfs and switch to sysfs_match_string() for validating user input.
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions