summaryrefslogtreecommitdiff
path: root/crypto/arc4.c
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2024-01-31 15:05:15 +0300
committerAnup Patel <anup@brainfault.org>2024-02-09 09:23:13 +0300
commitf072b272aa27d57cf7fe6fdedb30fb50f391974e (patch)
tree259fd975eae145e06c593b0b51cd403d55f10db6 /crypto/arc4.c
parent3752219b6007ee0421cc228f442f33b31f85addd (diff)
downloadlinux-f072b272aa27d57cf7fe6fdedb30fb50f391974e.tar.xz
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 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions