diff options
| author | 2025-11-13 19:19:21 +0300 | |
|---|---|---|
| committer | 2025-11-14 18:01:32 -0800 | |
| commit | b0c959fec18f4595a6a6317ffc30615cfa37bf69 (patch) | |
| tree | 9b28e26c43d87a8cf2b3bc78ee242093182ce799 /scripts/gdb/linux/timerlist.py | |
| parent | net: dsa: hellcreek: fix missing error handling in LED registration (diff) | |
| download | wireguard-linux-b0c959fec18f4595a6a6317ffc30615cfa37bf69.tar.xz wireguard-linux-b0c959fec18f4595a6a6317ffc30615cfa37bf69.zip | |
net: mlxsw: linecards: fix missing error check in mlxsw_linecard_devlink_info_get()
The call to devlink_info_version_fixed_put() in
mlxsw_linecard_devlink_info_get() did not check for errors,
although it is checked everywhere in the code.
Add missed 'err' check to the mlxsw_linecard_devlink_info_get()
Fixes: 3fc0c51905fb ("mlxsw: core_linecards: Expose device PSID over device info")
Signed-off-by: Pavel Zhigulin <Pavel.Zhigulin@kaspersky.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20251113161922.813828-1-Pavel.Zhigulin@kaspersky.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
