aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2013-02-08 15:18:40 -0800
committerNicholas Bellinger <[email protected]>2013-02-13 12:16:11 -0800
commit71f41fe1fafae2e407ef19d8174207f7ff80b387 (patch)
treee780f1e3fcfec59f5ff3f876d8850843d52b442c /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentbb992e72f9b751fceb04afeb7736b6a3e50effcf (diff)
target: Fix parameter list length checking in MODE SELECT
An empty parameter list (length == 0) is not an error, so succeed MODE SELECT in this case. If the parameter list length is too small, return the correct sense code of PARAMETER LIST LENGTH ERROR. Signed-off-by: Roland Dreier <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions