linux/tools/testing/selftests/memfd
Michael Ellerman 1c49e3783f selftests/memfd: Fix implicit declaration warnings
The memfd tests emit several warnings:

  fuse_test.c:261:7: warning: implicit declaration of function 'open'
  fuse_test.c:67:6: warning: implicit declaration of function 'fcntl'
  memfd_test.c:397:6: warning: implicit declaration of function 'fallocate'
  memfd_test.c:64:7: warning: implicit declaration of function 'open'
  memfd_test.c:90:6: warning: implicit declaration of function 'fcntl'

These are all caused by the test not including fcntl.h.

Instead of including linux/fcntl.h, include fcntl.h, which should
eventually cause the former to be included as well.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-11-10 14:42:04 -07:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
common.c
common.h
config
fuse_mnt.c
fuse_test.c selftests/memfd: Fix implicit declaration warnings 2020-11-10 14:42:04 -07:00
Makefile selftests: add build/cross-build dependency check script 2020-04-23 17:23:20 -06:00
memfd_test.c selftests/memfd: Fix implicit declaration warnings 2020-11-10 14:42:04 -07:00
run_fuse_test.sh
run_hugetlbfs_test.sh