mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
[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>
This commit is contained in:
parent
1ca00bb791
commit
f20139bee4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue