diff options
author | Alexander Potapenko <[email protected]> | 2023-04-13 15:12:22 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-18 16:30:09 -0700 |
commit | bb1508c24c9c361e6344308c8de2cb81d7f228ba (patch) | |
tree | ad4b66cca163434ef00bdcaeede14d3ee0251f32 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1cb9dc4b475c7418f925ab0c97b6750007d9f52e (diff) |
mm: kmsan: apply __must_check to non-void functions
Non-void KMSAN hooks may return error codes that indicate that KMSAN
failed to reflect the changed memory state in the metadata (e.g. it could
not create the necessary memory mappings). In such cases the callers
should handle the errors to prevent the tool from using the inconsistent
metadata in the future.
We mark non-void hooks with __must_check so that error handling is not
skipped.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dipanjan Das <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Uladzislau Rezki (Sony) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions