commit | 9bf97390b3030b68a465681043a66461c7cf6a65 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Fri Jun 01 17:21:22 2018 +0200 |
committer | Palmer Dabbelt <palmer@sifive.com> | Thu Jun 07 08:01:52 2018 -0700 |
tree | 7a7e0c68d360c4a6314e56407975fc3472273be7 | |
parent | 2861ae302f6bf7221db2dac5bd4cf0f2e4cab13b [diff] |
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>