summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-09 20:55:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-11 06:27:00 -0700
commit81995e2a0e0468b3a14cf85c40d9cd7a01b55a76 (patch)
tree9a6d21c3ba70c40084bf071a100e6471b45a9e64 /meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch
parenta2fdf7fb08acef1b495fecee84ff536f0a33bb58 (diff)
downloadpoky-81995e2a0e0468b3a14cf85c40d9cd7a01b55a76.tar.gz
qemu: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: a5c1069d2c0570186792d61151e1865642afd73a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch b/meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch
index 9bbbc6f76d..d6a3522eda 100644
--- a/meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch
+++ b/meta/recipes-devtools/qemu/qemu/apic-fixup-fallthrough-to-PIC.patch
@@ -28,12 +28,12 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
28 hw/intc/apic.c | 2 +- 28 hw/intc/apic.c | 2 +-
29 1 file changed, 1 insertion(+), 1 deletion(-) 29 1 file changed, 1 insertion(+), 1 deletion(-)
30 30
31diff --git a/hw/intc/apic.c b/hw/intc/apic.c 31Index: qemu-2.11.1/hw/intc/apic.c
32index 45887d99..c5ae4087 100644 32===================================================================
33--- a/hw/intc/apic.c 33--- qemu-2.11.1.orig/hw/intc/apic.c
34+++ b/hw/intc/apic.c 34+++ qemu-2.11.1/hw/intc/apic.c
35@@ -587,7 +587,7 @@ int apic_accept_pic_intr(DeviceState *dev) 35@@ -591,7 +591,7 @@ int apic_accept_pic_intr(DeviceState *de
36 APICCommonState *s = APIC_COMMON(dev); 36 APICCommonState *s = APIC(dev);
37 uint32_t lvt0; 37 uint32_t lvt0;
38 38
39- if (!s) 39- if (!s)
@@ -41,6 +41,3 @@ index 45887d99..c5ae4087 100644
41 return -1; 41 return -1;
42 42
43 lvt0 = s->lvt[APIC_LVT_LINT0]; 43 lvt0 = s->lvt[APIC_LVT_LINT0];
44--
452.11.0
46