projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72df0eb
)
[SCSI] NCR_D700: fix a NULL dereference
author
Adrian Bunk
<bunk@stusta.de>
Fri, 10 Mar 2006 22:24:08 +0000
(23:24 +0100)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sun, 12 Mar 2006 15:45:43 +0000
(09:45 -0600)
The Coverity checker spotted this NULL dereference.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/NCR_D700.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/NCR_D700.c
b/drivers/scsi/NCR_D700.c
index e993a7ba276f79992985b29770e2706d16d15c10..577e6349977884dcad39f69d51cc1e9399b3f798 100644
(file)
--- a/
drivers/scsi/NCR_D700.c
+++ b/
drivers/scsi/NCR_D700.c
@@
-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);