mm/memcontrol.c: make local symbol static
Subsystems (2)
[email protected]
maintainerPATCH 105/119 mm/memcontrol.c: make local symbol static
From: Christopher Díaz Riveros <[email protected]>
Subject: mm/memcontrol.c: make local symbol static
Fixes the following sparse warning:
mm/memcontrol.c:1097:14: warning:
symbol 'memcg1_stats' was not declared. Should it be static?
Signed-off-by Christopher Díaz Riveros <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Johannes Weiner <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-memcontrol-make-local-symbol-static +1 -1
@@ -1095,7 +1095,7 @@ static bool mem_cgroup_wait_acct_move(streturn false; } -unsigned int memcg1_stats[] = { +static const unsigned int memcg1_stats[] = {MEMCG_CACHE ,MEMCG_RSS ,MEMCG_RSS_HUGE ,
_