diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-11-04 12:53:17 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-06 17:51:02 -0800 |
commit | fda960354eac34ad0f97991da663e719ad2c93be (patch) | |
tree | 342f383172413028eb52cd2991ed50cbbaf843c1 /security/tomoyo/securityfs_if.c | |
parent | 4ea3e221907aeee77c2f92953045121ddc9f5660 (diff) |
net: broadcom: use ethtool string helpers
The latter is the preferred way to copy ethtool strings.
Avoids manually incrementing the pointer. Cleans up the code quite well.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20241104205317.306140-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security/tomoyo/securityfs_if.c')
0 files changed, 0 insertions, 0 deletions