diff options
author | Douglas Gilbert <[email protected]> | 2016-04-30 22:44:43 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-05-03 22:40:18 -0400 |
commit | 8d039e22b516c4c0ecaeb91f7566b5860fda14e7 (patch) | |
tree | 25a058b0245a164fdbdf0b5d3d0130fe6fbd88c3 /lib/mpi/mpiutil.c | |
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 <[email protected]>
Reviewed-by: Hannes Reinicke <[email protected]>
Reviewed-by: Tomas Winkler <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions