Linux kernel bug fix: riscv/atomic: Do proper sign extension also for unsigned in arch_cmpxchg
Subsystem: arch/riscv (arch/riscv/include/asm/cmpxchg.h)
Bug type: signedness, severity: low
Files changed: arch/riscv/include/asm/cmpxchg.h
Introduced by Nathan Huckleberry on 2020-06-12 12:07:58 -0700; fixed by Andreas Schwab on 2025-02-14 13:06:23 -0800 (lifetime: 1708 days)