maple_tree: use correct variable type in sizeof
authorPeng Zhang <zhangpeng.00@bytedance.com>
Tue, 11 Apr 2023 02:35:13 +0000 (10:35 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:29:56 +0000 (16:29 -0700)
commitfb20e99a74f8f08c53061e0186d0c26d546dc843
treec6e99a8acff6d45f764d8f5e8713f7bfc1d75c0d
parentd7be6d7eee1bbf98671d7a2c95654322241e2ae4
maple_tree: use correct variable type in sizeof

The type of variable pointed to by pivs is unsigned long, but the type
used in sizeof is a pointer type.  Change it to unsigned long.

This change has no runtime effect, as sizeof(ul) == sizeof(ul *).

Link: https://lkml.kernel.org/r/20230411023513.15227-1-zhangpeng.00@bytedance.com
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reported-by: David Binderman <dcb314@hotmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c