提交 639297b4 编写于 作者: I Ira Weiny 提交者: Doug Ledford

IB/hfi1: Use "false" not 0

For bool parameters "false" should be used
Reviewed-by: NDean Luick <dean.luick@intel.com>
Signed-off-by: NIra Weiny <ira.weiny@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 5ed3b15b
......@@ -1224,7 +1224,7 @@ static int pin_vector_pages(struct user_sdma_request *req,
static void unpin_vector_pages(struct mm_struct *mm, struct page **pages,
unsigned start, unsigned npages)
{
hfi1_release_user_pages(mm, pages + start, npages, 0);
hfi1_release_user_pages(mm, pages + start, npages, false);
kfree(pages);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册