Mao Zhongyi 9a815774bb pci: Fix the wrong assertion.
pci_add_capability returns a strictly positive value on success,
correct asserts.

Cc: dmitry@daynix.com
Cc: jasowang@redhat.com
Cc: kraxel@redhat.com
Cc: alex.williamson@redhat.com
Cc: armbru@redhat.com
Cc: marcel@redhat.com
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-07-03 22:29:49 +03:00
..
2016-01-29 15:07:23 +00:00
2017-05-29 14:18:09 +02:00
2016-01-29 15:07:23 +00:00
2017-02-06 10:23:17 +01:00
2016-02-23 12:43:05 +00:00
2017-03-02 15:25:37 +00:00
2017-03-01 11:51:29 +04:00
2016-01-29 15:07:23 +00:00
2017-03-09 09:46:13 +01:00
2017-05-29 14:03:35 +02:00
2017-07-03 22:29:49 +03:00
2017-05-29 14:03:35 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2017-02-21 08:11:43 +01:00
2017-06-20 14:31:31 +02:00