diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-27 00:37:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-27 20:22:32 -0800 |
commit | 16a631733135a625dd8bc83207553aaf34c0a72c (patch) | |
tree | 62fac0fb16b11299eeee08f4a2077f32eed6129c /drivers/message/i2o | |
parent | 42aacfba6c2d1ee773615cfcfce0fe973d1d0f37 (diff) | |
download | blackbird-op-linux-16a631733135a625dd8bc83207553aaf34c0a72c.tar.gz blackbird-op-linux-16a631733135a625dd8bc83207553aaf34c0a72c.zip |
[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/message/i2o')
-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 66c03e882570..81ef306cb124 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); |