Re: [PATCH v4] net: dsa: lan9303: use ethtool_puts() for lan9303_get_strings()

2024-04-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 25 Apr 2024 01:19:13 + you wrote: > This pattern of strncpy with some pointer arithmetic setting fixed-sized > intervals with string literal data is a bit weird so let's use > ethtool_puts() as this has mo

[PATCH v4] net: dsa: lan9303: use ethtool_puts() for lan9303_get_strings()

2024-04-24 Thread Justin Stitt
This pattern of strncpy with some pointer arithmetic setting fixed-sized intervals with string literal data is a bit weird so let's use ethtool_puts() as this has more obvious behavior and is less-error prone. Nicely, we also get to drop a usage of the now deprecated strncpy() [1]. Link: https:/