[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080904121627.bc182da7.akpm@linux-foundation.org>
Date: Thu, 4 Sep 2008 12:16:27 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: yhlu.kernel@...il.com, tglx@...utronix.de, hpa@...or.com,
jbarnes@...tuousgeek.org, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: split e820 reserved entries record to late v4 -
fix v7
On Thu, 4 Sep 2008 21:04:57 +0200
Ingo Molnar <mingo@...e.hu> wrote:
> + printk(KERN_DEBUG " __reserve_region_with_split: (%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
> + conflict->name, conflict->start, conflict->end,
> + name, start, end);
start and end have type resource_size_t. Such types CANNOT be printed
unless cast to a known type.
Because there is a %s following an incorrect %lld, the above code will
crash the machine.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists