All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [hch-xfs:xfs-metadir-experiments 1/1] fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__traceiter_xrep_metapath_lookup'
Date: Wed, 6 Dec 2023 20:18:14 +0800	[thread overview]
Message-ID: <202312062002.ArOaLihA-lkp@intel.com> (raw)

tree:   git://git.infradead.org/users/hch/xfs xfs-metadir-experiments
head:   d1a3a0e0765d400aeb9bc68c58a77b89d8bb3d4f
commit: d1a3a0e0765d400aeb9bc68c58a77b89d8bb3d4f [1/1] xfs: metadir experiments
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231206/202312062002.ArOaLihA-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312062002.ArOaLihA-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/202312062002.ArOaLihA-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:1979:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xchk_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:1979:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:1979:1: error: conflicting types for '__traceiter_xchk_metapath_lookup'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:319:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto)                    \
               ^
   <scratch space>:26:1: note: expanded from here
   __traceiter_xchk_metapath_lookup
   ^
   fs/xfs/scrub/trace.h:1979:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xchk_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:177:1: note: expanded from here
   __traceiter_xchk_metapath_lookup
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:1979:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xchk_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:1979:1: error: conflicting types for '__probestub_xchk_metapath_lookup'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:335:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto)                   \
                ^
   <scratch space>:37:1: note: expanded from here
   __probestub_xchk_metapath_lookup
   ^
   fs/xfs/scrub/trace.h:1979:1: note: previous declaration is here
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:306:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto);                  \
                ^
   <scratch space>:16:1: note: expanded from here
   __probestub_xchk_metapath_lookup
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3804:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__traceiter_xrep_metapath_lookup'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:305:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto);                   \
               ^
   <scratch space>:85:1: note: expanded from here
   __traceiter_xrep_metapath_lookup
   ^
   fs/xfs/scrub/trace.h:3804:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:56:1: note: expanded from here
   __traceiter_xrep_metapath_lookup
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3804:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:3804:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__traceiter_xrep_metapath_lookup'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:319:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto)                    \
               ^
   <scratch space>:96:1: note: expanded from here
   __traceiter_xrep_metapath_lookup
   ^
   fs/xfs/scrub/trace.h:3804:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:56:1: note: expanded from here
   __traceiter_xrep_metapath_lookup
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3804:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__probestub_xrep_metapath_lookup'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:335:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto)                   \
                ^
   <scratch space>:107:1: note: expanded from here
   __probestub_xrep_metapath_lookup
   ^
   fs/xfs/scrub/trace.h:3804:1: note: previous declaration is here
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:306:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto);                  \
                ^
   <scratch space>:86:1: note: expanded from here
   __probestub_xrep_metapath_lookup
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3805:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3805:1: error: conflicting types for '__traceiter_xrep_metapath_try_unlink'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:305:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto);                   \
               ^
   <scratch space>:10:1: note: expanded from here
   __traceiter_xrep_metapath_try_unlink
   ^
   fs/xfs/scrub/trace.h:3805:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:125:1: note: expanded from here
   __traceiter_xrep_metapath_try_unlink
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3805:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:3805:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3805:1: error: conflicting types for '__traceiter_xrep_metapath_try_unlink'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:319:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto)                    \
               ^
   <scratch space>:21:1: note: expanded from here
   __traceiter_xrep_metapath_try_unlink
   ^
   fs/xfs/scrub/trace.h:3805:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:125:1: note: expanded from here
   __traceiter_xrep_metapath_try_unlink
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3805:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3805:1: error: conflicting types for '__probestub_xrep_metapath_try_unlink'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:335:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto)                   \
                ^
   <scratch space>:32:1: note: expanded from here
   __probestub_xrep_metapath_try_unlink
   ^
   fs/xfs/scrub/trace.h:3805:1: note: previous declaration is here
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:306:7: note: expanded from macro 'DEFINE_TRACE_FN'
           void __probestub_##_name(void *__data, proto);                  \
                ^
   <scratch space>:11:1: note: expanded from here
   __probestub_xrep_metapath_try_unlink
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3806:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_unlink);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
>> fs/xfs/scrub/trace.h:3806:1: error: conflicting types for '__traceiter_xrep_metapath_unlink'
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/trace/define_trace.h:57:2: note: expanded from macro '\
   DEFINE_EVENT'
           DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:341:2: note: expanded from macro 'DEFINE_TRACE'
           DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
           ^
   include/linux/tracepoint.h:305:6: note: expanded from macro 'DEFINE_TRACE_FN'
           int __traceiter_##_name(void *__data, proto);                   \
               ^
   <scratch space>:53:1: note: expanded from here
   __traceiter_xrep_metapath_unlink
   ^
   fs/xfs/scrub/trace.h:3806:1: note: previous declaration is here
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_unlink);
   ^
   fs/xfs/scrub/trace.h:1973:42: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
   #define DEFINE_XCHK_METAPATH_EVENT(name) \
                                            ^
   include/linux/tracepoint.h:555:2: note: expanded from macro '\
   DEFINE_EVENT'
           DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
           ^
   include/linux/tracepoint.h:432:2: note: expanded from macro 'DECLARE_TRACE'
           __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
           ^
   include/linux/tracepoint.h:252:13: note: expanded from macro '__DECLARE_TRACE'
           extern int __traceiter_##name(data_proto);                      \
                      ^
   <scratch space>:8:1: note: expanded from here
   __traceiter_xrep_metapath_unlink
   ^
   In file included from fs/xfs/scrub/trace.c:70:
   In file included from fs/xfs/scrub/trace.h:4064:
   In file included from include/trace/define_trace.h:95:
   fs/xfs/scrub/trace.h:3806:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_unlink);
   ^
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fs/xfs/scrub/trace.h:3806:1: warning: declaration of 'struct xfs_imeta_path' will not be visible outside of this function [-Wvisibility]
   fs/xfs/scrub/trace.h:1975:46: note: expanded from macro 'DEFINE_XCHK_METAPATH_EVENT'
           TP_PROTO(struct xfs_scrub *sc, const struct xfs_imeta_path *path, \
                                                       ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   55 warnings and 20 errors generated.


vim +/__traceiter_xrep_metapath_lookup +3804 fs/xfs/scrub/trace.h

8920eded601b37 Darrick J. Wong 2023-07-06  3803  
2f08131852c133 Darrick J. Wong 2023-08-18 @3804  DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_lookup);
2f08131852c133 Darrick J. Wong 2023-08-18 @3805  DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_try_unlink);
2f08131852c133 Darrick J. Wong 2023-08-18 @3806  DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_unlink);
2f08131852c133 Darrick J. Wong 2023-08-18  3807  DEFINE_XCHK_METAPATH_EVENT(xrep_metapath_link);
2f08131852c133 Darrick J. Wong 2023-08-18  3808  

:::::: The code at line 3804 was first introduced by commit
:::::: 2f08131852c133b02022c1c424f228cae47a956d xfs: repair metadata directory file path connectivity

:::::: TO: Darrick J. Wong <djwong@kernel.org>
:::::: CC: Darrick J. Wong <djwong@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-12-06 12:18 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=202312062002.ArOaLihA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hch@lst.de \
    --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.