2018-05-09 21:12:45

by Arend Van Spriel

[permalink] [raw]
Subject: [wl-testing/master] build regression in brcmfmac

Since yesterday I get the following build error on wl-testing/master:

CC [M] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
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:
error: the frame size of 1592 bytes is larger than 1024 bytes
[-Werror=frame-larger-than=]
}
^

In the function brcmf_notify_connect_status_ap() I do have following on
the stack:

static s32
brcmf_notify_connect_status_ap(struct brcmf_cfg80211_info *cfg,
struct net_device *ndev,
const struct brcmf_event_msg *e, void *data)
{
static int generation;
u32 event = e->event_code;
u32 reason = e->reason;
struct station_info sinfo;

I guess the struct station_info grew bigger by these commits:

52539ca cfg80211: Expose TXQ stats and parameters to userspace +816
81d5439 cfg80211: average ack rssi support for data frames +1

There are a number of other (cfg80211-based) drivers doing the same
thing, ie. mwifiex, ath6kl, qtnfmac.

Regards,
Arend


2018-05-09 21:30:57

by Johannes Berg

[permalink] [raw]
Subject: Re: [wl-testing/master] build regression in brcmfmac

On Wed, 2018-05-09 at 23:27 +0200, Toke Høiland-Jørgensen wrote:

> That would be these:
>
> https://patchwork.kernel.org/patch/10389333/
> https://patchwork.kernel.org/patch/10389331/
> https://patchwork.kernel.org/patch/10389335/
>

D'oh, how did I miss that?!

Your fixes line is slightly wrong, it should be

Fixes: 12-digitid ("subject")

but I'm happy to fix that when I apply it.

johannes

2018-05-09 21:36:50

by Toke Høiland-Jørgensen

[permalink] [raw]
Subject: Re: [wl-testing/master] build regression in brcmfmac

Johannes Berg <[email protected]> writes:

> On Wed, 2018-05-09 at 23:27 +0200, Toke H=C3=B8iland-J=C3=B8rgensen wrote:
>
>> That would be these:
>>=20
>> https://patchwork.kernel.org/patch/10389333/
>> https://patchwork.kernel.org/patch/10389331/
>> https://patchwork.kernel.org/patch/10389335/
>>=20
>
> D'oh, how did I miss that?!
>
> Your fixes line is slightly wrong, it should be
>
> Fixes: 12-digitid ("subject")

You mean it's missing the parenthesis?

-Toke

2018-05-09 21:27:36

by Toke Høiland-Jørgensen

[permalink] [raw]
Subject: Re: [wl-testing/master] build regression in brcmfmac

Johannes Berg <[email protected]> writes:

> On Wed, 2018-05-09 at 23:12 +0200, Arend van Spriel wrote:
>> Since yesterday I get the following build error on wl-testing/master:
>>=20
>> CC [M] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function=
=20
>> =E2=80=98brcmf_notify_connect_status_ap=E2=80=99:
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5530:1:=20
>> error: the frame size of 1592 bytes is larger than 1024 bytes=20
>> [-Werror=3Dframe-larger-than=3D]
>> }
>> ^
>>=20
>> In the function brcmf_notify_connect_status_ap() I do have following on=
=20
>> the stack:
>>=20
>> static s32
>> brcmf_notify_connect_status_ap(struct brcmf_cfg80211_info *cfg,
>> struct net_device *ndev,
>> const struct brcmf_event_msg *e, void *d=
ata)
>> {
>> static int generation;
>> u32 event =3D e->event_code;
>> u32 reason =3D e->reason;
>> struct station_info sinfo;
>>=20
>> I guess the struct station_info grew bigger by these commits:
>>=20
>> 52539ca cfg80211: Expose TXQ stats and parameters to userspace +816
>> 81d5439 cfg80211: average ack rssi support for data frames +1
>>=20
>> There are a number of other (cfg80211-based) drivers doing the same=20
>> thing, ie. mwifiex, ath6kl, qtnfmac.
>
> Yeah. Toke said this morning he was working on fixes.

That would be these:

https://patchwork.kernel.org/patch/10389333/
https://patchwork.kernel.org/patch/10389331/
https://patchwork.kernel.org/patch/10389335/

-Toke

2018-05-09 21:22:28

by Johannes Berg

[permalink] [raw]
Subject: Re: [wl-testing/master] build regression in brcmfmac

On Wed, 2018-05-09 at 23:12 +0200, Arend van Spriel wrote:
> Since yesterday I get the following build error on wl-testing/master:
>
> CC [M] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.o
> 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:
> error: the frame size of 1592 bytes is larger than 1024 bytes
> [-Werror=frame-larger-than=]
> }
> ^
>
> In the function brcmf_notify_connect_status_ap() I do have following on
> the stack:
>
> static s32
> brcmf_notify_connect_status_ap(struct brcmf_cfg80211_info *cfg,
> struct net_device *ndev,
> const struct brcmf_event_msg *e, void *data)
> {
> static int generation;
> u32 event = e->event_code;
> u32 reason = e->reason;
> struct station_info sinfo;
>
> I guess the struct station_info grew bigger by these commits:
>
> 52539ca cfg80211: Expose TXQ stats and parameters to userspace +816
> 81d5439 cfg80211: average ack rssi support for data frames +1
>
> There are a number of other (cfg80211-based) drivers doing the same
> thing, ie. mwifiex, ath6kl, qtnfmac.

Yeah. Toke said this morning he was working on fixes.

johannes

2018-05-09 21:37:16

by Johannes Berg

[permalink] [raw]
Subject: Re: [wl-testing/master] build regression in brcmfmac

On Wed, 2018-05-09 at 23:36 +0200, Toke Høiland-Jørgensen wrote:
> Johannes Berg <[email protected]> writes:
>
> > On Wed, 2018-05-09 at 23:27 +0200, Toke Høiland-Jørgensen wrote:
> >
> > > That would be these:
> > >
> > > https://patchwork.kernel.org/patch/10389333/
> > > https://patchwork.kernel.org/patch/10389331/
> > > https://patchwork.kernel.org/patch/10389335/
> > >
> >
> > D'oh, how did I miss that?!
> >
> > Your fixes line is slightly wrong, it should be
> >
> > Fixes: 12-digitid ("subject")
>
> You mean it's missing the parenthesis?

Right, and the quotes.

johannes