* [djwong-xfs:fuse-iomap-cache 48/51] fs/fuse/iomap_cache.h:80:40: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type
@ 2025-07-18 1:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-18 1:37 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git fuse-iomap-cache
head: 8d9ad793abc024194fa099a58b6264b25d0487b1
commit: 703ff795782367828436b3f9f0f2d6d00ee8bcd5 [48/51] fuse: cache iomaps
config: arm-randconfig-002-20250718 (https://download.01.org/0day-ci/archive/20250718/202507180922.IDnSuYOP-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250718/202507180922.IDnSuYOP-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/202507180922.IDnSuYOP-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/fuse/dev.c:12:
fs/fuse/iomap_cache.h:40:51: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_ifork *fuse_iext_state_to_fork(struct fuse_iomap_cache *ip,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:47:17: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
const struct fuse_iomap *irec);
^~~~~~~~~~
fs/fuse/iomap_cache.h:44:35: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
void fuse_iext_insert_raw(struct fuse_iomap_cache *ip,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:50:17: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
const struct fuse_iomap *, int);
^~~~~~~~~~
fs/fuse/iomap_cache.h:48:31: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
void fuse_iext_insert(struct fuse_iomap_cache *,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:51:31: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
void fuse_iext_remove(struct fuse_iomap_cache *,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:59:11: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iomap *gotp);
^~~~~~~~~~
fs/fuse/iomap_cache.h:56:38: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
bool fuse_iext_lookup_extent(struct fuse_iomap_cache *ip,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:63:11: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iomap *gotp);
^~~~~~~~~~
fs/fuse/iomap_cache.h:60:45: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
bool fuse_iext_lookup_extent_before(struct fuse_iomap_cache *ip,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:66:11: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iomap *gotp);
^~~~~~~~~~
fs/fuse/iomap_cache.h:69:11: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iomap *gotp);
^~~~~~~~~~
fs/fuse/iomap_cache.h:67:38: warning: 'struct fuse_iomap_cache' declared inside parameter list will not be visible outside of this definition or declaration
void fuse_iext_update_extent(struct fuse_iomap_cache *ip, int state,
^~~~~~~~~~~~~~~~
fs/fuse/iomap_cache.h:77:40: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iext_cursor *cur, struct fuse_iomap *gotp)
^~~~~~~~~~
fs/fuse/iomap_cache.h: In function 'fuse_iext_next_extent':
>> fs/fuse/iomap_cache.h:80:40: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type [-Werror=incompatible-pointer-types]
return fuse_iext_get_extent(ifp, cur, gotp);
^~~~
fs/fuse/iomap_cache.h:66:23: note: expected 'struct fuse_iomap *' but argument is of type 'struct fuse_iomap *'
struct fuse_iomap *gotp);
~~~~~~~~~~~~~~~~~~~^~~~
fs/fuse/iomap_cache.h: At top level:
fs/fuse/iomap_cache.h:84:40: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iext_cursor *cur, struct fuse_iomap *gotp)
^~~~~~~~~~
fs/fuse/iomap_cache.h: In function 'fuse_iext_prev_extent':
fs/fuse/iomap_cache.h:87:40: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type [-Werror=incompatible-pointer-types]
return fuse_iext_get_extent(ifp, cur, gotp);
^~~~
fs/fuse/iomap_cache.h:66:23: note: expected 'struct fuse_iomap *' but argument is of type 'struct fuse_iomap *'
struct fuse_iomap *gotp);
~~~~~~~~~~~~~~~~~~~^~~~
fs/fuse/iomap_cache.h: At top level:
fs/fuse/iomap_cache.h:94:40: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iext_cursor *cur, struct fuse_iomap *gotp)
^~~~~~~~~~
fs/fuse/iomap_cache.h: In function 'fuse_iext_peek_next_extent':
fs/fuse/iomap_cache.h:99:42: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type [-Werror=incompatible-pointer-types]
return fuse_iext_get_extent(ifp, &ncur, gotp);
^~~~
fs/fuse/iomap_cache.h:66:23: note: expected 'struct fuse_iomap *' but argument is of type 'struct fuse_iomap *'
struct fuse_iomap *gotp);
~~~~~~~~~~~~~~~~~~~^~~~
fs/fuse/iomap_cache.h: At top level:
fs/fuse/iomap_cache.h:106:40: warning: 'struct fuse_iomap' declared inside parameter list will not be visible outside of this definition or declaration
struct fuse_iext_cursor *cur, struct fuse_iomap *gotp)
^~~~~~~~~~
fs/fuse/iomap_cache.h: In function 'fuse_iext_peek_prev_extent':
fs/fuse/iomap_cache.h:111:42: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type [-Werror=incompatible-pointer-types]
return fuse_iext_get_extent(ifp, &ncur, gotp);
^~~~
fs/fuse/iomap_cache.h:66:23: note: expected 'struct fuse_iomap *' but argument is of type 'struct fuse_iomap *'
struct fuse_iomap *gotp);
~~~~~~~~~~~~~~~~~~~^~~~
cc1: some warnings being treated as errors
vim +/fuse_iext_get_extent +80 fs/fuse/iomap_cache.h
75
76 static inline bool fuse_iext_next_extent(struct fuse_ifork *ifp,
77 struct fuse_iext_cursor *cur, struct fuse_iomap *gotp)
78 {
79 fuse_iext_next(ifp, cur);
> 80 return fuse_iext_get_extent(ifp, cur, gotp);
81 }
82
--
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-07-18 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 1:37 [djwong-xfs:fuse-iomap-cache 48/51] fs/fuse/iomap_cache.h:80:40: error: passing argument 3 of 'fuse_iext_get_extent' from incompatible pointer type 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.