From 673ac7eeb206c9392e8167258ee58d17bc2ac695 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Tue, 22 Jul 2014 18:32:14 +0800 Subject: [PATCH] remove obsolete patches Signed-off-by: Ting Liu --- ...ude-to-usr-local-include-in-Makefile.patch | 36 ----------------- ...1-fix-sizeof-pointer-memaccess-error.patch | 39 ------------------- 2 files changed, 75 deletions(-) delete mode 100644 meta-fsl-ppc/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch delete mode 100644 meta-fsl-ppc/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch diff --git a/meta-fsl-ppc/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch b/meta-fsl-ppc/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch deleted file mode 100644 index 15c397dc..00000000 --- a/meta-fsl-ppc/recipes-kernel/linux/files/libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch +++ /dev/null @@ -1,36 +0,0 @@ -Upstream-Status: Backport - -From b9e8c37220c80e78289a1e87b50c09418eb59a7e Mon Sep 17 00:00:00 2001 -From: Jack Mitchell -Date: Fri, 08 Mar 2013 11:21:52 +0000 -Subject: libtraceevent: Remove hard coded include to /usr/local/include in Makefile - -having /usr/local/include hardcoded into the makefile is not necessary -as this is automatically included by GCC. It also infects cross-compile -builds with the host systems includes. - -Signed-off-by: Jack Mitchell -Acked-by: Namhyung Kim -Cc: Ingo Molnar -Cc: Paul Mackerras -Cc: Peter Zijlstra -Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk -Signed-off-by: Arnaldo Carvalho de Melo ---- -(limited to 'tools/lib/traceevent/Makefile') - -diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile -index a20e320..0b0a907 100644 ---- a/tools/lib/traceevent/Makefile -+++ b/tools/lib/traceevent/Makefile -@@ -122,7 +122,7 @@ export Q VERBOSE - - EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) - --INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) -+INCLUDES = -I. $(CONFIG_INCLUDES) - - # Set compile option CFLAGS if not set elsewhere - CFLAGS ?= -g -Wall --- -cgit v0.9.2 diff --git a/meta-fsl-ppc/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch b/meta-fsl-ppc/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch deleted file mode 100644 index a5622732..00000000 --- a/meta-fsl-ppc/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 59e68351114a65a1f315ded1ee92f4370b8547e2 Mon Sep 17 00:00:00 2001 -From: Ting Liu -Date: Mon, 8 Jul 2013 17:03:43 +0800 -Subject: [PATCH] fix sizeof-pointer-memaccess error - -build: src/livetree.c -.../hypervisor/git-r3/git/src/devtree.c: In function 'read_intmap': -.../hypervisor/git-r3/git/src/devtree.c:1513:25: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] - memset(ent, 0, sizeof(ent)); - ^ -cc1: all warnings being treated as errors -build: src/ipi_doorbell.c -make[1]: *** [bin/devtree.o] Error 1 -make[1]: *** Waiting for unfinished jobs.... -make[1]: Leaving directory `.../hypervisor/git-r3/git/output' -make: *** [all] Error 2 -ERROR: oe_runmake failed - -Signed-off-by: Ting Liu ---- - src/devtree.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/devtree.c b/src/devtree.c -index f3710e4..3295e20 100644 ---- a/src/devtree.c -+++ b/src/devtree.c -@@ -1510,7 +1510,7 @@ static void read_intmap(dt_node_t *node) - } - - if (imap + ent->parent_naddr + ent->parent_nint > imap_end) { -- memset(ent, 0, sizeof(ent)); -+ memset(ent, 0, sizeof(intmap_entry_t)); - break; - } - --- -1.7.5.4 - -- 2.40.1