Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34eab43e authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/prime: Use unsigned type for number of pages



The number of pages can never be negative, so an unsigned type is
enough. This also matches the type of the n_pages argument of the
sg_alloc_table_from_pages() function.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent c6a84325
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment