diff options
| author | 2025-10-10 13:42:39 -0700 | |
|---|---|---|
| committer | 2025-10-23 16:24:30 +0200 | |
| commit | c54268b598ec92a1015e260ca2aac2ee497ee340 (patch) | |
| tree | 14732b7e583723b010a2105fd54bbbf290708d31 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com | |
| parent | amd-xgbe: Avoid spurious link down messages during interface toggle (diff) | |
Octeontx2-af: Fix missing error code in cgx_probe()
[ Upstream commit c5705a2a4aa35350e504b72a94b5c71c3754833c ]
When CGX fails mapping to NIX, set the error code to -ENODEV, currently
err is zero and that is treated as success path.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/aLAdlCg2_Yv7Y-3h@stanley.mountain/
Fixes: d280233fc866 ("Octeontx2-af: Fix NIX X2P calibration failures")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251010204239.94237-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
