aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/pci.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.(none)>2006-01-13 16:36:25 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 11:54:59 -0500
commitf20139bee4545b91f30e14e2f528320c7ab36fa6 (patch)
tree818ae9a89fd69ea8a841406188cf53fd4649dace /drivers/message/i2o/pci.c
parent1ca00bb7916cb40b8140173c23481e11d92d6f6a (diff)
[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>
Diffstat (limited to 'drivers/message/i2o/pci.c')
-rw-r--r--drivers/message/i2o/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c
index f23aeea43f62..d698d7709c31 100644
--- a/drivers/message/i2o/pci.c
+++ b/drivers/message/i2o/pci.c
@@ -315,7 +315,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
315 } 315 }
316 316
317 if (pci_request_regions(pdev, OSM_DESCRIPTION)) { 317 if (pci_request_regions(pdev, OSM_DESCRIPTION)) {
318 printk(KERN_ERR "i2o: device already claimed\n", c->name); 318 printk(KERN_ERR "i2o: device already claimed\n");
319 return -ENODEV; 319 return -ENODEV;
320 } 320 }
321 321