netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wan/sdla section fixes
@ 2006-06-09  3:36 Randy.Dunlap
  2006-06-12 17:50 ` Krzysztof Halasa
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2006-06-09  3:36 UTC (permalink / raw)
  To: netdev; +Cc: mike.mclagan, khc, akpm

From: Randy Dunlap <rdunlap@xenotime.net>

Priority: tossup.
netdev->set_config can be called at any time, so these references
to __initdata would be a real problem.
However, problem has not been observed AFAIK.

Fix section mismatch warnings:
WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1b8e) and 'sdla_stats'
WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1e76) and 'sdla_stats'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/net/wan/sdla.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2617-rc6.orig/drivers/net/wan/sdla.c
+++ linux-2617-rc6/drivers/net/wan/sdla.c
@@ -60,9 +60,9 @@
 
 static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org";
 
-static unsigned int valid_port[] __initdata = { 0x250, 0x270, 0x280, 0x300, 0x350, 0x360, 0x380, 0x390};
+static unsigned int valid_port[] = { 0x250, 0x270, 0x280, 0x300, 0x350, 0x360, 0x380, 0x390};
 
-static unsigned int valid_mem[]  __initdata = {
+static unsigned int valid_mem[] = {
 				    0xA0000, 0xA2000, 0xA4000, 0xA6000, 0xA8000, 0xAA000, 0xAC000, 0xAE000, 
                                     0xB0000, 0xB2000, 0xB4000, 0xB6000, 0xB8000, 0xBA000, 0xBC000, 0xBE000,
                                     0xC0000, 0xC2000, 0xC4000, 0xC6000, 0xC8000, 0xCA000, 0xCC000, 0xCE000,


---

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

* Re: [PATCH] wan/sdla section fixes
  2006-06-09  3:36 [PATCH] wan/sdla section fixes Randy.Dunlap
@ 2006-06-12 17:50 ` Krzysztof Halasa
  2006-06-12 18:05   ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Halasa @ 2006-06-12 17:50 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev, mike.mclagan, akpm

Hi,

"Randy.Dunlap" <rdunlap@xenotime.net> writes:

> Priority: tossup.
> netdev->set_config can be called at any time, so these references
> to __initdata would be a real problem.
> However, problem has not been observed AFAIK.
>
> Fix section mismatch warnings:
> WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1b8e) and 'sdla_stats'
> WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1e76) and 'sdla_stats'

Is sdla.c still in use? I remember someone mentioned that Sangoma
drivers are now outside the kernel but I don't know how do they
relate to sdla.c and friend(s).

>  static const char* version = "SDLA driver v0.30, 12 Sep 1996,
> mike.mclagan@linux.org";

1996 doesn't look encouraging but it may be misleading.
-- 
Krzysztof Halasa

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

* Re: [PATCH] wan/sdla section fixes
  2006-06-12 17:50 ` Krzysztof Halasa
@ 2006-06-12 18:05   ` Randy.Dunlap
  2006-06-12 19:05     ` Krzysztof Halasa
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2006-06-12 18:05 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: netdev, mike.mclagan, akpm

On Mon, 12 Jun 2006 19:50:22 +0200 Krzysztof Halasa wrote:

> Hi,
> 
> "Randy.Dunlap" <rdunlap@xenotime.net> writes:
> 
> > Priority: tossup.
> > netdev->set_config can be called at any time, so these references
> > to __initdata would be a real problem.
> > However, problem has not been observed AFAIK.
> >
> > Fix section mismatch warnings:
> > WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1b8e) and 'sdla_stats'
> > WARNING: drivers/net/wan/sdla.o - Section mismatch: reference to .init.data: from .text between 'sdla_set_config' (at offset 0x1e76) and 'sdla_stats'
> 
> Is sdla.c still in use? I remember someone mentioned that Sangoma
> drivers are now outside the kernel but I don't know how do they
> relate to sdla.c and friend(s).

No idea.

> >  static const char* version = "SDLA driver v0.30, 12 Sep 1996,
> > mike.mclagan@linux.org";
> 
> 1996 doesn't look encouraging but it may be misleading.

Yep.  You could ignore it :) or rm drivers/net/wan/slda*  :)

---
~Randy

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

* Re: [PATCH] wan/sdla section fixes
  2006-06-12 18:05   ` Randy.Dunlap
@ 2006-06-12 19:05     ` Krzysztof Halasa
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Halasa @ 2006-06-12 19:05 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev, mike.mclagan, akpm

"Randy.Dunlap" <rdunlap@xenotime.net> writes:

>> >  static const char* version = "SDLA driver v0.30, 12 Sep 1996,
>> > mike.mclagan@linux.org";
>> 
>> 1996 doesn't look encouraging but it may be misleading.
>
> Yep.  You could ignore it :) or rm drivers/net/wan/slda*  :)

I don't know, maybe Mike will say something?
-- 
Krzysztof Halasa

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

end of thread, other threads:[~2006-06-12 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09  3:36 [PATCH] wan/sdla section fixes Randy.Dunlap
2006-06-12 17:50 ` Krzysztof Halasa
2006-06-12 18:05   ` Randy.Dunlap
2006-06-12 19:05     ` Krzysztof Halasa

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