http://bugzilla.opensuse.org/show_bug.cgi?id=1188327
http://bugzilla.opensuse.org/show_bug.cgi?id=1188327#c14
--- Comment #14 from Mian Yousaf Kaukab ---
I will send the following patch upstream shortly:
diff --git a/crypto/ecc.h b/crypto/ecc.h
index a006132646a4..5e2d9045208c 100644
--- a/crypto/ecc.h
+++ b/crypto/ecc.h
@@ -27,6 +27,7 @@
#define _CRYPTO_ECC_H
#include
+#include
/* One digit is u64 qword. */
#define ECC_CURVE_NIST_P192_DIGITS 3
@@ -52,7 +53,7 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out,
unsigned int ndigits
int i;
for (i = 0; i < ndigits; i++)
- out[i] = be64_to_cpu(src[ndigits - 1 - i]);
+ out[i] = get_unaligned_be64(&src[ndigits - 1 - i]);
}
--
You are receiving this mail because:
You are the assignee for the bug.