From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
Cc: Geert Uytterhoeven
<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH V2] iommu: Use %pa and %zx instead of casting
Date: Mon, 24 Jun 2013 12:32:34 +0200 [thread overview]
Message-ID: <20130624103233.GA2778@8bytes.org> (raw)
In-Reply-To: <1372015744.3137.74.camel@joe-AO722>
On Sun, Jun 23, 2013 at 12:29:04PM -0700, Joe Perches wrote:
> printk supports using %pa for phys_addr_t and
> %zx for size_t so use those instead of %lx and
> casts to unsigned long.
>
> Other miscellaneous changes around this:
>
> Always use 0x%zx for size instead of one use of decimal.
> Coalesce format and align arguments.
>
> Signed-off-by: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
Applied to core, thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Joe Perches <joe@perches.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
Alex Williamson <alex.williamson@redhat.com>,
iommu@lists.linux-foundation.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V2] iommu: Use %pa and %zx instead of casting
Date: Mon, 24 Jun 2013 12:32:34 +0200 [thread overview]
Message-ID: <20130624103233.GA2778@8bytes.org> (raw)
In-Reply-To: <1372015744.3137.74.camel@joe-AO722>
On Sun, Jun 23, 2013 at 12:29:04PM -0700, Joe Perches wrote:
> printk supports using %pa for phys_addr_t and
> %zx for size_t so use those instead of %lx and
> casts to unsigned long.
>
> Other miscellaneous changes around this:
>
> Always use 0x%zx for size instead of one use of decimal.
> Coalesce format and align arguments.
>
> Signed-off-by: Joe Perches <joe@perches.com>
Applied to core, thanks.
next prev parent reply other threads:[~2013-06-24 10:32 UTC|newest]
Thread overview: 12+ 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-21 15:33 ` Alex Williamson
[not found] ` <20130621153331.2881.35589.stgit-xdHQ/5r00wBBDLzU/O5InQ@public.gmane.org>
2013-06-23 11:49 ` Joerg Roedel
2013-06-23 11:49 ` Joerg Roedel
[not found] ` <20130623114930.GA2557-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-06-23 17:43 ` [PATCH] iommu: Use %zx instead %lx and cast to unsigned long Joe Perches
2013-06-23 17:43 ` Joe Perches
2013-06-23 19:14 ` Geert Uytterhoeven
[not found] ` <CAMuHMdWb4WK9ZuJ-vwdywgDSSbZTnnS1emF02VzrUgrSt5VKsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-23 19:29 ` [PATCH V2] iommu: Use %pa and %zx instead of casting Joe Perches
2013-06-23 19:29 ` Joe Perches
2013-06-23 19:38 ` Geert Uytterhoeven
2013-06-24 10:32 ` Joerg Roedel [this message]
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=20130624103233.GA2778@8bytes.org \
--to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
--cc=geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.