diff options
author | Uros Bizjak <[email protected]> | 2024-07-21 18:45:41 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-07-29 12:16:21 +0200 |
commit | 6623b0217d0c9bed80bfa43b778ce1c0eb03b497 (patch) | |
tree | 61e7cd88c5bc6c955cae62e8f1a9cc9e96072c79 /scripts/generate_rust_analyzer.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
locking/pvqspinlock: Correct the type of "old" variable in pv_kick_node()
"enum vcpu_state" is not compatible with "u8" type for all targets,
resulting in:
error: initialization of 'u8 *' {aka 'unsigned char *'} from incompatible pointer type 'enum vcpu_state *'
for LoongArch. Correct the type of "old" variable to "u8".
Fixes: fea0e1820b51 ("locking/pvqspinlock: Use try_cmpxchg() in qspinlock_paravirt.h")
Closes: https://lore.kernel.org/lkml/[email protected]/
Reported-by: Bibo Mao <[email protected]>
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions