Thread (1 message) 1 message, 1 author, 2017-08-16

Re: [PATCH v2 2/2] IB/mlx4: use kvmalloc_array to allocate wrid

From: Leon Romanovsky <hidden>
Date: 2017-08-16 14:01:54

On Wed, Aug 16, 2017 at 11:31:23PM +1000, Li Dongyang wrote:
We could use kvmalloc_array instead of the
kmalloc and __vmalloc combination.
After this we don't need to include linux/vmalloc.h

Signed-off-by: Li Dongyang <redacted>
---
 drivers/infiniband/hw/mlx4/qp.c  | 15 ++++-----------
 drivers/infiniband/hw/mlx4/srq.c | 13 ++++---------
 2 files changed, 8 insertions(+), 20 deletions(-)
Thanks,
Reviewed-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help