Commit 2bd51c1
Mohammad Kabat
net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
Bugzilla: https://bugzilla.redhat.com/2112965
Upstream-status: v5.19-rc2
commit f5826c8
Author: Gal Pressman <gal@nvidia.com>
Date: Mon Jun 6 14:57:18 2022 +0300
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: 7202da8 ("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>
Signed-off-by: Mohammad Kabat <mkabat@redhat.com>1 parent 4d3f47c commit 2bd51c1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2110 | 2110 | | |
2111 | 2111 | | |
2112 | 2112 | | |
2113 | | - | |
| 2113 | + | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | 2116 | | |
| |||
0 commit comments