From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [NETFILTER]: Use const in struct xt_match, xt_target, xt_table Date: Tue, 15 Jan 2008 17:01:42 +0100 Message-ID: <478CD8E6.3080701@trash.net> References: <4783A4C4.4030809@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Netfilter Developer Mailing List To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:43402 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbYAOQBy (ORCPT ); Tue, 15 Jan 2008 11:01:54 -0500 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On Jan 8 2008 17:28, Patrick McHardy wrote: >> Jan Engelhardt wrote: >>> origin git://computergmbh.de/linux netfilter >>> commit 911b3c3680fd17409c64a6589cfcaf18e4fa04ce >>> Author: Jan Engelhardt >>> Date: Tue Jan 8 13:25:08 2008 +0100 >>> >>> [NETFILTER]: Use const in struct xt_match, xt_target, xt_table >> This causes compiler warnings: >> >> net/ipv6/netfilter/ip6_tables.c: In function 'ip6t_do_table': >> net/ipv6/netfilter/ip6_tables.c:407: warning: passing argument 5 of >> 'trace_packet' discards qualifiers from pointer target type >> net/ipv6/netfilter/ip6_tables.c:406: warning: passing argument 5 of >> 'trace_packet' discards qualifiers from pointer target type >> > > Please fold in this one: > > commit 7084c6df091ebb6301e7e2782269784b416c98a6 > Author: Jan Engelhardt > Date: Sat Jan 12 14:39:54 2008 +0100 > > [NETFILTER]: Use const > > Signed-off-by: Jan Engelhardt Done, compiles fine now. Thanks Jan.