summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch')
-rw-r--r--recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch b/recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch
deleted file mode 100644
index 61229997..00000000
--- a/recipes-extended/xen/files/xen-tools-kdd-fix-build-again.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From d44cbbe0f3243afcc56e47dcfa97bbfe23e46fbb Mon Sep 17 00:00:00 2001
2From: Wei Liu <wl@xen.org>
3Date: Fri, 3 Jul 2020 20:10:01 +0000
4Subject: [PATCH] kdd: fix build again
5
6Restore Tim's patch. The one that was committed was recreated by me
7because git didn't accept my saved copy. I made some mistakes while
8recreating that patch and here we are.
9
10Fixes: 3471cafbdda3 ("kdd: stop using [0] arrays to access packet contents")
11Reported-by: Michael Young <m.a.young@durham.ac.uk>
12Signed-off-by: Wei Liu <wl@xen.org>
13Reviewed-by: Tim Deegan <tim@xen.org>
14Release-acked-by: Paul Durrant <paul@xen.org>
15---
16 tools/debugger/kdd/kdd.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/tools/debugger/kdd/kdd.c b/tools/debugger/kdd/kdd.c
20index 866532f0c7..a7d0976ea4 100644
21--- a/tools/debugger/kdd/kdd.c
22+++ b/tools/debugger/kdd/kdd.c
23@@ -79,11 +79,11 @@ typedef struct {
24 /* State of the debugger stub */
25 typedef struct {
26 union {
27- uint8_t txb[sizeof (kdd_hdr)]; /* Marshalling area for tx */
28+ uint8_t txb[sizeof (kdd_pkt)]; /* Marshalling area for tx */
29 kdd_pkt txp; /* Also readable as a packet structure */
30 };
31 union {
32- uint8_t rxb[sizeof (kdd_hdr)]; /* Marshalling area for rx */
33+ uint8_t rxb[sizeof (kdd_pkt)]; /* Marshalling area for rx */
34 kdd_pkt rxp; /* Also readable as a packet structure */
35 };
36 unsigned int cur; /* Offset into rx where we'll put the next byte */
37--
382.17.1
39