* [brauner-vfs:work.pidfs.setns 8/9] fs/pidfs.c:38:8: error: assigning to 'struct path' from incompatible type 'void (struct path *)'
@ 2025-06-20 0:32 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-06-20 0:32 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: f7b88122fa711d730ad163427e8da56adee73e33 [8/9] fhandle, pidfs: support open_by_handle_at() purely based on file handle
config: x86_64-buildonly-randconfig-006-20250620 (https://download.01.org/0day-ci/archive/20250620/202506200845.lMHN9g7G-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/202506200845.lMHN9g7G-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/202506200845.lMHN9g7G-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/pidfs.c:34:20: error: redefinition of 'pidfs_root_path' as different kind of symbol
34 | static struct path pidfs_root_path = {};
| ^
fs/internal.h:356:6: note: previous definition is here
356 | void pidfs_root_path(struct path *path);
| ^
>> fs/pidfs.c:38:8: error: assigning to 'struct path' from incompatible type 'void (struct path *)'
38 | *path = pidfs_root_path;
| ^ ~~~~~~~~~~~~~~~
>> fs/pidfs.c:1077:17: error: member reference base type 'void (struct path *)' is not a structure or union
1077 | pidfs_root_path.mnt = pidfs_mnt;
| ~~~~~~~~~~~~~~~^~~~
fs/pidfs.c:1078:17: error: member reference base type 'void (struct path *)' is not a structure or union
1078 | pidfs_root_path.dentry = pidfs_mnt->mnt_root;
| ~~~~~~~~~~~~~~~^~~~~~~
4 errors generated.
vim +38 fs/pidfs.c
90c48e2619324e Christian Brauner 2025-06-19 35
90c48e2619324e Christian Brauner 2025-06-19 36 void pidfs_root_path(struct path *path)
90c48e2619324e Christian Brauner 2025-06-19 37 {
90c48e2619324e Christian Brauner 2025-06-19 @38 *path = pidfs_root_path;
90c48e2619324e Christian Brauner 2025-06-19 39 path_get(path);
90c48e2619324e Christian Brauner 2025-06-19 40 }
90c48e2619324e Christian Brauner 2025-06-19 41
:::::: The code at line 38 was first introduced by commit
:::::: 90c48e2619324e40223af34ff8aed6480b9d19c1 pidfs: add pidfs_root_path() helper
:::::: TO: Christian Brauner <brauner@kernel.org>
:::::: CC: Christian Brauner <brauner@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [brauner-vfs:work.pidfs.setns 8/9] fs/pidfs.c:38:8: error: assigning to 'struct path' from incompatible type 'void (struct path *)'
@ 2025-06-30 22:16 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-06-30 22:16 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: f7b88122fa711d730ad163427e8da56adee73e33 [8/9] fhandle, pidfs: support open_by_handle_at() purely based on file handle
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20250701/202507010037.c3Ung7vs-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250701/202507010037.c3Ung7vs-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/202507010037.c3Ung7vs-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/pidfs.c:34:20: error: redefinition of 'pidfs_root_path' as different kind of symbol
34 | static struct path pidfs_root_path = {};
| ^
fs/internal.h:356:6: note: previous definition is here
356 | void pidfs_root_path(struct path *path);
| ^
>> fs/pidfs.c:38:8: error: assigning to 'struct path' from incompatible type 'void (struct path *)'
38 | *path = pidfs_root_path;
| ^ ~~~~~~~~~~~~~~~
>> fs/pidfs.c:1077:17: error: member reference base type 'void (struct path *)' is not a structure or union
1077 | pidfs_root_path.mnt = pidfs_mnt;
| ~~~~~~~~~~~~~~~^~~~
fs/pidfs.c:1078:17: error: member reference base type 'void (struct path *)' is not a structure or union
1078 | pidfs_root_path.dentry = pidfs_mnt->mnt_root;
| ~~~~~~~~~~~~~~~^~~~~~~
4 errors generated.
vim +38 fs/pidfs.c
90c48e2619324e Christian Brauner 2025-06-19 35
90c48e2619324e Christian Brauner 2025-06-19 36 void pidfs_root_path(struct path *path)
90c48e2619324e Christian Brauner 2025-06-19 37 {
90c48e2619324e Christian Brauner 2025-06-19 @38 *path = pidfs_root_path;
90c48e2619324e Christian Brauner 2025-06-19 39 path_get(path);
90c48e2619324e Christian Brauner 2025-06-19 40 }
90c48e2619324e Christian Brauner 2025-06-19 41
:::::: The code at line 38 was first introduced by commit
:::::: 90c48e2619324e40223af34ff8aed6480b9d19c1 pidfs: add pidfs_root_path() helper
:::::: TO: Christian Brauner <brauner@kernel.org>
:::::: CC: Christian Brauner <brauner@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-30 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20 0:32 [brauner-vfs:work.pidfs.setns 8/9] fs/pidfs.c:38:8: error: assigning to 'struct path' from incompatible type 'void (struct path *)' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-06-30 22:16 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