Skip to contentSkip to conversation

../wrappers.h:116:56: error: 'O_EXCL' undeclared

PATCH kernel test robot 1 participant 1 message Nov 11

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "low confidence bisect report" ::::::

BCC: [email protected]
CC: [email protected]
CC: Christian Brauner <[email protected]>
TO: Jori Koolstra <[email protected]>
CC: Christian Brauner <[email protected]>

tree:   https://github.com/brauner/linux.git vfs.all
head:   13419eff849a88a276dec97fa62a532dc7fff400
commit: b536a4aa16eaeaf2e938899bbb45e42d6fe02a31 [86/194] selftest: add tests for open*(O_CREAT|O_DIRECTORY)

:::::: branch date: 2 hours ago
:::::: commit date: 5 days ago
config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20261111/[email protected]/config)
compiler: powerpc64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261111/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

Note: the brauner-github/vfs.all HEAD 13419eff849a88a276dec97fa62a532dc7fff400 builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

In file included from fscontext_ns_test.c:33:
../wrappers.h: In function 'openat_o_mkdir':
../wrappers.h:116:32: error: 'O_DIRECTORY' undeclared (first use in this function)

     116 |                        flags | O_DIRECTORY | O_CREAT | O_EXCL, mode);
         |                                ^~~~~~~~~~~
   ../wrappers.h:116:32: note: each undeclared identifier is reported only once for each function it appears in
   ../wrappers.h:116:46: error: 'O_CREAT' undeclared (first use in this function)
     116 |                        flags | O_DIRECTORY | O_CREAT | O_EXCL, mode);
         |                                              ^~~~~~~
>> ../wrappers.h:116:56: error: 'O_EXCL' undeclared (first use in this function)
     116 |                        flags | O_DIRECTORY | O_CREAT | O_EXCL, mode);
         |                                                        ^~~~~~

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki