diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-12-08 10:04:50 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-20 14:48:12 -0800 |
commit | 03d69d49da496e31246f41a017b32b68b9d2362e (patch) | |
tree | 8dc4fc93e513f406cce3fc20c8e3e378db1912ba /lib | |
parent | c0f79103322c322ea9342d52c2d81528b7b56232 (diff) |
maple_tree: fix warning comparing pointer to 0
Avoid pointer type value compared with 0 to make code clear.
./tools/testing/radix-tree/maple.c:34142:15-16: WARNING comparing pointer to 0.
Link: https://lkml.kernel.org/r/20231208020450.7003-1-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7696
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions