Skip to contentSkip to conversation

mm-rmap-fix-coccinelle-warnings.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 24, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-rmap-fix-coccinelle-warnings.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 10:59:49 -0800

The patch titled
Subject: mm/rmap: fix coccinelle warnings
has been removed from the -mm tree. Its filename was
mm-rmap-fix-coccinelle-warnings.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Fengguang Wu <[email protected]>
Subject: 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

---

 mm/rmap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/rmap.c renamed from mm/rmap.c~mm-rmap-fix-coccinelle-warnings +2 -2
diff -puN mm/rmap.c~mm-rmap-fix-coccinelle-warnings mm/rmap.c
@@ -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)

_

Patches currently in -mm which might be from [email protected] are

origin.patch swap-add-a-simple-detector-for-inappropriate-swapin-readahead.patch swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch linux-next.patch
mm-add-strictlimit-knob-v2.patch debugging-keep-track-of-page-owners.patch