diff options
author | David McKay <[email protected]> | 2024-01-04 09:40:10 +0000 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2024-01-05 23:19:14 +0100 |
commit | d93cca2f3109f88c94a32d3322ec8b2854a9c339 (patch) | |
tree | 1b00871dbfab6e39c9aa8bef5bdf52e6ff46e9aa /lib/test_fortify/write_overflow-memcpy.c | |
parent | d6e81532b10d8deb2bc30f7b44f09534876893e3 (diff) |
asm-generic: Fix 32 bit __generic_cmpxchg_local
Commit 656e9007ef58 ("asm-generic: avoid __generic_cmpxchg_local
warnings") introduced a typo that means the code is incorrect for 32 bit
values. It will work fine for postive numbers, but will fail for
negative numbers on a system where longs are 64 bit.
Fixes: 656e9007ef58 ("asm-generic: avoid __generic_cmpxchg_local warnings")
Signed-off-by: David McKay <[email protected]>
Signed-off-by: Stuart Menefy <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions