mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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 <[email protected]> Acked-by: Markus Lidel <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
42aacfba6c
commit
16a6317331
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue