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