diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-16 06:18:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-16 06:18:13 +0100 |
commit | 2c554e10e84e958366344aa5bd293c6feea72d89 (patch) | |
tree | c72baaef0c5420a0d0eba894cb9b4ffbaa81eeed /drivers/isdn/hardware | |
parent | forcedeth: mac address fix (diff) | |
download | linux-2c554e10e84e958366344aa5bd293c6feea72d89.tar.xz linux-2c554e10e84e958366344aa5bd293c6feea72d89.zip |
mISDN: fix error return in HFCmulti_init()
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>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcmulti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index faed794cf75a..a6624ad252c5 100644 --- 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); |