diff options
author | Peter Zijlstra <[email protected]> | 2020-08-18 15:57:37 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-09-01 09:58:03 +0200 |
commit | 0340a6b7fb767f7f296b9bacc9a215920519a644 (patch) | |
tree | aa04f191d261cc7274fd07c14f46cb06bbf5d969 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 70d932985757fbe978024db313001218e9f8fe5c (diff) |
module: Fix up module_notifier return values
While auditing all module notifiers I noticed a whole bunch of fail
wrt the return value. Notifiers have a 'special' return semantics.
As is; NOTIFY_DONE vs NOTIFY_OK is a bit vague; but
notifier_from_errno(0) results in NOTIFY_OK and NOTIFY_DONE has a
comment that says "Don't care".
From this I've used NOTIFY_DONE when the function completely ignores
the callback and notifier_to_error() isn't used.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Mathieu Desnoyers <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Reviewed-by: Robert Richter <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions