Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx4: Fix mlx4_read_clock returned errno value
[ Upstream commit 50eb393 ] mlx4_query_rt_values should return the value of errno on failure, but in some cases where mlx4_read_clock fails, a negative EOPNOTSUPP is returned instead. ix mlx4_read_clock to return the correct value. Fixes: ee7b8d0 ("mlx4: Add ibv_query_rt_values") Signed-off-by: Shay Drory <shayd@nvidia.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Loading branch information