Re: [PATCH] drm: Initialize list in event->base.link

2013-06-16 Thread Dave Airlie
On Sun, Jun 16, 2013 at 5:07 AM, Daniel Vetter wrote: > On Fri, Jun 14, 2013 at 01:39:05PM -0700, Stéphane Marchesin wrote: >> The structure was kzalloced, so prev == next == NULL by default which >> is invalid. >> >> Signed-off-by: Stéphane Marchesin > > We do a list_add_tail which doesn't seem

Re: [PATCH] drm: Initialize list in event->base.link

2013-06-15 Thread Daniel Vetter
On Fri, Jun 14, 2013 at 01:39:05PM -0700, Stéphane Marchesin wrote: > The structure was kzalloced, so prev == next == NULL by default which > is invalid. > > Signed-off-by: Stéphane Marchesin We do a list_add_tail which doesn't seem to care about unitizalized list items, and when removing it we