Commit f20139be authored by James Bottomley's avatar James Bottomley

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

There was a use before initialisation of c->name
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 1ca00bb7
...@@ -315,7 +315,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, ...@@ -315,7 +315,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
} }
if (pci_request_regions(pdev, OSM_DESCRIPTION)) { 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; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment