On Sunday 06 January 2008, Karsten Wiese wrote:
> >       for (uframe = 0; uframe < 8; uframe++) {
> > -             if (likely (itd->index[uframe] == -1))
> > +             t = hc32_to_cpup(ehci, &itd->hw_bufp[uframe]);
> 
> NACK, struct ehci_itd has hw_bufp[7], not 8.

Hmm, that would be called a pre-existing bug.

Looping to ARRAY_SIZE(itd->hw_bufp) would be
better in several cases... I'll roll up a
separate patch.

- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to