diff options
author | 2017-08-17 10:09:54 +0300 | |
---|---|---|
committer | 2017-08-22 22:23:42 -0400 | |
commit | bd46fc406b30d1db1aff8dabaff8d18bb423fdcf (patch) | |
tree | 7279fb6cd3b1b6641550ad20e7f24152b50a9a7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: ipr: Set no_report_opcodes for RAID arrays (diff) | |
download | linux-dev-bd46fc406b30d1db1aff8dabaff8d18bb423fdcf.tar.xz linux-dev-bd46fc406b30d1db1aff8dabaff8d18bb423fdcf.zip |
scsi: sg: off by one in sg_ioctl()
If "val" is SG_MAX_QUEUE then we are one element beyond the end of the
"rinfo" array so the > should be >=.
Fixes: 109bade9c625 ("scsi: sg: use standard lists for sg_requests")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.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