]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix wrong initializer for "locked" variable in assert_panel_unlocked
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 25 Aug 2011 13:37:45 +0000 (15:37 +0200)
committerKeith Packard <keithp@keithp.com>
Thu, 25 Aug 2011 18:21:20 +0000 (11:21 -0700)
commitb436cc2e7593668266f6b759af642e8da181b2b8
treef3c8b0ba5d4fd30384dc230d4286b6c689ae548f
parentec202b40ac72241e2d1faae1c2f8c6be95e23f87
drm/i915: Fix wrong initializer for "locked" variable in assert_panel_unlocked

Otherwise it just contains random memory.

Issue detected by cppcheck.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c