summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2025-06-02 22:39:15 +0300
committerPalmer Dabbelt <palmer@dabbelt.com>2025-06-05 21:39:16 +0300
commit020667d661f9be65167174d28a6eda7102f7293f (patch)
treec7a420e96a40404c9303cb41a2b6acfd4761a0d0 /tools/perf/scripts/python
parenta4348546332c9fae12b29acb514535e0a52b9b3c (diff)
downloadlinux-020667d661f9be65167174d28a6eda7102f7293f.tar.xz
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 <cleger@rivosinc.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250602193918.868962-3-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions