diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_hipd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c index 254bdaeb35ff..35142b5341b5 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c | |||
@@ -3842,7 +3842,7 @@ int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp) | |||
3842 | if (cp->startp == cp->phys.head.lastp || | 3842 | if (cp->startp == cp->phys.head.lastp || |
3843 | sym_evaluate_dp(np, cp, scr_to_cpu(cp->phys.head.lastp), | 3843 | sym_evaluate_dp(np, cp, scr_to_cpu(cp->phys.head.lastp), |
3844 | &dp_ofs) < 0) { | 3844 | &dp_ofs) < 0) { |
3845 | return cp->data_len; | 3845 | return cp->data_len - cp->odd_byte_adjustment; |
3846 | } | 3846 | } |
3847 | 3847 | ||
3848 | /* | 3848 | /* |