diff options
| author | 2014-10-09 12:39:48 +0100 | |
|---|---|---|
| committer | 2014-11-12 11:15:53 +0100 | |
| commit | 605c6dbef7556604b20b9831ea790dfe988416d8 (patch) | |
| tree | 65a47a5d21f530f0836e77ce0ec880ac009b1583 /tools/lib/python/kdoc/python_version.py | |
| parent | scsi: fix trivial typos in scsi_scan.c comment (diff) | |
scsi: fix off-by-one LUN check in scsi_scan_host_selected()
The Scsi_Host structure max_lun field is the maximum allowed LUN plus 1. So
a LUN value is invalid if >= max_lun.
Signed-off-by: Mark Knibbs <markk@clara.co.uk>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
