diff options
author | Thorsten Blum <[email protected]> | 2024-07-02 05:41:17 +0200 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2024-07-09 09:19:31 +0200 |
commit | 21b9e722ad28c19c2bc83f18f540b3dbd89bf762 (patch) | |
tree | 6e656afc5f65cadfe05f1be79d6b8db8902ab0f1 /arch/x86/kernel/setup.c | |
parent | 75d3891ca19efe82392aa5e2810334979075a87a (diff) |
m68k: cmpxchg: Fix return value for default case in __arch_xchg()
The return value of __invalid_xchg_size() is assigned to tmp instead of
the return variable x. Assign it to x instead.
Fixes: 2501cf768e4009a0 ("m68k: Fix xchg/cmpxchg to fail to link if given an inappropriate pointer")
Signed-off-by: Thorsten Blum <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'arch/x86/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions