diff options
| author | Alexander Duyck <[email protected]> | 2021-03-17 00:30:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-17 18:42:30 +0000 |
| commit | 7888fe53b7066c284e172d98d98d1865d6a9e5a0 (patch) | |
| tree | 7774816ad11687302b0fc973e93179e3eda1e586 /net/tipc/node.c | |
| parent | Merge tag 'mlx5-updates-2021-03-16' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-7888fe53b7066c284e172d98d98d1865d6a9e5a0.tar.gz kernel-7888fe53b7066c284e172d98d98d1865d6a9e5a0.zip | |
ethtool: Add common function for filling out strings
Add a function to handle the common pattern of printing a string into the
ethtool strings interface and incrementing the string pointer by the
ETH_GSTRING_LEN. Most of the drivers end up doing this and several have
implemented their own versions of this function so it would make sense to
consolidate on one implementation.
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
