diff options
author | Thierry Reding <treding@nvidia.com> | 2015-08-12 16:54:28 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-12 17:14:24 +0200 |
commit | 45e3743aff6f3fbe3f08d43d443dc2d7b5396a31 (patch) | |
tree | b585b2a3254b0a3bbe46d21245509a822fa1fed2 /drivers/gpu/drm/nouveau/dispnv04 | |
parent | 798ae0f6693deac4a07377d0c45b4325b7026278 (diff) | |
download | talos-obmc-linux-45e3743aff6f3fbe3f08d43d443dc2d7b5396a31.tar.gz talos-obmc-linux-45e3743aff6f3fbe3f08d43d443dc2d7b5396a31.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv04')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/overlay.c b/drivers/gpu/drm/nouveau/dispnv04/overlay.c index 9f2498571d09..5f6ea1873f51 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/overlay.c +++ b/drivers/gpu/drm/nouveau/dispnv04/overlay.c @@ -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) |