Re: [PATCH 01/11] drm: Export drm_dev_init() for subclassing

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

 



On Fri, May 27, 2016 at 05:29:43PM +0200, Nils Wallménius wrote:
>    Hi, Chris
> 
>    See comment below
> 
>    >  err_setunique:
>    >         if (drm_core_check_feature(dev, DRIVER_GEM))
>    > @@ -653,8 +650,46 @@ err_minors:
>    >         drm_fs_inode_free(dev->anon_inode);
>    >  err_free:
>    >         mutex_destroy(&dev->master_mutex);
>    > -       kfree(dev);
>    > -       return NULL;
>    > +       return 0;
> 
>    Shouldn't this return != 0?

You saw nothing, it always said return ret!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux