Re: [Qemu-devel] [PATCH v2 2/6] pci: Add comment for pci_add_capability2()

2017-06-05 Thread Mao Zhongyi
Hi, Marcel On 06/05/2017 09:34 PM, Marcel Apfelbaum wrote: On 02/06/2017 10:54, Mao Zhongyi wrote: Add a comment for pci_add_capability2() to explain the return value. This may help to make a correct return value check for its callers. Cc: m...@redhat.com Cc: mar...@redhat.com Cc:

Re: [Qemu-devel] [PATCH v2 2/6] pci: Add comment for pci_add_capability2()

2017-06-05 Thread Marcel Apfelbaum
On 02/06/2017 10:54, Mao Zhongyi wrote: Add a comment for pci_add_capability2() to explain the return value. This may help to make a correct return value check for its callers. Cc: m...@redhat.com Cc: mar...@redhat.com Cc: arm...@redhat.com Suggested-by: Markus Armbruster

[Qemu-devel] [PATCH v2 2/6] pci: Add comment for pci_add_capability2()

2017-06-02 Thread Mao Zhongyi
Add a comment for pci_add_capability2() to explain the return value. This may help to make a correct return value check for its callers. Cc: m...@redhat.com Cc: mar...@redhat.com Cc: arm...@redhat.com Suggested-by: Markus Armbruster Signed-off-by: Mao Zhongyi