drm/plane: Use consistent data types for format count

Rather than a mix of the the sized uint32_t and signed integer, use an
unsized unsigned int to specify the format count.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cette révision appartient à :
Thierry Reding
2015-08-12 16:54:28 +02:00
révisé par Daniel Vetter
Parent 798ae0f669
révision 45e3743aff
4 fichiers modifiés avec 7 ajouts et 7 suppressions

Voir le fichier

@@ -261,7 +261,7 @@ nv10_overlay_init(struct drm_device *device)
{
struct nouveau_drm *drm = nouveau_drm(device);
struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL);
int num_formats = ARRAY_SIZE(formats);
unsigned int num_formats = ARRAY_SIZE(formats);
int ret;
if (!plane)