drm/prime: Use unsigned type for number of pages
authorThierry Reding <treding@nvidia.com>
Wed, 4 Jun 2014 07:18:29 +0000 (09:18 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 09:43:50 +0000 (10:43 +0100)
commit34eab43ed2483e69bc79fd2e3aaf5adfae771907
tree6200729d3999d2bef4c952974c4b02499fc82f5f
parentc6a843256a2523c621eb109770c2868ebc29c508
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: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_prime.c
include/drm/drmP.h
This page took 0.025219 seconds and 5 git commands to generate.