diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-10 23:24:08 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 09:45:43 -0600 |
commit | 8800727ae8a20146981a9531ac833cb889666247 (patch) | |
tree | 231cc3977b9baac8a6aa375c5fdbd30890b535d5 /drivers/scsi/NCR_D700.c | |
parent | 72df0ebf95561694c06adca62e590e37ec549579 (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.c | 2 |
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, return 0; detect_failed: - release_region(host->base, 64); + release_region(region, 64); region_failed: kfree(hostdata); |