diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-11 22:14:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-25 12:40:36 +0300 |
commit | addff638c41753639368c252d0c5ba0d8fe9ed97 (patch) | |
tree | 31b676a5bde28b09a2330388d5c9827ec978d99e /drivers/acpi/pci_mcfg.c | |
parent | 5e24cd70355ead2e011377068c131c5a8522e42f (diff) | |
download | linux-addff638c41753639368c252d0c5ba0d8fe9ed97.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/pci_mcfg.c')
0 files changed, 0 insertions, 0 deletions