media: videobuf2: Use 'unsigned int' instead of just 'unsigned'.
Commit Message
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/media/common/videobuf2/videobuf2-v4l2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -754,11 +754,11 @@ EXPORT_SYMBOL_GPL(vb2_prepare_buf);
int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create)
{
- unsigned requested_planes = 1;
- unsigned requested_sizes[VIDEO_MAX_PLANES];
+ unsigned int requested_planes = 1;
+ unsigned int requested_sizes[VIDEO_MAX_PLANES];
struct v4l2_format *f = &create->format;
int ret = vb2_verify_memory_type(q, create->memory, f->type);
- unsigned i;
+ unsigned int i;
fill_buf_caps(q, &create->capabilities);
validate_memory_flags(q, create->memory, &create->flags);