Re: question about drivers/usb/host/whci/qset.c

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

 



On Thu, 27 May 2010, David Vrabel wrote:

> Julia Lawall wrote:
> > I don't understand the function qset_add_urb_sg.  As far as I can tell, 
> > the variable std is NULL until reaching the following code:
> > 
> >                         if (!std
> >                             || (prev_end & (WHCI_PAGE_SIZE-1))
> >                             || (dma_addr & (WHCI_PAGE_SIZE-1))
> >                             || std->len + WHCI_PAGE_SIZE > QTD_MAX_XFER_SIZE) {
> >                                 if (std->len % qset->max_packet != 0)
> 
> This should be
>   if (std && std->len % qset->maxpacket !=0)

OK, thanks.  I'll fix it.

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux