All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] char/rtc: fix object reference leaks in rtc_init
       [not found] <201901231822458570930@zte.com.cn>
@ 2019-01-23 12:02 ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2019-01-23 12:02 UTC (permalink / raw)
  To: wen.yang99; +Cc: arnd, davem, linux-kernel

On Wed, Jan 23, 2019 at 06:22:45PM +0800, wen.yang99@zte.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@zte.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-23 12:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201901231822458570930@zte.com.cn>
2019-01-23 12:02 ` [PATCH] char/rtc: fix object reference leaks in rtc_init Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.