All of lore.kernel.org
 help / color / mirror / Atom feed
* [dhowells-fs:netfs-next 23/23] fs/nfs/fscache.c:397:35: error: initialization of 'int (*)(struct netfs_io_subrequest *)' from incompatible pointer type 'void (*)(struct netfs_io_subrequest *)'
@ 2026-07-16  0:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-16  0:39 UTC (permalink / raw)
  To: David Howells; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-next
head:   796ea75f9f613fed6508719a8a1a71e3b1aededc
commit: 796ea75f9f613fed6508719a8a1a71e3b1aededc [23/23] netfs: Combine prepare and issue ops and grab the buffers on request
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260716/202607160258.0saZpeQy-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260716/202607160258.0saZpeQy-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/202607160258.0saZpeQy-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nfs/fscache.c:397:35: error: initialization of 'int (*)(struct netfs_io_subrequest *)' from incompatible pointer type 'void (*)(struct netfs_io_subrequest *)' [-Wincompatible-pointer-types]
     397 |         .issue_read             = nfs_netfs_issue_read,
         |                                   ^~~~~~~~~~~~~~~~~~~~
   fs/nfs/fscache.c:397:35: note: (near initialization for 'nfs_netfs_ops.issue_read')


vim +397 fs/nfs/fscache.c

000dbe0bec058c Dave Wysochanski 2023-02-20  393  
000dbe0bec058c Dave Wysochanski 2023-02-20  394  const struct netfs_request_ops nfs_netfs_ops = {
000dbe0bec058c Dave Wysochanski 2023-02-20  395  	.init_request		= nfs_netfs_init_request,
000dbe0bec058c Dave Wysochanski 2023-02-20  396  	.free_request		= nfs_netfs_free_request,
000dbe0bec058c Dave Wysochanski 2023-02-20 @397  	.issue_read		= nfs_netfs_issue_read,

:::::: The code at line 397 was first introduced by commit
:::::: 000dbe0bec058cbf2ca9e156e4a5584f5158b0f9 NFS: Convert buffered read paths to use netfs when fscache is enabled

:::::: TO: Dave Wysochanski <dwysocha@redhat.com>
:::::: CC: Anna Schumaker <Anna.Schumaker@Netapp.com>

--
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-07-16  0:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-16  0:39 [dhowells-fs:netfs-next 23/23] fs/nfs/fscache.c:397:35: error: initialization of 'int (*)(struct netfs_io_subrequest *)' from incompatible pointer type 'void (*)(struct netfs_io_subrequest *)' 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.