summaryrefslogtreecommitdiffstats
path: root/prevent-bounds-check-bypass-via-speculative-execution.patch
diff options
context:
space:
mode:
Diffstat (limited to 'prevent-bounds-check-bypass-via-speculative-execution.patch')
-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 468fa646e..0969a6792 100644
--- a/prevent-bounds-check-bypass-via-speculative-execution.patch
+++ b/prevent-bounds-check-bypass-via-speculative-execution.patch
@@ -434,7 +434,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" \