A reference is taken when looking up a device-tree node when allocating
a USB device, but the reference is never released.

There are some issues related to how we deal with the root hub and its
node which I'll get back to in a follow up series, but this can go in
meanwhile.

Johan


Johan Hovold (2):
  USB: core: fix device node leak
  USB: of: document reference taken by child-loopkup helper

 drivers/usb/core/of.c  | 3 +++
 drivers/usb/core/usb.c | 2 ++
 2 files changed, 5 insertions(+)

-- 
2.13.0

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

Reply via email to