[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1281124310-13582-1-git-send-email-segooon@gmail.com>
Date: Fri, 6 Aug 2010 23:51:48 +0400
From: Kulikov Vasiliy <segooon@...il.com>
To: kernel-janitors@...r.kernel.org
Cc: Armin Schindler <mac@...ware.de>,
Karsten Keil <isdn@...ux-pingi.de>,
"David S. Miller" <davem@...emloft.net>,
Peter Huewe <peterhuewe@....de>, Arnd Bergmann <arnd@...db.de>,
netdev@...r.kernel.org
Subject: [PATCH 08/18] isdn: eicon: call disable_pci_device() if pci_probe() failed
Driver should call disable_pci_device() if it returns from pci_probe()
with error.
Signed-off-by: Kulikov Vasiliy <segooon@...il.com>
---
drivers/isdn/hardware/eicon/divasmain.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c
index ed9c555..61e077e 100644
--- a/drivers/isdn/hardware/eicon/divasmain.c
+++ b/drivers/isdn/hardware/eicon/divasmain.c
@@ -743,6 +743,7 @@ static int __devinit divas_init_one(struct pci_dev *pdev,
CardProperties[ent->driver_data].
Name, pdev->bus->number,
pdev->devfn);
+ pci_disable_device(pdev);
return (-EIO);
}
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists