diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-06-10 18:41:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-10 19:14:17 -0700 |
commit | 9f267a17bfb4eb52a1705d0886a7220e6470bf52 (patch) | |
tree | 3a3f189c6d8b27d5931491a290e71742fa31e9a6 /tools/usb | |
parent | 6f630784cc0d92fb58ea326e2bc01aa056279ecb (diff) | |
download | linux-9f267a17bfb4eb52a1705d0886a7220e6470bf52.tar.gz linux-9f267a17bfb4eb52a1705d0886a7220e6470bf52.tar.bz2 linux-9f267a17bfb4eb52a1705d0886a7220e6470bf52.zip |
khugepaged: selftests: fix timeout condition in wait_for_scan()
The loop exits with "timeout" set to -1 and not to 0 so the test needs to
be fixed.
Fixes: e7b592f6caca ("khugepaged: add self test")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Zi Yan <ziy@nvidia.com>
Cc: William Kucharski <william.kucharski@oracle.com>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Link: http://lkml.kernel.org/r/20200605110736.GH978434@mwanda
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions