[for-linus][PATCH 0/2] ring-buffer: Minor fixes for 5.10

From: Steven Rostedt
Date: Fri Oct 23 2020 - 10:18:12 EST



The success return value of ring_buffer_resize() is stated to be zero,
and checked that way. But it is incorrectly returning the size allocade.

Also, a documentation fix.


git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: e1981f75d398c0afe83c8ffa4e5864f037967409


Qiujun Huang (2):
ring-buffer: Return 0 on success from ring_buffer_resize()
ring-buffer: Update the description for ring_buffer_wait

----
kernel/trace/ring_buffer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)