Skip to contentSkip to conversation

mm-memcontrolc-fix-kerneldoc-comment-for-mem_cgroup_calculate_protection.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 6, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/memcontrol.c: fix kerneldoc comment for mem_cgroup_calculate_protection
has been removed from the -mm tree. Its filename was
mm-memcontrolc-fix-kerneldoc-comment-for-mem_cgroup_calculate_protection.patch

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

------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm/memcontrol.c: fix kerneldoc comment for mem_cgroup_calculate_protection

make W=1 generates the following warning for mem_cgroup_calculate_protection

mm/memcontrol.c:6468: warning: expecting prototype for mem_cgroup_protected(). Prototype was for mem_cgroup_calculate_protection() instead

Commit 45c7f7e1ef17 ("mm, memcg: decouple e{low,min} state mutations from protection checks") changed the function definition but not the associated kerneldoc comment.

Fixes 45c7f7e1ef17 ("mm, memcg: decouple e{low,min} state mutations from protection checks")
Cc Dan Streetman <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Michal Hocko <[email protected]>

---

 mm/memcontrol.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memcontrol.c renamed from mm/memcontrol.c~mm-memcontrolc-fix-kerneldoc-comment-for-mem_cgroup_calculate_protection +1 -1
@@ -6639,7 +6639,7 @@ static unsigned long effective_protectio
 }
 
 /**
- * mem_cgroup_protected - check if memory consumption is in the normal range
+ * mem_cgroup_calculate_protection - check if memory consumption is in the normal range
  * @root: the top ancestor of the sub-tree being checked
  * @memcg: the memory cgroup to check
  *

_

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