Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93113
b: refs/heads/master
c: d753d82
h: refs/heads/master
i:
  93111: e308d8e
v: v3
  • Loading branch information
Krzysztof Halasa authored and Jeff Garzik committed Apr 25, 2008
1 parent 93ff01d commit 3462775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cda1edf029370d396fb610f7e41fad9a7123164
refs/heads/master: d753d82405ac3504ed69fb6be4d219d9702b8d64
6 changes: 3 additions & 3 deletions trunk/drivers/net/wan/c101.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ static int __init c101_init(void)
#ifdef MODULE
printk(KERN_INFO "c101: no card initialized\n");
#endif
return -ENOSYS; /* no parameters specified, abort */
return -EINVAL; /* no parameters specified, abort */
}

printk(KERN_INFO "%s\n", version);
Expand All @@ -420,11 +420,11 @@ static int __init c101_init(void)
c101_run(irq, ram);

if (*hw == '\x0')
return first_card ? 0 : -ENOSYS;
return first_card ? 0 : -EINVAL;
}while(*hw++ == ':');

printk(KERN_ERR "c101: invalid hardware parameters\n");
return first_card ? 0 : -ENOSYS;
return first_card ? 0 : -EINVAL;
}


Expand Down

0 comments on commit 3462775

Please sign in to comment.