Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 24 Jan 2002 15:22:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 24 Jan 2002 15:22:21 -0500 Received: from ns.ithnet.com ([217.64.64.10]:54788 "HELO heather.ithnet.com") by vger.kernel.org with SMTP id ; Thu, 24 Jan 2002 15:22:05 -0500 Date: Thu, 24 Jan 2002 21:21:46 +0100 From: Stephan von Krawczynski To: johnpol@2ka.mipt.ru Cc: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org Subject: Re: Linux 2.4.18-pre7: compile error Message-Id: <20020124212146.0023e490.skraw@ithnet.com> In-Reply-To: <20020124030106.2ac290dd.johnpol@2ka.mipt.ru> In-Reply-To: <200201232346.AAA12999@webserver.ithnet.com> <20020124030106.2ac290dd.johnpol@2ka.mipt.ru> Organization: ith Kommunikationstechnik GmbH X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Jan 2002 03:01:06 +0300 Evgeniy Polyakov wrote: > On Thu, 24 Jan 2002 00:46:45 +0100 > Stephan von Krawczynski wrote: > > > "I am sorry, Dave. I'm afraid I can't do that": > > > ipfwadm_core.o ipfwadm_core.c > > ipfwadm_core.c: In function `free_fw_chain': > > ipfwadm_core.c:691: called object is not a function > > ipfwadm_core.c: In function `insert_in_chain': > > ipfwadm_core.c:735: called object is not a function > > ipfwadm_core.c: In function `append_to_chain': > > ipfwadm_core.c:786: called object is not a function > > ipfwadm_core.c: In function `del_from_chain': > > ipfwadm_core.c:861: called object is not a function > > I hope this patch will help you: Yes, in principal, but unfortunately the white spaces were tilted in your patch, so here is a corrected version for inclusion. Thanks Evgeniy. --- linux/net/ipv4/netfilter/ipfwadm_core.c~ Thu Jan 24 21:16:02 2002 +++ linux/net/ipv4/netfilter/ipfwadm_core.c Thu Jan 24 21:16:38 2002 @@ -688,7 +688,7 @@ ftmp = *chainptr; *chainptr = ftmp->fw_next; kfree(ftmp); - MOD_DEC_USE_COUNT(); + MOD_DEC_USE_COUNT; } restore_flags(flags); } @@ -732,7 +732,7 @@ ftmp->fw_next = *chainptr; *chainptr=ftmp; restore_flags(flags); - MOD_INC_USE_COUNT(); + MOD_INC_USE_COUNT; return(0); } @@ -783,7 +783,7 @@ else *chainptr=ftmp; restore_flags(flags); - MOD_INC_USE_COUNT(); + MOD_INC_USE_COUNT; return(0); } @@ -858,7 +858,7 @@ } restore_flags(flags); if (was_found) { - MOD_DEC_USE_COUNT(); + MOD_DEC_USE_COUNT; return 0; } else return(EINVAL); - 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/