diff options
author | Aya Levin <ayal@nvidia.com> | 2024-01-16 21:13:34 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-03-02 10:02:26 +0300 |
commit | ac8082a3c7a158640a2c493ec437dd9da881a6a7 (patch) | |
tree | 435e752698f5be86661758a2e921832311316f6c /include/linux/mlx5/mlx5_ifc.h | |
parent | 85ea2c5c5ef5f24fe6e6e7028ddd90be1cb5d27e (diff) | |
download | linux-ac8082a3c7a158640a2c493ec437dd9da881a6a7.tar.xz |
net/mlx5: Fix fw reporter diagnose output
Restore fw reporter diagnose to print the syndrome even if it is zero.
Following the cited commit, in this case (syndrome == 0) command returns no
output at all.
This fix restores command output in case syndrome is cleared:
$ devlink health diagnose pci/0000:82:00.0 reporter fw
Syndrome: 0
Fixes: d17f98bf7cc9 ("net/mlx5: devlink health: use retained error fmsg API")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
0 files changed, 0 insertions, 0 deletions