projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655a659
)
mISDN: fix error return in HFCmulti_init()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 16 Nov 2009 05:18:13 +0000
(21:18 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 16 Nov 2009 05:18:13 +0000
(21:18 -0800)
The returned error should stay negative
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcmulti.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/hardware/mISDN/hfcmulti.c
b/drivers/isdn/hardware/mISDN/hfcmulti.c
index
faed794
..
a6624ad
100644
(file)
--- a/
drivers/isdn/hardware/mISDN/hfcmulti.c
+++ b/
drivers/isdn/hardware/mISDN/hfcmulti.c
@@
-5481,7
+5481,7
@@
HFCmulti_init(void)
if (err) {
printk(KERN_ERR "error registering embedded driver: "
"%x\n", err);
- return
-
err;
+ return err;
}
HFC_cnt++;
printk(KERN_INFO "%d devices registered\n", HFC_cnt);