android_kernel_samsung_a7y1.../arch/arm/vfp
Julien Thierry 0f921e078e ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc
Commit 5df7a99bdd0de4a0480320264c44c04543c29d5a upstream.

In vfp_preserve_user_clear_hwstate, ufp_exc->fpinst2 gets assigned to
itself. It should actually be hwstate->fpinst2 that gets assigned to the
ufp_exc field.

Fixes commit 3aa2df6ec2ca6bc143a65351cca4266d03a8bc41 ("ARM: 8791/1:
vfp: use __copy_to_user() when saving VFP state").

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 09:57:37 +02:00
..
entry.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfpdouble.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfphw.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfpinstr.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfpmodule.c ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc 2020-04-07 09:57:37 +02:00
vfpsingle.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30