lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202102061441.Tfeyrqit-lkp@intel.com>
Date:   Sat, 6 Feb 2021 14:58:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Steven Rostedt <rostedt@...dmis.org>,
        LKML <linux-kernel@...r.kernel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        Ingo Molnar <mingo@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Subject: Re: [PATCH v2] tracepoints: Do not punish non static call users

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/20210206-112501
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 32451614da2a9cf4296f90d3606ac77814fb519d
config: arm64-randconfig-r033-20210206 (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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3fc399c60e990487bf5d0cd91406052c0db853df
        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/20210206-112501
        git checkout 3fc399c60e990487bf5d0cd91406052c0db853df
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

   In file included from block/blk-wbt.c:32:
>> include/trace/events/wbt.h:15:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(wbt_stat,
   ^~~~~~~~~~~~~~~~~~~~~
   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/wbt.h:15: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 __maybe_unused *__data;                            \
                   ^
   In file included from block/blk-wbt.c:32:
>> include/trace/events/wbt.h:15:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(wbt_stat,
   ^~~~~~~~~~~~~~~~~~~~~
   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/wbt.h:15: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 __maybe_unused *__data;                            \
                   ^
   In file included from block/blk-wbt.c:32:
   include/trace/events/wbt.h:59:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(wbt_lat,
   ^~~~~~~~~~~~~~~~~~~~
   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/wbt.h:59: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 __maybe_unused *__data;                            \
                   ^
   In file included from block/blk-wbt.c:32:
   include/trace/events/wbt.h:59:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(wbt_lat,
   ^~~~~~~~~~~~~~~~~~~~
   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/wbt.h:59: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))
           ^
--
   In file included from drivers/dma/tegra20-apb-dma.c:32:
>> include/trace/events/tegra_apb_dma.h:10:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(tegra_dma_tx_status,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/tegra_apb_dma.h:10: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/dma/tegra20-apb-dma.c:32:
>> include/trace/events/tegra_apb_dma.h:10:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(tegra_dma_tx_status,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/tegra_apb_dma.h:10: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/dma/tegra20-apb-dma.c:32:
   include/trace/events/tegra_apb_dma.h:27:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(tegra_dma_complete_cb,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/tegra_apb_dma.h:27: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/dma/tegra20-apb-dma.c:32:
   include/trace/events/tegra_apb_dma.h:27:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(tegra_dma_complete_cb,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/tegra_apb_dma.h:27: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))
           ^
--
   In file included from drivers/target/target_core_transport.c:41:
>> include/trace/events/target.h:132:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(target_sequencer_start,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/target.h:132: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/target/target_core_transport.c:41:
>> include/trace/events/target.h:132:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(target_sequencer_start,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/target.h:132: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/target/target_core_transport.c:41:
   include/trace/events/target.h:169:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(target_cmd_complete,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/target.h:169: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 __maybe_unused *__data;                            \
                   ^
   In file included from drivers/target/target_core_transport.c:41:
   include/trace/events/target.h:169:1: warning: variable '__data' is uninitialized when used here [-Wuninitialized]
   TRACE_EVENT(target_cmd_complete,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   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/target.h:169: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 +15 include/trace/events/wbt.h

e34cbd307477ae Jens Axboe      2016-11-09  10  
e34cbd307477ae Jens Axboe      2016-11-09  11  /**
e34cbd307477ae Jens Axboe      2016-11-09  12   * wbt_stat - trace stats for blk_wb
e34cbd307477ae Jens Axboe      2016-11-09  13   * @stat: array of read/write stats
e34cbd307477ae Jens Axboe      2016-11-09  14   */
e34cbd307477ae Jens Axboe      2016-11-09 @15  TRACE_EVENT(wbt_stat,
e34cbd307477ae Jens Axboe      2016-11-09  16  
e34cbd307477ae Jens Axboe      2016-11-09  17  	TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat),
e34cbd307477ae Jens Axboe      2016-11-09  18  
e34cbd307477ae Jens Axboe      2016-11-09  19  	TP_ARGS(bdi, stat),
e34cbd307477ae Jens Axboe      2016-11-09  20  
e34cbd307477ae Jens Axboe      2016-11-09  21  	TP_STRUCT__entry(
e34cbd307477ae Jens Axboe      2016-11-09  22  		__array(char, name, 32)
e34cbd307477ae Jens Axboe      2016-11-09  23  		__field(s64, rmean)
e34cbd307477ae Jens Axboe      2016-11-09  24  		__field(u64, rmin)
e34cbd307477ae Jens Axboe      2016-11-09  25  		__field(u64, rmax)
e34cbd307477ae Jens Axboe      2016-11-09  26  		__field(s64, rnr_samples)
e34cbd307477ae Jens Axboe      2016-11-09  27  		__field(s64, rtime)
e34cbd307477ae Jens Axboe      2016-11-09  28  		__field(s64, wmean)
e34cbd307477ae Jens Axboe      2016-11-09  29  		__field(u64, wmin)
e34cbd307477ae Jens Axboe      2016-11-09  30  		__field(u64, wmax)
e34cbd307477ae Jens Axboe      2016-11-09  31  		__field(s64, wnr_samples)
e34cbd307477ae Jens Axboe      2016-11-09  32  		__field(s64, wtime)
e34cbd307477ae Jens Axboe      2016-11-09  33  	),
e34cbd307477ae Jens Axboe      2016-11-09  34  
e34cbd307477ae Jens Axboe      2016-11-09  35  	TP_fast_assign(
d51cfc53ade318 Yufen Yu        2020-05-04  36  		strlcpy(__entry->name, bdi_dev_name(bdi),
1d200e9d6f635a Bart Van Assche 2019-09-30  37  			ARRAY_SIZE(__entry->name));
e34cbd307477ae Jens Axboe      2016-11-09  38  		__entry->rmean		= stat[0].mean;
e34cbd307477ae Jens Axboe      2016-11-09  39  		__entry->rmin		= stat[0].min;
e34cbd307477ae Jens Axboe      2016-11-09  40  		__entry->rmax		= stat[0].max;
e34cbd307477ae Jens Axboe      2016-11-09  41  		__entry->rnr_samples	= stat[0].nr_samples;
e34cbd307477ae Jens Axboe      2016-11-09  42  		__entry->wmean		= stat[1].mean;
e34cbd307477ae Jens Axboe      2016-11-09  43  		__entry->wmin		= stat[1].min;
e34cbd307477ae Jens Axboe      2016-11-09  44  		__entry->wmax		= stat[1].max;
e34cbd307477ae Jens Axboe      2016-11-09  45  		__entry->wnr_samples	= stat[1].nr_samples;
e34cbd307477ae Jens Axboe      2016-11-09  46  	),
e34cbd307477ae Jens Axboe      2016-11-09  47  
e34cbd307477ae Jens Axboe      2016-11-09  48  	TP_printk("%s: rmean=%llu, rmin=%llu, rmax=%llu, rsamples=%llu, "
3f22037d382b45 Tommi Rantala   2020-04-17  49  		  "wmean=%llu, wmin=%llu, wmax=%llu, wsamples=%llu",
e34cbd307477ae Jens Axboe      2016-11-09  50  		  __entry->name, __entry->rmean, __entry->rmin, __entry->rmax,
e34cbd307477ae Jens Axboe      2016-11-09  51  		  __entry->rnr_samples, __entry->wmean, __entry->wmin,
e34cbd307477ae Jens Axboe      2016-11-09  52  		  __entry->wmax, __entry->wnr_samples)
e34cbd307477ae Jens Axboe      2016-11-09  53  );
e34cbd307477ae Jens Axboe      2016-11-09  54  

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

Download attachment ".config.gz" of type "application/gzip" (43284 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ