Linux wireless drivers development
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Thomas Fourier <fourier.thomas@gmail.com>
Cc: stable@vger.kernel.org, Johannes Berg <johannes.berg@intel.com>,
	Simon Horman <horms@kernel.org>,
	"John W. Linville" <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev,
	brcm80211-dev-list.pdl@broadcom.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] wifi: brcmsmac: Fix dma_free_coherent() size
Date: Sat, 28 Mar 2026 12:08:18 +0100	[thread overview]
Message-ID: <fe3859ec-c799-4b05-bbb9-897765269252@broadcom.com> (raw)
In-Reply-To: <20260218130741.46566-3-fourier.thomas@gmail.com>

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: <stable@vger.kernel.org>

Looks good to me.

Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>

> Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
> ---
>   drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

      reply	other threads:[~2026-03-28 11:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18 13:07 [PATCH net] wifi: brcmsmac: Fix dma_free_coherent() size Thomas Fourier
2026-03-28 11:08 ` Arend van Spriel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe3859ec-c799-4b05-bbb9-897765269252@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=brcm80211-dev-list.pdl@broadcom.com \
    --cc=brcm80211@lists.linux.dev \
    --cc=fourier.thomas@gmail.com \
    --cc=horms@kernel.org \
    --cc=johannes.berg@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox