* [PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion
[not found] <559ecad9.hpeVsY/hVmSHYrz/%akpm@linux-foundation.org>
@ 2015-07-16 18:40 ` Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2015-07-16 18:40 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
Fix copypasterro: efd => cfd.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4197,21 +4197,21 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of,
int ret;
buf = strstrip(buf);
ret = parse_integer(buf, 10, &efd);
if (ret < 0)
return ret;
buf += ret;
if (*buf++ != ' ')
return -EINVAL;
- ret = parse_integer(buf, 10, &efd);
+ ret = parse_integer(buf, 10, &cfd);
if (ret < 0)
return ret;
buf += ret;
if (*buf != ' ' && *buf != '\0')
return -EINVAL;
buf++;
event = kzalloc(sizeof(*event), GFP_KERNEL);
if (!event)
return -ENOMEM;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-16 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <559ecad9.hpeVsY/hVmSHYrz/%akpm@linux-foundation.org>
2015-07-16 18:40 ` [PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).