commit | 6c610dba6e2beb1a16ac309672181d0090fb8d30 | [log] [tgz] |
---|---|---|
author | Hyeonggon Yoo <42.hyeyoo@gmail.com> | Sat May 29 15:14:23 2021 +0900 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Jun 10 11:16:20 2021 -0400 |
tree | f977b64b327e2a5d1c03a487ae332f37a35936ae | |
parent | 099dcc1801d981260aee9496dbeb55270dca70c1 [diff] |
tracing: Add WARN_ON_ONCE when returned value is negative ret is assigned return value of event_hist_trigger_func, but the value is unused. It is better to warn when returned value is negative, rather than just ignoring it. Link: https://lkml.kernel.org/r/20210529061423.GA103954@hyeyoo Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>