Re: [2.6 patch] fix the JFFS2_FS_DEBUG=2 compilation
David Woodhouse <[email protected]> Sat, 13 Jan 2007 19:29:59 +0800
| Newsgroups | gmane.linux.kernel,gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2007-01-13 at 11:51 +0100, Adrian Bunk wrote: > On Fri, Jan 12, 2007 at 09:05:37PM +0000, Russell King wrote: > > The following configuration: > > > > CONFIG_JFFS2_FS=y > > CONFIG_JFFS2_FS_DEBUG=2 > > # CONFIG_JFFS2_FS_NAND is not set > > # CONFIG_JFFS2_FS_NOR_ECC is not set > > # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set > > CONFIG_JFFS2_ZLIB=y > > CONFIG_JFFS2_RTIME=y > > # CONFIG_JFFS2_RUBIN is not set > > > > results in these build errors: > > > > fs/jffs2/malloc.c: In function 'jffs2_alloc_full_dirent': > > fs/jffs2/malloc.c:126: error: dereferencing pointer to incomplete type > > fs/jffs2/malloc.c: In function 'jffs2_free_full_dirent': > > fs/jffs2/malloc.c:132: error: dereferencing pointer to incomplete type > > fs/jffs2/malloc.c: In function 'jffs2_alloc_full_dnode': > > fs/jffs2/malloc.c:140: error: dereferencing pointer to incomplete type > > fs/jffs2/malloc.c: In function 'jffs2_free_full_dnode': > > fs/jffs2/malloc.c:146: error: dereferencing pointer to incomplete type > > fs/jffs2/malloc.c: In function 'jffs2_alloc_raw_dirent': > > fs/jffs2/malloc.c:154: error: dereferencing pointer to incomplete type > > > > ... etc ... > > Thanks for the report, patch below. The patch is already in the MTD git tree, which is still awaiting Linus to pull. -- dwmw2