projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9733416
)
mm/gup.c: fix coding style issues.
author
Mario Leinweber
<
[email protected]
>
Thu, 5 Apr 2018 23:24:18 +0000
(16:24 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Apr 2018 04:36:26 +0000
(21:36 -0700)
- Fixed style error: 8 spaces -> 1 tab.
- Fixed style warning: Corrected misleading indentation.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Mario Leinweber <
[email protected]
>
Reviewed-by: Andrew Morton <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/gup.c
patch
|
blob
|
history
diff --git
a/mm/gup.c
b/mm/gup.c
index 6afae32571cae669044319e8aa4438679e8a3b95..f296df6cf6662297ea495b278de75f566f16f5c1 100644
(file)
--- a/
mm/gup.c
+++ b/
mm/gup.c
@@
-531,7
+531,7
@@
static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma,
* reCOWed by userspace write).
*/
if ((ret & VM_FAULT_WRITE) && !(vma->vm_flags & VM_WRITE))
- *flags |= FOLL_COW;
+ *flags |= FOLL_COW;
return 0;
}
@@
-1638,7
+1638,7
@@
static int gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end,
PMD_SHIFT, next, write, pages, nr))
return 0;
} else if (!gup_pte_range(pmd, addr, next, write, pages, nr))
-
return 0;
+ return 0;
} while (pmdp++, addr = next, addr != end);
return 1;