diff options
| author | Andrew Jones <[email protected]> | 2024-01-31 12:05:15 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-02-09 06:23:13 +0000 |
| commit | f072b272aa27d57cf7fe6fdedb30fb50f391974e (patch) | |
| tree | 259fd975eae145e06c593b0b51cd403d55f10db6 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | RISC-V: paravirt: Use correct restricted types (diff) | |
| download | kernel-f072b272aa27d57cf7fe6fdedb30fb50f391974e.tar.gz kernel-f072b272aa27d57cf7fe6fdedb30fb50f391974e.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
