linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the wireless-next tree
@ 2013-04-05  5:46 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2013-04-05  5:46 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel, Larry Finger

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

Hi John,

After merging the wireless-next tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:

In file included from drivers/net/wireless/rtlwifi/rtl8188ee/dm.c:38:0:
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:553:6: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:577:5: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]
In file included from drivers/net/wireless/rtlwifi/rtl8188ee/trx.c:37:0:
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:553:6: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:577:5: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]
In file included from drivers/net/wireless/rtlwifi/rtl8188ee/sw.c:39:0:
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:553:6: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:577:5: warning: "__LITTLE_ENDIAN" is not defined [-Wundef]

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2024-02-09  3:29 Stephen Rothwell
@ 2024-02-09  7:06 ` Johannes Berg
  0 siblings, 0 replies; 22+ messages in thread
From: Johannes Berg @ 2024-02-09  7:06 UTC (permalink / raw)
  To: Stephen Rothwell, Kalle Valo
  Cc: Wireless, Linux Kernel Mailing List, Linux Next Mailing List

On Fri, 2024-02-09 at 14:29 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the wireless-next tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> include/net/cfg80211.h:1067: warning: expecting prototype for cfg80211_chandef_primary_freq(). Prototype was for cfg80211_chandef_primary() instead
> 

Strangely enough, I have a deja vu now, as if I'd fixed this before
somewhere. Oh well.

Thanks for the report, now fixed!

johannes

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

* linux-next: build warning after merge of the wireless-next tree
@ 2024-02-09  3:29 Stephen Rothwell
  2024-02-09  7:06 ` Johannes Berg
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2024-02-09  3:29 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg
  Cc: Wireless, Johannes Berg, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:1067: warning: expecting prototype for cfg80211_chandef_primary_freq(). Prototype was for cfg80211_chandef_primary() instead

Introduced by commit

  b82730bf57b5 ("wifi: cfg80211/mac80211: move puncturing into chandef")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-09-14  2:49 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2023-09-14  2:49 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg, Wireless
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:5963: warning: Excess function parameter 'work' description in 'wiphy_delayed_work_flush'

Introduced by commit

  56cfb8ce1f7f ("wifi: cfg80211: add flush functions for wiphy work")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-09-12  5:10 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2023-09-12  5:10 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg, Wireless
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:5940: warning: expecting prototype for wiphy_delayed work_flush(). Prototype was for wiphy_delayed_work_flush() instead

Introduced by commit

  56cfb8ce1f7f ("wifi: cfg80211: add flush functions for wiphy work")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2023-03-23  3:15 Stephen Rothwell
@ 2023-03-31 11:10 ` Kalle Valo
  0 siblings, 0 replies; 22+ messages in thread
From: Kalle Valo @ 2023-03-31 11:10 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Johannes Berg, Wireless, Felix Fietkau, Johannes Berg, Ryder Lee,
	Linux Kernel Mailing List, Linux Next Mailing List

Stephen Rothwell <sfr@canb.auug.org.au> writes:

> After merging the wireless-next tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/driver-api/80211/mac80211-advanced:214:
> /home/sfr/next/next/net/mac80211/sta_info.h:628: ERROR: Unexpected
> indentation.
>
> Introduced by commit
>
>   fe4a6d2db3ba ("wifi: mac80211: implement support for yet another
> mesh A-MSDU format")

Thanks, this commit should fix it:

https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/commit/?id=f102424befd3751386f3e2f2c70c5a1948248622

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-03-23  3:15 Stephen Rothwell
  2023-03-31 11:10 ` Kalle Valo
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2023-03-23  3:15 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg
  Cc: Wireless, Felix Fietkau, Johannes Berg, Ryder Lee,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/driver-api/80211/mac80211-advanced:214: /home/sfr/next/next/net/mac80211/sta_info.h:628: ERROR: Unexpected indentation.

Introduced by commit

  fe4a6d2db3ba ("wifi: mac80211: implement support for yet another mesh A-MSDU format")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-02-15  4:20 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2023-02-15  4:20 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg
  Cc: Felix Fietkau, Wireless, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

net/mac80211/sta_info.h:722: warning: Function parameter or member 'amsdu_mesh_control' not described in 'sta_info'

Introduced by commit

  6e4c0d0460bd ("wifi: mac80211: add a workaround for receiving non-standard mesh A-MSDU")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-02-15  4:17 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2023-02-15  4:17 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg
  Cc: Wireless, Lorenzo Bianconi, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:8958: warning: Excess function parameter 'gfp' description in 'cfg80211_obss_color_collision_notify'

Introduced by commit

  935ef47b16cc ("wifi: cfg80211: get rid of gfp in cfg80211_bss_color_notify")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2023-01-19  5:24 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2023-01-19  5:24 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg, Wireless
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/mac80211.h:1553: warning: Function parameter or member 'eht' not described in 'ieee80211_rx_status'

Introduced by commit

  f66c48af7a11 ("mac80211: support minimal EHT rate reporting on RX")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2022-06-21 10:02 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2022-06-21 10:02 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg, Wireless
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:5741: warning: Function parameter or member 'u' not described in 'wireless_dev'
include/net/cfg80211.h:5741: warning: Function parameter or member 'links' not described in 'wireless_dev'
include/net/cfg80211.h:5741: warning: Function parameter or member 'valid_links' not described in 'wireless_dev'

Introduced by commit

  7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link APIs")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2022-05-17 10:00 Stephen Rothwell
@ 2022-05-18  4:51 ` Kalle Valo
  0 siblings, 0 replies; 22+ messages in thread
From: Kalle Valo @ 2022-05-18  4:51 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Johannes Berg, Wireless, Johannes Berg, Rameshkumar Sundaram,
	Linux Kernel Mailing List, Linux Next Mailing List

Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi all,
>
> After merging the wireless-next tree, today's linux-next build (htmldocs)
> produced this warning:
>
> include/net/cfg80211.h:1188: warning: bad line: attribute is present
> in beacon data or not.
>
> Introduced by commit
>
>   3d48cb74816d ("nl80211: Parse NL80211_ATTR_HE_BSS_COLOR as a part of
> nl80211_parse_beacon")

Thanks for the report, Johannes fixed it in this commit:

https://git.kernel.org/wireless/wireless-next/c/ee0e2f51e211

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

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

* linux-next: build warning after merge of the wireless-next tree
@ 2022-05-17 10:00 Stephen Rothwell
  2022-05-18  4:51 ` Kalle Valo
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2022-05-17 10:00 UTC (permalink / raw)
  To: Kalle Valo, Johannes Berg, Wireless
  Cc: Johannes Berg, Rameshkumar Sundaram, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the wireless-next tree, today's linux-next build (htmldocs)
produced this warning:

include/net/cfg80211.h:1188: warning: bad line:         attribute is present in beacon data or not.

Introduced by commit

  3d48cb74816d ("nl80211: Parse NL80211_ATTR_HE_BSS_COLOR as a part of nl80211_parse_beacon")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2014-09-30  8:46 Stephen Rothwell
@ 2014-09-30 14:41 ` Larry Finger
  0 siblings, 0 replies; 22+ messages in thread
From: Larry Finger @ 2014-09-30 14:41 UTC (permalink / raw)
  To: Stephen Rothwell, John W. Linville; +Cc: linux-next, linux-kernel, Greg KH

On 09/30/2014 03:46 AM, Stephen Rothwell wrote:
> Hi John,
>
> After merging the wireless-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> WARNING: drivers/staging/rtl8192ee/r8192ee: 'rtl_evm_dbm_jaguar' exported twice. Previous export was in drivers/net/wireless/rtlwifi/rtlwifi.ko
>
> Introduced by commit f3a97e93814a ("rtlwifi: Finish modifying core
> routines for new drivers").
>
> I suspect that there is a staging driver that needs removing/updating?

A new version of the driver for the RTL8192EE has been submitted to the regular 
wireless tree; however, there is a bit of overlap before the staging version can 
be removed as the latter request must go through GregKH. Now that the new driver 
has reached linux-next, I will send the appropriate request to Greg.

Thanks,

Larry

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

* linux-next: build warning after merge of the wireless-next tree
@ 2014-09-30  8:46 Stephen Rothwell
  2014-09-30 14:41 ` Larry Finger
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2014-09-30  8:46 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel, Larry Finger, Greg KH

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

Hi John,

After merging the wireless-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

WARNING: drivers/staging/rtl8192ee/r8192ee: 'rtl_evm_dbm_jaguar' exported twice. Previous export was in drivers/net/wireless/rtlwifi/rtlwifi.ko

Introduced by commit f3a97e93814a ("rtlwifi: Finish modifying core
routines for new drivers").

I suspect that there is a staging driver that needs removing/updating?

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2013-04-04  2:36     ` Stephen Rothwell
@ 2013-04-04  2:58       ` Larry Finger
  0 siblings, 0 replies; 22+ messages in thread
From: Larry Finger @ 2013-04-04  2:58 UTC (permalink / raw)
  To: Stephen Rothwell, John W. Linville; +Cc: linux-next, linux-kernel

On 04/03/2013 09:36 PM, Stephen Rothwell wrote:
> Hi Larry,
>
> On Wed, 03 Apr 2013 20:17:01 -0500 Larry Finger <Larry.Finger@lwfinger.net> wrote:
>>
>> On 04/03/2013 08:04 PM, Stephen Rothwell wrote:
>>>
>>> On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>>>
>>>> After merging the wireless-next tree, today's linux-next build (x86_64
>>>> allmodconfig) produced this warning:
>>>>
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>>>
>>>> I have no idea what caused that.
>>>
>>> Though I suspect commit 8b138d4898a0 ("rtlwifi: rtl8188ee: Enable build
>>> of new driver") - I wonder if the gap between the "-I" and
>>> "drivers/net/wireless/rtlwifi" added to ccflags-y is the cause?
>>>
>>> I am using gcc 4.6.3 if that matters.
>>
>> I use 4.7.2.
>>
>> I'll send a patch with the space removed to see if that helps.
>
> I just tested without the space and it fixes the problem for my Debian
> 4.7.2 compiler.  Removing the space also fixes the problem with finding
> include files (after I removed the "../" bits again).

Stephan,

Ah, that was the real error. Thanks for testing.

John: Please take my patch of this evening entitles "[PATCH] rtlwifi: rtl8188ee: 
Fix linker warnings" and drop the one by Chen, Chien-Chia entitled "[PATCH] 
rtlwifi: rtl8188ee: Fix wrong header path". If we put the ../ into the header 
paths, I'll just have to take them out later. We might as well leave them out.

Larry

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2013-04-04  1:17   ` Larry Finger
@ 2013-04-04  2:36     ` Stephen Rothwell
  2013-04-04  2:58       ` Larry Finger
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2013-04-04  2:36 UTC (permalink / raw)
  To: Larry Finger; +Cc: John W. Linville, linux-next, linux-kernel

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

Hi Larry,

On Wed, 03 Apr 2013 20:17:01 -0500 Larry Finger <Larry.Finger@lwfinger.net> wrote:
>
> On 04/03/2013 08:04 PM, Stephen Rothwell wrote:
> >
> > On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >>
> >> After merging the wireless-next tree, today's linux-next build (x86_64
> >> allmodconfig) produced this warning:
> >>
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> >>
> >> I have no idea what caused that.
> >
> > Though I suspect commit 8b138d4898a0 ("rtlwifi: rtl8188ee: Enable build
> > of new driver") - I wonder if the gap between the "-I" and
> > "drivers/net/wireless/rtlwifi" added to ccflags-y is the cause?
> >
> > I am using gcc 4.6.3 if that matters.
> 
> I use 4.7.2.
> 
> I'll send a patch with the space removed to see if that helps.

I just tested without the space and it fixes the problem for my Debian
4.7.2 compiler.  Removing the space also fixes the problem with finding
include files (after I removed the "../" bits again).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2013-04-04  1:04 ` Stephen Rothwell
@ 2013-04-04  1:17   ` Larry Finger
  2013-04-04  2:36     ` Stephen Rothwell
  0 siblings, 1 reply; 22+ messages in thread
From: Larry Finger @ 2013-04-04  1:17 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: John W. Linville, linux-next, linux-kernel

On 04/03/2013 08:04 PM, Stephen Rothwell wrote:
> Hi John,
>
> On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> After merging the wireless-next tree, today's linux-next build (x86_64
>> allmodconfig) produced this warning:
>>
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
>>
>> I have no idea what caused that.
>
> Though I suspect commit 8b138d4898a0 ("rtlwifi: rtl8188ee: Enable build
> of new driver") - I wonder if the gap between the "-I" and
> "drivers/net/wireless/rtlwifi" added to ccflags-y is the cause?
>
> I am using gcc 4.6.3 if that matters.

I use 4.7.2.

I'll send a patch with the space removed to see if that helps.

Larry

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2013-04-04  1:00 Stephen Rothwell
@ 2013-04-04  1:04 ` Stephen Rothwell
  2013-04-04  1:17   ` Larry Finger
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2013-04-04  1:04 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel, Larry Finger

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

Hi John,

On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the wireless-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
> 
> I have no idea what caused that.

Though I suspect commit 8b138d4898a0 ("rtlwifi: rtl8188ee: Enable build
of new driver") - I wonder if the gap between the "-I" and
"drivers/net/wireless/rtlwifi" added to ccflags-y is the cause?

I am using gcc 4.6.3 if that matters.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* linux-next: build warning after merge of the wireless-next tree
@ 2013-04-04  1:00 Stephen Rothwell
  2013-04-04  1:04 ` Stephen Rothwell
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2013-04-04  1:00 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel

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

Hi John,

After merging the wireless-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done
x86_64-linux-gcc: warning: drivers/net/wireless/rtlwifi: linker input file unused because linking not done

I have no idea what caused that.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warning after merge of the wireless-next tree
  2011-11-22  3:25 Stephen Rothwell
@ 2011-11-22  7:56 ` Stanislaw Gruszka
  0 siblings, 0 replies; 22+ messages in thread
From: Stanislaw Gruszka @ 2011-11-22  7:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: John W. Linville, linux-next, linux-kernel, Paul Gortmaker

On Tue, Nov 22, 2011 at 02:25:02PM +1100, Stephen Rothwell wrote:
> After merging the wireless-next tree, today's linux-next build
> (x86_64_allmodconfig) produced this warning:
> 
> drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: data definition has no type or storage class [enabled by default]
> drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
> drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: parameter names (without types) in function declaration [enabled by default]
> drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: data definition has no type or storage class [enabled by default]
> drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
> drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: parameter names (without types) in function declaration [enabled by default]
> 
> This indicates that this file needs to include export.h.

I think adding export.h to debug.c should be part of current
wireless-next manual merge (debug.c include old iwl-debugfs.c,
which was modified with export.h). If not, I'm posting patch
with fix in the following email.

Thanks
Stanislaw

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

* linux-next: build warning after merge of the wireless-next tree
@ 2011-11-22  3:25 Stephen Rothwell
  2011-11-22  7:56 ` Stanislaw Gruszka
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2011-11-22  3:25 UTC (permalink / raw)
  To: John W. Linville
  Cc: linux-next, linux-kernel, Paul Gortmaker, Stanislaw Gruszka

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

Hi John,

After merging the wireless-next tree, today's linux-next build
(x86_64_allmodconfig) produced this warning:

drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: data definition has no type or storage class [enabled by default]
drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
drivers/net/wireless/iwlegacy/debug.c:1395:1: warning: parameter names (without types) in function declaration [enabled by default]
drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: data definition has no type or storage class [enabled by default]
drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
drivers/net/wireless/iwlegacy/debug.c:1410:1: warning: parameter names (without types) in function declaration [enabled by default]

This indicates that this file needs to include export.h.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2024-02-09  7:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-05  5:46 linux-next: build warning after merge of the wireless-next tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09  3:29 Stephen Rothwell
2024-02-09  7:06 ` Johannes Berg
2023-09-14  2:49 Stephen Rothwell
2023-09-12  5:10 Stephen Rothwell
2023-03-23  3:15 Stephen Rothwell
2023-03-31 11:10 ` Kalle Valo
2023-02-15  4:20 Stephen Rothwell
2023-02-15  4:17 Stephen Rothwell
2023-01-19  5:24 Stephen Rothwell
2022-06-21 10:02 Stephen Rothwell
2022-05-17 10:00 Stephen Rothwell
2022-05-18  4:51 ` Kalle Valo
2014-09-30  8:46 Stephen Rothwell
2014-09-30 14:41 ` Larry Finger
2013-04-04  1:00 Stephen Rothwell
2013-04-04  1:04 ` Stephen Rothwell
2013-04-04  1:17   ` Larry Finger
2013-04-04  2:36     ` Stephen Rothwell
2013-04-04  2:58       ` Larry Finger
2011-11-22  3:25 Stephen Rothwell
2011-11-22  7:56 ` Stanislaw Gruszka

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