diff options
author | Tom Zanussi <zanussi@kernel.org> | 2022-01-27 22:44:18 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-01-28 01:15:49 +0100 |
commit | 67ab5eb71b37b55f7c5522d080a1b42823351776 (patch) | |
tree | ae6327fd65350efecba3258996d93e32b90ac279 /tools/tracing | |
parent | tracing: Propagate is_signed to expression (diff) | |
download | linux-67ab5eb71b37b55f7c5522d080a1b42823351776.tar.xz linux-67ab5eb71b37b55f7c5522d080a1b42823351776.zip |
tracing: Don't inc err_log entry count if entry allocation fails
tr->n_err_log_entries should only be increased if entry allocation
succeeds.
Doing it when it fails won't cause any problems other than wasting an
entry, but should be fixed anyway.
Link: https://lkml.kernel.org/r/cad1ab28f75968db0f466925e7cba5970cec6c29.1643319703.git.zanussi@kernel.org
Cc: stable@vger.kernel.org
Fixes: 2f754e771b1a6 ("tracing: Don't inc err_log entry count if entry allocation fails")
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/tracing')
0 files changed, 0 insertions, 0 deletions