aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2014-11-14 11:42:06 -0500
committerSteven Rostedt <[email protected]>2014-11-19 15:25:48 -0500
commit8e2e095cbecad21078332cd83ae7e61ecfe12c59 (patch)
tree2e90e347e207d85ec483c7aef8355ab89424843b /net/lapb/lapb_timer.c
parentdba39448abb7340f86ae9b062f99d7acacb5d2d2 (diff)
tracing: Fix return value of ftrace_raw_output_prep()
If the trace_seq of ftrace_raw_output_prep() is full this function returns TRACE_TYPE_PARTIAL_LINE, otherwise it returns zero. The problem is that TRACE_TYPE_PARTIAL_LINE happens to be zero! The thing is, the caller of ftrace_raw_output_prep() expects a success to be zero. Change that to expect it to be TRACE_TYPE_HANDLED. Link: http://lkml.kernel.org/r/[email protected] Reminded-by: Petr Mladek <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions