aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-03-20 16:37:09 +0000
committerMartin K. Petersen <[email protected]>2019-03-20 20:33:06 -0400
commitee26724af6c71a9db786c5809395b4853edd4d54 (patch)
tree74b430776e0e9c61150fa98358e68f2b0a6a7eab /tools/perf/scripts/python/export-to-sqlite.py
parent1943edacef8966e24fc66d8cbe6347fe8b10ff80 (diff)
scsi: target: fix unsigned comparision with less than zero
Currently an error return is being assigned to an unsigned size_t varianle and then checked if the result is less than zero which will always be false. Fix this by making ret ssize_t rather than a size_t. Fixes: 0322913cab79 ("scsi: target: Add device product id and revision configfs attributes") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions