diff options
author | 2024-11-04 12:48:23 -0800 | |
---|---|---|
committer | 2024-11-06 17:50:56 -0800 | |
commit | 4ea3e221907aeee77c2f92953045121ddc9f5660 (patch) | |
tree | 2385d6b55d3bf60168ba459359800a8b65da68b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: bnx2x: use ethtool string helpers (diff) | |
download | wireguard-linux-4ea3e221907aeee77c2f92953045121ddc9f5660.tar.xz wireguard-linux-4ea3e221907aeee77c2f92953045121ddc9f5660.zip |
net: hisilicon: hns3: 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>
Reviewed-by: Jijie Shao <shaojijie@huawei.com>
Tested-by: Jijie Shao <shaojijie@huawei.com>
Link: https://patch.msgid.link/20241104204823.297277-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions