summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm80.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-09-13 05:13:47 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-30 17:46:11 (GMT)
commit8584ec6ae9cc386de344e0d33b60f76368bb73ab (patch)
tree46ad6a2073010c20981b8b16e58b35e689c29603 /drivers/hwmon/lm80.c
parent5ac557ef4951ea4b131ae45b08434546cb386ac5 (diff)
downloadlinux-fsl-qoriq-8584ec6ae9cc386de344e0d33b60f76368bb73ab.tar.xz
ACPI / IPMI: Fix race caused by the timed out ACPI IPMI transfers
This patch fixes races caused by timed out ACPI IPMI transfers. This patch uses timeout mechanism provided by ipmi_si to avoid the race that the msg_done flag is set but without any protection, its content can be invalid. Thanks for the suggestion of Corey Minyard. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reviewed-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions