Skip to content
Commit e9105cde authored by Li Dongyang's avatar Li Dongyang Committed by Doug Ledford
Browse files

IB/mlx4: use kvmalloc_array to allocate wrid



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: default avatarLi Dongyang <dongyang.li@anu.edu.au>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b5883008
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment