diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-26 10:58:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-27 15:32:02 +0300 |
commit | 3f716a620e1314aa9abe69052bdc9df719372bd4 (patch) | |
tree | f85435a8674af2941a752addbe9ce7ffc45e7af0 /drivers/net/ethernet/netronome | |
parent | 85fe0b324c830ac671b811efc70ea80c3dcb2390 (diff) | |
download | linux-3f716a620e1314aa9abe69052bdc9df719372bd4.tar.xz |
devlink: put couple of WARN_ONs in devlink_param_driverinit_value_get()
Put couple of WARN_ONs in devlink_param_driverinit_value_get() function
to clearly indicate, that it is a driver bug if used without reload
support or for non-driverinit param.
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