Re: [PATCH] tracing: use seq_buf_used() in seq_buf_to_user() instead of len

2015-12-23 Thread Steven Rostedt
On Mon, 16 Nov 2015 12:57:28 -0700 Jerry Snitselaar wrote: > commit 5ac48378414d ("tracing: Use trace_seq_used() and seq_buf_used() > instead of len") changed the tracing code to use trace_seq_used() and > seq_buf_used() instead of using the seq_buf len directly to avoid > overflow issues, but mi

[PATCH] tracing: use seq_buf_used() in seq_buf_to_user() instead of len

2015-11-16 Thread Jerry Snitselaar
commit 5ac48378414d ("tracing: Use trace_seq_used() and seq_buf_used() instead of len") changed the tracing code to use trace_seq_used() and seq_buf_used() instead of using the seq_buf len directly to avoid overflow issues, but missed a spot in seq_buf_to_user() that makes use of s->len. Cleaned u