Build log clean on Focal 5.4.0-73.82

 Running 'sudo sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/accept_local''
 Running 'sudo make -C linux/tools/testing/selftests TARGETS=memfd run_tests'
 make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 INSTALL ./usr/include
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ -c -o common.o common.c
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ memfd_test.c common.o -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/memfd_test
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_mnt
 gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ 
-I../../../../usr/include/ fuse_test.c common.o -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd/fuse_test
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 TAP version 13
 1..3
 # selftests: memfd: memfd_test
 # memfd: CREATE
 # memfd: BASIC
 # memfd: SEAL-WRITE
 # memfd: SEAL-FUTURE-WRITE
 # memfd: SEAL-SHRINK
 # memfd: SEAL-GROW
 # memfd: SEAL-RESIZE
 # memfd: SHARE-DUP
 # memfd: SHARE-MMAP
 # memfd: SHARE-OPEN
 # memfd: SHARE-FORK
 # memfd: SHARE-DUP (shared file-table)
 # memfd: SHARE-MMAP (shared file-table)
 # memfd: SHARE-OPEN (shared file-table)
 # memfd: SHARE-FORK (shared file-table)
 # memfd: DONE
 ok 1 selftests: memfd: memfd_test
 # selftests: memfd: run_fuse_test.sh
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 2 selftests: memfd: run_fuse_test.sh
 # selftests: memfd: run_hugetlbfs_test.sh
 # ./run_hugetlbfs_test.sh: line 60: 25940 Aborted (core dumped) ./memfd_test 
hugetlbfs
 # opening: ./mnt/memfd
 # fuse: DONE
 ok 3 selftests: memfd: run_hugetlbfs_test.sh
 make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memfd'
 make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
 ========== Summary ===========
 No failed cases reported

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1910323

Title:
  Fix implicit declaration warnings for kselftests/memfd test on newer
  releases

Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem-5.6 package in Ubuntu:
  New
Status in linux source package in Focal:
  Fix Committed
Status in linux-oem-5.6 source package in Focal:
  In Progress
Status in linux source package in Groovy:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Released

Bug description:
  [Impact]
  While debugging bug 1910277, I found that the test compilation will
  print some warnings:
    memfd_test.c:64:7: warning: implicit declaration of function ‘open’;
    memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’
    memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’;
    fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’
    fuse_test.c:261:7: warning: implicit declaration of function ‘open’;

  It's harmless but fixing this we can make the test report easier to
  read.

  [Fix]
  * 1c49e3783f8899 ("selftests/memfd: Fix implicit declaration warnings")

  This fix can be cherry-picked into F/F-oem-5.6/G and compiled without
  any problem. Older kernel does not have this issue since they're
  missing some other commits.

  [Test Case]
  Build the memfd test in tools/testing/selftests/ with:
    sudo make TARGETS=memfd

  With this fix, these warnings will be gone.

  [Where problems could occur]
  This fix is just for fixing the test case compilation, so it's not
  affecting real kernel functionality.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910323/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to