Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xen/riscv: fix type mismatch in read_atomic_size()
Correct a typo in read_atomic_size() where a 64-bit result was incorrectly cast to a `uint32_t` instead of `uint64_t` in the case of 8-byte reads. Fixes: 3cd46d4 ("xen/riscv: introduce atomic.h") Reported-by: Andrew Cooper <[email protected]> Signed-off-by: Oleksii Kurochko <[email protected]> Reviewed-by: Jan Beulich <[email protected]>
- Loading branch information