]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Use extack in get module eeprom by page callback
authorGal Pressman <gal@nvidia.com>
Thu, 8 Aug 2024 05:59:25 +0000 (08:59 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Aug 2024 05:13:15 +0000 (22:13 -0700)
commitb5100b72da688282558b28255c03a2d72241a729
treef69ac271b66b25d158795365f44e38246ab8570c
parent9c4298b466b19651203c8c8847fcbfe3e37ef6b7
net/mlx5e: Use extack in get module eeprom by page callback

In case of errors in get module eeprom by page, reflect it through
extack instead of a dmesg print.
While at it, make the messages more human friendly.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20240808055927.2059700-10-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c