Re: [PATCH wireless-next] wifi: brcmfmac: flowring: simplify flow allocation
Arend van Spriel <[email protected]> Tue, 09 Jun 2026 16:48:36 +0200
| Newsgroups | dev.linux.lists.brcm80211,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
Op 8 juni 2026 07:11:22 schreef Rosen Penev <[email protected]>: > Use a flexible array member and kzalloc_flex to combine allocations. > Simplifies code slightly. > > Add __counted_by for extra runtime analysis. Acked-by: Arend van Spriel <[email protected]> > Signed-off-by: Rosen Penev <[email protected]> > --- > .../wireless/broadcom/brcm80211/brcmfmac/flowring.c | 10 ++-------- > .../wireless/broadcom/brcm80211/brcmfmac/flowring.h | 2 +- > 2 files changed, 3 insertions(+), 9 deletions(-)