RE: [PATCH net] r8152: check the informaton of the device

From
Hayes Wang <hidden>
Date
2021-05-22 03:13:58
Also in
linux-usb, lkml
Reply to
Greg KH, 2021-05-21
Greg KH [off-list ref]
Sent: Friday, May 21, 2021 5:43 PM
[...]
We have a USB core function that does all of the above for you, why not
use that instead?

Look at usb_find_common_endpoints() and
usb_find_common_endpoints_reverse() and at the very least
usb_find_bulk_in_endpoint() and related functions.  Please don't
open-code this type of logic, it's easy to get things wrong.
Fine. Thanks.

Best Regards,
Hayes
Thread (13 messages) 13 messages, 4 authors, last reply 2021-05-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help