Thread (2 messages) read the whole thread 2 messages, 2 authors, 2021-12-17

Re: [PATCH] ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of

From: Tony Lindgren <tony@atomide.com>
Date: 2021-12-17 12:14:29
Also in: linux-arm-kernel, lkml

* cgel.zte@gmail.com [off-list ref] [211116 08:28]:
From: Ye Guojin <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help