summaryrefslogtreecommitdiff
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-10-24 22:58:33 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-30 02:21:37 +0300
commit2d7dfe2d0ba70d793bf0c1038732319be77c9788 (patch)
treeb72ff5544e008106ccb7aff4c3fc7ecc27e4ca5c /rust/helpers/refcount.c
parent77693e6c140aff6957d1046475fe69f45fdb1583 (diff)
downloadlinux-2d7dfe2d0ba70d793bf0c1038732319be77c9788.tar.xz
net: marvell: 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: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241024195833.176843-1-rosenp@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions