Commit 4e698e64 authored by Anthony J. Breeds-Taurima's avatar Anthony J. Breeds-Taurima Committed by Jeff Garzik

s/Efoo/-Efoo/ cleanup for drivers:

etherh acorn net driver, mtdblock_ro mtd driver, and
sym 2 scsi driver.
parent 30d9a4af
...@@ -513,7 +513,7 @@ static int __init etherh_addr(char *addr, struct expansion_card *ec) ...@@ -513,7 +513,7 @@ static int __init etherh_addr(char *addr, struct expansion_card *ec)
if (i == 6) if (i == 6)
return 0; return 0;
} }
return ENODEV; return -ENODEV;
} }
/* /*
...@@ -524,7 +524,7 @@ static int __init etherm_addr(char *addr) ...@@ -524,7 +524,7 @@ static int __init etherm_addr(char *addr)
unsigned int serial; unsigned int serial;
if (system_serial_low == 0 && system_serial_high == 0) if (system_serial_low == 0 && system_serial_high == 0)
return ENODEV; return -ENODEV;
serial = system_serial_low | system_serial_high; serial = system_serial_low | system_serial_high;
......
...@@ -258,7 +258,7 @@ int __init init_mtdblock(void) ...@@ -258,7 +258,7 @@ int __init init_mtdblock(void)
if (register_blkdev(MAJOR_NR,DEVICE_NAME,&mtd_fops)) { if (register_blkdev(MAJOR_NR,DEVICE_NAME,&mtd_fops)) {
printk(KERN_NOTICE "Can't allocate major number %d for Memory Technology Devices.\n", printk(KERN_NOTICE "Can't allocate major number %d for Memory Technology Devices.\n",
MTD_BLOCK_MAJOR); MTD_BLOCK_MAJOR);
return EAGAIN; return -EAGAIN;
} }
/* We fill it in at open() time. */ /* We fill it in at open() time. */
......
...@@ -5947,7 +5947,7 @@ int sym_hcb_attach(hcb_p np, struct sym_fw *fw) ...@@ -5947,7 +5947,7 @@ int sym_hcb_attach(hcb_p np, struct sym_fw *fw)
*/ */
attach_failed: attach_failed:
sym_hcb_free(np); sym_hcb_free(np);
return ENXIO; return -ENXIO;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment