Re: [PATCH -next] ring-buffer: Fix ring buffer size in rb_write_something

2019-03-25 Thread Steven Rostedt
On Sun, 23 Sep 2018 12:11:33 + YueHaibing wrote: > 'cnt' should be used to calculate ring buffer size rather than data->cnt I just found this patch in my inbox (was traveling at the time. But now I have patchwork attached to my INBOX so patches like these shouldn't be missed anymore!) Yes,

[PATCH -next] ring-buffer: Fix ring buffer size in rb_write_something

2018-09-23 Thread YueHaibing
'cnt' should be used to calculate ring buffer size rather than data->cnt Signed-off-by: YueHaibing --- kernel/trace/ring_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 65bd461..53538c3 100644 --- a/kernel