[PATCH 0/3] riscv: fix sparse annotations

From: Luc Van Oostenryck
Date: Fri Jun 01 2018 - 11:21:36 EST


The RISC-V implementation seems to be quite clean regarding
sparse annotations. There is anyway three small glitches
which are corrected by this series.

Note: the 3rd patch may need another solution.

Luc Van Oostenryck (3):
riscv: use NULL instead of a plain 0
riscv: no __user for probe_kernel_address()
riscv: fix __user annotation for __copy_user()

arch/riscv/include/asm/cacheflush.h | 2 +-
arch/riscv/include/asm/tlbflush.h | 2 +-
arch/riscv/include/asm/uaccess.h | 8 ++++----
arch/riscv/kernel/traps.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)

--
2.17.1