* drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or struct member 'export' not described in 'stm_ftrace_write'
@ 2024-12-27 15:35 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-27 15:35 UTC (permalink / raw)
To: Tingwei Zhang
Cc: oe-kbuild-all, linux-kernel, Steven Rostedt (VMware),
Alexander Shishkin
Hi Tingwei,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d6ef8b40d075c425f548002d2f35ae3f06e9cf96
commit: 7b9749bd830848bca9179b0a16251ca3c36e82e6 stm class: ftrace: Change dependency to TRACING
date: 4 years, 3 months ago
config: sh-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241228/202412280133.JV62su59-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/202412280133.JV62su59-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/202412280133.JV62su59-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or struct member 'export' not described in 'stm_ftrace_write'
vim +38 drivers/hwtracing/stm/ftrace.c
262e1f6e39143c Chunyan Zhang 2016-11-21 30
262e1f6e39143c Chunyan Zhang 2016-11-21 31 /**
262e1f6e39143c Chunyan Zhang 2016-11-21 32 * stm_ftrace_write() - write data to STM via 'stm_ftrace' source
262e1f6e39143c Chunyan Zhang 2016-11-21 33 * @buf: buffer containing the data packet
262e1f6e39143c Chunyan Zhang 2016-11-21 34 * @len: length of the data packet
262e1f6e39143c Chunyan Zhang 2016-11-21 35 */
262e1f6e39143c Chunyan Zhang 2016-11-21 36 static void notrace
a773d419275bf5 Felipe Balbi 2017-06-02 37 stm_ftrace_write(struct trace_export *export, const void *buf, unsigned int len)
262e1f6e39143c Chunyan Zhang 2016-11-21 @38 {
a773d419275bf5 Felipe Balbi 2017-06-02 39 struct stm_ftrace *stm = container_of(export, struct stm_ftrace, ftrace);
a773d419275bf5 Felipe Balbi 2017-06-02 40
a773d419275bf5 Felipe Balbi 2017-06-02 41 stm_source_write(&stm->data, STM_FTRACE_CHAN, buf, len);
262e1f6e39143c Chunyan Zhang 2016-11-21 42 }
262e1f6e39143c Chunyan Zhang 2016-11-21 43
:::::: The code at line 38 was first introduced by commit
:::::: 262e1f6e39143c2a0f559e2fb4a835069a7693a9 stm class: ftrace: Add ftrace-export-over-stm driver
:::::: TO: Chunyan Zhang <zhang.chunyan@linaro.org>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or struct member 'export' not described in 'stm_ftrace_write'
@ 2025-01-03 17:26 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-01-03 17:26 UTC (permalink / raw)
To: Tingwei Zhang
Cc: oe-kbuild-all, linux-kernel, Steven Rostedt (VMware),
Alexander Shishkin
Hi Tingwei,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0bc21e701a6ffacfdde7f04f87d664d82e8a13bf
commit: 7b9749bd830848bca9179b0a16251ca3c36e82e6 stm class: ftrace: Change dependency to TRACING
date: 4 years, 3 months ago
config: csky-randconfig-r026-20230729 (https://download.01.org/0day-ci/archive/20250104/202501040153.N5GYtNcw-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250104/202501040153.N5GYtNcw-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/202501040153.N5GYtNcw-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or struct member 'export' not described in 'stm_ftrace_write'
vim +38 drivers/hwtracing/stm/ftrace.c
262e1f6e39143c Chunyan Zhang 2016-11-21 30
262e1f6e39143c Chunyan Zhang 2016-11-21 31 /**
262e1f6e39143c Chunyan Zhang 2016-11-21 32 * stm_ftrace_write() - write data to STM via 'stm_ftrace' source
262e1f6e39143c Chunyan Zhang 2016-11-21 33 * @buf: buffer containing the data packet
262e1f6e39143c Chunyan Zhang 2016-11-21 34 * @len: length of the data packet
262e1f6e39143c Chunyan Zhang 2016-11-21 35 */
262e1f6e39143c Chunyan Zhang 2016-11-21 36 static void notrace
a773d419275bf5 Felipe Balbi 2017-06-02 37 stm_ftrace_write(struct trace_export *export, const void *buf, unsigned int len)
262e1f6e39143c Chunyan Zhang 2016-11-21 @38 {
a773d419275bf5 Felipe Balbi 2017-06-02 39 struct stm_ftrace *stm = container_of(export, struct stm_ftrace, ftrace);
a773d419275bf5 Felipe Balbi 2017-06-02 40
a773d419275bf5 Felipe Balbi 2017-06-02 41 stm_source_write(&stm->data, STM_FTRACE_CHAN, buf, len);
262e1f6e39143c Chunyan Zhang 2016-11-21 42 }
262e1f6e39143c Chunyan Zhang 2016-11-21 43
:::::: The code at line 38 was first introduced by commit
:::::: 262e1f6e39143c2a0f559e2fb4a835069a7693a9 stm class: ftrace: Add ftrace-export-over-stm driver
:::::: TO: Chunyan Zhang <zhang.chunyan@linaro.org>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-03 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-27 15:35 drivers/hwtracing/stm/ftrace.c:38: warning: Function parameter or struct member 'export' not described in 'stm_ftrace_write' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-01-03 17:26 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox