[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150716184052.GA21459@p183.telecom.by>
Date: Thu, 16 Jul 2015 21:40:52 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion
Fix copypasterro: efd => cfd.
Signed-off-by: Alexey Dobriyan <adobriyan@...il.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists