[PATCH] kernel/resource: fix printk format warning

From: Alexander Beregalov
Date: Sat Oct 11 2008 - 16:58:38 EST




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

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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/