diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2016-04-30 22:44:43 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-05-03 22:40:18 -0400 |
commit | 8d039e22b516c4c0ecaeb91f7566b5860fda14e7 (patch) | |
tree | 25a058b0245a164fdbdf0b5d3d0130fe6fbd88c3 /drivers/scsi/aacraid | |
parent | b01f6f8316af5226b0cada03e3b121e72dd4c17f (diff) |
scsi_debug: rework resp_report_luns
Based on "[PATH V2] scsi_debug: rework resp_report_luns" patch
sent by Tomas Winkler on Thursday, 26 Feb 2015. His notes:
1. Remove duplicated boundary checks which simplify the fill-in
loop
2. Use more of scsi generic API
Replace fixed length response array a with heap allocation
allowing up to 256 normal LUNs per target.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions