OSDN Git Service

RDMA/hns: Use free_pages function instead of free_page
authoroulijun <oulijun@huawei.com>
Wed, 7 Feb 2018 09:49:30 +0000 (17:49 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 14 Feb 2018 23:30:12 +0000 (16:30 -0700)
commitd480bb50d294e23a6773c507b8017e6bc45efc67
tree543c402e0735fe4337f97cefc6d921236e26f8ca
parentced07769dc8484a9221aa616b3e935e748e8db03
RDMA/hns: Use free_pages function instead of free_page

It need to use free_pages function for free the memory allocated
by __get_free_pages function.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_mr.c