On Fri, Nov 30, 2018 at 03:53:29AM -0700, Jan Beulich wrote: > >>> On 29.11.18 at 18:11, <roger....@citrix.com> wrote: > > @@ -397,6 +426,7 @@ static struct pci_dev *alloc_pdev(struct pci_seg *pseg, > > u8 bus, u8 devfn) > > } > > > > check_pdev(pdev); > > + apply_quirks(pdev); > > At which point putting the small loop into check_pdev() might be as > good as adding a new function.
I will add a new function, check_pdev takes a const pci_dev, and I don't want to deconst it in order to set the quirk. Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel