From 525ddbed32186ce20457a432dc19ceef25228852 Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Wed, 24 Feb 2021 16:59:48 -0800 Subject: [PATCH] Fixed operator in comment in slide_hash_chain for power8. --- arch/power/slide_power8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/power/slide_power8.c b/arch/power/slide_power8.c index 3c78d303..f1530572 100644 --- a/arch/power/slide_power8.c +++ b/arch/power/slide_power8.c @@ -38,7 +38,7 @@ static inline void slide_hash_chain(Pos *table, uint32_t entries, uint16_t wsize /* This is equivalent to: m >= wsize ? m - wsize : 0 * Since we are using a saturated unsigned subtraction, any - * values that are > wsize will be set to 0, while the others + * values that are <= wsize will be set to 0, while the others * will be subtracted by wsize. */ *vp = vec_subs(vm,vw); } while (--chunks); -- 2.47.3