[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<174531305924.1477965.8234488898422063716.git-patchwork-notify@kernel.org>
Date: Tue, 22 Apr 2025 09:10:59 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Simon Horman <horms@...nel.org>
Cc: wintera@...ux.ibm.com, twinkler@...ux.ibm.com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
hca@...ux.ibm.com, gor@...ux.ibm.com, agordeev@...ux.ibm.com,
borntraeger@...ux.ibm.com, svens@...ux.ibm.com, netdev@...r.kernel.org,
linux-s390@...r.kernel.org
Subject: Re: [PATCH net-next] s390: ism: Pass string literal as format argument
of dev_set_name()
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 17 Apr 2025 11:28:23 +0100 you wrote:
> GCC 14.2.0 reports that passing a non-string literal as the
> format argument of dev_set_name() is potentially insecure.
>
> drivers/s390/net/ism_drv.c: In function 'ism_probe':
> drivers/s390/net/ism_drv.c:615:2: warning: format not a string literal and no format arguments [-Wformat-security]
> 615 | dev_set_name(&ism->dev, dev_name(&pdev->dev));
> | ^~~~~~~~~~~~
>
> [...]
Here is the summary with links:
- [net-next] s390: ism: Pass string literal as format argument of dev_set_name()
https://git.kernel.org/netdev/net-next/c/199561a48f02
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