]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RISC-V: paravirt: Use correct restricted types
authorAndrew Jones <ajones@ventanamicro.com>
Wed, 31 Jan 2024 12:05:14 +0000 (13:05 +0100)
committerAnup Patel <anup@brainfault.org>
Fri, 9 Feb 2024 06:23:10 +0000 (11:53 +0530)
commit3752219b6007ee0421cc228f442f33b31f85addd
tree2c5738168ae946a200c04feb83d9fbd5c8965a1b
parent17c8e9ac95d81d10e9619a845a68b83c9384be64
RISC-V: paravirt: Use correct restricted types

__le32 and __le64 types should be used with le32_to_cpu() and
le64_to_cpu(), as sparse helpfully points out.

Fixes: fdf68acccfc6 ("RISC-V: paravirt: Implement steal-time support")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401011933.hL9zqmKo-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>
arch/riscv/kernel/paravirt.c