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

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

[SCSI] sim710: fix a NULL pointer dereference



This patch fixes a NULL pointer dereference spotted by the Coverity
checker.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent a6becb08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ sim710_probe_common(struct device *dev, unsigned long base_addr,
 out_put_host:
	scsi_host_put(host);
 out_release:
	release_region(host->base, 64);
	release_region(base_addr, 64);
 out_free:
	kfree(hostdata);
 out: