diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-04-08 13:41:22 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-05-06 14:29:21 -0700 |
commit | 2ba5b4130e3d5d05c95981e1d2e660d57e613fda (patch) | |
tree | 9c64fc5b63d59195a218e2a57805333cb3342706 /crypto/dh_helper.c | |
parent | d372e20433cbc0b0e3e59c89ccb6618501fcf6af (diff) |
Documentation/litmus-tests: Make cmpxchg() tests safe for klitmus
The four litmus tests in Documentation/litmus-tests/atomic do not
declare all of their local variables. Although this is just fine for LKMM
analysis by herd7, it causes build failures when run in-kernel by klitmus.
This commit therefore adjusts these tests to declare all local variables.
Reported-by: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Andrea Parri <parri.andrea@gmail.com>
Diffstat (limited to 'crypto/dh_helper.c')
0 files changed, 0 insertions, 0 deletions