aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dmx3191d.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-10 17:24:21 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:45:56 -0500
commitc3c026ba5a16867af47578ab2030ef51f9080084 (patch)
treeaa730bd967495555436ad754353fa021c0f89db2 /drivers/scsi/dmx3191d.c
parent8800727ae8a20146981a9531ac833cb889666247 (diff)
[SCSI] dmx3191d: fix a NULL pointer dereference
This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
-rw-r--r--drivers/scsi/dmx3191d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c
index 7905b904e01d..38e4010eff96 100644
--- a/drivers/scsi/dmx3191d.c
+++ b/drivers/scsi/dmx3191d.c
@@ -116,7 +116,7 @@ static int __devinit dmx3191d_probe_one(struct pci_dev *pdev,
116 out_free_irq: 116 out_free_irq:
117 free_irq(shost->irq, shost); 117 free_irq(shost->irq, shost);
118 out_release_region: 118 out_release_region:
119 release_region(shost->io_port, DMX3191D_REGION_LEN); 119 release_region(io, DMX3191D_REGION_LEN);
120 out_disable_device: 120 out_disable_device:
121 pci_disable_device(pdev); 121 pci_disable_device(pdev);
122 out: 122 out: