While there fix the indentation. Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> --- xen/drivers/passthrough/pci.c | 4 ++-- xen/include/xen/pci.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xen/drivers/passthrough/pci.c b/xen/drivers/passthrough/pci.c index 74829e5748..469dfc6c3d 100644 --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -532,8 +532,8 @@ struct pci_dev *pci_get_real_pdev(int seg, int bus, int devfn) return pdev; } -struct pci_dev *pci_get_pdev_by_domain( - struct domain *d, int seg, int bus, int devfn) +struct pci_dev *pci_get_pdev_by_domain(const struct domain *d, int seg, + int bus, int devfn) { struct pci_seg *pseg = get_pseg(seg); struct pci_dev *pdev = NULL; diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index da1bd22223..43f21251a5 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -129,8 +129,8 @@ int pci_ro_device(int seg, int bus, int devfn); int pci_hide_device(int bus, int devfn); struct pci_dev *pci_get_pdev(int seg, int bus, int devfn); struct pci_dev *pci_get_real_pdev(int seg, int bus, int devfn); -struct pci_dev *pci_get_pdev_by_domain( - struct domain *, int seg, int bus, int devfn); +struct pci_dev *pci_get_pdev_by_domain(const struct domain *, int seg, + int bus, int devfn); void pci_check_disable_device(u16 seg, u8 bus, u8 devfn); uint8_t pci_conf_read8( -- 2.11.0 (Apple Git-81) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel