linux/arch/loongarch/lib
WANG Rui a04cb0c408 LoongArch: Fix return value underflow in exception path
commit e66d511fc9 upstream.

This patch fixes an underflow issue in the return value within the
exception path, specifically at .Llt8 when the remaining length is less
than 8 bytes.

Cc: stable@vger.kernel.org
Fixes: 8941e93ca5 ("LoongArch: Optimize memory ops (memset/memcpy/memmove)")
Reported-by: Weihao Li <liweihao@loongson.cn>
Signed-off-by: WANG Rui <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2023-08-03 10:26:11 +02:00
..
clear_user.S LoongArch: Fix return value underflow in exception path 2023-08-03 10:26:11 +02:00
copy_user.S LoongArch: Fix return value underflow in exception path 2023-08-03 10:26:11 +02:00
csum.c LoongArch: Add checksum optimization for 64-bit system 2023-05-01 17:19:43 +08:00
delay.c LoongArch: Remove useless header compiler.h 2022-07-29 18:22:32 +08:00
dump_tlb.c LoongArch: Improve dump_tlb() output messages 2022-09-03 18:01:27 +08:00
error-inject.c LoongArch: Add support for function error injection 2023-05-01 17:19:52 +08:00
Makefile LoongArch: Add support for function error injection 2023-05-01 17:19:52 +08:00
memcpy.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
memmove.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
memset.S LoongArch: Optimize memory ops (memset/memcpy/memmove) 2023-05-01 17:19:43 +08:00
unaligned.S LoongArch: Add unaligned access support 2022-12-14 08:36:11 +08:00