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