Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: linux-next: build failure in the vfs tree
       [not found] <aMhzi0WpakpN7oH5@sirena.org.uk>
@ 2025-09-16  8:48 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-16  8:48 UTC (permalink / raw)
  To: Mark Brown, Al Viro, Christian Brauner
  Cc: llvm, oe-kbuild-all, Amir Goldstein,
	buildfailureaftermergeofthevfstree, Linux Kernel Mailing List,
	Linux Next Mailing List

Hi Mark,

kernel test robot noticed the following build errors:

[auto build test ERROR on brauner-vfs/vfs.all]
[cannot apply to linus/master v6.17-rc6 next-20250915]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Mark-Brown/linux-next-build-failure-in-the-vfs-tree/20250916-041652
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/aMhzi0WpakpN7oH5%40sirena.org.uk
patch subject: linux-next: build failure in the vfs tree
config: hexagon-randconfig-002-20250916 (https://download.01.org/0day-ci/archive/20250916/202509161649.GzVNYeqs-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 65ad21d730d25789454d18e811f8ff5db79cb5d4)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250916/202509161649.GzVNYeqs-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/202509161649.GzVNYeqs-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nsfs.c:582:11: error: incompatible function pointer types initializing 'struct file *(*)(struct path *, unsigned int)' with an expression of type 'struct file *(const struct path *, unsigned int)' [-Wincompatible-function-pointer-types]
     582 |         .open           = nsfs_export_open,
         |                           ^~~~~~~~~~~~~~~~
   1 error generated.


vim +582 fs/nsfs.c

06c4ff965e95b0b Christian Brauner 2025-09-12  578  
06c4ff965e95b0b Christian Brauner 2025-09-12  579  static const struct export_operations nsfs_export_operations = {
06c4ff965e95b0b Christian Brauner 2025-09-12  580  	.encode_fh	= nsfs_encode_fh,
06c4ff965e95b0b Christian Brauner 2025-09-12  581  	.fh_to_dentry	= nsfs_fh_to_dentry,
06c4ff965e95b0b Christian Brauner 2025-09-12 @582  	.open		= nsfs_export_open,
06c4ff965e95b0b Christian Brauner 2025-09-12  583  	.permission	= nsfs_export_permission,
06c4ff965e95b0b Christian Brauner 2025-09-12  584  };
06c4ff965e95b0b Christian Brauner 2025-09-12  585  

-- 
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-09-16  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <aMhzi0WpakpN7oH5@sirena.org.uk>
2025-09-16  8:48 ` linux-next: build failure in the vfs tree 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