diff options
author | Jason Gunthorpe <[email protected]> | 2019-11-05 21:16:37 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-11-06 08:47:50 -0800 |
commit | df2ec7641bd03624a7e54cc926e8c3f75c7a84d8 (patch) | |
tree | 61062f8a0173a88d5da475b9d8d7ec4fd0163d65 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e74540b285569d2b1e14fe7aee92297078f235ce (diff) |
mm/mmu_notifiers: use the right return code for WARN_ON
The return code from the op callback is actually in _ret, while the
WARN_ON was checking ret which causes it to misfire.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 8402ce61bec2 ("mm/mmu_notifiers: check if mmu notifier callbacks are allowed to fail")
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions