Commit 2c554e10 authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller

mISDN: fix error return in HFCmulti_init()

The returned error should stay negative
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarKarsten Keil <keil@b1-systems.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 655a6595
...@@ -5481,7 +5481,7 @@ HFCmulti_init(void) ...@@ -5481,7 +5481,7 @@ HFCmulti_init(void)
if (err) { if (err) {
printk(KERN_ERR "error registering embedded driver: " printk(KERN_ERR "error registering embedded driver: "
"%x\n", err); "%x\n", err);
return -err; return err;
} }
HFC_cnt++; HFC_cnt++;
printk(KERN_INFO "%d devices registered\n", HFC_cnt); printk(KERN_INFO "%d devices registered\n", HFC_cnt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment