aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR_D700.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-10 17:24:08 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:45:43 -0500
commit8800727ae8a20146981a9531ac833cb889666247 (patch)
tree231cc3977b9baac8a6aa375c5fdbd30890b535d5 /drivers/scsi/NCR_D700.c
parent72df0ebf95561694c06adca62e590e37ec549579 (diff)
[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 e993a7ba276f..577e63499778 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,
218 return 0; 218 return 0;
219 219
220 detect_failed: 220 detect_failed:
221 release_region(host->base, 64); 221 release_region(region, 64);
222 region_failed: 222 region_failed:
223 kfree(hostdata); 223 kfree(hostdata);
224 224