[Intel-gfx] [PATCH] drm/atomic: Don't try to free a NULL state

2015-03-30 Thread Daniel Vetter
On Mon, Mar 30, 2015 at 02:35:33PM +0300, David Weinehall wrote: > On Mon, Mar 30, 2015 at 02:05:43PM +0300, Ander Conselvan de Oliveira wrote: > > Consistently with other free functions, handle the NULL case without > > oopsing. > > > > Cc: dri-devel at lists.freedesktop.org > > Signed-off-by: An

[Intel-gfx] [PATCH] drm/atomic: Don't try to free a NULL state

2015-03-30 Thread David Weinehall
On Mon, Mar 30, 2015 at 02:05:43PM +0300, Ander Conselvan de Oliveira wrote: > Consistently with other free functions, handle the NULL case without > oopsing. > > Cc: dri-devel at lists.freedesktop.org > Signed-off-by: Ander Conselvan de Oliveira intel.com> > --- > drivers/gpu/drm/drm_atomic.c |