On Sun, Dec 16, 2007 at 05:28:33PM +0200, Boaz Harrosh wrote: > Russell or any other arm person. Please first see if this compiles at all, as I do > not have a cross compiler set up, and please check that this code works. > (Should apply on top of Linus latest) This patch seems to work with one change: > + SCpnt->SCp.phase = > + min(len, scsi_bufflen(SCpnt)); This min wants to be + min_t(unsigned long, len, scsi_bufflen(SCpnt)); -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: - 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