]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: endpoint: Fix misused goto label
authorLi Chen <lchen@ambarella.com>
Fri, 21 Jan 2022 07:48:23 +0000 (15:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 19:00:59 +0000 (21:00 +0200)
commit7c657c0694ff690e361a13ce41c36b9dfb433ec8
tree2d5a0cfd872e523d90daf730339ed3823109e3d4
parent79cfc0052f3916238421330c2a70474ee2df3567
PCI: endpoint: Fix misused goto label

[ Upstream commit bf8d87c076f55b8b4dfdb6bc6c6b6dc0c2ccb487 ]

Fix a misused goto label jump since that can result in a memory leak.

Link: https://lore.kernel.org/r/17e7b9b9ee6.c6d9c6a02564.4545388417402742326@zohomail.com
Signed-off-by: Li Chen <lchen@ambarella.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/endpoint/functions/pci-epf-test.c