From: "Hans J. Koch" <hjk@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH] Fix a compile warning in arch/x86/mm/init_64.c
Date: Thu, 10 Jul 2008 00:52:02 +0200 [thread overview]
Message-ID: <20080709225202.GA3232@local> (raw)
This fixes a minor compile warning in arch/x86/mm/init_64.c about passing a
wrong pointer type as argument 2 to find_e820_area_size().
Tested with 2.6.26-rc9.
Signed-of-by: Hans J. Koch <hjk@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.26-rc/arch/x86/mm/init_64.c
===================================================================
--- linux-2.6.26-rc.orig/arch/x86/mm/init_64.c 2008-07-10 00:18:52.000000000 +0200
+++ linux-2.6.26-rc/arch/x86/mm/init_64.c 2008-07-10 00:25:43.000000000 +0200
@@ -506,7 +506,7 @@
static void __init early_memtest(unsigned long start, unsigned long end)
{
- u64 t_start, t_size;
+ unsigned long t_start, t_size;
unsigned pattern;
if (!memtest_pattern)
next reply other threads:[~2008-07-09 22:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 22:52 Hans J. Koch [this message]
2008-07-18 17:26 ` [PATCH] Fix a compile warning in arch/x86/mm/init_64.c Ingo Molnar
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=20080709225202.GA3232@local \
--to=hjk@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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