From: Marcelo Tosatti Subject: Re: [PATCH] Only expose compat ioctl when CONFIG_COMPAT Date: Fri, 23 Oct 2009 15:54:56 -0200 Message-ID: <20091023175456.GB5711@amt.cnet> References: <1256290914-18169-1-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Avi Kivity , kvm-ppc , Arnd Bergmann , Jan Kiszka To: Alexander Graf Return-path: Content-Disposition: inline In-Reply-To: <1256290914-18169-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org> Sender: kvm-ppc-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: kvm.vger.kernel.org On Fri, Oct 23, 2009 at 11:41:54AM +0200, Alexander Graf wrote: > Jan spotted that we shouldn't use a function only available when CONFIG_COMPAT > in a struct that's available without the config option. > > So since my patch introduces that, let's just not export the compat ioctl > function when CONFIG_COMPAT is not set, so we don't break then. > > Reported-by: Jan Kiszka > Signed-off-by: Alexander Graf Applied, thanks.