diff options
author | Rob Clark <robdclark@gmail.com> | 2016-08-22 19:15:23 (GMT) |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-08-28 16:47:46 (GMT) |
commit | 89f82cbb0d5c0ab768c8d02914188aa2211cd2e3 (patch) | |
tree | aaafcf9dff775b5df1898fc9adb925adae96b4cc /block/blk-mq-cpu.c | |
parent | 969af80f770a86e65bf8be1f72b218b5f8556b56 (diff) | |
download | linux-89f82cbb0d5c0ab768c8d02914188aa2211cd2e3.tar.xz |
drm/msm: fix use of copy_from_user() while holding spinlock
Use instead __copy_from_user_inatomic() and fallback to slow-path where
we drop and re-aquire the lock in case of fault.
Cc: stable@vger.kernel.org
Reported-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'block/blk-mq-cpu.c')
0 files changed, 0 insertions, 0 deletions