diff options
| author | Andrew Jones <ajones@ventanamicro.com> | 2024-01-31 13:05:15 +0100 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-02-09 11:53:13 +0530 |
| commit | f072b272aa27d57cf7fe6fdedb30fb50f391974e (patch) | |
| tree | 259fd975eae145e06c593b0b51cd403d55f10db6 /lib/timerqueue.c | |
| parent | 3752219b6007ee0421cc228f442f33b31f85addd (diff) | |
RISC-V: KVM: Use correct restricted types
__le32 and __le64 types should be used with le32_to_cpu() and
le64_to_cpu() and __user is needed for pointers referencing
guest memory, as sparse helpfully points out.
Fixes: e9f12b5fff8a ("RISC-V: KVM: Implement SBI STA extension")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401020142.lwFEDK5v-lkp@intel.com/
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
