]> 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)
commitac38089b1002219200a822849908a33ae35cef69
treec69cfa2453f82b68c639253aafd23860d35caa0e
parent271398a643b262117ea44af9dfd0c7de4672d16f
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: e9f8255857c2 ("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