From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753869Ab1HWHgn (ORCPT ); Tue, 23 Aug 2011 03:36:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30035 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068Ab1HWHgk (ORCPT ); Tue, 23 Aug 2011 03:36:40 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1314084231.5033.1.camel@phoenix> References: <1314084231.5033.1.camel@phoenix> To: Axel Lin Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, James Morris , "Serge E. Hallyn" , Andrew Morton , "Eric W. Biederman" Subject: Re: [PATCH] CRED: fix build error due to 'tgcred' undeclared Date: Tue, 23 Aug 2011 08:36:27 +0100 Message-ID: <25044.1314084987@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Axel Lin 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 Acked-by: David Howells James: do you want me to reissue my patches?