Re: [PATCH net-next v2] net: ethernet: lantiq_etop: remove redundant device name setup

From: patchwork-bot+netdevbpf
Date: Mon Jul 15 2024 - 10:10:38 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 13 Jul 2024 19:09:20 +0200 you wrote:
> The same name is set when allocating the netdevice structure in the
> alloc_etherdev_mq()->alloc_etherrdev_mqs() function. Therefore, there
> is no need to manually set it.
>
> This fixes CheckPatch warnings:
> WARNING: Prefer strscpy over strcpy - see: https://github.com/KSPP/linux/issues/88
> strcpy(dev->name, "eth%d");
>
> [...]

Here is the summary with links:
- [net-next,v2] net: ethernet: lantiq_etop: remove redundant device name setup
https://git.kernel.org/netdev/net-next/c/9283477e2891

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