Skip to contentSkip to conversation

linux-next: build warning after merge of the mac80211-next tree

DISCUSSION Stephen Rothwell 4 participants 9 messages May 9, 2018 – May 24, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Johannes,

After merging the mac80211-next tree, today's linux-next build (arm_multi v7_defconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/marvell/mwifiex/uap_event.c:333:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_connect_status_ap':
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

Maybe introduced by commit

52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Thanks Stephen,

The 0-day bot also gave me this heads-up, there are a few more places like it too. I'd asked Toke to fix the ones in the stack, but we both missed the ones in the drivers. I'll get a fix in for that one way or the other.

johannes

#2 lore raw
In reply to Stephen Rothwell
Quoted 12 lines · Stephen Rothwell

After merging the mac80211-next tree, today's linux-next build (arm_multi v7_defconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/marvell/mwifiex/uap_event.c:333:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_connect_status_ap':
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

Quoted 3 lines

Maybe introduced by commit

52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")

Btw Stephen for mac80211 reports it would be a good idea to also cc linux-wireless list, in case Johannes is not around etc.

Signature · 1 line
Kalle Valo
#3 lore raw

Hi Kalle,

Quoted 3 lines · On Fri, 11 May 2018 15:20:23 +0300 Kalle Valo…

Btw Stephen for mac80211 reports it would be a good idea to also cc linux-wireless list, in case Johannes is not around etc.

Thanks for the suggestion. Done.

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
In reply to Kalle Valo
Quoted 14 lines · Kalle Valo
Quoted 12 lines · Stephen Rothwell

After merging the mac80211-next tree, today's linux-next build (arm_multi v7_defconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/marvell/mwifiex/uap_event.c:333:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_connect_status_ap':
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

Quoted 6 lines
Quoted 3 lines

Maybe introduced by commit

52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")

Btw Stephen for mac80211 reports it would be a good idea to also cc linux-wireless list, in case Johannes is not around etc.

I also bisected this new warning to the same commit above:

net/batman-adv/bat_v_elp.c: In function 'batadv_v_elp_get_throughput':
net/batman-adv/bat_v_elp.c:154:1: warning: the frame size of 1736 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Arnd

#5 lore raw
Quoted 19 lines · Arnd Bergmann
Quoted 18 lines · Kalle Valo
Quoted 15 lines · Stephen Rothwell

After merging the mac80211-next tree, today's linux-next build (arm_multi v7_defconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/marvell/mwifiex/uap_event.c:333:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_connect_status_ap':
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

Maybe introduced by commit

52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")

Quoted 8 lines
Quoted 2 lines

Btw Stephen for mac80211 reports it would be a good idea to also cc linux-wireless list, in case Johannes is not around etc.

I also bisected this new warning to the same commit above:

net/batman-adv/bat_v_elp.c: In function 'batadv_v_elp_get_throughput':
net/batman-adv/bat_v_elp.c:154:1: warning: the frame size of 1736 bytes is larger than 1024 bytes [-Wframe-larger-than=]

This should fix it:

8689c051a201 cfg80211: dynamically allocate per-tid stats for station info

https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=8689c051a20195b228e19acb155c7d6e48a86753

Signature · 1 line
Kalle Valo
#6 lore raw
Quoted 7 lines · Kalle Valo
Quoted 5 lines · Arnd Bergmann

I also bisected this new warning to the same commit above:

net/batman-adv/bat_v_elp.c: In function 'batadv_v_elp_get_throughput':
net/batman-adv/bat_v_elp.c:154:1: warning: the frame size of 1736 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Quoted 5 lines

This should fix it:

8689c051a201 cfg80211: dynamically allocate per-tid stats for station info

https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=8689c051a20195b228e19acb155c7d6e48a86753

Thanks for the pointer, I'll just wait for that to make it into linux-next (which
hasn't been released in a few days now) then.

Arnd

#7 lore raw
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · Kalle Valo
Quoted 5 lines · Arnd Bergmann

I also bisected this new warning to the same commit above:

net/batman-adv/bat_v_elp.c: In function 'batadv_v_elp_get_throughput':
net/batman-adv/bat_v_elp.c:154:1: warning: the frame size of 1736 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Quoted 8 lines
Quoted 5 lines

This should fix it:

8689c051a201 cfg80211: dynamically allocate per-tid stats for station info

https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=8689c051a20195b228e19acb155c7d6e48a86753

Thanks for the pointer, I'll just wait for that to make it into linux-next (which hasn't been released in a few days now) then.

Yeah, Stephen announced that he won't be making linux-next builds this week. I think he will be back next week.

Signature · 1 line
Kalle Valo
#8 lore raw
In reply to Stephen Rothwell

Hi all,

Just cc'ing the wireless list at Kalle's suggestion.

Quoted 18 lines · On Wed, 9 May 2018 14:56:24 +1000 Stephen Rothwell <[email protected]> wrote:

Hi Johannes,

After merging the mac80211-next tree, today's linux-next build (arm_multi v7_defconfig) produced this warning:

drivers/net/wireless/marvell/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
drivers/net/wireless/marvell/mwifiex/uap_event.c:333:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_connect_status_ap':
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1: warning: the frame size of 1680 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

Maybe introduced by commit

52539ca89f36 ("cfg80211: Expose TXQ stats and parameters to userspace")

Signature · 2 lines
Cheers,
Stephen Rothwell