From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759125AbXEJNFV (ORCPT ); Thu, 10 May 2007 09:05:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755793AbXEJNFJ (ORCPT ); Thu, 10 May 2007 09:05:09 -0400 Received: from one.firstfloor.org ([213.235.205.2]:41364 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754449AbXEJNFI (ORCPT ); Thu, 10 May 2007 09:05:08 -0400 Date: Thu, 10 May 2007 15:05:07 +0200 From: Andi Kleen To: Simon Horman Cc: linux-kernel@vger.kernel.org, Christoph Hellwig , Andi Kleen , Bergmann , Andrew Morton Subject: Re: [PATCH] Allow compat_ioctl.c to compile without CONFIG_NET Message-ID: <20070510130507.GK14898@one.firstfloor.org> References: <20070510094110.GA16051@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070510094110.GA16051@verge.net.au> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 10, 2007 at 06:41:20PM +0900, Simon Horman wrote: > A small regression appears to have been introduced in the recent patch > "cleanup compat ioctl handling", which was included in Linus' tree after > 2.6.20. > > siocdevprivate_ioctl() is no longer defined if CONFIG_NET is undefined, > whereas previously it was a dummy function in this case. > > This causes compilation with CONFIG_COMPAT but without CONFIG_NET to fail. > > fs/compat_ioctl.c: In function `compat_sys_ioctl': > fs/compat_ioctl.c:3571: warning: implicit declaration of function `siocdevprivate_ioctl' > Thanks makes sense. I assume Andrew will just pass it on. -Andi