Hi Hans,
Thank you for the patch.
On Tuesday 18 November 2014 13:51:00 Hans Verkuil wrote:
> From: Hans Verkuil
>
> Don't try to free a pointer containing an ERR_PTR().
Wouldn't it be easier to return NULL from vb2_dma_contig_alloc_ctx() instead
of an ERR_PTR ?
> Signed-off-by: Hans Verkuil
On Tue, Nov 18, 2014 at 9:51 PM, Hans Verkuil wrote:
> From: Hans Verkuil
>
> Don't try to free a pointer containing an ERR_PTR().
>
> Signed-off-by: Hans Verkuil
Acked-by: Pawel Osciak
--
Best regards,
Pawel Osciak
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
From: Hans Verkuil
Don't try to free a pointer containing an ERR_PTR().
Signed-off-by: Hans Verkuil
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/v4l2-core/videobuf2-dma-contig.c
b/drivers/media/v4l2-core