patch-2.4.6 linux/drivers/atm/fore200e.c
Next file: linux/drivers/atm/fore200e_mkfirm.c
Previous file: linux/drivers/atm/ambassador.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Jun 27 16:18:13 2001
- Orig file:
v2.4.5/linux/drivers/atm/fore200e.c
- Orig date:
Fri Feb 9 11:30:22 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/atm/fore200e.c linux/drivers/atm/fore200e.c
@@ -439,6 +439,7 @@
case FORE200E_STATE_BLANK:
/* nothing to do for that state */
+ break;
}
}
@@ -2023,8 +2024,10 @@
if (!prom)
return -ENOMEM;
ok = fore200e->bus->prom_read(fore200e, prom);
- if (ok < 0)
+ if (ok < 0) {
+ fore200e_kfree(prom);
return -EBUSY;
+ }
printk(FORE200E "device %s, rev. %c, S/N: %d, ESI: %02x:%02x:%02x:%02x:%02x:%02x\n",
fore200e->name,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)