From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964980AbbLRTTv (ORCPT ); Fri, 18 Dec 2015 14:19:51 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:43844 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932736AbbLRTTu (ORCPT ); Fri, 18 Dec 2015 14:19:50 -0500 Date: Fri, 18 Dec 2015 14:19:48 -0500 (EST) Message-Id: <20151218.141948.2267406136595226362.davem@davemloft.net> To: arnd@arndb.de Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tom@herbertland.com, netfilter-devel@vger.kernel.org Subject: Re: [PATCH] ila: add NETFILTER dependency From: David Miller In-Reply-To: <2011239.T7zzuZGeyk@wuerfel> References: <2011239.T7zzuZGeyk@wuerfel> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 18 Dec 2015 11:19:49 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Fri, 18 Dec 2015 15:37:37 +0100 > The recently added generic ILA translation facility fails to > build when CONFIG_NETFILTER is disabled: > > net/ipv6/ila/ila_xlat.c:229:20: warning: 'struct nf_hook_state' declared inside parameter list > net/ipv6/ila/ila_xlat.c:235:27: error: array type has incomplete element type 'struct nf_hook_ops' > static struct nf_hook_ops ila_nf_hook_ops[] __read_mostly = { > > This adds an explicit Kconfig dependency to avoid that case. > > Signed-off-by: Arnd Bergmann > Fixes: 7f00feaf1076 ("ila: Add generic ILA translation facility") Applied, thanks.