From 6a7b2a7eecb99c7b5cf5e1dab3eedc6c64116530 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Wed, 10 Jan 2018 10:22:53 -0800 Subject: [PATCH] Apply the same fixup to both sections --- prevent-bounds-check-bypass-via-speculative-execution.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prevent-bounds-check-bypass-via-speculative-execution.patch b/prevent-bounds-check-bypass-via-speculative-execution.patch index 8c5fe3e00..890efc149 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" \