Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186189 > unrolled thread

[PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion

Started byAlexey Dobriyan <adobriyan@gmail.com>
First post2015-07-16 20:50 +0200
Last post2015-07-16 20:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion Alexey Dobriyan <adobriyan@gmail.com> - 2015-07-16 20:50 +0200

#1186189 — [PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion

FromAlexey Dobriyan <adobriyan@gmail.com>
Date2015-07-16 20:50 +0200
Subject[PATCH -mm] parse_integer: fixup mm/memcontrol.c conversion
Message-ID<pMWoi-6DY-9@gated-at.bofh.it>
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web