Alexander Gordeev d3343a35d1 s390/cpcmd: fix inline assembly register clobbering
[ Upstream commit 7a2f91441b2c1d81b77c1cd816a4659f4abc9cbe ]

Register variables initialized using arithmetic. That leads to
kasan instrumentaton code corrupting the registers contents.
Follow GCC guidlines and use temporary variables for assigning
init values to register variables.

Fixes: 94c12cc7d196 ("[S390] Inline assembly cleanup.")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Local-Register-Variables.html
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-14 08:24:17 +02:00
..
2019-07-23 10:45:53 +02:00
2020-06-30 15:37:05 -04:00
2019-09-17 14:04:43 -07:00
2019-04-29 10:47:10 +02:00
2019-05-02 13:54:11 +02:00
2020-08-26 10:41:02 +02:00
2018-02-27 08:05:23 +01:00
2019-06-07 10:09:37 +02:00
2019-09-17 14:04:43 -07:00