Re: [PATCH wireless-next v3 0/4] wifi: brcmfmac: external auth support for Infineon devices

Johannes Berg <[email protected]> Sun, 25 May 2025 14:24:39 +0200
Newsgroups gmane.linux.kernel.wireless.general,gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Sun, 2025-05-25 at 11:47 +0200, Arend van Spriel wrote:
>=20
> > [  161.608607] ------------[ cut here ]------------
> > [  161.608646] memcpy: detected field-spanning write (size 104) of
> > single field "&mgmt_frame->u" at drivers/net/wireless/broadcom/brcm8021=
1/brcmfmac/cyw/core.c:307 (size 26)
>=20
> Okay. I do not run with that Kconfig option. Will have to look into how=
=20
> to fix this. Probably need some kind of annotation. If you know what is=
=20
> needed feel free to post a patch for it.

I think just copy to mgmt_frame->u.body instead of ->u itself.

johannes