Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6992c6c5 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

net/mlx5: fix memcpy limit?

parent ec8add2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ int mlx5_fpga_query_qp(struct mlx5_core_dev *dev,
	if (ret)
		return ret;

	memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_query_qp_out, in, fpga_qpc),
	memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_query_qp_out, out, fpga_qpc),
	       MLX5_FLD_SZ_BYTES(fpga_query_qp_out, fpga_qpc));
	return ret;
}