Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270571AbUJTUg7 (ORCPT ); Wed, 20 Oct 2004 16:36:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270551AbUJTUgi (ORCPT ); Wed, 20 Oct 2004 16:36:38 -0400 Received: from chaos.analogic.com ([204.178.40.224]:5248 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id S270556AbUJTUfD (ORCPT ); Wed, 20 Oct 2004 16:35:03 -0400 Date: Wed, 20 Oct 2004 16:34:45 -0400 (EDT) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: "John W. Linville" cc: netdev@oss.sgi.com, Linux kernel , jgarzik@pobox.com, romieu@fr.zoreil.com Subject: Re: [patch 2.6.9 9/11] r8169: Add MODULE_VERSION In-Reply-To: <20041020142858.L8775@tuxdriver.com> Message-ID: References: <20041020141146.C8775@tuxdriver.com> <20041020142858.L8775@tuxdriver.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1570 Lines: 46 This makes warning error about : Warning: could not find versions for .tmp_versions/r8169.mod Do I have to enable something in .config (like CONFIG_MODVERSIONS)? If so, how does one make this transparent, to get rid of the warning if CONFIG_MODVERSIONS is not set? On Wed, 20 Oct 2004, John W. Linville wrote: > Add MODULE_VERSION to r8169 driver. > > Signed-off-by: John W. Linville > --- > > drivers/net/r8169.c | 1 + > 1 files changed, 1 insertion(+) > > --- linux-2.6.9/drivers/net/r8169.c.orig > +++ linux-2.6.9/drivers/net/r8169.c > @@ -362,6 +362,7 @@ MODULE_PARM(rx_copybreak, "i"); > MODULE_PARM(use_dac, "i"); > MODULE_PARM_DESC(use_dac, "Enable PCI DAC. Unsafe on 32 bit PCI slot."); > MODULE_LICENSE("GPL"); > +MODULE_VERSION(RTL8169_VERSION); > > static int rtl8169_open(struct net_device *dev); > static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev); > - > 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/ > Cheers, Dick Johnson Penguin : Linux version 2.6.9 on an i686 machine (5537.79 GrumpyMips). 98.36% of all statistics are fiction. - 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/