Thread (3 messages) flat view 3 messages, 3 authors, 2021-02-10

Re: [PATCH net-next v2] net: octeontx2: Fix the confusion in buffer alloc failure path

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-10 23:21:14

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Tue,  9 Feb 2021 18:15:16 +0800 you wrote:
Pavel pointed that the return of dma_addr_t in
otx2_alloc_rbuf/__otx2_alloc_rbuf() seem suspicious because a negative
error code may be returned in some cases. For a dma_addr_t, the error
code such as -ENOMEM does seem a valid value, so we can't judge if the
buffer allocation fail or not based on that value. Add a parameter for
otx2_alloc_rbuf/__otx2_alloc_rbuf() to store the dma address and make
the return value to indicate if the buffer allocation really fail or
not.

[...]
Here is the summary with links:
  - [net-next,v2] net: octeontx2: Fix the confusion in buffer alloc failure path
    https://git.kernel.org/netdev/net-next/c/1fb3ca767529

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help