mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +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
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user