author: Jing Xiangfeng <jingxiangfeng@huawei.com> 2020-09-04 10:51:03 +0800
committer: Jakub Kicinski <kuba@kernel.org> 2020-09-04 21:42:57 -0700
commit: c2b947879ca320ac5505c6c29a731ff17da5e805
parent: 44a049c42681de71c783d75cd6e56b4e339488b0
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index 39be444534d0..316a9947541f 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -2224,7 +2224,7 @@ static int eni_init_one(struct pci_dev *pci_dev,
rc = dma_set_mask_and_coherent(&pci_dev->dev, DMA_BIT_MASK(32));
if (rc < 0)
- goto out;
+ goto err_disable;
rc = -ENOMEM;
eni_dev = kmalloc(sizeof(struct eni_dev), GFP_KERNEL);