diff options
| author | Ting Liu <b28495@freescale.com> | 2013-07-10 03:45:00 +0000 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-07-11 16:48:28 +0800 |
| commit | 811b8944616e03f109038a127aec8aa2cdb9b8b6 (patch) | |
| tree | 111505b1d0b2a5ccd22e5ccd7fb7b07306b45d83 /meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb | |
| parent | 4121c7b01546ad072383d92946cd54d0f87259a8 (diff) | |
| download | meta-freescale-811b8944616e03f109038a127aec8aa2cdb9b8b6.tar.gz | |
hypervisor: fix sizeof-pointer-memaccess error
Fix the below build 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 <b28495@freescale.com>
Diffstat (limited to 'meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb')
| -rw-r--r-- | meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb b/meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb index dc864066e..ff89bfa2f 100644 --- a/meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb +++ b/meta-fsl-ppc/recipes-virtualization/hypervisor/hypervisor_git.bb | |||
| @@ -18,6 +18,7 @@ SRC_URI = " \ | |||
| 18 | git://git.freescale.com/ppc/sdk/hypervisor/libos.git;name=libos;destsuffix=git/libos \ | 18 | git://git.freescale.com/ppc/sdk/hypervisor/libos.git;name=libos;destsuffix=git/libos \ |
| 19 | git://www.jdl.com/software/dtc.git;name=dtc;destsuffix=dtc \ | 19 | git://www.jdl.com/software/dtc.git;name=dtc;destsuffix=dtc \ |
| 20 | git://git.freescale.com/ppc/sdk/hypertrk.git;name=hypertrk;destsuffix=git/hypertrk \ | 20 | git://git.freescale.com/ppc/sdk/hypertrk.git;name=hypertrk;destsuffix=git/hypertrk \ |
| 21 | file://0001-fix-sizeof-pointer-memaccess-error.patch \ | ||
| 21 | file://81-fsl-embedded-hv.rules \ | 22 | file://81-fsl-embedded-hv.rules \ |
| 22 | " | 23 | " |
| 23 | 24 | ||
