projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42aacfb
)
[PATCH] drivers/message/i2o/pci.c: fix a NULL pointer dereference
author
Adrian Bunk
<bunk@stusta.de>
Sat, 26 Nov 2005 23:37:05 +0000
(
00:37
+0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 28 Nov 2005 04:22:32 +0000
(20:22 -0800)
The Coverity checker spotted this obvious NULL pointer dereference.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/message/i2o/pci.c
patch
|
blob
|
history
diff --git
a/drivers/message/i2o/pci.c
b/drivers/message/i2o/pci.c
index 66c03e8825703a408b21c239ff5e4781fab71ffc..81ef306cb1247c40ac2dbb6d1458f71f7b36453c 100644
(file)
--- a/
drivers/message/i2o/pci.c
+++ b/
drivers/message/i2o/pci.c
@@
-421,8
+421,8
@@
static int __devinit i2o_pci_probe(struct pci_dev *pdev,
i2o_pci_free(c);
free_controller:
- i2o_iop_free(c);
put_device(c->device.parent);
+ i2o_iop_free(c);
disable:
pci_disable_device(pdev);