aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2025-06-02 19:39:15 +0000
committerPalmer Dabbelt <[email protected]>2025-06-05 18:39:16 +0000
commit020667d661f9be65167174d28a6eda7102f7293f (patch)
treec7a420e96a40404c9303cb41a2b6acfd4761a0d0 /drivers/gpu/drm/amd/amdgpu/atom.c
parentriscv: make unsafe user copy routines use existing assembly routines (diff)
downloadkernel-020667d661f9be65167174d28a6eda7102f7293f.tar.gz
kernel-020667d661f9be65167174d28a6eda7102f7293f.zip
riscv: process: use unsigned int instead of unsigned long for put_user()
The specification of prctl() for GET_UNALIGN_CTL states that the value is returned in an unsigned int * address passed as an unsigned long. Change the type to match that and avoid an unaligned access as well. Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions