diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-01 14:02:01 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-08-02 14:19:57 -0400 |
commit | 147d88e0b5eb90191bc5c12ca0a3c410b75a13d2 (patch) | |
tree | 7eb357572a051669afc7e6c6660011b07898a931 /arch/h8300/mm | |
parent | 4bb0f0e73c8c30917d169c4a0f1ac083690c545b (diff) | |
download | linux-147d88e0b5eb90191bc5c12ca0a3c410b75a13d2.tar.bz2 |
tracing: Missing error code in tracer_alloc_buffers()
If ring_buffer_alloc() or one of the next couple function calls fail
then we should return -ENOMEM but the current code returns success.
Link: http://lkml.kernel.org/r/20170801110201.ajdkct7vwzixahvx@mwanda
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: stable@vger.kernel.org
Fixes: b32614c03413 ('tracing/rb: Convert to hotplug state machine')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/h8300/mm')
0 files changed, 0 insertions, 0 deletions