diff options
author | Mike Christie <mchristi@redhat.com> | 2018-07-23 14:07:50 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-30 23:17:53 -0400 |
commit | b60cb1f80157689d206b09affc43c2dc1cafcbc8 (patch) | |
tree | 8ac521b38f03249a07d004d2c84c1060229c8375 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c97840c84f5a4362a596a2751e9245a979377a16 (diff) |
scsi: tcmu: use match_int for dev params
Instead of doing strdup and kstrto* just use match_int for dev params.
It will be ok to use int instead of unsigned long in tcmu_set_dev_attrib
because that is only being used for max sectors and block size and the
supported values for them are well under the max possible integer value.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions