Re: 2.4.0-test11-pre3

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sun Nov 12 2000 - 05:16:42 EST


On Sat, 11 Nov 2000, Linus Torvalds wrote:
> - Alan Cox: SCSI driver NULL ptr checks

Which needs the following fix:

--- linux-2.4.0-test11-pre3/drivers/scsi/a2091.c.orig Sun Nov 12 10:50:26 2000
+++ linux-2.4.0-test11-pre3/drivers/scsi/a2091.c Sun Nov 12 11:14:15 2000
@@ -207,8 +207,10 @@
             continue;
 
         instance = scsi_register (tpnt, sizeof (struct WD33C93_hostdata));
- if(instance == NULL)
- continue;
+ if (instance == NULL) {
+ release_mem_region(address, 256);
+ continue;
+ }
         instance->base = ZTWO_VADDR(address);
         instance->irq = IRQ_AMIGA_PORTS;
         instance->unique_id = z->slotaddr;

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:21 EST