aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorPaul Mundt <[email protected]>2009-09-28 07:55:40 +0000
committerIngo Molnar <[email protected]>2009-10-01 09:53:44 +0000
commitf9ac5a69edee0ee7e06a05727226e3f275306c8d (patch)
tree76e93260f97e7f810faa811965032814ec36d678 /lib/fault-inject.c
parenttracing: Fix infinite recursion in ftrace_update_pid_func() (diff)
downloadkernel-f9ac5a69edee0ee7e06a05727226e3f275306c8d.tar.gz
kernel-f9ac5a69edee0ee7e06a05727226e3f275306c8d.zip
kmemtrace: Fix up tracer registration
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 <[email protected]> Acked-by: Pekka Enberg <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Cc: Eduard - Gabriel Munteanu <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Li Zefan <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions