summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-09-01 16:04:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-27 12:39:23 (GMT)
commitdf865f86b008c6b7ef592e8264f8eaabe371505b (patch)
treecd06c771cad604126caceb602c19fa6c9f9ba2cd /crypto
parent2a913aecc4f746ce15eb1bec98b134aff4190ae2 (diff)
downloadlinux-df865f86b008c6b7ef592e8264f8eaabe371505b.tar.xz
ftrace: Fix selftest goto location on error
commit 46320a6acc4fb58f04bcf78c4c942cc43b20f986 upstream. In the second iteration of trace_selftest_ops(), the error goto label is wrong in the case where trace_selftest_test_global_cnt is off. In the case of error, it leaks the dynamic ops that was allocated. Fixes: 95950c2e ("ftrace: Add self-tests for multiple function trace users") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions