Re: [Qemu-devel] [PATCH v6 3/9] pci: Fix the wrong assertion.

2017-06-21 Thread Marcel Apfelbaum
On 20/06/2017 14:57, Mao Zhongyi wrote: pci_add_capability returns a strictly positive value on success, correct asserts. Cc: dmi...@daynix.com Cc: jasow...@redhat.com Cc: kra...@redhat.com Cc: alex.william...@redhat.com Cc: arm...@redhat.com Cc: mar...@redhat.com Signed-off-by: Mao Zhongyi ---

[Qemu-devel] [PATCH v6 3/9] pci: Fix the wrong assertion.

2017-06-20 Thread Mao Zhongyi
pci_add_capability returns a strictly positive value on success, correct asserts. Cc: dmi...@daynix.com Cc: jasow...@redhat.com Cc: kra...@redhat.com Cc: alex.william...@redhat.com Cc: arm...@redhat.com Cc: mar...@redhat.com Signed-off-by: Mao Zhongyi --- hw/net/e1000e.c | 2 +- hw/net/eepro10