[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>
This commit is contained in:
Adrian Bunk 2006-03-10 23:24:21 +01:00 committed by James Bottomley
parent 8800727ae8
commit c3c026ba5a
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ static int __devinit dmx3191d_probe_one(struct pci_dev *pdev,
out_free_irq:
free_irq(shost->irq, shost);
out_release_region:
release_region(shost->io_port, DMX3191D_REGION_LEN);
release_region(io, DMX3191D_REGION_LEN);
out_disable_device:
pci_disable_device(pdev);
out: