chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Justin Vreeland 794d92
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Justin Vreeland 794d92
From: "Justin M. Forbes" <jforbes@fedoraproject.org>
Justin Vreeland 794d92
Date: Thu, 30 Jul 2020 10:26:11 -0500
Justin Vreeland 794d92
Subject: [PATCH] Work around for gcc bug
Justin Vreeland 794d92
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
Justin Vreeland 794d92
Justin Vreeland 794d92
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Justin Vreeland 794d92
---
Justin Vreeland 794d92
 crypto/aegis128-neon-inner.c | 4 ++--
Justin Vreeland 794d92
 1 file changed, 2 insertions(+), 2 deletions(-)
Justin Vreeland 794d92
Justin Vreeland 794d92
diff --git a/crypto/aegis128-neon-inner.c b/crypto/aegis128-neon-inner.c
Justin Vreeland 794d92
index 2a660ac1bc3a..fa87ff6a2a71 100644
Justin Vreeland 794d92
--- a/crypto/aegis128-neon-inner.c
Justin Vreeland 794d92
+++ b/crypto/aegis128-neon-inner.c
Justin Vreeland 794d92
@@ -148,8 +148,8 @@ void crypto_aegis128_init_neon(void *state, const void *key, const void *iv)
Justin Vreeland 794d92
 		kiv,
Justin Vreeland 794d92
 		vld1q_u8(const1),
Justin Vreeland 794d92
 		vld1q_u8(const0),
Justin Vreeland 794d92
-		k ^ vld1q_u8(const0),
Justin Vreeland 794d92
-		k ^ vld1q_u8(const1),
Justin Vreeland 794d92
+		(uint8x16_t) (k ^ vld1q_u8(const0)),
Justin Vreeland 794d92
+		(uint8x16_t) (k ^ vld1q_u8(const1)),
Justin Vreeland 794d92
 	}};
Justin Vreeland 794d92
 	int i;
Justin Vreeland 794d92
Justin Vreeland 794d92
-- 
Justin Vreeland 794d92
2.28.0
Justin Vreeland 794d92