summaryrefslogtreecommitdiffstats
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorJay Kamat2018-09-07 23:34:04 +0200
committerShuah Khan (Samsung OSG)2018-09-08 00:35:51 +0200
commit48c2bb0b9cf863e0ed78e269f188ce65b73e0fd1 (patch)
treee5b2580305fc8e63823a7557c5c1634265f03ad0 /scripts/Kbuild.include
parentcgroup: kselftests: add test_core to .gitignore (diff)
downloadkernel-qcow2-linux-48c2bb0b9cf863e0ed78e269f188ce65b73e0fd1.tar.gz
kernel-qcow2-linux-48c2bb0b9cf863e0ed78e269f188ce65b73e0fd1.tar.xz
kernel-qcow2-linux-48c2bb0b9cf863e0ed78e269f188ce65b73e0fd1.zip
Fix cg_read_strcmp()
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. Previously, this function read to a size = 1 buffer when comparing against empty strings, which would lead to cg_read_strcmp() comparing two empty strings. - Fix a memory leak in cg_read_strcmp() Fixes: 84092dbcf901 ("selftests: cgroup: add memory controller self-tests") Signed-off-by: Jay Kamat <jgkamat@fb.com> Acked-by: Roman Gushchin <guro@fb.com> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions