Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [brauner-vfs:work.pidfs.setns 6/9] fs/pidfs.c:36:6: error: redefinition of 'pidfs_root_path' as different kind of symbol
@ 2025-06-20  0:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-20  0:01 UTC (permalink / raw)
  To: Christian Brauner; +Cc: llvm, oe-kbuild-all, Christian Brauner

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git work.pidfs.setns
head:   80432e84dc3a17336efd11282d8c5db368ed827b
commit: 90c48e2619324e40223af34ff8aed6480b9d19c1 [6/9] pidfs: add pidfs_root_path() helper
config: x86_64-buildonly-randconfig-006-20250620 (https://download.01.org/0day-ci/archive/20250620/202506200716.BoGofYZq-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250620/202506200716.BoGofYZq-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506200716.BoGofYZq-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/pidfs.c:36:6: error: redefinition of 'pidfs_root_path' as different kind of symbol
      36 | void pidfs_root_path(struct path *path)
         |      ^
   fs/pidfs.c:34:20: note: previous definition is here
      34 | static struct path pidfs_root_path = {};
         |                    ^
   1 error generated.


vim +/pidfs_root_path +36 fs/pidfs.c

    35	
  > 36	void pidfs_root_path(struct path *path)
    37	{
    38		*path = pidfs_root_path;
    39		path_get(path);
    40	}
    41	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-20  0:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20  0:01 [brauner-vfs:work.pidfs.setns 6/9] fs/pidfs.c:36:6: error: redefinition of 'pidfs_root_path' as different kind of symbol kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox