diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-25 09:34:30 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 15:00:58 -0400 |
commit | 4c11712ad0e1aa38154854a2a3efb1f4a90a059d (patch) | |
tree | f02a91f0e695252105aee1a3441657749fcb0d1f /arch/mips/sni/pcit.c | |
parent | 6934be4f016311cf88c316dad5c75e4ccf8a7fc0 (diff) | |
download | linux-4c11712ad0e1aa38154854a2a3efb1f4a90a059d.tar.bz2 |
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 <Bart.VanAssche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'arch/mips/sni/pcit.c')
0 files changed, 0 insertions, 0 deletions