Commit 5b80c49f authored by Jens Axboe's avatar Jens Axboe Committed by James Bottomley

[PATCH] ncr53c8xx bad queuecommand return

One more case of returning non-zero with a completed command.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 10838a0e
...@@ -7517,6 +7517,7 @@ printk("ncr53c8xx : command successfully queued\n"); ...@@ -7517,6 +7517,7 @@ printk("ncr53c8xx : command successfully queued\n");
if (sts != DID_OK) { if (sts != DID_OK) {
unmap_scsi_data(np, cmd); unmap_scsi_data(np, cmd);
done(cmd); done(cmd);
sts = 0;
} }
return sts; return sts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment