[PATCH v2 15/30] cxlflash: Fix location of setting resid
brking at linux.vnet.ibm.com
Tue Sep 22 04:28:30 AEST 2015
On 09/16/2015 04:30 PM, Matthew R. Ochs wrote:
> @@ -158,8 +160,7 @@ static void process_cmd_err(struct afu_cmd *cmd, struct scsi_cmnd *scp)
> /* If the SISL_RC_FLAGS_OVERRUN flag was set,
> * then we will handle this error else where.
> * If not then we must handle it here.
> - * This is probably an AFU bug. We will
> - * attempt a retry to see if that resolves it.
> + * This is probably an AFU bug.
I would tend to agree with this statement. ioasa->resid should be zero in an overrun case.
> scp->result = (DID_ERROR << 16);
Reviewed-by: Brian King <brking at linux.vnet.ibm.com>
Power Linux I/O
IBM Linux Technology Center
More information about the Linuxppc-dev