]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitece6763419f44ed72f4fc78752e5f5364df1794b
treea0c53e4a499263ed26e8a2c273f3f906aec740ae
parent6a3f084971bad985722afe25b16a5c0a990cea75
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