Re: [PATCH] tracepoints: Do not punish non static call users

From: kernel test robot
Date: Fri Feb 05 2021 - 16:38:42 EST


Hi Steven,

I love your patch! Perhaps something to improve:

[auto build test WARNING on tip/perf/core]
[also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125]
[cannot apply to hnaz-linux-mm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 32451614da2a9cf4296f90d3606ac77814fb519d
config: mips-randconfig-r035-20210205 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/0day-ci/linux/commit/6458987cbf8a57376cd608aa4a066a2e86850cc5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Steven-Rostedt/tracepoints-Do-not-punish-non-static-call-users/20210205-032217
git checkout 6458987cbf8a57376cd608aa4a066a2e86850cc5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

In file included from fs/xfs/xfs_trace.c:38:
>> fs/xfs/xfs_trace.h:95:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:95:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
>> fs/xfs/xfs_trace.h:95:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:95:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
fs/xfs/xfs_trace.h:96:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/xfs_trace.h:96:1: note: variable '__data' is declared here
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/xfs_trace.c:38:
fs/xfs/xfs_trace.h:96:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trace.h:91:38: note: expanded from macro 'DEFINE_ATTR_LIST_EVENT'
#define DEFINE_ATTR_LIST_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
--
In file included from fs/xfs/scrub/trace.c:38:
>> fs/xfs/scrub/trace.h:122:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_start);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:122:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
>> fs/xfs/scrub/trace.h:122:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_start);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:122:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
fs/xfs/scrub/trace.h:123:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_done);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
fs/xfs/scrub/trace.h:123:1: note: variable '__data' is declared here
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/xfs/scrub/trace.c:38:
fs/xfs/scrub/trace.h:123:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
DEFINE_SCRUB_EVENT(xchk_done);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/scrub/trace.h:116:34: note: expanded from macro 'DEFINE_SCRUB_EVENT'
#define DEFINE_SCRUB_EVENT(name) \
^
include/linux/tracepoint.h:539:2: note: expanded from macro '\
DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
--
In file included from fs/nilfs2/mdt.c:24:
>> include/trace/events/nilfs2.h:25:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_collection_stage_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:25:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
>> include/trace/events/nilfs2.h:25:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_collection_stage_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:25:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:254:2: note: expanded from macro '__DECLARE_TRACE'
__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:216:4: note: expanded from macro '__DECLARE_TRACE_RCU'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
include/trace/events/nilfs2.h:66:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_transaction_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:66:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:414:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:244:4: note: expanded from macro '__DECLARE_TRACE'
__DO_TRACE(name, \
^
include/linux/tracepoint.h:181:3: note: expanded from macro '__DO_TRACE'
void *__data; \
^
In file included from fs/nilfs2/mdt.c:24:
include/trace/events/nilfs2.h:66:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
TRACE_EVENT(nilfs2_transaction_transition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:417:11: note: expanded from macro 'DECLARE_TRACE'
PARAMS(__data, args))
^~~~~~
include/linux/tracepoint.h:97:25: note: expanded from macro 'PARAMS'
#define PARAMS(args...) args
^~~~
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/tracepoint.h:201:33: note: expanded from macro '__DO_TRACE'
__DO_TRACE_CALL(name, TP_ARGS(args)); \
^~~~
include/linux/tracepoint.h:138:26: note: expanded from macro 'TP_ARGS'
#define TP_ARGS(args...) args
^~~~
include/linux/tracepoint.h:166:56: note: expanded from macro '__DO_TRACE_CALL'
#define __DO_TRACE_CALL(name, args) __traceiter_##name(args)
^~~~
include/trace/events/nilfs2.h:66:1: note: variable '__data' is declared here
include/linux/tracepoint.h:550:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
..


vim +/__data +95 fs/xfs/xfs_trace.h

ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 90
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 91 #define DEFINE_ATTR_LIST_EVENT(name) \
ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 92 DEFINE_EVENT(xfs_attr_list_class, name, \
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 93 TP_PROTO(struct xfs_attr_list_context *ctx), \
ea9a48881e093a fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-21 94 TP_ARGS(ctx))
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 @95 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 96 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 97 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 98 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf_end);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 99 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_full);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 100 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_add);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 101 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_wrong_blk);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 102 DEFINE_ATTR_LIST_EVENT(xfs_attr_list_notfound);
ee73259b401317 fs/xfs/xfs_trace.h Dave Chinner 2012-11-12 103 DEFINE_ATTR_LIST_EVENT(xfs_attr_leaf_list);
ee73259b401317 fs/xfs/xfs_trace.h Dave Chinner 2012-11-12 104 DEFINE_ATTR_LIST_EVENT(xfs_attr_node_list);
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.h Christoph Hellwig 2009-12-14 105

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip