commit | 0ff657b0f6120cb53f98b1b42c87af34670edff5 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Thu Jul 21 09:14:02 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Aug 24 10:10:40 2016 -0300 |
tree | 9baee4a0202c7a51056e016f16bcfb575a1133da | |
parent | 82019205e3a8fc687c4ee6538b57039884be4ccc [diff] |
[media] vb2: don't return NULL for alloc and get_userptr ops Always return an ERR_PTR() instead of NULL. This makes the behavior of alloc, get_userptr and attach_dmabuf the same. Update the documentation in videobuf2-core.h as well. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>