[PATCH 3.12 39/72] net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes

2015-11-23 Thread Jiri Slaby
From: Carol L Soto 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit c02b05011fadf8e409e41910217ca689f2fc9d91 ] When doing memcpy/memset of EQEs, we should use sizeof struct mlx4_eqe as the base size and not caps.eqe_size which

[PATCH 3.12 39/72] net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes

2015-11-23 Thread Jiri Slaby
From: Carol L Soto 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit c02b05011fadf8e409e41910217ca689f2fc9d91 ] When doing memcpy/memset of EQEs, we should use sizeof struct mlx4_eqe as the base size and