Jan Beulich e6aa70a0d5 xen-pciback: properly clean up after calling pcistub_device_find()
As the function calls pcistub_device_get() before returning non-NULL,
its callers need to take care of calling pcistub_device_put() on
(mostly, but not exclusively) error paths.

Otoh, the function already guarantees that the 'dev' member is non-NULL
upon successful return, so callers do not need to check for this a
second time.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-09-25 08:53:27 -04:00
..
2011-12-16 13:29:39 -05:00
2008-12-16 21:50:31 +01:00
2012-04-19 15:12:49 -04:00
2012-09-10 15:34:56 -04:00
2011-12-16 13:29:31 -05:00
2012-03-22 20:16:14 -07:00