* [brauner-github:vfs.all 15/19] fs/nullfs.c:85:27: error: initialization of 'int (*)(const struct mnt_idmap *, struct dentry *, struct iattr *)' from incompatible pointer type 'int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)'
@ 2026-10-06 21:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-06 21:59 UTC (permalink / raw)
To: Christian Brauner; +Cc: oe-kbuild-all, Christian Brauner
tree: https://github.com/brauner/linux.git vfs.all
head: fc127f59f888a5a041b8c335b439f363a68083a3
commit: 7044f4dc0f8819c37a1d788228539ea027636625 [15/19] Merge branch 'vfs-7.4.mount' into vfs.all
config: i386-randconfig-2200-20261006 (https://download.01.org/0day-ci/archive/20261006/202610062313.8eCcAYfd-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261006/202610062313.8eCcAYfd-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/202610062313.8eCcAYfd-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/nullfs.c: In function 'nullfs_file_write_iter':
fs/nullfs.c:57:24: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
57 | size_t count = iov_iter_count(from);
| ^~~~~~~~~~~~~~
fs/nullfs.c:59:9: error: implicit declaration of function 'iov_iter_advance'; did you mean 'bvec_iter_advance'? [-Werror=implicit-function-declaration]
59 | iov_iter_advance(from, count);
| ^~~~~~~~~~~~~~~~
| bvec_iter_advance
fs/nullfs.c: At top level:
>> fs/nullfs.c:85:27: error: initialization of 'int (*)(const struct mnt_idmap *, struct dentry *, struct iattr *)' from incompatible pointer type 'int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)' [-Werror=incompatible-pointer-types]
85 | .setattr = nullfs_file_setattr,
| ^~~~~~~~~~~~~~~~~~~
fs/nullfs.c:85:27: note: (near initialization for 'nullfs_file_inode_operations.setattr')
cc1: some warnings being treated as errors
vim +85 fs/nullfs.c
1a5353e584154c Christian Brauner 2026-10-05 83
1a5353e584154c Christian Brauner 2026-10-05 84 static const struct inode_operations nullfs_file_inode_operations = {
1a5353e584154c Christian Brauner 2026-10-05 @85 .setattr = nullfs_file_setattr,
1a5353e584154c Christian Brauner 2026-10-05 86 };
1a5353e584154c Christian Brauner 2026-10-05 87
:::::: The code at line 85 was first introduced by commit
:::::: 1a5353e584154c66d8d8c520f0ae4cea9fd18195 fixup! nullfs: add an empty immutable regular file
:::::: 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] only message in thread
only message in thread, other threads:[~2026-10-06 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-06 21:59 [brauner-github:vfs.all 15/19] fs/nullfs.c:85:27: error: initialization of 'int (*)(const struct mnt_idmap *, struct dentry *, struct iattr *)' from incompatible pointer type 'int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.