[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c60767c9-03fe-2c9b-9844-752ef0df5b03@openvz.org>
Date: Sat, 23 Apr 2022 05:23:03 +0300
From: Vasily Averin <vvs@...nvz.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Shakeel Butt <shakeelb@...gle.com>,
Roman Gushchin <roman.gushchin@...ux.dev>,
linux-kernel@...r.kernel.org
Subject: [PATCH] mm/memcg: minor cleanup in non-memcg_kmem version of
mem_cgroup_from_obj()
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@...nvz.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
Powered by blists - more mailing lists