diff options
author | Gal Pressman <gal@nvidia.com> | 2022-06-06 14:57:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-07 20:49:58 -0700 |
commit | f5826c8c9d57210a17031af5527056eefdc2b7eb (patch) | |
tree | b049998ea033db968da57022b70e9c798601bddb /scripts/gdb/linux/clk.py | |
parent | 0737e018a05e2aa352828c52bdeed3b02cff2930 (diff) |
net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
The ioctl EEPROM query wrongly returns success on read failures, fix
that by returning the appropriate error code.
Fixes: 7202da8b7f71 ("ethtool, net/mlx4_en: Cable info, get_module_info/eeprom ethtool support")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20220606115718.14233-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions