diff options
| author | Rob Clark <robdclark@gmail.com> | 2016-08-22 15:15:23 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-15 08:27:51 +0200 |
| commit | 103898dd7701bf65ba35c5337ae82f82834bb0c5 (patch) | |
| tree | 886702441a98d0851c63dc77712f4f2563c18819 /lib/mpi/mpi-bit.c | |
| parent | b7e99f782e6bd2606adbbce0c90804fb8aa4f5c8 (diff) | |
drm/msm: fix use of copy_from_user() while holding spinlock
commit 89f82cbb0d5c0ab768c8d02914188aa2211cd2e3 upstream.
Use instead __copy_from_user_inatomic() and fallback to slow-path where
we drop and re-aquire the lock in case of fault.
Reported-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
