From: Prasanna Mumbai Date: Wed, 18 May 2011 06:17:06 +0000 (-0700) Subject: [SCSI] qla4xxx: Complete the cmd if sense_len is zero X-Git-Tag: v3.0-rc1~33^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d78bd56be54286a72413db82d87fc371867629f;p=pandora-kernel.git [SCSI] qla4xxx: Complete the cmd if sense_len is zero Complete the cmd if sense length is zero. For cases where sense data spans across multiple iocb's by FW, we need to hold on to the I/O (ha->status_srb != NULL) till we have processed them all and copied the sense data from internal buffer to scsi_cmd sense buffer. Signed-off-by: Prasanna Mumbai Signed-off-by: Vikas Chaudhary Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed