diff options
| author | Kefeng Wang <[email protected]> | 2022-10-21 16:46:11 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-08 17:37:21 -0800 |
| commit | b66d00dfebe79ebd0d5a0ec4ee4e26583432c381 (patch) | |
| tree | d9327220d9d2fc70e209a4bd619b023701dc0e75 /tools/perf/scripts/python/flamegraph.py | |
| parent | 183a7c5d15d3c56f49955662d3edd0092141df78 (diff) | |
mm: memory-failure: make action_result() return int
Check mf_result in action_result(), only return 0 when MF_RECOVERED,
or return -EBUSY, which will simplify code a bit.
[[email protected]: v2]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions