[Intel-gfx] [PATCH] drm/i915: fix wrong error number report

Andi Shyti andi.shyti at intel.com
Tue Oct 2 08:50:13 UTC 2018


> >         struct intel_device_info *device_info;
> >         struct drm_i915_private *i915;
> > +       int err;
> >  
> >         i915 = kzalloc(sizeof(*i915), GFP_KERNEL);
> >         if (!i915)
> >                 return NULL;
> 
> Ahem.

oh yes :)

Thanks,
Andi


More information about the Intel-gfx mailing list