WSL2-Linux-Kernel/arch/arm
Angus Chen 88083a25d8 ARM: imx: Call ida_simple_remove() for ida_simple_get
[ Upstream commit ebeb49f43c ]

The function call ida_simple_get maybe fail,we should deal with it.
And if ida_simple_get success ,it need to call ida_simple_remove also.
BTW,devm_kasprintf can handle id is zero for consistency.

Fixes: e76bdfd740 ("ARM: imx: Added perf functionality to mmdc driver")
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:39:01 +01:00
..
boot ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato 2023-03-10 09:39:01 +01:00
common
configs ARM: bcm2835_defconfig: Enable the framebuffer 2023-03-10 09:39:01 +01:00
crypto crypto: blake2s - remove shash module 2022-08-17 14:24:19 +02:00
include ARM: renumber bits related to _TIF_WORK_MASK 2023-01-12 11:59:05 +01:00
kernel exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
lib ARM: findbit: fix overflowing offset 2022-08-17 14:23:05 +02:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: avoid soft resetting AC DLL 2022-11-26 09:24:34 +01:00
mach-axxia ARM: Fix refcount leak in axxia_boot_secondary 2022-06-29 09:03:31 +02:00
mach-bcm ARM: bcm: Fix refcount leak in bcm_kona_smc_init 2022-08-17 14:23:06 +02:00
mach-berlin
mach-clps711x
mach-cns3xxx ARM: cns3xxx: Fix refcount leak in cns3xxx_init 2022-06-29 09:03:31 +02:00
mach-davinci ARM: davinci: da850-evm: Avoid NULL pointer dereference 2022-04-20 09:34:20 +02:00
mach-digicolor
mach-dove
mach-ep93xx
mach-exynos ARM: exynos: Fix refcount leak in exynos_map_pmu 2022-06-29 09:03:30 +02:00
mach-footbridge
mach-gemini
mach-highbank
mach-hisi ARM: hisi: Add missing of_node_put after of_find_compatible_node 2022-06-09 10:22:42 +02:00
mach-imx ARM: imx: Call ida_simple_remove() for ida_simple_get 2023-03-10 09:39:01 +01:00
mach-integrator
mach-iop32x ARM: iop32x: offset IRQ numbers by 1 2022-04-08 14:24:11 +02:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek arm: mediatek: select arch timer for mt7629 2022-06-09 10:23:07 +02:00
mach-meson ARM: meson: Fix refcount leak in meson_smp_prepare_cpus 2022-07-12 16:35:11 +02:00
mach-milbeaut
mach-mmp ARM: mmp: fix timer_read delay 2022-12-31 13:14:00 +01:00
mach-moxart
mach-mstar ARM: mstar: Select HAVE_ARM_ARCH_TIMER 2022-04-08 14:22:46 +02:00
mach-mv78xx0
mach-mvebu
mach-mxs ARM: mxs: fix memory leak in mxs_machine_init() 2022-12-02 17:41:04 +01:00
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init() 2023-03-10 09:39:01 +01:00
mach-omap2 ARM: OMAP2+: Fix memory leak in realtime_counter_init() 2023-03-10 09:38:57 +01:00
mach-orion5x
mach-oxnas
mach-pxa ARM: pxa: maybe fix gpio lookup tables 2022-06-09 10:23:29 +02:00
mach-qcom
mach-rda
mach-realtek
mach-realview
mach-rockchip
mach-rpc
mach-s3c ARM: s3c: fix s3c64xx_set_timer_source prototype 2023-03-10 09:39:01 +01:00
mach-s5pv210
mach-sa1100
mach-shmobile ARM: shmobile: rcar-gen2: Increase refcount for new reference 2022-08-17 14:23:04 +02: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
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress ARM: versatile: Add missing of_node_put in dcscb_init 2022-06-09 10:22:42 +02:00
mach-vt8500
mach-zynq ARM: zynq: Fix refcount leak in zynq_early_slcr_init 2023-03-10 09:38:58 +01:00
mm ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment 2023-02-01 08:27:25 +01:00
net
nwfpe ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod 2023-01-12 11:58:55 +01:00
plat-omap
plat-orion
plat-pxa
plat-versatile
probes kprobes: treewide: Cleanup the error messages for kprobes 2023-02-22 12:57:00 +01:00
tools
vdso
vfp
xen xen/arm: Fix race in RB-tree based P2M accounting 2022-07-07 17:53:32 +02:00
Kbuild
Kconfig ARM: Drop CMDLINE_* dependency on ATAGS 2022-10-26 12:35:00 +02: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