netdev
[Top] [All Lists]

Re: [PATCH][2.6] e100_phy.c uses free'd .text after init

To: Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx>
Subject: Re: [PATCH][2.6] e100_phy.c uses free'd .text after init
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Sun, 30 Nov 2003 14:08:24 -0500
Cc: Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0311290033120.1674@montezuma.fsmlabs.com>
References: <Pine.LNX.4.58.0311290033120.1674@montezuma.fsmlabs.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Zwane Mwaikambo wrote:
diff -u -p -B -r1.1.1.1 e100_phy.c
--- linux-2.6.0-test11/drivers/net/e100/e100_phy.c      28 Nov 2003 18:03:05 
-0000      1.1.1.1
+++ linux-2.6.0-test11/drivers/net/e100/e100_phy.c      29 Nov 2003 05:39:53 
-0000
@@ -132,7 +132,7 @@ e100_mdi_read(struct e100_private *bdp,
        }
 }

-static unsigned char __devinit
+static unsigned char
 e100_phy_valid(struct e100_private *bdp, unsigned int phy_address)
 {
        u16 ctrl_reg, stat_reg;
@@ -150,7 +150,7 @@ e100_phy_valid(struct e100_private *bdp,
        return true;
 }

-static void __devinit
+static void
 e100_phy_address_detect(struct e100_private *bdp)
 {
        unsigned int addr;


I should probably move that patch from net-drivers-2.5-exp to mainline, it sounds like...

        Jeff




<Prev in Thread] Current Thread [Next in Thread>