diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2018-10-10 16:09:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-10 20:19:10 +0300 |
commit | 1276534c988ba752fa01bf090412a877ee783829 (patch) | |
tree | 71529afbcdbde106a29533dca5f8fcd0d4914059 /include | |
parent | f355cfcdb251e22b9dfb78c0eef4005a9d902a35 (diff) | |
download | linux-1276534c988ba752fa01bf090412a877ee783829.tar.xz |
devlink: Fix param cmode driverinit for string type
Driverinit configuration mode value is held by devlink to enable the
driver fetch the value after reload command. In case the param type is
string devlink should copy the value from driver string buffer to
devlink string buffer on devlink_param_driverinit_value_set() and
vice-versa on devlink_param_driverinit_value_get().
Fixes: ec01aeb1803e ("devlink: Add support for get/set driverinit value")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions