diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-11-04 12:23:26 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-06 17:50:37 -0800 |
commit | 4069dcb7da9569cd2e7370bdf70a271acc5e812d (patch) | |
tree | b9fe8cb20d065d153dcd951e151ce382d7decc2c /include/linux/compiler-gcc.h | |
parent | 720d33143276d19b758e1656d0f948ced8c9b9d8 (diff) |
net: bnx2x: 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>
Link: https://patch.msgid.link/20241104202326.78418-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions