summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-03-23 15:09:16 +0300
committerVasily Gorbik <gor@linux.ibm.com>2023-03-27 18:23:08 +0300
commit89aba4c26fae4e459f755a18912845c348ee48f3 (patch)
treef97844962557f2adec6a3a77c6df096ffb52f4e8 /drivers/s390
parentd7a0bdbf17276b757d2b89f5351bbee9ecf58fe6 (diff)
downloadlinux-89aba4c26fae4e459f755a18912845c348ee48f3.tar.xz
s390/uaccess: add missing earlyclobber annotations to __clear_user()
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions