Re: [PATCH] usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()

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

 




On Wed, 13 Jul 2022, at 21:35, Liang He wrote:
> We should call of_node_put() for the reference returned by
> of_get_child_by_name() which has increased the refcount.
>
> Fixes: 30d2617fd7ed ("usb: gadget: aspeed: allow to set usb strings in 
> device tree")
> Signed-off-by: Liang He <windhl@xxxxxxx>

Reviewed-by: Andrew Jeffery <andrew@xxxxxxxx>



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

  Powered by Linux