Messages in this thread | | | Date | Mon, 21 Dec 2009 16:47:59 +0530 | From | Ananth N Mavinakayanahalli <> | Subject | Re: kprobes: get rid of distinct type warning |
| |
On Mon, Dec 21, 2009 at 11:15:49AM +0100, Heiko Carstens wrote: > From: Heiko Carstens <heiko.carstens@de.ibm.com> > > Every time I see this: > > kernel/kprobes.c: In function 'register_kretprobe': > kernel/kprobes.c:1038: warning: comparison of distinct pointer types lacks a cast > > I'm wondering if something changed in common code and we need to do > something for s390. Apparently that's not the case. > Let's get rid of this annoying warning. > > Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> > Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Thanks Heiko. I'd tested this on x86 and powerpc and neither throws the warning. No wonder I missed it.
| |