Andre Hedrick wrote:
+static int megaraid_pci_master_abort(struct pci_dev* dev) +{ + u16 status, error_bits; + + pci_read_config_word(dev, PCI_STATUS, &status); + if (error_bits) + pci_write_config_word(dev, PCI_STATUS, error_bits); + pci_read_config_word(dev, PCI_STATUS, &status);
error_bits is used before a value is assigned to it. Presumably you are missing a duplicate of a line further down in the function,
error_bits = (status & PCI_STATUS_REC_MASTER_ABORT); The list stuff looks OK, to my quick glance. Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html