aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-17 12:02:23 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-18 12:41:49 -0500
commitcc0f89c4a426fcd6400a89e9e34e4a8851abef76 (patch)
tree4d588c2cb0fdf6046e61f5be0b08d307b86a2dc8 /arch/x86/pci
parent55cb8cd45e0600df1473489518d7f12ce1bbe973 (diff)
pci/xen: Cleanup: convert int** to int[]
Cleanup code. Cosmetic change to make the code look easier to read. Reviewed-by: Ian Campbell <Ian.Campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r--arch/x86/pci/xen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index 6432f751ee4f..30fdd09dea05 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -150,9 +150,9 @@ static int xen_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
150 return -ENOMEM; 150 return -ENOMEM;
151 151
152 if (type == PCI_CAP_ID_MSIX) 152 if (type == PCI_CAP_ID_MSIX)
153 ret = xen_pci_frontend_enable_msix(dev, &v, nvec); 153 ret = xen_pci_frontend_enable_msix(dev, v, nvec);
154 else 154 else
155 ret = xen_pci_frontend_enable_msi(dev, &v); 155 ret = xen_pci_frontend_enable_msi(dev, v);
156 if (ret) 156 if (ret)
157 goto error; 157 goto error;
158 i = 0; 158 i = 0;