commit | 8800727ae8a20146981a9531ac833cb889666247 | [log] [tgz] |
---|---|---|
author | Adrian Bunk <bunk@stusta.de> | Fri Mar 10 23:24:08 2006 +0100 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Sun Mar 12 09:45:43 2006 -0600 |
tree | 231cc3977b9baac8a6aa375c5fdbd30890b535d5 | |
parent | 72df0ebf95561694c06adca62e590e37ec549579 [diff] [blame] |
[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>
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 @@ return 0; detect_failed: - release_region(host->base, 64); + release_region(region, 64); region_failed: kfree(hostdata);