NetBSD-Bugs archive

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

Re: kern/48243 (inconsistant usage of 'up->parent' in usb_subr.c)



Synopsis: inconsistant usage of 'up->parent' in usb_subr.c

State-Changed-From-To: open->feedback
State-Changed-By: skrll%NetBSD.org@localhost
State-Changed-When: Mon, 03 Oct 2016 06:50:49 +0000
State-Changed-Why:
The only time up->up_parent is non-NULL is for a root hub. Here the
usbd_get_initial_ddsec can (should?) never fail and therefore the
usbd_reset_port won't happen.

Is the code as-is really a problem?





Home | Main Index | Thread Index | Old Index