[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tencent_21B5235BC260E91E030A10A8E112D037EC08@qq.com>
Date: Thu, 5 Oct 2023 23:01:34 +0800
From: Zhang Shurong <zhang_shurong@...mail.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Thinh.Nguyen@...opsys.com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
linux-imx@....com, linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: dwc3: fix possible object reference leak
I apologize for the poorly formatted patch.
I will make the necessary revisions and send it to you again.
Additionally, I thought that it may not be straightforward
to test but I will try.
Kind regards,
Shurong
在 2023/10/5 21:59, Greg KH 写道:
> On Thu, Oct 05, 2023 at 09:49:46PM +0800, Zhang Shurong wrote:
>> The of_find_device_by_node takes a reference to the struct device
>> when find the match device,we should release it when fail.
>>
>> Fix it by calling by calling platform_device_put when error returns.
>>
>> Signed-off-by: Zhang Shurong <zhang_shurong@...mail.com>
>> ---
> What commit id does this fix?
>
> And how did you find this? How was it tested?
>
> thanks,
>
> greg k-h
Powered by blists - more mailing lists