Messages in this thread | | | Date | Mon, 28 Sep 2009 11:08:49 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH] kmemtrace: Fix up tracer registration. |
| |
On Mon, Sep 28, 2009 at 04:55:40PM +0900, Paul Mundt wrote: > Commit ddc1637af217dbd8bc51f30e6d24e84476a869a6 > ("kmemtrace: Print binary output only if 'bin' option is set") ended up > inverting the error detection logic. register_tracer() returns 0 on > success, which this change caused to treat as an error, resulting in: > > [ 0.132000] Warning: could not register the kmem tracer > > as well as bailing out of the initcall with an error value. This > restores the old logic. > > Signed-off-by: Paul Mundt <lethal@linux-sh.org> > Cc: Li Zefan <lizf@cn.fujitsu.com> > Cc: Pekka Enberg <penberg@cs.helsinki.fi> > Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> > Cc: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Thanks!
| |