diff options
| author | Ting Liu <b28495@freescale.com> | 2014-07-22 18:32:14 +0800 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-07-23 17:52:32 +0800 |
| commit | dd968440a80caca4e0532709f939e9e027629c7a (patch) | |
| tree | a79ac8e0c36fb86494d82781cce25e8ea5666884 /recipes-virtualization/hypervisor | |
| parent | c4cdfe0f5fd8a1f09af84ad4d2629acfabb0840f (diff) | |
| download | meta-fsl-ppc-dd968440a80caca4e0532709f939e9e027629c7a.tar.gz | |
remove obsolete patches
Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'recipes-virtualization/hypervisor')
| -rw-r--r-- | recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch b/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch deleted file mode 100644 index a562273..0000000 --- a/recipes-virtualization/hypervisor/files/0001-fix-sizeof-pointer-memaccess-error.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From 59e68351114a65a1f315ded1ee92f4370b8547e2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ting Liu <b28495@freescale.com> | ||
| 3 | Date: Mon, 8 Jul 2013 17:03:43 +0800 | ||
| 4 | Subject: [PATCH] fix sizeof-pointer-memaccess error | ||
| 5 | |||
| 6 | build: src/livetree.c | ||
| 7 | .../hypervisor/git-r3/git/src/devtree.c: In function 'read_intmap': | ||
| 8 | .../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] | ||
| 9 | memset(ent, 0, sizeof(ent)); | ||
| 10 | ^ | ||
| 11 | cc1: all warnings being treated as errors | ||
| 12 | build: src/ipi_doorbell.c | ||
| 13 | make[1]: *** [bin/devtree.o] Error 1 | ||
| 14 | make[1]: *** Waiting for unfinished jobs.... | ||
| 15 | make[1]: Leaving directory `.../hypervisor/git-r3/git/output' | ||
| 16 | make: *** [all] Error 2 | ||
| 17 | ERROR: oe_runmake failed | ||
| 18 | |||
| 19 | Signed-off-by: Ting Liu <b28495@freescale.com> | ||
| 20 | --- | ||
| 21 | src/devtree.c | 2 +- | ||
| 22 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 23 | |||
| 24 | diff --git a/src/devtree.c b/src/devtree.c | ||
| 25 | index f3710e4..3295e20 100644 | ||
| 26 | --- a/src/devtree.c | ||
| 27 | +++ b/src/devtree.c | ||
| 28 | @@ -1510,7 +1510,7 @@ static void read_intmap(dt_node_t *node) | ||
| 29 | } | ||
| 30 | |||
| 31 | if (imap + ent->parent_naddr + ent->parent_nint > imap_end) { | ||
| 32 | - memset(ent, 0, sizeof(ent)); | ||
| 33 | + memset(ent, 0, sizeof(intmap_entry_t)); | ||
| 34 | break; | ||
| 35 | } | ||
| 36 | |||
| 37 | -- | ||
| 38 | 1.7.5.4 | ||
| 39 | |||
