summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-03-23 15:09:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-05 12:15:42 +0300
commit76d41dc2622f4947066df1cd1fd35e4274ee4ecc (patch)
treef67122c9080357f378f6267ab38677122f16840e /samples
parent0838cb217a5229a882f0c6da7e0739b27b44bd1f (diff)
downloadlinux-76d41dc2622f4947066df1cd1fd35e4274ee4ecc.tar.xz
s390/uaccess: add missing earlyclobber annotations to __clear_user()
commit 89aba4c26fae4e459f755a18912845c348ee48f3 upstream. Add missing earlyclobber annotation to size, to, and tmp2 operands of the __clear_user() inline assembly since they are modified or written to before the last usage of all input operands. This can lead to incorrect register allocation for the inline assembly. Fixes: 6c2a9e6df604 ("[S390] Use alternative user-copy operations for new hardware.") Reported-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/all/20230321122514.1743889-3-mark.rutland@arm.com/ Cc: stable@vger.kernel.org Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions