projects
/
firefly-linux-kernel-4.4.55.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 faed794cf75afcf50b8312395b5a01e7b5174a8d..a6624ad252c54a2f535e8e710b214d904ba5b731 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);