net: ethtool: Enhance error messages sent to user space
authorDanielle Ratson <danieller@nvidia.com>
Tue, 10 Sep 2024 09:10:44 +0000 (12:10 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Sep 2024 04:12:27 +0000 (21:12 -0700)
commit716425d6f3fb7354023069042f240eddbc557504
treecca7cffd660cc70a55a026d8ea85b185b01d5060
parent6503734916cc751bec825ff314d7cadaa587f2d0
net: ethtool: Enhance error messages sent to user space

During the firmware flashing process, notifications are sent to user
space to provide progress updates. When an error occurs, an error
message is sent to indicate what went wrong.

In some cases, appropriate error messages are missing.

Add relevant error messages where applicable, allowing user space to better
understand the issues encountered.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240910091044.3044568-1-danieller@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/cmis_cdb.c