pci: Add comment for pci_add_capability2()
commiteacbc63211c18ad56eb5a3835683663462b131b2
authorMao Zhongyi <maozy.fnst@cn.fujitsu.com>
Tue, 27 Jun 2017 06:16:48 +0000 (27 14:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2017 19:29:48 +0000 (3 22:29 +0300)
treebbc9b65e5130b6b048dc839010d42ba5766742c7
parent673b0d7ccc34e9617d99ed4c29caa964f19a4c5a
pci: Add comment for pci_add_capability2()

Comments for pci_add_capability2() to explain the return
value. This may help to make a correct return value check
for its callers.

Cc: mst@redhat.com
Cc: marcel@redhat.com
Cc: armbru@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>
hw/pci/pci.c