linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* p54 build failure
@ 2008-10-06 19:48 Johannes Berg
       [not found] ` <200810062219.42475.chunkeey@web.de>
       [not found] ` <200810062245.32965.chunkeey@web.de>
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Berg @ 2008-10-06 19:48 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Chr

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

p54_parse_eeprom must not be static, or it fails to build on powerpc:

drivers/net/wireless/p54/p54common.c:482: error:
__ksymtab_p54_parse_eeprom causes a section type conflict


johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: p54 build failure
       [not found] ` <200810062219.42475.chunkeey@web.de>
@ 2008-10-06 20:17   ` Johannes Berg
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Berg @ 2008-10-06 20:17 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: John Linville, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

can you turn off html?

On Mon, 2008-10-06 at 22:19 +0200, Christian Lamparter wrote:
> On Monday 06 October 2008 21:48:21 Johannes Berg wrote:
> 
> > p54_parse_eeprom must not be static, or it fails to build on
> powerpc:
> 
> >
> 
> > drivers/net/wireless/p54/p54common.c:482: error:
> 
> > __ksymtab_p54_parse_eeprom causes a section type conflict
> 
> >
> 
> Kind of funny, remember the sparse warning?!
> 
> .../p54common.c:313:5: warning: symbol 'p54_parse_eeprom' was not
> declared.
> Shou

Well, if it's exported then clearly it must be declared in some header
file; therefore the file needs to include that header file. Mindlessly
fixing sparse warnings has never brought anything forward.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH] p54: fix build failure
       [not found] ` <200810062245.32965.chunkeey@web.de>
@ 2008-10-06 20:47   ` Johannes Berg
  2008-10-06 21:28     ` Christian Lamparter
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2008-10-06 20:47 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: John Linville, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

still HTML and as such not really useful.

However,


> +int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int
> len);

How about just killing the export instead? It isn't used anywhere else
anyway?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH] p54: fix build failure
  2008-10-06 20:47   ` [PATCH] p54: fix " Johannes Berg
@ 2008-10-06 21:28     ` Christian Lamparter
  2008-10-07 12:34       ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Lamparter @ 2008-10-06 21:28 UTC (permalink / raw)
  To: Johannes Berg; +Cc: John Linville, linux-wireless

On Monday 06 October 2008 22:47:45 Johannes Berg wrote:
> still HTML and as such not really useful.
>
if only kmail let me disable it! :-)
Is it off now? If not, I'm really sorry, for all html ****.
I'll fix it, but it'll take another while.

> However,
>
> > +int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int
> > len);
>
> How about just killing the export instead? It isn't used anywhere else
> anyway?

True.

on the other hand: what about stlc45xx (p54spi)?
These ?SoC? chips don't have any eeprom attached to the I2C, but they
need calibration data and output power limits like the usb/pci parts as well.

Regards,
	Chr 

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

* Re: [PATCH] p54: fix build failure
  2008-10-06 21:28     ` Christian Lamparter
@ 2008-10-07 12:34       ` Johannes Berg
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Berg @ 2008-10-07 12:34 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: John Linville, linux-wireless

Christian Lamparter wrote:
> if only kmail let me disable it! :-)
> Is it off now? If not, I'm really sorry, for all html ****.
> I'll fix it, but it'll take another while.

Seems to be ok now.

>> However,
>>
>> > +int p54_parse_eeprom(struct ieee80211_hw *dev, void *eeprom, int
>> > len);
>>
>> How about just killing the export instead? It isn't used anywhere else
>> anyway?
>
> True.
>
> on the other hand: what about stlc45xx (p54spi)?
> These ?SoC? chips don't have any eeprom attached to the I2C, but they
> need calibration data and output power limits like the usb/pci parts as
> well.

Yeah, but it hardly matters now, we can always re-export it when needed.

johannes

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

end of thread, other threads:[~2008-10-07 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 19:48 p54 build failure Johannes Berg
     [not found] ` <200810062219.42475.chunkeey@web.de>
2008-10-06 20:17   ` Johannes Berg
     [not found] ` <200810062245.32965.chunkeey@web.de>
2008-10-06 20:47   ` [PATCH] p54: fix " Johannes Berg
2008-10-06 21:28     ` Christian Lamparter
2008-10-07 12:34       ` Johannes Berg

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