Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Chen Gang
On 02/03/2014 11:42 PM, Masami Hiramatsu wrote: > (2014/02/03 20:48), Chen Gang wrote: >> On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: >>> (2014/02/01 21:17), Chen Gang wrote: When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 20:48), Chen Gang wrote: > On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: >> (2014/02/01 21:17), Chen Gang wrote: >>> When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It >>> is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES >>> enabled area. >>>

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Chen Gang
On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: > (2014/02/01 21:17), Chen Gang wrote: >> When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It >> is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES >> enabled area. >> >> The related warning (allmodconfig under

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Chen Gang
On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: (2014/02/01 21:17), Chen Gang wrote: When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES enabled area. The related warning (allmodconfig under avr32):

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 20:48), Chen Gang wrote: On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: (2014/02/01 21:17), Chen Gang wrote: When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES enabled area. The related

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-03 Thread Chen Gang
On 02/03/2014 11:42 PM, Masami Hiramatsu wrote: (2014/02/03 20:48), Chen Gang wrote: On 02/02/2014 10:40 AM, Masami Hiramatsu wrote: (2014/02/01 21:17), Chen Gang wrote: When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-01 Thread Masami Hiramatsu
(2014/02/01 21:17), Chen Gang wrote: > When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It > is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES > enabled area. > > The related warning (allmodconfig under avr32): > > kernel/kprobes.c:1181: warning:

[PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-01 Thread Chen Gang
When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES enabled area. The related warning (allmodconfig under avr32): kernel/kprobes.c:1181: warning: 'cleanup_rp_inst' defined but not used Signed-off-by:

[PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-01 Thread Chen Gang
When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES enabled area. The related warning (allmodconfig under avr32): kernel/kprobes.c:1181: warning: 'cleanup_rp_inst' defined but not used Signed-off-by:

Re: [PATCH] kernel/kprobes.c: move cleanup_rp_inst() to where CONFIG_KRETPROBES enabled

2014-02-01 Thread Masami Hiramatsu
(2014/02/01 21:17), Chen Gang wrote: When CONFIG_KRETPROBES disabled, cleanup_rp_inst() is useless too. It is only called by unregister_kretprobes() which is in CONFIG_KRETPROBES enabled area. The related warning (allmodconfig under avr32): kernel/kprobes.c:1181: warning: