diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-21 09:14:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 10:10:40 -0300 |
commit | 0ff657b0f6120cb53f98b1b42c87af34670edff5 (patch) | |
tree | 9baee4a0202c7a51056e016f16bcfb575a1133da /tools | |
parent | 82019205e3a8fc687c4ee6538b57039884be4ccc (diff) | |
download | linux-0ff657b0f6120cb53f98b1b42c87af34670edff5.tar.gz linux-0ff657b0f6120cb53f98b1b42c87af34670edff5.tar.bz2 linux-0ff657b0f6120cb53f98b1b42c87af34670edff5.zip |
[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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions