[Intel-gfx] [PATCH] drm/sysfs: Grab lock for edid/modes_show

Emil Velikov emil.l.velikov at gmail.com
Fri Oct 2 05:08:40 PDT 2015


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>

-Emil


More information about the Intel-gfx mailing list