From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 18 Jul 2025 09:37:12 +0800 [thread overview]
Message-ID: <202507180922.IDnSuYOP-lkp@intel.com> (raw)
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
reply other threads:[~2025-07-18 1:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202507180922.IDnSuYOP-lkp@intel.com \
--to=lkp@intel.com \
--cc=darrick.wong@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.