[SCSI] NCR_D700: fix a NULL dereference
The Coverity checker spotted this NULL dereference. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
72df0ebf95
commit
8800727ae8
|
@ -218,7 +218,7 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
detect_failed:
|
detect_failed:
|
||||||
release_region(host->base, 64);
|
release_region(region, 64);
|
||||||
region_failed:
|
region_failed:
|
||||||
kfree(hostdata);
|
kfree(hostdata);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue