Files
Thorsten Blum b8cdefdaa5 m68k: cmpxchg: Fix return value for default case in __arch_xchg()
[ Upstream commit 21b9e722ad ]

The return value of __invalid_xchg_size() is assigned to tmp instead of
the return variable x. Assign it to x instead.

Fixes: 2501cf768e ("m68k: Fix xchg/cmpxchg to fail to link if given an inappropriate pointer")
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20240702034116.140234-2-thorsten.blum@toblux.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:53:34 +02:00
..
2018-02-21 15:35:43 -08:00
2022-04-11 11:48:01 +02:00
2022-04-11 11:48:01 +02:00
2023-08-21 13:27:43 +02:00
2021-08-23 08:40:04 +10:00
2023-01-30 16:40:15 +01:00
2022-04-11 11:48:01 +02:00
2023-08-21 13:27:44 +02:00
2023-01-30 16:40:15 +01:00
2023-01-30 16:40:15 +01:00
2019-04-03 10:32:54 +02:00
2021-09-24 13:35:07 +02:00
2022-02-25 09:36:05 +01:00
2020-01-12 16:49:20 +01:00
2022-01-30 21:17:00 -05:00
2022-04-11 11:48:01 +02:00