projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed3b15
)
IB/hfi1: Use "false" not 0
author
Ira Weiny
<ira.weiny@intel.com>
Thu, 28 Jul 2016 16:27:33 +0000
(12:27 -0400)
committer
Doug Ledford
<dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000
(22:46 -0400)
For bool parameters "false" should be used
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/user_sdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/hfi1/user_sdma.c
b/drivers/infiniband/hw/hfi1/user_sdma.c
index 86c28851491cbbc4105c5ac9b7adbb25c9c17800..54640c31b6bb80e23c1687b3ca4b6db65accd553 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/user_sdma.c
+++ b/
drivers/infiniband/hw/hfi1/user_sdma.c
@@
-1224,7
+1224,7
@@
bail:
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);
}