diff options
author | Dan Carpenter <[email protected]> | 2023-06-06 11:23:56 +0300 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2023-06-20 08:54:47 +0100 |
commit | 274d4b96b12f78cef4f72a97a4967032233f6cae (patch) | |
tree | 328bbec4225e8314daff0973ea7b3395fa8749e3 /lib/mpi/mpi-inline.h | |
parent | d57ba095e4f170963ec420d6cd780aa19459bc65 (diff) |
drm/i915: Fix a NULL vs IS_ERR() bug
The mmap_offset_attach() function returns error pointers, it doesn't
return NULL.
Fixes: eaee1c085863 ("drm/i915: Add a function to mmap framebuffer obj")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/ZH7tHLRZ9oBjedjN@moroto
(cherry picked from commit 3a89311387cde27da8e290458b2d037133c1f7b5)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions