|
@@ -1228,8 +1228,10 @@ static int __qbuf_dmabuf(struct vb2_buffer *vb, const void *pb)
|
|
|
planes[plane].length = dbuf->size;
|
|
|
|
|
|
if (planes[plane].length < vb->planes[plane].min_length) {
|
|
|
- dprintk(1, "invalid dmabuf length for plane %d\n",
|
|
|
- plane);
|
|
|
+ dprintk(1, "invalid dmabuf length %u for plane %d, "
|
|
|
+ "minimum length %u\n",
|
|
|
+ planes[plane].length, plane,
|
|
|
+ vb->planes[plane].min_length);
|
|
|
dma_buf_put(dbuf);
|
|
|
ret = -EINVAL;
|
|
|
goto err;
|