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

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
..
api.c
base.c
context.c
cxl.h
cxllib.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
debugfs.c
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
Kconfig
main.c
Makefile
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