mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mm/memcg: minor cleanup in non-memcg_kmem version of mem_cgroup_from_obj()
@ 2022-04-23  2:23 Vasily Averin
  2022-04-23 13:17 ` Shakeel Butt
  2022-04-25  7:37 ` Michal Hocko
  0 siblings, 2 replies; 4+ messages in thread
From: Vasily Averin @ 2022-04-23  2:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Shakeel Butt, Roman Gushchin, linux-kernel

Replace leading spaces by tab:
 WARNING: please, no spaces at the start of a line
 #X: FILE: include/linux/memcontrol.h:1480:
 +       return NULL;$

Fixes: commit 8380ce479010 ("mm: fork: fix kernel_stack memcg stats for various stack implementations")
Signed-off-by: Vasily Averin <vvs@openvz.org>
---
 include/linux/memcontrol.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index a68dce3873fc..294515d06dbe 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -1753,7 +1753,7 @@ static inline int memcg_kmem_id(struct mem_cgroup *memcg)
 
 static inline struct mem_cgroup *mem_cgroup_from_obj(void *p)
 {
-       return NULL;
+	return NULL;
 }
 
 #endif /* CONFIG_MEMCG_KMEM */
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-25  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-23  2:23 [PATCH] mm/memcg: minor cleanup in non-memcg_kmem version of mem_cgroup_from_obj() Vasily Averin
2022-04-23 13:17 ` Shakeel Butt
2022-04-25  7:37 ` Michal Hocko
2022-04-25  8:40   ` Vasily Averin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®