[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172074603218.14405.11096863256299217513.git-patchwork-notify@kernel.org>
Date: Fri, 12 Jul 2024 01:00:32 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexey Kodanev <aleksei.kodanev@...l-sw.com>
Cc: netdev@...r.kernel.org, rmody@...vell.com, skalluru@...vell.com,
GR-Linux-NIC-Dev@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, ddutt@...cade.com
Subject: Re: [PATCH net-next v2] bna: adjust 'name' buf size of bna_tcb and
bna_ccb structures
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Mon, 8 Jul 2024 10:50:08 +0000 you wrote:
> To have enough space to write all possible sprintf() args. Currently
> 'name' size is 16, but the first '%s' specifier may already need at
> least 16 characters, since 'bnad->netdev->name' is used there.
>
> For '%d' specifiers, assume that they require:
> * 1 char for 'tx_id + tx_info->tcb[i]->id' sum, BNAD_MAX_TXQ_PER_TX is 8
> * 2 chars for 'rx_id + rx_info->rx_ctrl[i].ccb->id', BNAD_MAX_RXP_PER_RX
> is 16
>
> [...]
Here is the summary with links:
- [net-next,v2] bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
https://git.kernel.org/netdev/net-next/c/c9741a03dc8e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists