aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPuneet Kumar <[email protected]>2013-11-15 11:41:29 -0800
committerRafael J. Wysocki <[email protected]>2013-11-15 23:18:27 +0100
commit36b15875a7819a2ec4cb5748ff7096ad7bd86cbb (patch)
treee5351fc5dac51c8711f4fc1c469bb9d9a45b5a0b /lib/test-string_helpers.c
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
ACPI / EC: Ensure lock is acquired before accessing ec struct members
A bug was introduced by commit b76b51ba0cef ('ACPI / EC: Add more debug info and trivial code cleanup') that erroneously caused the struct member to be accessed before acquiring the required lock. This change fixes it by ensuring the lock acquisition is done first. Found by Aaron Durbin <[email protected]> Fixes: b76b51ba0cef ('ACPI / EC: Add more debug info and trivial code cleanup') References: http://crbug.com/319019 Signed-off-by: Puneet Kumar <[email protected]> Reviewed-by: Aaron Durbin <[email protected]> [olof: Commit message reworded a bit] Signed-off-by: Olof Johansson <[email protected]> Cc: 3.8+ <[email protected]> # 3.8+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions