mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue