From: Steven Rostedt Date: Wed, 6 May 2009 16:40:51 +0000 (-0400) Subject: ring-buffer: check for failed allocation in ring buffer benchmark X-Git-Tag: v2.6.31-rc1~401^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00c81a58c5b4e0de14ee33bfbc3d71c90f69f9ea;p=pandora-kernel.git ring-buffer: check for failed allocation in ring buffer benchmark The result of the allocation of the ring buffer read page in the ring buffer bench mark does not check the return to see if a page was actually allocated. This patch fixes that. [ Impact: avoid NULL dereference ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed