* more iwlwifi merge fallout?
@ 2008-01-18 0:22 Johannes Berg
2008-01-18 16:35 ` Chatre, Reinette
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-01-18 0:22 UTC (permalink / raw)
To: Reinette Chatre; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
Declaring
inline int iwl3945_eeprom_acquire_semaphore(...)
is a bit weird for a function that is actually declared in a header file
and not static.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: more iwlwifi merge fallout?
2008-01-18 0:22 more iwlwifi merge fallout? Johannes Berg
@ 2008-01-18 16:35 ` Chatre, Reinette
2008-01-18 20:40 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Chatre, Reinette @ 2008-01-18 16:35 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
On Thursday, January 17, 2008 4:22 PM, Johannes Berg wrote:
> Declaring
>
> inline int iwl3945_eeprom_acquire_semaphore(...)
>
> is a bit weird for a function that is actually declared in a header
> file and not static.
This is not merge fallout, but has been this way since the driver was
merged the first time. I do not know why it was done this way and I am
not familiar enough with gcc optimization to know the implications of
this (or what the better way should be). What do you suggest?
Thanks
Reinette
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: more iwlwifi merge fallout?
2008-01-18 16:35 ` Chatre, Reinette
@ 2008-01-18 20:40 ` Johannes Berg
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2008-01-18 20:40 UTC (permalink / raw)
To: Chatre, Reinette; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
> This is not merge fallout, but has been this way since the driver was
> merged the first time.
Hm ok I thought it might have been a "static inline" in the header file
and gotten split up with the driver split.
> I do not know why it was done this way and I am
> not familiar enough with gcc optimization to know the implications of
> this (or what the better way should be). What do you suggest?
Well I think simply removing the inline will cause the compiler to do
the exact same thing as it does now and look less strange.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-18 20:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 0:22 more iwlwifi merge fallout? Johannes Berg
2008-01-18 16:35 ` Chatre, Reinette
2008-01-18 20:40 ` 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).