mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
W1: ioremap balanced with iounmap
ioremap must be balanced with iounmap in error path. Please consider for 2.6.19. Signed-off-by: Amol Lad <[email protected]> Signed-off-by: Evgeniy Polyakov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
237ee312e1
commit
e45413eb70
1 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,8 @@ static int __devinit matrox_w1_probe(struct pci_dev *pdev, const struct pci_devi
|
|||
return 0;
|
||||
|
||||
err_out_free_device:
|
||||
if (dev->virt_addr)
|
||||
iounmap(dev->virt_addr);
|
||||
kfree(dev);
|
||||
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue