Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40572
b: refs/heads/master
c: 0966958
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Jeff Garzik committed Nov 1, 2006
1 parent 2fd9132 commit cc02678
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: 9d4df9e0fadfc84cd826e0f7e946691b4d7baee5
refs/heads/master: 09669585b5d0cfdebe28250d442693b3baac66a2
6 changes: 3 additions & 3 deletions trunk/drivers/net/wan/n2.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ static int __init n2_init(void)
#ifdef MODULE
printk(KERN_INFO "n2: no card initialized\n");
#endif
return -ENOSYS; /* no parameters specified, abort */
return -EINVAL; /* no parameters specified, abort */
}

printk(KERN_INFO "%s\n", version);
Expand Down Expand Up @@ -538,11 +538,11 @@ static int __init n2_init(void)
n2_run(io, irq, ram, valid[0], valid[1]);

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

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


Expand Down

0 comments on commit cc02678

Please sign in to comment.