linux-next: build warning after merge of the mac80211-next tree
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
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
Quoted 12 lines · Stephen Rothwell
After merging the mac80211-next tree, today's linux-next build (
arm_multiv7_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
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
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_multiv7_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
Quoted 14 lines · Kalle Valo
Quoted 12 lines · Stephen Rothwell
After merging the mac80211-next tree, today's linux-next build (
arm_multiv7_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
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_multiv7_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
Signature · 1 line
Kalle Valo
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:
8689c051a201cfg80211: dynamically allocate per-tid stats for station info
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
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:
8689c051a201cfg80211: dynamically allocate per-tid stats for station infoThanks 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