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 | 58178d176e44689069692cad033a24370899b14d (patch) | |
tree | cf1b56c66f788f1f89a4a35d1f28f364bc38d201 /recipes-bsp/u-boot | |
parent | 851c7ff26de131b871bd5a64274c1a2b13d60fc3 (diff) | |
download | meta-fsl-ppc-58178d176e44689069692cad033a24370899b14d.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 'recipes-bsp/u-boot')
0 files changed, 0 insertions, 0 deletions