]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: eliminate double kfree in intel-iommu initialization
authorJulia Lawall <julia@diku.dk>
Thu, 29 May 2008 13:04:38 +0000 (15:04 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:54 +0000 (10:59 -0700)
commitcbe7d4e0e6528e2856d911aa5587761db946642f
treea0c53e4a499263ed26e8a2c273f3f906aec740ae
parentd1f26a0b3a5681c3e0377c1dc7ba78de0267676a
PCI: eliminate double kfree in intel-iommu initialization

The destination of goto error also does a kfree(g_iommus), so it is not
correct to do one here.

This was found using Coccinelle (http://www.emn.fr/x-info/coccinelle/).

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/intel-iommu.c