linux/tools/testing/selftests/mm
Anh Tuan Phan bad5a3a42a selftests/mm: fix WARNING comparing pointer to 0
Remove comparing pointer to 0 to avoid this warning from coccinelle:

./tools/testing/selftests/mm/map_populate.c:80:16-17: WARNING comparing pointer to 0, suggest !E
./tools/testing/selftests/mm/map_populate.c:80:16-17: WARNING comparing pointer to 0

Link: https://lkml.kernel.org/r/20230817160033.90079-1-tuananhlfc@gmail.com
Signed-off-by: Anh Tuan Phan <tuananhlfc@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-08-24 16:20:27 -07:00
..
.gitignore selftests/mm: add tests for HWPOISON hugetlbfs read 2023-08-18 10:12:27 -07:00
charge_reserved_hugetlb.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
check_config.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
compaction_test.c
config
cow.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
gup_longterm.c selftests/mm: gup_longterm: add liburing tests 2023-06-09 16:25:38 -07:00
gup_test.c selftests/mm: merge util.h into vm_util.h 2023-04-18 16:30:02 -07:00
hmm-tests.c selftests/mm: FOLL_LONGTERM need to be updated to 0x100 2023-08-21 13:07:21 -07:00
hugepage-mmap.c
hugepage-mremap.c selftests/mm: uffd_[un]register() 2023-04-18 16:30:05 -07:00
hugepage-shm.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
hugepage-vmemmap.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
hugetlb_reparenting_test.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
hugetlb-madvise.c selftests/mm: fix unused variable warnings in hugetlb-madvise.c, migration.c 2023-06-19 16:19:01 -07:00
hugetlb-read-hwpoison.c selftests/mm: add tests for HWPOISON hugetlbfs read 2023-08-18 10:12:27 -07:00
khugepaged.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
ksm_functional_tests.c selftest/mm: ksm_functional_tests: Add PROT_NONE test 2023-08-21 14:28:42 -07:00
ksm_tests.c selftests: mm: ksm: fix incorrect evaluation of parameter 2023-08-04 13:03:41 -07:00
madv_populate.c selftests/mm: skip soft-dirty tests on arm64 2023-08-18 10:12:42 -07:00
Makefile selftests/mm: run all tests from run_vmtests.sh 2023-08-18 10:12:43 -07:00
map_fixed_noreplace.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
map_hugetlb.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
map_populate.c selftests/mm: fix WARNING comparing pointer to 0 2023-08-24 16:20:27 -07:00
mdwe_test.c kselftest: vm: fix unused variable warning 2023-03-23 17:18:33 -07:00
memfd_secret.c
migration.c selftests/mm: make migration test robust to failure 2023-08-18 10:12:43 -07:00
mkdirty.c selftests/mm: mkdirty: fix incorrect position of #endif 2023-07-17 12:53:22 -07:00
mlock2-tests.c selftests/mm: fix "warning: expression which evaluates to zero..." in mlock2-tests.c 2023-06-19 16:19:01 -07:00
mlock2.h selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
mlock-random-test.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
mrelease_test.c selftests/mm: enable mrelease_test for arm64 2023-08-18 10:12:42 -07:00
mremap_dontunmap.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
mremap_test.c
on-fault-limit.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
pkey-helpers.h
pkey-powerpc.h selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
pkey-x86.h selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
protection_keys.c selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
run_vmtests.sh selftests: mm: add KSM_MERGE_TIME tests 2023-08-21 13:37:31 -07:00
settings selftests/mm: run all tests from run_vmtests.sh 2023-08-18 10:12:43 -07:00
soft-dirty.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
split_huge_page_test.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
test_hmm.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
test_vmalloc.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
thuge-gen.c selftests/mm: fix thuge-gen test bugs 2023-08-18 10:12:42 -07:00
transhuge-stress.c selftests/mm: optionally pass duration to transhuge-stress 2023-08-18 10:12:43 -07:00
uffd-common.c selftests/mm: refactor uffd_poll_thread to allow custom fault handlers 2023-08-18 10:12:17 -07:00
uffd-common.h selftests/mm: refactor uffd_poll_thread to allow custom fault handlers 2023-08-18 10:12:17 -07:00
uffd-stress.c selftests/mm: fix uffd-stress help information 2023-08-21 13:37:58 -07:00
uffd-unit-tests.c selftests/mm: add uffd unit test for UFFDIO_POISON 2023-08-18 10:12:18 -07:00
va_high_addr_switch.c selftests/mm: va_high_addr_switch should skip unsupported arm64 configs 2023-08-18 10:12:43 -07:00
va_high_addr_switch.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
virtual_address_range.c selftests/mm: change NR_CHUNKS_HIGH for aarch64 2023-04-05 19:42:59 -07:00
vm_util.c selftests/mm: move certain uffd*() routines from vm_util.c to uffd-common.c 2023-06-19 16:19:02 -07:00
vm_util.h selftests: mm: remove duplicate unneeded defines 2023-06-19 16:19:25 -07:00
write_hugetlb_memory.sh selftests/mm: give scripts execute permission 2023-07-14 09:24:31 -07:00
write_to_hugetlbfs.c