Re: [patch net-next] devlink: remove pointless data_len arg from region snapshot create

2019-08-09 Thread David Miller
From: Jiri Pirko Date: Fri, 9 Aug 2019 15:27:15 +0200 > From: Jiri Pirko > > The size of the snapshot has to be the same as the size of the region, > therefore no need to pass it again during snapshot creation. Remove the > arg and use region->size instead. > > Signed-off-by: Jiri Pirko App

[patch net-next] devlink: remove pointless data_len arg from region snapshot create

2019-08-09 Thread Jiri Pirko
From: Jiri Pirko The size of the snapshot has to be the same as the size of the region, therefore no need to pass it again during snapshot creation. Remove the arg and use region->size instead. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlx4/crdump.c | 7 ++- include/net/d