net/mlx4_en: Use ethtool_puts to fill priv flags strings
authorKamal Heib <kheib@redhat.com>
Mon, 17 Jun 2024 17:23:27 +0000 (13:23 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jun 2024 01:19:18 +0000 (18:19 -0700)
commite52e010395dc5232f7dd5c271367f4bdd18ab74c
tree08a38c2b71ffc2f989faaceec7859d4ce10b8b32
parent8c379e3ce404347acf35fbb4cf8694dd8d35f2a0
net/mlx4_en: Use ethtool_puts to fill priv flags strings

Use the ethtool_puts helper to print the priv flags strings into the
ethtool strings interface.

Signed-off-by: Kamal Heib <kheib@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240617172329.239819-2-kheib@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c