[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169817822750.29692.18015497545388889511.git-patchwork-notify@kernel.org>
Date: Tue, 24 Oct 2023 20:10:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gerhard Engleder <gerhard@...leder-embedded.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, lkp@...el.com
Subject: Re: [PATCH net-next] tsnep: Fix tsnep_request_irq() format-overflow
warning
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 23 Oct 2023 20:38:56 +0200 you wrote:
> Compiler warns about a possible format-overflow in tsnep_request_irq():
> drivers/net/ethernet/engleder/tsnep_main.c:884:55: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
> sprintf(queue->name, "%s-rx-%d", name,
> ^
> drivers/net/ethernet/engleder/tsnep_main.c:881:55: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
> sprintf(queue->name, "%s-tx-%d", name,
> ^
> drivers/net/ethernet/engleder/tsnep_main.c:878:49: warning: '-txrx-' directive writing 6 bytes into a region of size between 5 and 25 [-Wformat-overflow=]
> sprintf(queue->name, "%s-txrx-%d", name,
> ^~~~~~
>
> [...]
Here is the summary with links:
- [net-next] tsnep: Fix tsnep_request_irq() format-overflow warning
https://git.kernel.org/netdev/net-next/c/00e984cb986b
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