diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:29:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:22 -0400 |
commit | 1a8ceafce5f1e68c28c7ba52fd7e72ab0008eb46 (patch) | |
tree | 35cda6b26cdd92f2f4ed66cc43fc0d82a1ebeb2c /drivers/net/lne390.c | |
parent | a9a55243d4a5f41b0035d36457b87463aa232807 (diff) |
[PATCH] pcmcia: properly handle all errors of register_chrdev
register_chrdev() can return errors (negative) other then -EBUSY, so check
for any negative error code.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/lne390.c')
0 files changed, 0 insertions, 0 deletions