Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 54a611b ("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]>
- Loading branch information