diff options
author | Li Dongyang <dongyang.li@anu.edu.au> | 2017-08-16 16:31:23 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-22 23:48:35 +0300 |
commit | e9105cdefbf64cd7aea300f934c92051e7cb7cff (patch) | |
tree | e7a3a7f7632dd612b27848607258acfe32eeacd5 /include | |
parent | b588300801f3502a7de5ca897af68019fbb3bc79 (diff) | |
download | linux-e9105cdefbf64cd7aea300f934c92051e7cb7cff.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions