** Also affects: linux-oem (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux-oem (Ubuntu)

** Also affects: linux-oem-5.6 (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux-oem (Ubuntu Focal)

** No longer affects: linux-oem (Ubuntu Groovy)

** No longer affects: linux-oem (Ubuntu Hirsute)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux 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:
  New
Status in linux-oem-5.6 source package in Focal:
  New
Status in linux source package in Groovy:
  New
Status in linux-oem-5.6 source package in Groovy:
  New
Status in linux source package in Hirsute:
  Fix Released
Status in linux-oem-5.6 source package in Hirsute:
  New

Bug description:
  [Impact]
  While debugging bug 1910277, I found that the test compilation will
  print some warnings on F/G:
    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/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 kselftests 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