From: "Randy.Dunlap" <rddunlap@osdl.org>
To: maximilian attems <janitor@sternwelten.at>
Cc: lkml <linux-kernel@vger.kernel.org>, akpm <akpm@osdl.org>
Subject: Re: [patch] sedlbauer eliminate bad section references
Date: Mon, 14 Mar 2005 14:32:12 -0800 [thread overview]
Message-ID: <423610EC.3030508@osdl.org> (raw)
In-Reply-To: <20050314003018.GD13729@sputnik.stro.at>
maximilian attems wrote:
> Fix sedlbauer section references:
> convert __initdata to __devinitdata.
>
>
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 0000235f R_386_32
> .init.data
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 0000236e R_386_32
> .init.data
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 0000238d R_386_32
> .init.data
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 000023b2 R_386_32
> .init.data
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 00002417 R_386_32
> .init.data
> Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 0000244c R_386_32
> .init.data
>
> Signed-off-by: maximilian attems <janitor@sternwelten.at>
Acked-by: Randy Dunlap <rddunlap@osdl.org>
> diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/sedlbauer.c
> linux-2.6.11-bk8-max/drivers/isdn/hisax/sedlbauer.c
> --- linux-2.6.11-bk8/drivers/isdn/hisax/sedlbauer.c 2005-03-02 08:38:32.000000000 +0100
> +++ linux-2.6.11-bk8-max/drivers/isdn/hisax/sedlbauer.c 2005-03-14 01:03:14.000000000 +0100
> @@ -516,7 +516,7 @@ Sedl_card_msg(struct IsdnCardState *cs,
> static struct pci_dev *dev_sedl __devinitdata = NULL;
>
> #ifdef __ISAPNP__
> -static struct isapnp_device_id sedl_ids[] __initdata = {
> +static struct isapnp_device_id sedl_ids[] __devinitdata = {
> { ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01),
> ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01),
> (unsigned long) "Speed win" },
> @@ -526,7 +526,7 @@ static struct isapnp_device_id sedl_ids[
> { 0, }
> };
>
> -static struct isapnp_device_id *ipid __initdata = &sedl_ids[0];
> +static struct isapnp_device_id *ipid __devinitdata = &sedl_ids[0];
> static struct pnp_card *pnp_c __devinitdata = NULL;
> #endif
>
--
~Randy
prev parent reply other threads:[~2005-03-14 22:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 0:30 [patch] sedlbauer eliminate bad section references maximilian attems
2005-03-14 22:32 ` Randy.Dunlap [this message]
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=423610EC.3030508@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=janitor@sternwelten.at \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox