[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169010942124.21900.11686032822364375294.git-patchwork-notify@kernel.org>
Date: Sun, 23 Jul 2023 10:50:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Justin Stitt <justinstitt@...gle.com>
Cc: andrew@...n.ch, f.fainelli@...il.com, olteanv@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, keescook@...omium.org,
ndesaulniers@...gle.com
Subject: Re: [PATCH v2] net: dsa: remove deprecated strncpy
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Tue, 18 Jul 2023 22:56:38 +0000 you wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> Even call sites utilizing length-bounded destination buffers should
> switch over to using `strtomem` or `strtomem_pad`. In this case,
> however, the compiler is unable to determine the size of the `data`
> buffer which renders `strtomem` unusable. Due to this, `strscpy`
> should be used.
>
> [...]
Here is the summary with links:
- [v2] net: dsa: remove deprecated strncpy
https://git.kernel.org/netdev/net-next/c/5c9f7b04aadf
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