diff options
| author | Dan Carpenter <[email protected]> | 2024-07-24 11:09:54 -0500 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-07-29 08:50:23 +0200 |
| commit | b5fbf924f125ba3638cfdc21c0515eb7e76264ca (patch) | |
| tree | c3fef01dcadc19f4e498fe492a5c557e30807726 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | 75c3e8a26a35d4f3eee299b3cc7e465f166f4e2d (diff) | |
drm/client: Fix error code in drm_client_buffer_vmap_local()
This function accidentally returns zero/success on the failure path.
It leads to locking issues and an uninitialized *map_copy in the
caller.
Fixes: b4b0193e83cb ("drm/fbdev-generic: Fix locking with drm_client_buffer_vmap_local()")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions