commit | 01a3fd39368e464999d9c802c2b72c24e2517318 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Fri May 30 15:54:26 2025 -0700 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Mon Jun 02 10:25:17 2025 -0400 |
tree | d212c8f73807f6777f0fb4083e725a43e2b70637 | |
parent | ef1656bd47eb37fa4ff8927aa43f764a4c2f99d7 [diff] |
libtracefs: Fix enum type in read_event_state The state variable is of type event_state but is assigned TRACEFS_ERROR(-1) of type tracefs_enable_state which has no corresponding event_state name. Fix this by assigning STATE_ERROR(4). Link: https://lore.kernel.org/20250530225426.721741-1-irogers@google.com Reported-by: Asmaa AbdelGhany <asmok@google.com> Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>