]> git.baikalelectronics.ru Git - kernel.git/commit
ice: add extack when unable to read device caps
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 6 May 2021 15:39:57 +0000 (08:39 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 7 Jun 2021 15:59:01 +0000 (08:59 -0700)
commit7a94194bd00af13eead5c7d8cb9a6c7cad36a207
tree9985a48426996aa79ed94faa818cb28d621c35c9
parent62240c6f74eb1e504dded9c017c84e5d4db701b2
ice: add extack when unable to read device caps

When filling out information for the DEVLINK_CMD_INFO_GET, the driver
needs to read some device capabilities. Add an extack message to
properly inform the caller of the failure, as we do for other failures
in this function.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_devlink.c