Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 23 Dec 2001 06:29:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 23 Dec 2001 06:28:54 -0500 Received: from mail.ocs.com.au ([203.34.97.2]:57612 "HELO mail.ocs.com.au") by vger.kernel.org with SMTP id ; Sun, 23 Dec 2001 06:28:36 -0500 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Vasil Kolev Cc: linux-kernel@vger.kernel.org, sten_wang@davicom.com.tw, jgarzik@mandrakesoft.com Subject: Re: [2.4.17] net/network.o(.text.lock+0x1a88): undefined reference to `local symbols... In-Reply-To: Your message of "Sun, 23 Dec 2001 12:27:50 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Dec 2001 22:28:19 +1100 Message-ID: <23624.1009106899@ocs3.intra.ocs.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 23 Dec 2001 12:27:50 +0200 (EET), Vasil Kolev wrote: ># ./reference_discarded.pl >Finding objects, 538 objects, ignoring 0 module(s) >Finding conglomerates, ignoring 48 conglomerate(s) >Scanning objects >Error: ./drivers/net/dmfe.o .data refers to 00000514 R_386_32 >.text.exit >Done AFAICT dmfe.c is hotplug aware, it has the required probe and remove pci_driver functions. But dmfe_remove_one is defined as __exit instead of __devexit, it should probably be changed to __devexit and change remove: dmfe_remove_one to remove: __devexit_p(dmfe_remove_one) The dmfe maintainer and/or Jeff Garzik needs to decide. - 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/