usb_init_urb vs. urb_unlink

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

 



Hi,
While browsing the code I noticed that usb_init_urb() zeroes out the
entire URB, including urb_list.
urb_unlink() calls list_del_init which expects an initialized list,
but I could not locate where INIT_LIST_HEAD takes place (except upon
error in usb_hcd_submit_urb()).
Is this normal?

Thanks,
Yair
--
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