android_kernel_xiaomi_sm7250/drivers/misc/cxl
Christophe JAILLET 89d51dc687 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:15:44 +02:00
..
api.c
base.c
context.c
cxl.h
cxllib.c
debugfs.c
fault.c
file.c
flash.c
guest.c
hcalls.c
hcalls.h
irq.c cxl: Fix a memory leak in an error handling path 2022-08-25 11:15:44 +02:00
Kconfig
main.c
Makefile
native.c
of.c
pci.c cxl: Rework error message for incompatible slots 2020-11-05 11:08:34 +01:00
sysfs.c
trace.c
trace.h
vphb.c