Skip to contentSkip to conversation

Revert "tools/kdd: mute spurious gcc warning"

PATCH In review Wei Liu 3 participants 3 messages May 22, 2018 – May 29, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 Revert "tools/kdd: mute spurious gcc warning"

This reverts commit 437e00fea04becc91c1b6bc1c0baa636b067a5cc.

---
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(-)
tools/debugger/kdd/kdd.c +0 -3
index 61d769ece9..1bd5dd5992 100644
@@ -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
         }
     }
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 22.05.18 at 15:36, <[email protected]> wrote:

This reverts commit 437e00fea04becc91c1b6bc1c0baa636b067a5cc.

---
Fedora 28 appears to have fixed their gcc.

Arch Linux build with gcc 8.1 passes, too.

Wouldn't you want to move one or both of these up into the commit message?

In any event - thanks for following up here in place of Marek!

Jan

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