login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
16
Re: [PATCH] kprobe: missing cast
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Ananth N Mavinakayanahalli <ananth@...>
To: Stephen Hemminger <stephen.hemminger@...>
Cc: <prasanna@...>, <anil.s.keshavamurthy@...>, <linux-kernel@...>
Subject:
Re: [PATCH] kprobe: missing cast
Date: Wednesday, January 16, 2008 - 12:52 am
On Mon, Jan 14, 2008 at 07:21:55PM -0800, Stephen Hemminger wrote:
quoted text
> Fix warning from missing cast, maybe a result of the x86 merge? > > Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Thanks Stephen! Ananth
quoted text
> > CC arch/x86/kernel/kprobes_32.o > arch/x86/kernel/kprobes_32.c: In function ‘longjmp_break_handler’: > arch/x86/kernel/kprobes_32.c:729: warning: comparison of distinct pointer types lacks a cast > > --- a/arch/x86/kernel/kprobes_32.c 2008-01-14 19:18:01.000000000 -0800 > +++ b/arch/x86/kernel/kprobes_32.c 2008-01-14 19:18:08.000000000 -0800 > @@ -726,7 +726,7 @@ int __kprobes longjmp_break_handler(stru > struct jprobe *jp = container_of(p, struct jprobe, kp); > > if ((addr > (u8 *) jprobe_return) && (addr < (u8 *) jprobe_return_end)) { > - if (®s->esp != kcb->jprobe_saved_esp) { > + if ((unsigned long *) ®s->esp != kcb->jprobe_saved_esp) { > struct pt_regs *saved_regs = &kcb->jprobe_saved_regs; > printk("current esp %p does not match saved esp %p\n", > ®s->esp, kcb->jprobe_saved_esp);
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] kprobe: missing cast
, Stephen Hemminger
, (Mon Jan 14, 11:21 pm)
Re: [PATCH] kprobe: missing cast
, Ananth N Mavinakayanahalli...
, (Wed Jan 16, 12:52 am)
Re: [PATCH] kprobe: missing cast
, Harvey Harrison
, (Wed Jan 16, 12:58 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Linus Torvalds
Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [klibc] [patch] import socket defines
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
647 guests
online.
Online users
Nelson
genesiscoom
Syndicate