Commit 03d69d4
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>1 parent c0f7910 commit 03d69d4
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34139 | 34139 | | |
34140 | 34140 | | |
34141 | 34141 | | |
34142 | | - | |
| 34142 | + | |
34143 | 34143 | | |
34144 | 34144 | | |
34145 | 34145 | | |
| |||
34263 | 34263 | | |
34264 | 34264 | | |
34265 | 34265 | | |
34266 | | - | |
| 34266 | + | |
34267 | 34267 | | |
34268 | 34268 | | |
34269 | 34269 | | |
34270 | 34270 | | |
34271 | 34271 | | |
34272 | 34272 | | |
34273 | 34273 | | |
34274 | | - | |
| 34274 | + | |
34275 | 34275 | | |
34276 | 34276 | | |
34277 | 34277 | | |
| |||
0 commit comments