Re: [PATCH] fs: jffs2: fix error value sign

From: Dan Carpenter
Date: Mon Nov 15 2010 - 13:47:28 EST


On Mon, Nov 15, 2010 at 05:37:37PM +0300, Vasiliy Kulikov wrote:
>
> x86_64, linux-next:
>
> make -C /home/vasya/linux fs/jffs2/xattr.o
> make: ÐÑÐÐ Ð ÐÐÑÐÐÐÐ `/home/vasya/dev/linux-next'
^^^^^^^^^^^^^^

This means "Entering directory" right? So /home/vasya/linux is a
symlink to /home/vasya/dev/linux-next. It still compiles for me
when I create a symlink and use the -C option...

> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CALL scripts/checksyscalls.sh
> CC fs/jffs2/xattr.o
> fs/jffs2/xattr.c: In function âunload_xattr_datumâ:
> fs/jffs2/xattr.c:87: error: âstruct jffs2_sb_infoâ has no member named âxdatum_mem_usageâ
> fs/jffs2/xattr.c: In function âreclaim_xattr_datumâ: fs/jffs2/xattr.c:105: error: âstruct jffs2_sb_infoâ has no member named
> âxdatum_mem_thresholdâ fs/jffs2/xattr.c:105: error: âstruct jffs2_sb_infoâ has no member named
> âxdatum_mem_usageâ fs/jffs2/xattr.c:108: error: âstruct jffs2_sb_infoâ has no member named
> âxdatum_mem_usageâ fs/jffs2/xattr.c:109: error: âstruct jffs2_sb_infoâ has no member named
> âxdatum_mem_usageâ fs/jffs2/xattr.c:110: error: âXATTRINDEX_HASHSIZEâ undeclared (first use
> in this function) fs/jffs2/xattr.c:110: error: (Each undeclared identifier is reported
> only once
> fs/jffs2/xattr.c:110: error: for each function it appears in.)
>

It's not pulling in the CONFIG_JFFS2_FS_XATTR=y for some reason. Is
there an environment variable which it uses to pull in your config
file? An allyesconfig or an allmodconfig should work.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/