summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-01-26 10:58:33 +0300
committerDavid S. Miller <davem@davemloft.net>2023-01-27 15:32:02 +0300
commit85fe0b324c830ac671b811efc70ea80c3dcb2390 (patch)
tree1d03a943a8e6136ddeffdfaa33a2be616558af70 /drivers/net/ethernet/netronome
parent6fd6eda0e65d127872667054edd92e01c64f990a (diff)
downloadlinux-85fe0b324c830ac671b811efc70ea80c3dcb2390.tar.xz
devlink: make devlink_param_driverinit_value_set() return void
devlink_param_driverinit_value_set() currently returns int with possible error, but no user is checking it anyway. The only reason for a fail is a driver bug. So convert the function to return void and put WARN_ONs on error paths. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome')
0 files changed, 0 insertions, 0 deletions