All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel/resource: fix printk format warning
@ 2008-10-11 20:58 Alexander Beregalov
  2008-10-11 21:53 ` Yinghai Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2008-10-11 20:58 UTC (permalink / raw)
  To: yhlu.kernel, mingo, linux-kernel



Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 kernel/resource.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/resource.c b/kernel/resource.c
index 414d6fc..cfe0933 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -550,8 +550,8 @@ static void __init __reserve_region_with_split(struct resource *root,
 
 	if (!res) {
 		printk(KERN_DEBUG "    __reserve_region_with_split: (%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
-			 conflict->name, conflict->start, conflict->end,
-			 name, start, end);
+			 conflict->name, (unsigned long long)conflict->start, (unsigned long long)conflict->end,
+			 name, (unsigned long long)start, (unsigned long long)end);
 
 		/* failed, split and try again */
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel/resource: fix printk format warning
  2008-10-11 20:58 [PATCH] kernel/resource: fix printk format warning Alexander Beregalov
@ 2008-10-11 21:53 ` Yinghai Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Yinghai Lu @ 2008-10-11 21:53 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: mingo, linux-kernel

On Sat, Oct 11, 2008 at 1:58 PM, Alexander Beregalov
<a.beregalov@gmail.com> wrote:
>
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
>
>  kernel/resource.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/resource.c b/kernel/resource.c
> index 414d6fc..cfe0933 100644
> --- a/kernel/resource.c
> +++ b/kernel/resource.c
> @@ -550,8 +550,8 @@ static void __init __reserve_region_with_split(struct resource *root,
>
>        if (!res) {
>                printk(KERN_DEBUG "    __reserve_region_with_split: (%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
> -                        conflict->name, conflict->start, conflict->end,
> -                        name, start, end);
> +                        conflict->name, (unsigned long long)conflict->start, (unsigned long long)conflict->end,
> +                        name, (unsigned long long)start, (unsigned long long)end);
>
>                /* failed, split and try again */

Ingo should already have one patch in tip to remove that print out.

YH

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-11 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-11 20:58 [PATCH] kernel/resource: fix printk format warning Alexander Beregalov
2008-10-11 21:53 ` Yinghai Lu

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.