diff options
| author | Douglas Gilbert <[email protected]> | 2014-11-26 12:33:48 -0500 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2014-12-15 13:34:24 +0100 |
| commit | d467d31f700f807ff939cab6d622867ee48c80b6 (patch) | |
| tree | 7ad00d81c046ef7818b3c219799cd2b941bbd852 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | b9f85b1d32cc55b20984149eacb2e6f4c3aedca3 (diff) | |
scsi_debug: fix compare and write errors
Kernel build tools pointed out a memory leak so that has been
fixed and its error paths strengthened with a goto. Testing
showed compare and write was only working for lba=0; correcting
the length of the LBA field fixed that.
Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Ewan D. Milne <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions