[PATCH] drivers/video: Add missing pci_dev_get

2008-01-04 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> pci_get_device does a pci_dev_get, so pci_dev_put needs to be called in an error case The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // @exists@ type T1,T2; identifier E; statement S,S1; expression

[PATCH] drivers/video: Add missing pci_dev_get

2008-01-04 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] pci_get_device does a pci_dev_get, so pci_dev_put needs to be called in an error case The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // smpl @exists@ type T1,T2; identifier E; statement S,S1; expression