LoongArch: Fix unsigned comparison with less than zero
authorKaiLong Wang <wangkailong@jari.cn>
Mon, 21 Nov 2022 11:02:57 +0000 (19:02 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 21 Nov 2022 11:02:57 +0000 (19:02 +0800)
commitb96e74bb439f096168c78ba3ba1599e0b85cfd73
tree46589c1433bcf278b58f6cd097900e2a0dbca2c0
parent54e6cd42a183b602e3627ad3aaeeed44f7443e67
LoongArch: Fix unsigned comparison with less than zero

Eliminate the following coccicheck warning:

./arch/loongarch/kernel/unwind_prologue.c:84:5-13: WARNING: Unsigned
expression compared with zero: frame_ra < 0

Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/unwind_prologue.c