diff mbox

[U-Boot,3/6] YAFFS2: fs/yaffs2/Makefile - fix build warnings

Message ID 1315483822-25399-4-git-send-email-wd@denx.de
State Accepted
Commit 9d0265e9bb3f5c2bc45c1372bf8dae870c0644fe
Headers show

Commit Message

Wolfgang Denk Sept. 8, 2011, 12:10 p.m. UTC
Drop the "-DNO_Y_INLINE" setting to fix these:
yaffs_guts.h:806: warning: 'yaffs_GetBlockInfo' defined but not used

Impact on image size is negligible - for the VCMA9 board the text
segment size grew from 496353 to 496357 bytes (i. e. 0.0008%);
total image size even remained constant.

Signed-off-by: Wolfgang Denk <wd@denx.de>
---
 fs/yaffs2/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Wolfgang Denk Sept. 9, 2011, 10 p.m. UTC | #1
Dear Wolfgang Denk,

In message <1315483822-25399-4-git-send-email-wd@denx.de> you wrote:
> Drop the "-DNO_Y_INLINE" setting to fix these:
> yaffs_guts.h:806: warning: 'yaffs_GetBlockInfo' defined but not used
> 
> Impact on image size is negligible - for the VCMA9 board the text
> segment size grew from 496353 to 496357 bytes (i. e. 0.0008%);
> total image size even remained constant.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> ---
>  fs/yaffs2/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/fs/yaffs2/Makefile b/fs/yaffs2/Makefile
index 7753cfc..6c50c81 100644
--- a/fs/yaffs2/Makefile
+++ b/fs/yaffs2/Makefile
@@ -31,7 +31,7 @@  SRCS    := $(COBJS-y:.o=.c)
 OBJS    := $(addprefix $(obj),$(COBJS-y))
 
 # -DCONFIG_YAFFS_NO_YAFFS1
-CFLAGS +=    -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YAFFS_YAFFS2 -DNO_Y_INLINE -DLINUX_VERSION_CODE=0x20622
+CFLAGS +=    -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YAFFS_YAFFS2 -DLINUX_VERSION_CODE=0x20622
 
 all:  $(LIB)