Re: [PATCH net] wifi: brcmsmac: Fix dma_free_coherent() size

Arend van Spriel <[email protected]> Sat, 28 Mar 2026 12:08:18 +0100
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless,org.kernel.vger.stable
Message-ID <[email protected]>
On 18/02/2026 14:07, Thomas Fourier wrote:
> dma_alloc_consistent() may change the size to align it. The new size is
> saved in alloced.
> 
> Change the free size to match the allocation size.
> 
> Fixes: 5b435de0d786 ("net: wireless: add brcm80211 drivers")
> Cc: <[email protected]>

Looks good to me.

Acked-by: Arend van Spriel <[email protected]>

> Signed-off-by: Thomas Fourier <[email protected]>
> ---
>   drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)