[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ybx/IHXc9BRfT+pR@atomide.com>
Date: Fri, 17 Dec 2021 14:14:24 +0200
From: Tony Lindgren <tony@...mide.com>
To: cgel.zte@...il.com
Cc: linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
Ye Guojin <ye.guojin@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] ARM: OMAP2+: adjust the location of put_device() call in
omapdss_init_of
* cgel.zte@...il.com <cgel.zte@...il.com> [211116 08:28]:
> From: Ye Guojin <ye.guojin@....com.cn>
>
> This was found by coccicheck:
> ./arch/arm/mach-omap2/display.c, 272, 1-7, ERROR missing put_device;
> call of_find_device_by_node on line 258, but without a corresponding
> object release within this function.
>
> Move the put_device() call before the if judgment.
Thanks applying into omap-for-v5.17/fixes-not-urgent.
Tony
Powered by blists - more mailing lists