[PATCH V2 RESEND] drm_crtc: check if fb_create return NULL

Su, Xuemin xuemin.su at intel.com
Wed Jan 23 16:27:36 PST 2013


-----Original Message-----
>From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel Vetter
>Sent: Wednesday, January 23, 2013 5:54 PM
>To: Su, Xuemin
>Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; linux-kernel at vger.kernel.org; yanmin_zhang at linux.intel.com; He, Bo
>Subject: Re: [PATCH V2 RESEND] drm_crtc: check if fb_create return NULL

>Imo just BUG_ON(!fb); and call it a day. Makes it pretty clear what's expected of the drivers.
>-Daniel

Thanks, I will upload PATCH V3.
Xuemin



More information about the dri-devel mailing list