Re: [Xen-devel] [PATCH] IOMMU/PCI: properly annotate setup_one_hwdom_device()
On Thu, Aug 10, 2017 at 01:25:35AM -0600, Jan Beulich wrote: > Its sole caller is __hwdom_init, so it can be such itself, too. > > Signed-off-by: Jan BeulichReviewed-by: Roger Pau Monné Had the same patch in my queue, but you beat it to me. Thanks, Roger. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
Re: [Xen-devel] [PATCH] IOMMU/PCI: properly annotate setup_one_hwdom_device()
On 10/08/2017 08:25, Jan Beulich wrote: > Its sole caller is __hwdom_init, so it can be such itself, too. > > Signed-off-by: Jan BeulichAcked-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
[Xen-devel] [PATCH] IOMMU/PCI: properly annotate setup_one_hwdom_device()
Its sole caller is __hwdom_init, so it can be such itself, too. Signed-off-by: Jan Beulich--- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1026,8 +1026,8 @@ struct setup_hwdom { int (*handler)(u8 devfn, struct pci_dev *); }; -static void setup_one_hwdom_device(const struct setup_hwdom *ctxt, - struct pci_dev *pdev) +static void __hwdom_init setup_one_hwdom_device(const struct setup_hwdom *ctxt, +struct pci_dev *pdev) { u8 devfn = pdev->devfn; ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel