Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>, Pekka Paalanen <pq@...>, Frederic Weisbecker <fweisbec@...>, Steven Rostedt <srostedt@...>
> The line count is very misleading. The 83 insertions and deletions where
but that indentation is completely unnecessary:
> - ret = ring_buffer_resize(max_tr.buffer, val);
the obvious solution is to add this to ring_buffer_resize():
if (!buffer)
return size;
resizing a non-existent buffer should succeed. A two-liner patch. Not
160 lines of flux.
Really, you need to think _hard_ how to avoid invasive-looking changes
in late -rc's, because every extra line to review uses up precious
review resources.