aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiam Howlett <[email protected]>2022-10-28 14:45:34 +0000
committerAndrew Morton <[email protected]>2022-11-30 15:58:41 -0800
commit6e7ba8b5e2380f941dda8a1025d70c5ce5b38982 (patch)
tree7e86a7646bd6ebb935b3aaf6a1ad86103aa2b2f0 /tools/perf/scripts/python
parent57e9cc50f4dd926d6c38751799d25cad89fb2bd9 (diff)
maple_tree: mte_set_full() and mte_clear_full() clang-analyzer clean up
mte_set_full() and mte_clear_full() were incorrectly setting a pointer to a value without returning a result. Fix this by returning the modified pointer to be use as necessary. Also add a third function to return if the bit is set or not. Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Suggested-by: Lukas Bulwahn <[email protected]> Suggested-by: Dan Carpenter <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions