mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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>
This commit is contained in:
parent
655a6595af
commit
2c554e10e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user