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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* cgel.zte@xxxxxxxxx <cgel.zte@xxxxxxxxx> [211116 08:28]:
> From: Ye Guojin <ye.guojin@xxxxxxxxxx>
> 
> 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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux