diff options
author | Hyeonggon Yoo | 2021-05-29 15:14:23 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) | 2021-06-10 11:16:20 -0400 |
commit | 6c610dba6e2beb1a16ac309672181d0090fb8d30 (patch) | |
tree | f977b64b327e2a5d1c03a487ae332f37a35936ae /mm/mempolicy.c | |
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>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions