Re: [PATCH] dpt_i2o.c: fix transferred data length for scsi_set_resid()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-11-05 at 16:05 +0200, Boaz Harrosh wrote:
> Miquel van Smoorenburg wrote:
> > This should go into 2.6.28 and -stable, I think.
> > 
> > dpt_i2o-fix-xferlen-for-scsi_set_resid.patch
>
> 
> I do wish that someone could do a:
> +	scsi_set_resid(cmd, scsi_bufflen(cmd) - readl(REG_BYTE_COUNT));
> 
> or what ever. To prevent just these errors from happening.
>
> I understand that this is not your fault, but Just for the record, as a
> "TODO:" comment for us all.

Yes, dpt_i2o could use some more cleaning up. A while ago I said I'd
look at that (after I did the 64-bit support patches), but due to
circumstances I have even less time available than usual.

Anyway, this is the minimal patch for 2.6.28 and 2.6.27-stable, which is
correct for -rc and -stable patches, right ?

Mike.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux