[Intel-gfx] [PATCH] drm/sysfs: Grab lock for edid/modes_show
Daniel Vetter
daniel at ffwll.ch
Thu Nov 19 08:22:00 PST 2015
On Fri, Oct 02, 2015 at 01:08:40PM +0100, Emil Velikov wrote:
> On 2 October 2015 at 12:01, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > We chase pointers/lists without taking the locks protecting them,
> > which isn't that good.
> >
> > Fix it.
> >
> > v2: Actually unlock properly, spotted by Julia.
> >
> > v3: Put the label _before_ the mutex_unlock (Emil)
> >
> > Cc: Emil Velikov <emil.l.velikov at gmail.com>
> > Cc: Julia Lawall <julia.lawall at lip6.fr>
> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Patch does exactly what it says on the tin.
>
> Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Applied to drm-misc, thanks.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list