diff options
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.patch | 39 |
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 @@ | |||
1 | From d44cbbe0f3243afcc56e47dcfa97bbfe23e46fbb Mon Sep 17 00:00:00 2001 | ||
2 | From: Wei Liu <wl@xen.org> | ||
3 | Date: Fri, 3 Jul 2020 20:10:01 +0000 | ||
4 | Subject: [PATCH] kdd: fix build again | ||
5 | |||
6 | Restore Tim's patch. The one that was committed was recreated by me | ||
7 | because git didn't accept my saved copy. I made some mistakes while | ||
8 | recreating that patch and here we are. | ||
9 | |||
10 | Fixes: 3471cafbdda3 ("kdd: stop using [0] arrays to access packet contents") | ||
11 | Reported-by: Michael Young <m.a.young@durham.ac.uk> | ||
12 | Signed-off-by: Wei Liu <wl@xen.org> | ||
13 | Reviewed-by: Tim Deegan <tim@xen.org> | ||
14 | Release-acked-by: Paul Durrant <paul@xen.org> | ||
15 | --- | ||
16 | tools/debugger/kdd/kdd.c | 4 ++-- | ||
17 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/tools/debugger/kdd/kdd.c b/tools/debugger/kdd/kdd.c | ||
20 | index 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 | -- | ||
38 | 2.17.1 | ||
39 | |||