Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);