Jiri Slaby
0bf01c3c86
PCI: hotplug/cpcihp, fix pci device refcounting
...
Stanse found an ommitted pci_dev_put on one error path in
cpcihp_generic_init. The path is taken on !dev, but also when
dev->hdr_type != PCI_HEADER_TYPE_BRIDGE. However it omits to
pci_dev_put on the latter.
As it is fine to pass NULL to pci_dev_put, put it in there
uncoditionally.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Scott Murray <scott@spiteful.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-02-22 16:17:02 -08:00
..
2009-12-11 12:18:16 -08:00
2010-02-22 16:15:17 -08:00
2010-01-31 21:43:32 -05:00
2009-11-24 21:31:10 -05:00
2009-11-04 13:06:39 -08:00
2009-07-12 12:22:34 -07:00
2008-10-22 16:42:39 -07:00
2008-10-22 16:42:39 -07:00
2010-02-22 16:17:02 -08:00
2010-02-22 16:15:17 -08:00
2010-02-22 16:15:17 -08:00
2009-06-11 12:04:08 -07:00
2009-06-11 12:04:16 -07:00
2009-07-12 12:22:34 -07:00
2010-02-22 16:15:17 -08:00
2009-03-26 16:00:34 -07:00
2010-02-22 16:15:17 -08:00
2010-02-22 16:16:58 -08:00
2009-12-04 15:18:01 -08:00
2008-10-22 16:42:41 -07:00
2009-06-18 13:57:24 -07:00
2009-11-04 08:47:14 -08:00
2010-02-22 16:15:17 -08:00
2009-11-24 15:25:15 -08:00
2010-02-22 16:15:17 -08:00
2010-02-22 16:16:57 -08:00
2010-02-22 16:15:17 -08:00
2009-09-17 10:06:31 -07:00
2009-11-24 15:25:15 -08:00
2009-06-16 14:30:12 -07:00
2009-11-24 15:25:18 -08:00
2008-11-06 09:31:52 +11:00
2008-06-10 14:37:03 -07:00
2010-02-22 16:15:20 -08:00
2008-10-20 10:54:27 -07:00
2008-10-22 16:42:42 -07:00
2008-10-20 10:54:27 -07:00
2009-08-07 10:36:27 -07:00
2010-02-22 16:15:17 -08:00
2010-02-22 16:16:57 -08:00
2010-02-22 16:15:17 -08:00
2009-09-14 17:39:11 -07:00
2010-02-22 16:15:17 -08:00