aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorQiujun Huang <[email protected]>2020-10-19 14:22:42 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-10-22 15:24:10 +0000
commit0a1754b2a97efa644aa6e84d1db5b17c42251483 (patch)
treef76149b7c21c1b15a29c64aa2724459b5f4f17f9 /lib/dump_stack.c
parenttracing: Remove __init from __trace_early_add_new_event() (diff)
downloadkernel-0a1754b2a97efa644aa6e84d1db5b17c42251483.tar.gz
kernel-0a1754b2a97efa644aa6e84d1db5b17c42251483.zip
ring-buffer: Return 0 on success from ring_buffer_resize()
We don't need to check the new buffer size, and the return value had confused resize_buffer_duplicate_size(). ... ret = ring_buffer_resize(trace_buf->buffer, per_cpu_ptr(size_buf->data,cpu_id)->entries, cpu_id); if (ret == 0) per_cpu_ptr(trace_buf->data, cpu_id)->entries = per_cpu_ptr(size_buf->data, cpu_id)->entries; ... Link: https://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: d60da506cbeb3 ("tracing: Add a resize function to make one buffer equivalent to another buffer") Signed-off-by: Qiujun Huang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions