Re: 2.4.0-test11-pre3

From: Tim Waugh (twaugh@redhat.com)
Date: Wed Nov 15 2000 - 10:17:50 EST


I didn't see this in the ChangeLog. Does this need backporting to
2.2.x as well?

Tim.
*/

Index: drivers/scsi/ppa.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/scsi/ppa.c,v
retrieving revision 1.5
diff -d -u -r1.5 ppa.c
--- drivers/scsi/ppa.c 2000/09/25 16:46:52 1.5
+++ drivers/scsi/ppa.c 2000/11/15 15:17:33
@@ -194,6 +194,8 @@
         host->can_queue = PPA_CAN_QUEUE;
         host->sg_tablesize = ppa_sg;
         hreg = scsi_register(host, 0);
+ if(hreg == NULL)
+ continue;
         hreg->io_port = pb->base;
         hreg->n_io_port = ports;
         hreg->dma_channel = -1;
Index: drivers/scsi/imm.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/scsi/imm.c,v
retrieving revision 1.7
diff -d -u -r1.7 imm.c
--- drivers/scsi/imm.c 2000/10/31 16:55:22 1.7
+++ drivers/scsi/imm.c 2000/11/15 15:17:33
@@ -198,6 +198,8 @@
         host->can_queue = IMM_CAN_QUEUE;
         host->sg_tablesize = imm_sg;
         hreg = scsi_register(host, 0);
+ if(hreg == NULL)
+ continue;
         hreg->io_port = pb->base;
         hreg->n_io_port = ports;
         hreg->dma_channel = -1;
-
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:28 EST