diff options
| author | Frediano Ziglio <[email protected]> | 2015-06-03 11:09:19 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2015-06-05 01:00:52 +0000 |
| commit | ef1316961048988c6d044a298b5842c8288cc35b (patch) | |
| tree | 59660e9a96005484be131735074182a043581303 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/qxl: Simplify cleaning qxl processing command (diff) | |
| download | kernel-ef1316961048988c6d044a298b5842c8288cc35b.tar.gz kernel-ef1316961048988c6d044a298b5842c8288cc35b.zip | |
drm/qxl: Propagate correctly errors from qxlhw_handle_to_bo
This function could return a NULL pointer in case of handle not
present and in case of out of memory conditions however caller
function always returned EINVAL error hiding a possible ENOMEM.
This patch change the function to return the error instead to
be able to propagate the error instead of assuming EINVAL.
Signed-off-by: Frediano Ziglio <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
