diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2013-05-16 14:04:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-19 10:04:49 -0700 |
commit | 486684458640fe1e74937b2e0eef41444515caf0 (patch) | |
tree | 05ff4f14a4327ee5edc91ff5427786fc19ed3f91 /Documentation/cpu-freq/pcc-cpufreq.txt | |
parent | c9e43f309c0a5ecb9467ea826c238fc0febb1e30 (diff) | |
download | kernel_samsung_smdk4412-486684458640fe1e74937b2e0eef41444515caf0.tar.gz kernel_samsung_smdk4412-486684458640fe1e74937b2e0eef41444515caf0.tar.bz2 kernel_samsung_smdk4412-486684458640fe1e74937b2e0eef41444515caf0.zip |
ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex
commit 6368087e851e697679af059b4247aca33a69cef3 upstream.
When a 32 bit version of ipmitool is used on a 64 bit kernel, the
ipmi_devintf code fails to correctly acquire ipmi_mutex. This results in
incomplete data being retrieved in some cases, or other possible failures.
Add a wrapper around compat_ipmi_ioctl() to take ipmi_mutex to fix this.
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/cpu-freq/pcc-cpufreq.txt')
0 files changed, 0 insertions, 0 deletions