[SCSI] IPS bug found

From: Jeff Garzik
Date: Sun Oct 01 2006 - 12:44:53 EST


This gcc warning indicates a bug:

drivers/scsi/ips.c: In function ‘ips_insert_device’:
drivers/scsi/ips.c:7123: warning: ‘index’ may be used uninitialized in this function

ips_register_scsi() and ips_free() may be called on an uninitialized 'index', if the preceding functions fail.

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