Re: [PATCH 1/2] Fix cg_read_strcmp()

From: Roman Gushchin
Date: Fri Sep 07 2018 - 12:59:23 EST


On Fri, Sep 07, 2018 at 09:49:23AM -0700, jgkamat@xxxxxx wrote:
> From: Jay Kamat <jgkamat@xxxxxx>
>
> Fix a couple issues with cg_read_strcmp(), to improve correctness of
> cgroup tests
> - Fix cg_read_strcmp() always returning 0 for empty "needle" strings
> - Fix a memory leak in cg_read_strcmp()
>
> Fixes: 84092dbcf901 ("selftests: cgroup: add memory controller self-tests")

Hi Jay!

Thank you for working on this!

Acked-by: Roman Gushchin <guro@xxxxxx>