summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth_proc.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-11-26 18:33:48 +0100
committerChristoph Hellwig <hch@lst.de>2014-12-15 13:34:24 +0100
commitd467d31f700f807ff939cab6d622867ee48c80b6 (patch)
tree7ad00d81c046ef7818b3c219799cd2b941bbd852 /drivers/scsi/gdth_proc.c
parentqla2xxx: fix race in handling rport deletion during recovery causes panic (diff)
downloadlinux-d467d31f700f807ff939cab6d622867ee48c80b6.tar.xz
linux-d467d31f700f807ff939cab6d622867ee48c80b6.zip
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 <dgilbert@interlog.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/gdth_proc.c')
0 files changed, 0 insertions, 0 deletions