linux/arch/arm
Ye Guojin 9492e1e53e ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
[ Upstream commit 34596ba380 ]

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.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-23 12:03:17 +01:00
..
boot ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo 2022-02-16 12:56:23 +01:00
common ARM: sharpsl_param: work around -Wstringop-overread warning 2021-10-05 15:44:56 +02:00
configs Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH 2022-01-27 11:05:21 +01:00
crypto ARM: 9099/1: crypto: rename 'mod_init' & 'mod_exit' functions to be module-specific 2021-08-10 12:15:27 +01:00
include ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently 2022-02-01 17:26:59 +01:00
kernel perf: Protect perf_guest_cbs with RCU 2022-01-20 09:13:14 +01:00
lib ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: preload base address of controllers in tlb 2021-10-04 12:08:34 +02:00
mach-axxia
mach-bcm isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci
mach-digicolor
mach-dove ARM: dove: mark 'putc' as inline 2021-10-05 15:40:38 +02:00
mach-ep93xx
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx ARM: imx: register reset controller from a platform driver 2021-10-15 09:38:06 +08:00
mach-integrator
mach-iop32x
mach-ixp4xx ARM: SoC updates for 5.15 2021-09-01 15:19:43 -07:00
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mstar
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 ARM: omap1: move omap15xx local bus handling to usb.c 2021-10-05 15:39:50 +02:00
mach-omap2 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of 2022-02-23 12:03:17 +01:00
mach-orion5x
mach-oxnas
mach-pxa ARM: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
mach-qcom
mach-rda
mach-realtek
mach-realview
mach-rockchip
mach-rpc printk changes for 5.15 2021-09-01 18:41:13 -07:00
mach-s3c ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc() 2021-11-18 19:16:46 +01:00
mach-s5pv210
mach-sa1100
mach-shmobile ARM: shmobile: rcar-gen2: Add missing of_node_put() 2022-01-27 11:04:25 +01:00
mach-socfpga ARM: socfpga: fix missing RESET_CONTROLLER 2022-02-16 12:56:19 +01:00
mach-spear
mach-sti
mach-stm32
mach-sunxi
mach-tegra ARM: SoC drivers for 5.15 2021-09-01 15:25:28 -07:00
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
mach-vt8500
mach-zynq
mm ARM: 9155/1: fix early early_iounmap() 2021-11-18 19:17:13 +01:00
net bpf, arm: Fix register clobbering in div/mod implementation 2021-09-29 16:04:50 +02:00
nwfpe
plat-omap
plat-orion
plat-pxa
plat-versatile
probes ARM: 9170/1: fix panic when kasan and kprobe are enabled 2022-02-01 17:27:07 +01:00
tools ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
vdso
vfp
xen
Kbuild
Kconfig kmap_local: don't assume kmap PTEs are linear arrays in memory 2021-11-25 09:48:43 +01:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART 2022-01-27 11:04:29 +01:00
Makefile ARM: 9156/1: drop cc-option fallbacks for architecture selection 2021-11-18 19:17:13 +01:00