devlink: fix the name of value arg of devl_param_driverinit_value_get()
authorJiri Pirko <jiri@nvidia.com>
Fri, 10 Feb 2023 10:01:27 +0000 (11:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2023 09:49:14 +0000 (09:49 +0000)
commit94ba1c316b9c0f9b017f7cd7eac84adae693e80f
tree192b40ef7db58f58646c27f15af3b1b627542b7a
parentafd888c3e19ceb5247158fe2fabbf7234937a515
devlink: fix the name of value arg of devl_param_driverinit_value_get()

Probably due to copy-paste error, the name of the arg is "init_val"
which is misleading, as the pointer is used to point to struct where to
store the current value. Rename it to "val" and change the arg comment
a bit on the way.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
net/devlink/leftover.c