[PATCH 0/2] USB: core: fix device-tree node leak

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

 



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 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