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:
8800727
)
[SCSI] dmx3191d: fix a NULL pointer dereference
author
Adrian Bunk
<bunk@stusta.de>
Fri, 10 Mar 2006 22:24:21 +0000
(23:24 +0100)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sun, 12 Mar 2006 15:45:56 +0000
(09:45 -0600)
This patch fixes a NULL pointer dereference spotted by the Coverity
checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/dmx3191d.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/dmx3191d.c
b/drivers/scsi/dmx3191d.c
index 7905b904e01d8dae9351b4600bda767ad400a630..38e4010eff96e7dcc081f221d7ec534ff5cb7aa7 100644
(file)
--- a/
drivers/scsi/dmx3191d.c
+++ b/
drivers/scsi/dmx3191d.c
@@
-116,7
+116,7
@@
static int __devinit dmx3191d_probe_one(struct pci_dev *pdev,
out_free_irq:
free_irq(shost->irq, shost);
out_release_region:
- release_region(
shost->io_port
, DMX3191D_REGION_LEN);
+ release_region(
io
, DMX3191D_REGION_LEN);
out_disable_device:
pci_disable_device(pdev);
out: