]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Use proper allocation API to get zeroed memory
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 30 Jun 2019 15:48:32 +0000 (18:48 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 4 Jul 2019 17:08:18 +0000 (14:08 -0300)
commit7978a92da7c961fc7debebba812b1fd9f445c161
treea8c1ed75ffd7a25f0d2817fd44321383f1e47592
parent49cb49f3d4493deac0373febf3a386e5f413c036
RDMA/mlx5: Use proper allocation API to get zeroed memory

There is no need in custom memory zeroing, because it can be done
by using kzalloc from the beginning.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c