Re: [PATCH] CRED: fix build error due to 'tgcred' undeclared

From: James Morris
Date: Tue Aug 23 2011 - 04:24:29 EST


On Tue, 23 Aug 2011, David Howells wrote:

> Axel Lin <axel.lin@xxxxxxxxx> wrote:
>
> > This patch adds CONFIG_KEYS guard for tgcred to fix below build error
> > if CONFIG_KEYS is not configured.
> >
> > CC kernel/cred.o
> > kernel/cred.c: In function 'prepare_kernel_cred':
> > kernel/cred.c:657: error: 'tgcred' undeclared (first use in this function)
> > kernel/cred.c:657: error: (Each undeclared identifier is reported only once
> > kernel/cred.c:657: error: for each function it appears in.)
> > make[1]: *** [kernel/cred.o] Error 1
> > make: *** [kernel] Error 2
> >
> > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> Acked-by: David Howells <dhowells@xxxxxxxxxx>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

> James: do you want me to reissue my patches?
>

Nope, I needed a differential patch as I'd already pushed that branch out.

Thanks.


--
James Morris
<jmorris@xxxxxxxxx>
--
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/