summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2018-01-10 07:14:17 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2018-01-10 07:14:17 -0600
commite894e5dc498e25a6fcd0c7469acb071b2c392e19 (patch)
tree783f35d4017a60c87dfd9075d6c49a90f22b8a31
parent0878a20964d6e74264709da7ea7a9e4d6ba3bde7 (diff)
downloadkernel-e894e5dc498e25a6fcd0c7469acb071b2c392e19.tar.gz
kernel-e894e5dc498e25a6fcd0c7469acb071b2c392e19.tar.xz
kernel-e894e5dc498e25a6fcd0c7469acb071b2c392e19.zip
Fix typo in arm implement nospec_ptr
-rw-r--r--prevent-bounds-check-bypass-via-speculative-execution.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/prevent-bounds-check-bypass-via-speculative-execution.patch b/prevent-bounds-check-bypass-via-speculative-execution.patch
index 4e566d247..8c5fe3e00 100644
--- a/prevent-bounds-check-bypass-via-speculative-execution.patch
+++ b/prevent-bounds-check-bypass-via-speculative-execution.patch
@@ -411,7 +411,7 @@ index 40f5c410fd8c..6384c90e4b72 100644
+({ \
+ typeof(*ptr) __nln_val; \
+ typeof(*ptr) __failval = \
-+ (typeof(*ptr)(unsigned long)(failval)); \
++ (typeof(*ptr))(unsigned long)(failval); \
+ \
+ asm volatile ( \
+ " cmp %[c], %[l]\n" \