aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-04-11 02:35:13 +0000
committerAndrew Morton <[email protected]>2023-04-18 23:29:56 +0000
commitfb20e99a74f8f08c53061e0186d0c26d546dc843 (patch)
treec6e99a8acff6d45f764d8f5e8713f7bfc1d75c0d /tools/testing/radix-tree/maple.c
parentuserfaultfd: convert mfill_atomic() to use a folio (diff)
downloadkernel-fb20e99a74f8f08c53061e0186d0c26d546dc843.tar.gz
kernel-fb20e99a74f8f08c53061e0186d0c26d546dc843.zip
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/[email protected] Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Peng Zhang <[email protected]> Reported-by: David Binderman <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions