Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>, Pekka Paalanen <pq@...>, Frederic Weisbecker <fweisbec@...>, Steven Rostedt <srostedt@...>
but that indentation is completely unnecessary:
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.
Ingo
--