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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dongyang.li@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux