mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mm/rmap: fix coccinelle warnings
mm/rmap.c:851:9-10: WARNING: return of 0/1 in function 'invalid_mkclean_vma' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: coccinelle/misc/boolreturn.cocci Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a5998061da
commit
871beb8c31
1 changed files with 2 additions and 2 deletions
|
|
@ -848,9 +848,9 @@ out:
|
|||
static bool invalid_mkclean_vma(struct vm_area_struct *vma, void *arg)
|
||||
{
|
||||
if (vma->vm_flags & VM_SHARED)
|
||||
return 0;
|
||||
return false;
|
||||
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
int page_mkclean(struct page *page)
|
||||
|
|
|
|||
Loading…
Reference in a new issue