OSDN Git Service

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)
commit53c3daf8cfeae4b1289723c7abeb9540c1630cf8
tree9a2a9a6bd3293b459b8e20f77710f014eed0cb9c
parent9855c4626c67abc24902246ba961e6dd9022dd27
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