public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] ring-buffer: Minor fixes for 5.10
@ 2020-10-23 14:16 Steven Rostedt
  2020-10-23 14:16 ` [for-linus][PATCH 1/2] ring-buffer: Return 0 on success from ring_buffer_resize() Steven Rostedt
  2020-10-23 14:16 ` [for-linus][PATCH 2/2] ring-buffer: Update the description for ring_buffer_wait Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2020-10-23 14:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, Andrew Morton, Qiujun Huang


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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-23 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-23 14:16 [for-linus][PATCH 0/2] ring-buffer: Minor fixes for 5.10 Steven Rostedt
2020-10-23 14:16 ` [for-linus][PATCH 1/2] ring-buffer: Return 0 on success from ring_buffer_resize() Steven Rostedt
2020-10-23 14:16 ` [for-linus][PATCH 2/2] ring-buffer: Update the description for ring_buffer_wait Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox