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
2019-05-03 17:17:58 +02:00
2020-06-30 15:37:05 -04:00
2018-03-28 08:38:24 +02:00
2020-06-30 15:37:05 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-09-03 13:53:56 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-18 09:33:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-27 09:36:28 -05:00
2021-04-14 08:24:17 +02:00
2019-03-12 10:04:01 -07:00
2020-07-09 09:37:50 +02:00
2020-05-02 08:48:44 +02:00
2019-12-31 16:45:23 +01:00
2019-08-06 13:58:35 +02:00
2019-08-29 15:34:58 +02:00
2020-07-16 08:16:35 +02:00
2018-08-23 18:48:43 -07:00
2019-06-14 10:48:56 +02:00
2020-06-30 15:37:04 -04:00
2019-04-17 10:40:57 +02:00
2019-05-02 13:54:11 +02:00
2017-11-13 11:47:01 -08:00
2019-09-17 14:04:43 -07:00
2019-10-31 17:26:48 +01:00
2019-04-29 10:44:03 +02:00
2019-04-26 12:34:05 +02:00
2019-08-06 13:58:34 +02:00
2020-10-01 13:17:40 +02:00
2019-06-07 10:10:10 +02:00
2019-01-28 15:58:55 +01:00
2019-09-10 13:27:51 +01:00
2019-08-19 21:54:15 -07:00
2019-04-29 10:47:10 +02:00
2017-11-24 15:37:12 +01:00
2020-05-27 17:46:49 +02:00
2020-05-27 17:46:47 +02:00
2020-01-04 19:18:31 +01:00
2019-08-21 12:58:52 +02:00
2020-06-07 13:18:49 +02:00
2019-08-29 15:34:57 +02:00
2019-05-02 13:54:11 +02:00
2019-05-06 16:42:54 -07:00
2019-04-11 13:36:53 +02:00
2017-11-02 11:10:55 +01:00
2019-02-22 09:19:55 +01:00
2019-12-31 16:45:43 +01:00
2019-07-11 20:40:01 +02:00
2019-12-31 16:45:43 +01:00
2020-11-24 13:29:23 +01:00
2019-12-31 16:44:30 +01:00
2018-07-02 11:24:54 +02:00
2019-04-29 10:47:10 +02:00
2020-04-13 10:48:06 +02:00
2020-04-23 10:36:33 +02:00
2020-08-26 10:41:02 +02:00
2019-05-02 13:54:11 +02:00
2019-05-02 13:54:11 +02:00
2020-08-26 10:41:02 +02:00
2020-10-01 13:18:14 +02:00
2019-05-27 09:36:28 -05:00
2021-03-17 17:03:45 +01:00
2019-08-21 12:58:53 +02:00
2018-10-15 12:17:00 +02:00
2018-02-27 08:05:23 +01:00
2019-06-07 10:09:37 +02:00
2019-01-18 09:33:19 +01:00
2019-01-28 15:58:55 +01:00
2020-11-05 11:43:30 +01:00
2019-09-23 23:27:52 +02:00
2020-05-02 08:48:44 +02:00
2019-07-08 21:48:15 -07:00
2020-01-04 19:18:29 +01:00
2018-04-23 07:57:16 +02:00
2019-09-17 14:04:43 -07:00
2019-08-06 13:58:35 +02:00
2021-03-24 11:26:35 +01:00