linux/arch/riscv
Luc Van Oostenryck 9bf97390b3
riscv: no __user for probe_kernel_address()
In is_valid_bugaddr(), probe_kernel_address() is called with
the PC casted to (bug_inst_t __user *) but this function
only take a plain void* as argument, not a __user pointer.

Fix this by removing the unnneded __user in the cast.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-06-07 08:01:52 -07:00
..
configs RISC-V: Enable module support in defconfig 2018-04-02 20:00:56 -07:00
include riscv: use NULL instead of a plain 0 2018-06-07 08:01:50 -07:00
kernel riscv: no __user for probe_kernel_address() 2018-06-07 08:01:52 -07:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm RISC-V changes for 4.16 2018-02-07 11:33:08 -08:00
Kconfig riscv: select DMA_DIRECT_OPS instead of redefining it 2018-04-24 10:54:08 -07:00
Makefile RISC-V: Fixes to module loading 2018-04-02 20:43:14 -07:00