summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2025-04-10 07:05:26 +0000
committerPalmer Dabbelt <palmer@rivosinc.com>2025-05-08 10:01:00 -0700
commitf6bff7827a48e59cff1ef98aae72452d65174e0c (patch)
treeb0585c193bb888911f2b39cfd6df088226683073 /scripts/lib/kdoc/kdoc_output.py
parentcdf647e817143c9762c5bdf724ca2821a171f011 (diff)
riscv: uaccess: use 'asm_goto_output' for get_user()
With 'asm goto' we don't need to test the error etc, the exception just jumps to the error handling directly. Unlike put_user(), get_user() must work around GCC bugs [1] when using output clobbers in an asm goto statement. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113921 # 1 Signed-off-by: Jisheng Zhang <jszhang@kernel.org> [Cyril Bur: Rewritten commit message] Signed-off-by: Cyril Bur <cyrilbur@tenstorrent.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250410070526.3160847-6-cyrilbur@tenstorrent.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions