diff options
author | 2015-10-02 13:01:02 +0200 | |
---|---|---|
committer | 2015-11-24 11:47:47 +0100 | |
commit | a48a62bc9226e731e2284afb1c782869a413e1b2 (patch) | |
tree | d56b382176f5423b552a711016430893abf76fe1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Print the src/dst/clip rectangles in error in drm_plane_helper (diff) | |
download | linux-dev-a48a62bc9226e731e2284afb1c782869a413e1b2.tar.xz linux-dev-a48a62bc9226e731e2284afb1c782869a413e1b2.zip |
drm/sysfs: Grab lock for edid/modes_show
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@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Link: http://patchwork.freedesktop.org/patch/msgid/1443783662-23066-1-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions