mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
mlxsw: core: use PSID string define in devlink info
Instead of having the string spelled out in the driver, use the global define with the same value. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f55c998c27
commit
7dafcc4c9d
|
|
@ -1444,7 +1444,9 @@ mlxsw_devlink_info_get(struct devlink *devlink, struct devlink_info_req *req,
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
err = devlink_info_version_fixed_put(req, "fw.psid", fw_info_psid);
|
||||
err = devlink_info_version_fixed_put(req,
|
||||
DEVLINK_INFO_VERSION_GENERIC_FW_PSID,
|
||||
fw_info_psid);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user