From: Tom Rini Date: Sun, 19 Jun 2016 10:12:42 -0400 Subject: [U-Boot] [PATCH] fs: cbfs: Fix build of fs/cbfs/cbfs.c when building u-boot sandbox on x86 32-bit In-Reply-To: <1466156737-6491-1-git-send-email-guillaume.gardet@free.fr> References: <1466156737-6491-1-git-send-email-guillaume.gardet@free.fr> Message-ID: <20160619141242.GP4353@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jun 17, 2016 at 11:45:37AM +0200, Guillaume GARDET wrote: > Fix the following build errors when building sandbox on x86 32-bit: > > In file included from fs/cbfs/cbfs.c:8:0: > include/malloc.h:364:7: error: conflicting types for 'memset' > void* memset(void*, int, size_t); > ^ > In file included from include/compiler.h:123:0, > from include/cbfs.h:10, > from fs/cbfs/cbfs.c:7: > include/linux/string.h:78:15: note: previous declaration of 'memset' was here > extern void * memset(void *,int,__kernel_size_t); > ^ > In file included from fs/cbfs/cbfs.c:8:0: > include/malloc.h:365:7: error: conflicting types for 'memcpy' > void* memcpy(void*, const void*, size_t); > ^ > In file included from include/compiler.h:123:0, > from include/cbfs.h:10, > from fs/cbfs/cbfs.c:7: > include/linux/string.h:81:15: note: previous declaration of 'memcpy' was here > extern void * memcpy(void *,const void *,__kernel_size_t); > ^ > scripts/Makefile.build:280: recipe for target 'fs/cbfs/cbfs.o' failed > > > Signed-off-by: Guillaume GARDET > Cc: Tom Rini > Reviewed-by: Simon Glass > Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: