summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-05-13 11:36:13 +0200
committerThierry Reding <treding@nvidia.com>2014-11-13 10:43:48 +0100
commitecbbe59bbb1cd2973e031c5b6ba28653d66a17de (patch)
tree7db9f365a3e6c370e43b94a009d8fb75622bc71a /include/drm
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadop-kernel-dev-ecbbe59bbb1cd2973e031c5b6ba28653d66a17de.zip
op-kernel-dev-ecbbe59bbb1cd2973e031c5b6ba28653d66a17de.tar.gz
drm: Use size_t for blob property sizes
size_t is the standard type when dealing with sizes of all kinds. Use it consistently when instantiating DRM blob properties. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index c40070a..628369c 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -196,7 +196,7 @@ struct drm_framebuffer {
struct drm_property_blob {
struct drm_mode_object base;
struct list_head head;
- unsigned int length;
+ size_t length;
unsigned char data[];
};
OpenPOWER on IntegriCloud