Re: [PATCH 14/22] drm/i915: treat stolen as a region

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Matthew Auld (2019-09-27 18:34:01)
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_region.c b/drivers/gpu/drm/i915/gem/i915_gem_region.c
> index 0aeaebb41050..77e89fabbddf 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_region.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_region.c
> @@ -159,7 +159,7 @@ i915_gem_object_create_region(struct intel_memory_region *mem,
>                 return ERR_PTR(-E2BIG);
>  
>         obj = mem->ops->create_object(mem, size, flags);
> -       if (!IS_ERR(obj))
> +       if (!IS_ERR_OR_NULL(obj))

Have a prep patch to bring stolen function signature into line.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux