提交 f20139be 编写于 作者: J James Bottomley

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

There was a use before initialisation of c->name
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册