LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Prarit Bhargava <prarit@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH]: Fix __devinit & __devexit declarations in de2104x driver
Date: Tue, 27 Feb 2007 07:16:13 -0500 [thread overview]
Message-ID: <45E4210D.3070504@redhat.com> (raw)
In-Reply-To: <45E3F853.3010302@garzik.org>
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
Jeff Garzik wrote:
> Prarit Bhargava wrote:
>> Resending (originally sent 2007-02-14).
>>
>> __devinit & __devexit cleanups for de2104x driver.
>>
>> Fixes MODPOST warnings similar to:
>>
>> WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
>> .init.text:de_init_one from .data.rel.local after 'de_driver' (at
>> offset 0x20)
>> WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
>> .exit.text:de_remove_one from .data.rel.local after 'de_driver' (at
>> offset 0x28)
>>
>> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>
> doesn't apply to current kernel
Updated patch to latest git...
P.
>
>
[-- Attachment #2: 228736-v2.patch --]
[-- Type: text/plain, Size: 1467 bytes --]
__devinit & __devexit cleanups for de2104x driver.
Fixes MODPOST warnings similar to:
WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
.init.text:de_init_one from .data.rel.local after 'de_driver' (at offset 0x20)
WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
.exit.text:de_remove_one from .data.rel.local after 'de_driver' (at offset 0x28)
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index 9d67f11..55739c7 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -1685,7 +1685,7 @@ static const struct ethtool_ops de_ethtool_ops = {
.get_regs = de_get_regs,
};
-static void __init de21040_get_mac_address (struct de_private *de)
+static void __devinit de21040_get_mac_address (struct de_private *de)
{
unsigned i;
@@ -1703,7 +1703,7 @@ static void __init de21040_get_mac_address (struct de_private *de)
}
}
-static void __init de21040_get_media_info(struct de_private *de)
+static void __devinit de21040_get_media_info(struct de_private *de)
{
unsigned int i;
@@ -1765,7 +1765,7 @@ static unsigned __devinit tulip_read_eeprom(void __iomem *regs, int location, in
return retval;
}
-static void __init de21041_get_srom_info (struct de_private *de)
+static void __devinit de21041_get_srom_info (struct de_private *de)
{
unsigned i, sa_offset = 0, ofs;
u8 ee_data[DE_EEPROM_SIZE + 6] = {};
next prev parent reply other threads:[~2007-02-27 12:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-26 18:36 Prarit Bhargava
2007-02-27 9:22 ` Jeff Garzik
2007-02-27 12:16 ` Prarit Bhargava [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-02-14 18:52 Prarit Bhargava
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45E4210D.3070504@redhat.com \
--to=prarit@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH]: Fix __devinit & __devexit declarations in de2104x driver' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).