All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-xfs:xfs-metadir-experiments 1/1] fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__traceiter_xrep_metapath_lookup'
@ 2023-12-06 12:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-06 12:18 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-06 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 12:18 [hch-xfs:xfs-metadir-experiments 1/1] fs/xfs/scrub/trace.h:3804:1: error: conflicting types for '__traceiter_xrep_metapath_lookup' 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.