Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268464AbUIHIya (ORCPT ); Wed, 8 Sep 2004 04:54:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268968AbUIHIya (ORCPT ); Wed, 8 Sep 2004 04:54:30 -0400 Received: from ecbull20.frec.bull.fr ([129.183.4.3]:14518 "EHLO ecbull20.frec.bull.fr") by vger.kernel.org with ESMTP id S268464AbUIHIyT (ORCPT ); Wed, 8 Sep 2004 04:54:19 -0400 Date: Wed, 8 Sep 2004 10:54:10 +0200 (DFT) From: Simon Derr X-X-Sender: derrs@isabelle.frec.bull.fr To: Andrew Morton cc: Simon Derr , linux-kernel@vger.kernel.org, David Howells Subject: Re: 2.6.9-rc1-mm4 In-Reply-To: <20040908014735.7a2058dc.akpm@osdl.org> Message-ID: References: <20040907020831.62390588.akpm@osdl.org> <20040908014735.7a2058dc.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1407 Lines: 35 On Wed, 8 Sep 2004, Andrew Morton wrote: > > kernel/sys.c:283:29: macro "sys_request_key" requires 5 arguments, but only 1 given > > kernel/sys.c:283: error: `sys_request_key' defined both normally and as an alias > > kernel/sys.c:283: warning: `syscall_linkage' attribute only applies to function types > > kernel/sys.c:284:24: macro "sys_keyctl" requires 5 arguments, but only 1 given > > kernel/sys.c:284: error: `sys_keyctl' defined both normally and as an alias > > kernel/sys.c:284: warning: `syscall_linkage' attribute only applies to function types > > > > In include/linux/key.h, sys_request_key and sys_keyctl are defined as > > macros : > > > > #define sys_request_key(a,b,c,d,e) (-ENOSYS) > > #define sys_keyctl(a,b,c,d,e) (-ENOSYS) > > > > But in kernel/sys.c, we find: > > > > cond_syscall(sys_request_key) > > cond_syscall(sys_keyctl) > > > > Which expects these symbols to be real functions, it seems. > > Works OK here. What compiler version are you using? And what architecture? > gcc 3.3.2 on ia64. > to pass through unscathed. It's a bit unpleasant though. I guess we can > just remove those defines from key.h. I agree. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/