]> git.baikalelectronics.ru Git - kernel.git/commit
tools/testing/selftests/vm/hmm-tests.c: use the new SKIP() macro
authorRalph Campbell <rcampbell@nvidia.com>
Tue, 13 Oct 2020 23:54:29 +0000 (16:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:32 +0000 (18:38 -0700)
commit1d90d9bb371469a36b1aee4da55ec71773af9357
tree32096041a550916d897abfd7ff4d381c3bef6155
parent877fa2b97f5ab940d8c63b120d089fe2a555f85c
tools/testing/selftests/vm/hmm-tests.c: use the new SKIP() macro

Some tests might not be able to be run if resources like huge pages are
not available.  Mark these tests as skipped instead of simply passing.

Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Shuah Khan <shuah@kernel.org>
Link: http://lkml.kernel.org/r/20200827190400.12608-1-rcampbell@nvidia.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/hmm-tests.c