summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-11-15 21:18:13 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-15 21:18:13 -0800
commit2c554e10e84e958366344aa5bd293c6feea72d89 (patch)
treec72baaef0c5420a0d0eba894cb9b4ffbaa81eeed
parent655a6595af5cd7e91992bd768d7a5949f813dc0d (diff)
downloadop-kernel-dev-2c554e10e84e958366344aa5bd293c6feea72d89.zip
op-kernel-dev-2c554e10e84e958366344aa5bd293c6feea72d89.tar.gz
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>
-rw-r--r--drivers/isdn/hardware/mISDN/hfcmulti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c
index faed794..a6624ad 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);
OpenPOWER on IntegriCloud