Re: linux-next: Tree for October 6
From: Ingo Molnar
Date: Tue Oct 26 2010 - 08:41:39 EST
* Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> wrote:
> Anyhow, does the following fix the bug?
Thanks, trying it.
> Stephen Rothwell reports:
>
> > /home/test/linux-2.6/fs/nfs/nfsroot.c: In function 'nfs_root_debug':
> > /home/test/linux-2.6/fs/nfs/nfsroot.c:110:2: error: 'nfs_debug'
> > undeclared (first use in this function)
> > /home/test/linux-2.6/fs/nfs/nfsroot.c:110:2: note: each undeclared
> > identifier is reported only once for each function it appears in
> > make[3]: *** [fs/nfs/nfsroot.o] Error 1
> > make[2]: *** [fs/nfs] Error 2
> > make[1]: *** [fs] Error 2
> > make: *** [sub-make] Error 2
>
> Which is caused by commit 306a075362a288683f6346185f97dd0e06df19da
> (NFS: Allow NFSROOT debugging messages to be enabled dynamically)
>
> Fix is to disable this code when RPC_DEBUG is disabled.
>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
The commit also needs this tag:
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Thanks,
Ingo
--
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/