[Yaffs] Minor inconsistency in config

Timofei V. Bondarenko timm at ipi.ac.ru
Tue Sep 20 11:16:58 BST 2005


Hi.

I've noticed some insignificant inconsistencies in CONFIG_YAFFS_ options:

1) At compile time there are several warnings like that:
In file included from include/linux/config.h:4,
                from fs/yaffs2/yportenv.h:34,
                from fs/yaffs2/yaffs_ecc.c:36:
include/linux/autoconf.h:682:1: warning: "CONFIG_YAFFS_FS" redefined
In file included from fs/yaffs2/yportenv.h:31,
                from fs/yaffs2/yaffs_ecc.c:36:
fs/yaffs2/moduleconfig.h:5:1: warning: this is the location of the previous definition


2) the yaffs_guts.c failed to compile if write verification enabled at MTD:
line 2645: there is no 'spare' variable.

3) The CONFIG_YAFFS_DISABLE_WRITE_VERIFY does nothing but printing a message.
Could it be removed if it has no other effect anyway?

I would prefer to use MTD_WRITE_VERIFY rather than yaffs one. Is it possible?

4) CONFIG_YAFFS_NO_YAFFS1 vs. CONFIG_YAFFS_YAFFS1
I tried to disable YAFFS1 support, but i still able to use yaffs1 volume.

--
Regards.
	Tim.

PS. And thanks again. No bugs - no feedback, you know ;-)
I'm using yaffs about a year in development and didn't noticed any problems.




More information about the yaffs mailing list