Re: [PATCH] usb: roles: fix of node refcount leak in usb_role_switch_is_parent()

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

 




On 2022/11/19 1:57, Greg KH wrote:
On Fri, Nov 18, 2022 at 10:18:50PM +0800, Yang Yingliang wrote:
I got the following report:

   OF: ERROR: memory leak, expected refcount 1 instead of 2,
   of_node_get()/of_node_put() unbalanced - destroy cset entry:
   attach overlay node /i2c/pmic@34
report from what?  What generates this?
I got this report while doing loading device (mt6370-tcpc) test
with CONFIG_OF_UNITTEST and CONFIG_OF_DYNAMIC enabled.

Thanks,
Yang

.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux