aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-06 12:40:51 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-05-06 12:49:20 -0400
commit00c81a58c5b4e0de14ee33bfbc3d71c90f69f9ea (patch)
treed34d323e0a3b67ee5ce4c0ae8a0b3dbbc9bf2562 /kernel/trace/ring_buffer.c
parent8e7abf1c62941ebb7a1416cbc62392c8a0902625 (diff)
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 <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions