Hello Joerg,
On 01/26/2015 05:50 PM, Joerg Roedel wrote: > From: Joerg Roedel <[email protected]> > > Fix two compile warnings. > > Signed-off-by: Joerg Roedel <[email protected]> > --- > drivers/iommu/fsl_pamu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c > index 80ac68d..e63904b 100644 > --- a/drivers/iommu/fsl_pamu.c > +++ b/drivers/iommu/fsl_pamu.c > @@ -352,7 +352,7 @@ int pamu_config_ppaace(int liodn, phys_addr_t win_addr, > phys_addr_t win_size, > unsigned long fspi; > > if ((win_size & (win_size - 1)) || win_size < PAMU_PAGE_SIZE) { > - pr_debug("window size too small or not a power of two %llx\n", > win_size); > + pr_debug("window size too small or not a power of two %pa\n", > &win_size); > return -EINVAL; > } Somewhere around line 1124 there another opportunity for this fix: > 1124 dev_dbg(&pdev->dev, "ppaact virt=%p phys=0x%llx\n", ppaact, > 1125 (unsigned long long) ppaact_phys); Cheers, > @@ -1138,7 +1138,7 @@ static int __init fsl_pamu_probe(struct platform_device > *pdev) > > if (csd_port_id) { > dev_dbg(&pdev->dev, "creating coherency subdomain at address " > - "0x%llx, size %zu, port id 0x%08x", ppaact_phys, > + "%pa, size %zu, port id 0x%08x", &ppaact_phys, > mem_size, csd_port_id); > > ret = create_csd(ppaact_phys, mem_size, csd_port_id); _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
