linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iommu: Fix compiler warning on pr_debug
Date: Sun, 23 Jun 2013 13:49:31 +0200	[thread overview]
Message-ID: <20130623114930.GA2557@8bytes.org> (raw)
In-Reply-To: <20130621153331.2881.35589.stgit@bling.home>

On Fri, Jun 21, 2013 at 09:33:50AM -0600, Alex Williamson wrote:
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> ---
>  drivers/iommu/iommu.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
> index 4b0b56b..ab1fa19 100644
> --- a/drivers/iommu/iommu.c
> +++ b/drivers/iommu/iommu.c
> @@ -820,7 +820,7 @@ int iommu_map(struct iommu_domain *domain, unsigned long iova,
>  		size_t pgsize = iommu_pgsize(domain, iova | paddr, size);
>  
>  		pr_debug("mapping: iova 0x%lx pa 0x%lx pgsize %lu\n", iova,
> -					(unsigned long)paddr, pgsize);
> +			 (unsigned long)paddr, (unsigned long)pgsize);
>  
>  		ret = domain->ops->map(domain, iova, paddr, pgsize, prot);
>  		if (ret)

Applied to core branch, thanks.



  reply	other threads:[~2013-06-23 11:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 15:33 [PATCH] iommu: Fix compiler warning on pr_debug Alex Williamson
2013-06-23 11:49 ` Joerg Roedel [this message]
2013-06-23 17:43   ` [PATCH] iommu: Use %zx instead %lx and cast to unsigned long Joe Perches
2013-06-23 19:14     ` Geert Uytterhoeven
2013-06-23 19:29       ` [PATCH V2] iommu: Use %pa and %zx instead of casting Joe Perches
2013-06-23 19:38         ` Geert Uytterhoeven
2013-06-24 10:32         ` Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130623114930.GA2557@8bytes.org \
    --to=joro@8bytes.org \
    --cc=alex.williamson@redhat.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).