From: patchwork-bot+netdevbpf@kernel.org
To: Thomas Fourier <fourier.thomas@gmail.com>
Cc: stable@vger.kernel.org, sgoutham@marvell.com, gakula@marvell.com,
sbhatta@marvell.com, hkelam@marvell.com, bbhushan2@marvell.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] octeontx2: Fix otx2_dma_map_page() error return code
Date: Mon, 19 Jan 2026 14:18:27 +0000 [thread overview]
Message-ID: <176883230702.1426077.16288100888364682482.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260114123107.42387-2-fourier.thomas@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 14 Jan 2026 13:31:06 +0100 you wrote:
> 0 is a valid DMA address [1] so using it as the error value can lead to
> errors. The error value of dma_map_XXX() functions is DMA_MAPPING_ERROR
> which is ~0. The callers of otx2_dma_map_page() use dma_mapping_error()
> to test the return value of otx2_dma_map_page(). This means that they
> would not detect an error in otx2_dma_map_page().
>
> Make otx2_dma_map_page() return the raw value of dma_map_page_attrs().
>
> [...]
Here is the summary with links:
- octeontx2: Fix otx2_dma_map_page() error return code
https://git.kernel.org/netdev/net/c/d998b0e5afff
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-01-19 14:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 12:31 [PATCH] octeontx2: Fix otx2_dma_map_page() error return code Thomas Fourier
2026-01-19 14:18 ` patchwork-bot+netdevbpf [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=176883230702.1426077.16288100888364682482.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=bbhushan2@marvell.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fourier.thomas@gmail.com \
--cc=gakula@marvell.com \
--cc=hkelam@marvell.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sbhatta@marvell.com \
--cc=sgoutham@marvell.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