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

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:49:02 +02:00
..
2021-11-17 10:36:15 -05:00
2021-05-07 00:26:34 -07:00
2022-04-11 11:48:01 +02:00
2022-04-11 11:48:01 +02:00
2021-08-23 08:40:04 +10:00
2021-06-29 10:53:55 -07:00
2022-04-11 11:48:01 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2022-02-25 09:36:05 +01:00
2022-01-30 21:17:00 -05:00
2022-04-11 11:48:01 +02:00