projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e635813
)
ATM: horizon, fix hrz_probe fail path
author
Jiri Slaby
<jirislaby@gmail.com>
Sun, 30 Nov 2008 04:42:28 +0000
(20:42 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 30 Nov 2008 04:42:28 +0000
(20:42 -0800)
One fail path in hrz_probe omitted device disable. Fix it.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c
patch
|
blob
|
history
diff --git
a/drivers/atm/horizon.c
b/drivers/atm/horizon.c
index 615412364e9930aa042b682e503d3816f2498b8e..6b969f8c684fad8d963c707cc85fcd139fb766ce 100644
(file)
--- a/
drivers/atm/horizon.c
+++ b/
drivers/atm/horizon.c
@@
-2705,7
+2705,7
@@
static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_
/* XXX DEV_LABEL is a guess */
if (!request_region(iobase, HRZ_IO_EXTENT, DEV_LABEL)) {
-
return
-EINVAL;
+
err =
-EINVAL;
goto out_disable;
}