On Mon, May 30, 2016 at 08:15:11AM +0200, Andrew Jones wrote: > > int main(void) > > { > > int ret = pci_probe(); > > > > report("PCI bus probing", ret); > > if (!ret) > > goto done; > > > > pci_print(); Would you like to make this dump optional? I.e. with --verbose command line argument? > > if (pci_find_dev(PCI_VENDOR_ID_REDHAT, > > PCI_DEVICE_ID_REDHAT_TEST) == PCIDEVADDR_INVALID) > > goto done; > > > > ret = pci_testdev(); > > report("PCI test device passed %d tests", > > ret >= PCI_TESTDEV_NUM_BARS * PCI_TESTDEV_NUM_TESTS, ret); > > > > done: > > return report_summary(); > > } > > Yup, that's fine. > > drew -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html