]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest/cgroup: fix a signedness bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Jun 2018 08:30:02 +0000 (11:30 +0300)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Thu, 7 Jun 2018 19:44:30 +0000 (13:44 -0600)
commitcd5db62488366ebe2be24f738cd085929ee8247a
tree9a2a9a6bd3293b459b8e20f77710f014eed0cb9c
parentc02dc4a6736d438cd0159a1f93ba5d8d0310e928
kselftest/cgroup: fix a signedness bug

"len" needs to be signed for the error handling to work.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/cgroup/cgroup_util.c