diff options
| author | Luc Van Oostenryck <[email protected]> | 2018-06-01 15:21:22 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2018-06-07 15:01:52 +0000 |
| commit | 9bf97390b3030b68a465681043a66461c7cf6a65 (patch) | |
| tree | 7a7e0c68d360c4a6314e56407975fc3472273be7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | riscv: use NULL instead of a plain 0 (diff) | |
| download | kernel-9bf97390b3030b68a465681043a66461c7cf6a65.tar.gz kernel-9bf97390b3030b68a465681043a66461c7cf6a65.zip | |
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 <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
