OrangePi_CM5/drivers/misc/cxl
Christophe JAILLET 4be138bcd6 cxl: Fix a memory leak in an error handling path
[ Upstream commit 3a15b45b5454da862376b5d69a4967f5c6fa1368 ]

A bitmap_zalloc() must be balanced by a corresponding bitmap_free() in the
error handling path of afu_allocate_irqs().

Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ce5869418f5838187946eb6b11a52715a93ece3d.1657566849.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:38:15 +02:00
..
Kconfig cxl: Remove dead Kconfig options 2020-06-02 20:59:21 +10:00
Makefile
api.c Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-07-19 10:42:02 -07:00
base.c
context.c misc: cxl: use mmgrab 2020-01-14 15:16:50 +01:00
cxl.h cxl: no need to check return value of debugfs_create functions 2019-06-18 13:40:25 +02:00
cxllib.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
debugfs.c cxl: no need to check return value of debugfs_create functions 2019-06-18 13:40:25 +02:00
fault.c mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
file.c
flash.c misc: cxl: flash: Remove unused variable 'drc_index' 2020-07-10 14:55:24 +02:00
guest.c
hcalls.c misc: cxl: hcalls: Demote half-assed kerneldoc attempt 2020-07-01 15:08:05 +02:00
hcalls.h
irq.c cxl: Fix a memory leak in an error handling path 2022-08-25 11:38:15 +02:00
main.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
native.c
of.c
pci.c cxl: Rework error message for incompatible slots 2020-08-25 01:31:32 +10:00
sysfs.c cxl: Fix kobject memleak 2020-06-29 18:12:53 +02:00
trace.c
trace.h
vphb.c cxl: Change PCIBIOS_SUCCESSFUL to 0 2020-07-13 15:39:52 +02:00