mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
vPCI: fix MSI-X PBA read/write gprintk()s
%pp wants the address of an SBDF, not that of a PCI device.
Fixes: b4f2116060 ("vpci/msix: fix PBA accesses")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
1 parent
15a0578ca4
commit
d3f61beea4
1 file changed
+2
-2
@@ -247,7 +247,7 @@ static int cf_check msix_read(
|
||||
{
|
||||
gprintk(XENLOG_WARNING,
|
||||
"%pp: unable to map MSI-X PBA, report all pending\n",
|
||||
msix->pdev);
|
||||
&msix->pdev->sbdf);
|
||||
return X86EMUL_OKAY;
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ static int cf_check msix_write(
|
||||
/* Unable to map the PBA, ignore write. */
|
||||
gprintk(XENLOG_WARNING,
|
||||
"%pp: unable to map MSI-X PBA, write ignored\n",
|
||||
msix->pdev);
|
||||
&msix->pdev->sbdf);
|
||||
return X86EMUL_OKAY;
|
||||
}
|
||||
|
||||
|
||||