diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-26 23:37:05 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-28 04:22:32 (GMT) |
commit | 16a631733135a625dd8bc83207553aaf34c0a72c (patch) | |
tree | 62fac0fb16b11299eeee08f4a2077f32eed6129c /drivers | |
parent | 42aacfba6c2d1ee773615cfcfce0fe973d1d0f37 (diff) | |
download | linux-fsl-qoriq-16a631733135a625dd8bc83207553aaf34c0a72c.tar.xz |
[PATCH] drivers/message/i2o/pci.c: fix a NULL pointer dereference
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/message/i2o/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 66c03e8..81ef306 100644 --- 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); |