summaryrefslogtreecommitdiff
path: root/intel/test_decode.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-01 09:38:42 +0000
committerJerome Glisse <jglisse@redhat.com>2013-04-18 10:07:01 -0400
commitaa4afdf0b3be20aa6037b64f90983ea0146b2893 (patch)
tree7292bc3e0a8a5ad51d9ed586dd5552a886c32203 /intel/test_decode.c
parent9fa4a4b1a894fa8fffe2075bc3376b7fa5e18104 (diff)
kms: Return a negative error code in kms_bo_create()
The function returns returns 0 on success or a negative value in case of an error, except when given invalid attributes in which case it returns the positive EINVAL value. Replace that with -EINVAL to allow the caller to detect errors with a < 0 check. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
Diffstat (limited to 'intel/test_decode.c')
0 files changed, 0 insertions, 0 deletions