diff options
| author | Peng Zhang <[email protected]> | 2023-04-11 10:35:13 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:56 -0700 |
| commit | fb20e99a74f8f08c53061e0186d0c26d546dc843 (patch) | |
| tree | c6e99a8acff6d45f764d8f5e8713f7bfc1d75c0d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | d7be6d7eee1bbf98671d7a2c95654322241e2ae4 (diff) | |
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/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions