public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial: remove warning from arch/x86/kernel/kprobes.c
@ 2009-03-25 12:33 Frank Seidel
  2009-03-25 12:38 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Seidel @ 2009-03-25 12:33 UTC (permalink / raw)
  To: linux kernel
  Cc: akpm, Masami Hiramatsu, Arjan van de Ven, Jim Keniston, tglx,
	mingo, hpa, x86, Frank Seidel

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:

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

end of thread, other threads:[~2009-03-25 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 12:33 [PATCH] trivial: remove warning from arch/x86/kernel/kprobes.c Frank Seidel
2009-03-25 12:38 ` Ingo Molnar
2009-03-25 12:43   ` Frank Seidel
2009-03-25 13:15     ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox