diff options
author | Liam R. Howlett <Liam.Howlett@oracle.com> | 2023-01-20 11:26:07 -0500 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-09 16:51:31 -0800 |
commit | 17dc622c7b0f94e49bed030726df4db12ecaa6b5 (patch) | |
tree | b86501d97c04ca902b4c191a49f5e0c170f07319 /lib/ashldi3.c | |
parent | 1202700c3f8cc5f7e4646c3cf05ee6f7c8bc6ccf (diff) | |
download | linux-17dc622c7b0f94e49bed030726df4db12ecaa6b5.tar.gz linux-17dc622c7b0f94e49bed030726df4db12ecaa6b5.tar.bz2 linux-17dc622c7b0f94e49bed030726df4db12ecaa6b5.zip |
maple_tree: fix mas_prev() and mas_find() state handling
When mas_prev() does not find anything, set the state to MAS_NONE.
Handle the MAS_NONE in mas_find() like a MAS_START.
Link: https://lkml.kernel.org/r/20230120162650.984577-7-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reported-by: <syzbot+502859d610c661e56545@syzkaller.appspotmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/ashldi3.c')
0 files changed, 0 insertions, 0 deletions