Skip to content
Commit e66d511f authored by WANG Rui's avatar WANG Rui Committed by Huacai Chen
Browse files

LoongArch: Fix return value underflow in exception path



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: 8941e93c ("LoongArch: Optimize memory ops (memset/memcpy/memmove)")
Reported-by: default avatarWeihao Li <liweihao@loongson.cn>
Signed-off-by: default avatarWANG Rui <wangrui@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 83da30d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment