From: Frank Seidel <fseidel@kernel.org>
To: linux kernel <linux-kernel@vger.kernel.org>
Cc: akpm@linux-foundation.org, Masami Hiramatsu <mhiramat@redhat.com>,
Arjan van de Ven <arjan@infradead.org>,
Jim Keniston <jkenisto@us.ibm.com>,
tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
x86@kernel.org, Frank Seidel <frank@f-seidel.de>
Subject: [PATCH] trivial: remove warning from arch/x86/kernel/kprobes.c
Date: Wed, 25 Mar 2009 13:33:58 +0100 [thread overview]
Message-ID: <49CA24B6.103@kernel.org> (raw)
From: Frank Seidel <frank@f-seidel.de>
Remove warning (makes integer from pointer without a cast)
from build messages.
Signed-off-by: Frank Seidel <frank@f-seidel.de>
---
arch/x86/kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/kernel/kprobes.c
+++ b/arch/x86/kernel/kprobes.c
@@ -193,7 +193,7 @@ static int __kprobes can_boost(kprobe_op
kprobe_opcode_t opcode;
kprobe_opcode_t *orig_opcodes = opcodes;
- if (search_exception_tables(opcodes))
+ if (search_exception_tables((unsigned long)opcodes))
return 0; /* Page fault may occur on this address. */
retry:
next reply other threads:[~2009-03-25 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 12:33 Frank Seidel [this message]
2009-03-25 12:38 ` [PATCH] trivial: remove warning from arch/x86/kernel/kprobes.c Ingo Molnar
2009-03-25 12:43 ` Frank Seidel
2009-03-25 13:15 ` Masami Hiramatsu
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=49CA24B6.103@kernel.org \
--to=fseidel@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=frank@f-seidel.de \
--cc=hpa@zytor.com \
--cc=jkenisto@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@redhat.com \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox