Commit 8800727a authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[SCSI] NCR_D700: fix a NULL dereference

The Coverity checker spotted this NULL dereference.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 72df0ebf
......@@ -218,7 +218,7 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
return 0;
detect_failed:
release_region(host->base, 64);
release_region(region, 64);
region_failed:
kfree(hostdata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment