Explorar o código

[SCSI] fix up message/i2o/pci.c

There was a use before initialisation of c->name

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley %!s(int64=19) %!d(string=hai) anos
pai
achega
f20139bee4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/message/i2o/pci.c

+ 1 - 1
drivers/message/i2o/pci.c

@@ -315,7 +315,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
 	}
 
 	if (pci_request_regions(pdev, OSM_DESCRIPTION)) {
-		printk(KERN_ERR "i2o: device already claimed\n", c->name);
+		printk(KERN_ERR "i2o: device already claimed\n");
 		return -ENODEV;
 	}