[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190123120208.GB31385@kroah.com>
Date: Wed, 23 Jan 2019 13:02:08 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: wen.yang99@....com.cn
Cc: arnd@...db.de, davem@...emloft.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] char/rtc: fix object reference leaks in rtc_init
On Wed, Jan 23, 2019 at 06:22:45PM +0800, wen.yang99@....com.cn wrote:
> The device node iterators perform an of_node_get on each iteration, so a
> jump out of the loop requires an of_node_put.
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we also should release that reference.
> This patch fixes those 2 issues.
> Fixes: 75081322c ("sparc32: Convert PC RTC probing to pure OF driver")
>
> Signed-off-by: Wen Yang <wen.yang99@....com.cn>
Your "From:" line in your email does not match this :(
Please fix up your email client to have it match and resend.
thanks,
greg k-h
Powered by blists - more mailing lists