summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo.ribalda@gmail.com>2013-11-26 05:31:42 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:55:37 +0900
commit74e35a193221790b528c665beb8e6ed6656e5049 (patch)
treea3eb319249c8d92695a696ec6c2c173e8836b4e9 /include/uapi
parentb7a865c2d703ecfb5a303a2e70cf5de38c12f93f (diff)
downloadlinux-3.10-74e35a193221790b528c665beb8e6ed6656e5049.tar.gz
linux-3.10-74e35a193221790b528c665beb8e6ed6656e5049.tar.bz2
linux-3.10-74e35a193221790b528c665beb8e6ed6656e5049.zip
upstream: [media] videodev2: Set vb2_rect's width and height as unsigned
As discussed on the media summit 2013, there is no reason for the width and height to be signed. Therefore this patch is an attempt to convert those fields from __s32 to __u32. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> (documentation and smiapp) Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Conflicts: Documentation/DocBook/media/v4l/compat.xml Documentation/DocBook/media/v4l/v4l2.xml drivers/media/i2c/soc_camera/mt9m111.c
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/videodev2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index a362d85a8cf..3c79a88b651 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -208,8 +208,8 @@ enum v4l2_priority {
struct v4l2_rect {
__s32 left;
__s32 top;
- __s32 width;
- __s32 height;
+ __u32 width;
+ __u32 height;
};
struct v4l2_fract {