Files
i2som-imx-linux/kernel
Steven Rostedt 51e8eac1d5 ring-buffer: Fix NULL pointer if rb_set_head_page() fails
commit 54f7be5b83 upstream.

The function rb_set_head_page() searches the list of ring buffer
pages for a the page that has the HEAD page flag set. If it does
not find it, it will do a WARN_ON(), disable the ring buffer and
return NULL, as this should never happen.

But if this bug happens to happen, not all callers of this function
can handle a NULL pointer being returned from it. That needs to be
fixed.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-03 03:33:24 +00:00
..
2011-07-26 16:49:45 -07:00
2013-01-03 03:33:05 +00:00
2011-09-23 12:05:29 +05:30
2012-10-10 03:30:50 +01:00
2011-12-09 07:50:28 -08:00
2013-01-03 03:33:08 +00:00
2012-07-12 04:31:59 +01:00
2011-10-31 17:30:44 -07:00
2013-01-03 03:32:48 +00:00
2011-08-12 16:21:35 -05:00
2011-09-19 17:04:37 -07:00