diff options
| -rw-r--r-- | drivers/media/video/videobuf2-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf2-core.c b/drivers/media/video/videobuf2-core.c index 6687ac33726a..3f5c7a38e6e8 100644 --- a/drivers/media/video/videobuf2-core.c +++ b/drivers/media/video/videobuf2-core.c | |||
| @@ -751,7 +751,7 @@ static int __qbuf_userptr(struct vb2_buffer *vb, struct v4l2_buffer *b) | |||
| 751 | 751 | ||
| 752 | /* Check if the provided plane buffer is large enough */ | 752 | /* Check if the provided plane buffer is large enough */ |
| 753 | if (planes[plane].length < q->plane_sizes[plane]) { | 753 | if (planes[plane].length < q->plane_sizes[plane]) { |
| 754 | ret = EINVAL; | 754 | ret = -EINVAL; |
| 755 | goto err; | 755 | goto err; |
| 756 | } | 756 | } |
| 757 | 757 | ||
