[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-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

[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

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

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

2013-06-15 Thread Stéphane Marchesin
The structure was kzalloced, so prev == next == NULL by default which is invalid. Signed-off-by: Stéphane Marchesin --- drivers/gpu/drm/drm_irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 8bcce78..143a311 100644 --- a/drivers/

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

2013-06-14 Thread Stéphane Marchesin
The structure was kzalloced, so prev == next == NULL by default which is invalid. Signed-off-by: St?phane Marchesin --- drivers/gpu/drm/drm_irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 8bcce78..143a311 100644 --- a/drivers/