]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: __asm_copy_to-from_user: Remove unnecessary size check
authorAkira Tsukamoto <akira.tsukamoto@gmail.com>
Tue, 20 Jul 2021 08:52:36 +0000 (17:52 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 24 Jul 2021 00:49:07 +0000 (17:49 -0700)
commit81e790630ce557397c8c016dcbd3f8f2991a6c58
tree2c34904e6fcde2d513473c90b90f237510b13fbc
parentd300ee46430e75f19d9b19fdfa432f41927fa33e
riscv: __asm_copy_to-from_user: Remove unnecessary size check

Clean up:

The size of 0 will be evaluated in the next step. Not
required here.

Signed-off-by: Akira Tsukamoto <akira.tsukamoto@gmail.com>
Fixes: 6b08537cd45a ("riscv: __asm_copy_to-from_user: Optimize unaligned memory access and pipeline stall")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/lib/uaccess.S