]> git.baikalelectronics.ru Git - kernel.git/commit
ice: refactor devlink getter/fallback functions to void
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 20 Aug 2021 15:09:50 +0000 (08:09 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 28 Sep 2021 16:42:04 +0000 (09:42 -0700)
commit4595effbacdf6ebcf45ac5a95aebe9cbfce9b4b4
tree8cc0afdfd2f3077d4029a9b66592788be9343768
parent57811092a50ce8367bd7659454bac4bc5c49fa26
ice: refactor devlink getter/fallback functions to void

After commit 425aeedddd8a ("ice: do not abort devlink info if board
identifier can't be found"), the getter/fallback() functions no longer
report an error. Convert the interface to a void so that it is no
longer possible to add a version field that is fatal. This makes
sense, because we should not fail to report other versions just
because one of the version pieces could not be found.

Finally, clean up the getter functions line wrapping so that none of
them take more than 80 columns, as is the usual style for networking
files.

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