diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-15 21:18:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-15 21:18:13 -0800 |
commit | 2c554e10e84e958366344aa5bd293c6feea72d89 (patch) | |
tree | c72baaef0c5420a0d0eba894cb9b4ffbaa81eeed /drivers/isdn | |
parent | 655a6595af5cd7e91992bd768d7a5949f813dc0d (diff) | |
download | linux-stable-2c554e10e84e958366344aa5bd293c6feea72d89.tar.gz linux-stable-2c554e10e84e958366344aa5bd293c6feea72d89.tar.bz2 linux-stable-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')
-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); |