This reverts commit 437e00fea04becc91c1b6bc1c0baa636b067a5cc.

Signed-off-by: Wei Liu <[email protected]>
---
Fedora 28 appears to have fixed their gcc.

Arch Linux build with gcc 8.1 passes, too.

Cc: Tim Deegan <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Marek Marczykowski-Górecki <[email protected]>
Cc: Juergen Gross <[email protected]>
---
 tools/debugger/kdd/kdd.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/debugger/kdd/kdd.c b/tools/debugger/kdd/kdd.c
index 61d769ece9..1bd5dd5992 100644
--- a/tools/debugger/kdd/kdd.c
+++ b/tools/debugger/kdd/kdd.c
@@ -695,10 +695,7 @@ static void kdd_handle_read_ctrl(kdd_state *s)
             KDD_LOG(s, "Request outside of known control space\n");
             len = 0;
         } else {
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Warray-bounds"
             memcpy(buf, ((uint8_t *)&ctrl.c32) + offset, len);
-#pragma GCC diagnostic pop
         }
     }
 
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to