[SCSI] sym2: Mask off opcode from RBC

pm->sg.size is set from the Residual Byte Count register. However,
the upper byte of the RBC is the opcode of the instruction that was
executing, so we need to mask it off. This fixes some spurious rejects
of IGNORE WIDE RESIDUE messages.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

authored by Matthew Wilcox and committed by e2230eac 61c41823

+1 -1
+1 -1
drivers/scsi/sym53c8xx_2/sym_hipd.c
··· 3588 3588 3589 3589 if (pm) { 3590 3590 dp_scr = scr_to_cpu(pm->ret); 3591 - dp_ofs -= scr_to_cpu(pm->sg.size); 3591 + dp_ofs -= scr_to_cpu(pm->sg.size) & 0x00ffffff; 3592 3592 } 3593 3593 3594 3594 /*