Commit d38d2a7582012ecf53aac33683ca5c689093cf65
Committed by
Linus Torvalds
1 parent
2bc7273b0e
Exists in
master
and in
4 other branches
mm: make mem_cgroup_resize_limit() static
Sparse output following warnings. mm/memcontrol.c:782:5: warning: symbol 'mem_cgroup_resize_limit' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
mm/memcontrol.c
... | ... | @@ -779,7 +779,8 @@ |
779 | 779 | return 0; |
780 | 780 | } |
781 | 781 | |
782 | -int mem_cgroup_resize_limit(struct mem_cgroup *memcg, unsigned long long val) | |
782 | +static int mem_cgroup_resize_limit(struct mem_cgroup *memcg, | |
783 | + unsigned long long val) | |
783 | 784 | { |
784 | 785 | |
785 | 786 | int retry_count = MEM_CGROUP_RECLAIM_RETRIES; |