aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memset.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2024-01-26 09:42:58 +0900
committerSteven Rostedt (Google) <[email protected]>2024-01-26 15:10:24 -0500
commit0958b33ef5a04ed91f61cef4760ac412080c4e08 (patch)
treeead93b6229779d5ef7035a93c8cfd729b677822c /lib/test_fortify/write_overflow-memset.c
parent834bf76add3e6168038150f162cbccf1fd492a67 (diff)
tracing/trigger: Fix to return error if failed to alloc snapshot
Fix register_snapshot_trigger() to return error code if it failed to allocate a snapshot instead of 0 (success). Unless that, it will register snapshot trigger without an error. Link: https://lore.kernel.org/linux-trace-kernel/170622977792.270660.2789298642759362200.stgit@devnote2 Fixes: 0bbe7f719985 ("tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation") Cc: [email protected] Cc: Vincent Donnefort <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions