netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rrunner: fix section references
@ 2005-02-28  6:14 Randy.Dunlap
  2005-02-28  7:51 ` Jes Sorensen
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2005-02-28  6:14 UTC (permalink / raw)
  To: netdev, jgarzik; +Cc: jes, torvalds


rrunner: references __initdata in a __devinit function; data should
  be __devinitdata;

Error: ./drivers/net/rrunner.o .text refers to 00000000000002b2 R_X86_64_32S      .init.data

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
 drivers/net/rrunner.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/net/rrunner.c~rrunner_sections ./drivers/net/rrunner.c
--- ./drivers/net/rrunner.c~rrunner_sections	2004-12-24 13:34:26.000000000 -0800
+++ ./drivers/net/rrunner.c	2005-02-27 22:14:12.303076680 -0800
@@ -62,7 +62,7 @@ MODULE_AUTHOR("Jes Sorensen <jes@wildope
 MODULE_DESCRIPTION("Essential RoadRunner HIPPI driver");
 MODULE_LICENSE("GPL");
 
-static char version[] __initdata = "rrunner.c: v0.50 11/11/2002  Jes Sorensen (jes@wildopensource.com)\n";
+static char version[] __devinitdata = "rrunner.c: v0.50 11/11/2002  Jes Sorensen (jes@wildopensource.com)\n";
 
 /*
  * Implementation notes:


---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rrunner: fix section references
  2005-02-28  6:14 [PATCH] rrunner: fix section references Randy.Dunlap
@ 2005-02-28  7:51 ` Jes Sorensen
  0 siblings, 0 replies; 2+ messages in thread
From: Jes Sorensen @ 2005-02-28  7:51 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev, jgarzik, torvalds

>>>>> "Randy" == Randy Dunlap <rddunlap@osdl.org> writes:

Randy> rrunner: references __initdata in a __devinit function; data
Randy> should be __devinitdata;

Randy> Error: ./drivers/net/rrunner.o .text refers to 00000000000002b2
Randy> R_X86_64_32S .init.data

Randy> Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

Looks good!

Signed-off-by: Jes Sorensen <jes@wildopensource.com>

Jes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-28  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-28  6:14 [PATCH] rrunner: fix section references Randy.Dunlap
2005-02-28  7:51 ` Jes Sorensen

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).