diff options
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index d9c6ac1532e6..96f94a9f2faf 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -5242,7 +5242,7 @@ static int memcg_update_kmem_limit(struct mem_cgroup *memcg, | |||
5242 | * RES_LIMIT. | 5242 | * RES_LIMIT. |
5243 | */ | 5243 | */ |
5244 | static int mem_cgroup_write(struct cgroup_subsys_state *css, struct cftype *cft, | 5244 | static int mem_cgroup_write(struct cgroup_subsys_state *css, struct cftype *cft, |
5245 | const char *buffer) | 5245 | char *buffer) |
5246 | { | 5246 | { |
5247 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); | 5247 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); |
5248 | enum res_type type; | 5248 | enum res_type type; |
@@ -6063,7 +6063,7 @@ static void memcg_event_ptable_queue_proc(struct file *file, | |||
6063 | * Interpretation of args is defined by control file implementation. | 6063 | * Interpretation of args is defined by control file implementation. |
6064 | */ | 6064 | */ |
6065 | static int memcg_write_event_control(struct cgroup_subsys_state *css, | 6065 | static int memcg_write_event_control(struct cgroup_subsys_state *css, |
6066 | struct cftype *cft, const char *buffer) | 6066 | struct cftype *cft, char *buffer) |
6067 | { | 6067 | { |
6068 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); | 6068 | struct mem_cgroup *memcg = mem_cgroup_from_css(css); |
6069 | struct mem_cgroup_event *event; | 6069 | struct mem_cgroup_event *event; |