commit | e9105cdefbf64cd7aea300f934c92051e7cb7cff | [log] [tgz] |
---|---|---|
author | Li Dongyang <dongyang.li@anu.edu.au> | Wed Aug 16 23:31:23 2017 +1000 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 22 16:48:35 2017 -0400 |
tree | e7a3a7f7632dd612b27848607258acfe32eeacd5 | |
parent | b588300801f3502a7de5ca897af68019fbb3bc79 [diff] |
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: Li Dongyang <dongyang.li@anu.edu.au> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>