summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR_D700.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-10 23:24:08 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 09:45:43 -0600
commit8800727ae8a20146981a9531ac833cb889666247 (patch)
tree231cc3977b9baac8a6aa375c5fdbd30890b535d5 /drivers/scsi/NCR_D700.c
parent72df0ebf95561694c06adca62e590e37ec549579 (diff)
downloadop-kernel-dev-8800727ae8a20146981a9531ac833cb889666247.zip
op-kernel-dev-8800727ae8a20146981a9531ac833cb889666247.tar.gz
[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>
Diffstat (limited to 'drivers/scsi/NCR_D700.c')
-rw-r--r--drivers/scsi/NCR_D700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/NCR_D700.c b/drivers/scsi/NCR_D700.c
index e993a7b..577e634 100644
--- 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);
OpenPOWER on IntegriCloud