summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorLiam Howlett <liam.howlett@oracle.com>2022-10-28 14:45:34 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-11-30 15:58:41 -0800
commit6e7ba8b5e2380f941dda8a1025d70c5ce5b38982 (patch)
tree7e86a7646bd6ebb935b3aaf6a1ad86103aa2b2f0 /mm/mempool.c
parent57e9cc50f4dd926d6c38751799d25cad89fb2bd9 (diff)
downloadlinux-6e7ba8b5e2380f941dda8a1025d70c5ce5b38982.tar.bz2
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/20221026120029.12555-1-lukas.bulwahn@gmail.com/ Link: https://lkml.kernel.org/r/20221028144520.2776767-1-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions