[Intel-gfx] [PATCH] drm/i915: Fix a NULL vs IS_ERR() bug

Andi Shyti andi.shyti at linux.intel.com
Tue Jun 6 09:22:24 UTC 2023


Hi Dan,

On Tue, Jun 06, 2023 at 11:23:56AM +0300, Dan Carpenter wrote:
> 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 <dan.carpenter at linaro.org>

Thanks for this series of fixes!

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 

Andi


More information about the Intel-gfx mailing list