]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix crdump chunks print
authorMoshe Shemesh <moshe@mellanox.com>
Sun, 14 Jul 2019 11:06:40 +0000 (14:06 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 22 Aug 2019 20:38:47 +0000 (13:38 -0700)
commit85c4689c0e08bef756ef81090126c3cba268d53f
treec69cfa2453f82b68c639253aafd23860d35caa0e
parenta2afc81360ec1cfa5489eb3674b3e70403beda28
net/mlx5: Fix crdump chunks print

Crdump repeats itself every chunk of 256bytes.
That is due to bug of missing progressing offset while copying the data
from buffer to devlink_fmsg.

Fixes: f909587ffa64 ("net/mlx5: Add support for FW fatal reporter dump")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c