Dear Mark, Thank you. I appreciate your quick response. Best Regards Hiroomi Sakurai "Salyzyn, Mark" <mark_salyzyn@xxxxxxxxxxx> wrote: > I agree, the math for underflow is flawed for block sizes other than > 512, but I leave it up to the community to decide if there is some > history behind this decision. This math has remained this way 'forever'. > > The dpt_i2o driver should have the following (and more accurately > enclosed) patch to match up with what other sections of code in this > driver are doing with regards to the underflow check. Other drivers all > appear to be performing the underflow check in this manner. > > len = cmd->request_bufflen; > > - if(cmd->underflow && len != cmd->underflow){ > + if(cmd->underflow && len < cmd->underflow){ > printk(KERN_WARNING"Cmd len %08X Cmd underflow %08X\n", > len, cmd->underflow); > } > > Sincerely -- Mark Salyzyn > - : 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