Wind River Support Network

HomeDefectsLIN6-8234
Fixed

LIN6-8234 : YAFFS2 build warning on fs/yaffs2/yaffs_vfs.c

Created: Aug 24, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 1, 2014
Found In Version: 6.0
Fix Version: 6.0.0.12
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

  CC      fs/yaffs2/yaffs_vfs.o
/builds/fsl-t4xxx-6_0_1-01/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver/3.10-r0/linux/fs/yaffs2/yaffs_vfs.c:3036:14: warning: 'yaffs_dump_dev_part0' defined but not used [-Wunused-function]
 static char *yaffs_dump_dev_part0(char *buf, struct yaffs_dev *dev)
              ^
/builds/fsl-t4xxx-6_0_1-01/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver/3.10-r0/linux/fs/yaffs2/yaffs_vfs.c:3074:14: warning: 'yaffs_dump_dev_part1' defined but not used [-Wunused-function]
 static char *yaffs_dump_dev_part1(char *buf, struct yaffs_dev *dev)
              ^
/builds/fsl-t4xxx-6_0_1-01/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver/3.10-r0/linux/fs/yaffs2/yaffs_vfs.c:3192:3: warning: 'mask_flags' defined but not used [-Wunused-variable]
 } mask_flags[] = {
   ^

Steps to Reproduce

Build a kernel with YAFFS enabled. Checking the log.do_compile(yes) or log.do_compile_kernelmodules(M).

Other Downloads


Live chat
Online