* [android-common:android13-5.10 1/1] include/trace/trace_events.h:27:23: warning: 'str__fault__trace_system_name' defined but not used
@ 2026-09-24 16:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-24 16:51 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Sangmoon,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android13-5.10
head: 9b98c0cbf9c92b8fcc9077e711bed14b4e40ce3b
commit: a8313dbdb3ababea980fdc4a8144349bcfdd04d8 [1/1] ANDROID: arm64: add vendor hooks for kernel fault cases
config: arm64-randconfig-1001-20260918 (https://download.01.org/0day-ci/archive/20260925/202609250032.4SLCTO2p-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260925/202609250032.4SLCTO2p-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/202609250032.4SLCTO2p-lkp@intel.com/
All warnings (new ones prefixed by >>):
include/trace/define_trace.h:73:28: note: in expansion of macro 'PARAMS'
73 | DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~
include/trace/hooks/vendor_hooks.h:14:22: note: in expansion of macro 'DECLARE_TRACE'
14 | #define DECLARE_HOOK DECLARE_TRACE
| ^~~~~~~~~~~~~
include/trace/hooks/cpufreq.h:18:9: note: in expansion of macro 'TP_PROTO'
18 | TP_PROTO(struct cpufreq_policy *policy, unsigned int min_freq,
| ^~~~~~~~
include/linux/tracepoint.h:303:13: error: conflicting types for '__traceiter_android_vh_freq_table_limits'; have 'int(void *, struct cpufreq_policy *, unsigned int, unsigned int)'
303 | int __traceiter_##_name(void *__data, proto) \
| ^~~~~~~~~~~~
include/linux/tracepoint.h:320:9: note: in expansion of macro 'DEFINE_TRACE_FN'
320 | DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
| ^~~~~~~~~~~~~~~
include/trace/define_trace.h:73:9: note: in expansion of macro 'DEFINE_TRACE'
73 | DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~
include/trace/hooks/vendor_hooks.h:14:22: note: in expansion of macro 'DECLARE_TRACE'
14 | #define DECLARE_HOOK DECLARE_TRACE
| ^~~~~~~~~~~~~
include/trace/hooks/cpufreq.h:17:1: note: in expansion of macro 'DECLARE_HOOK'
17 | DECLARE_HOOK(android_vh_freq_table_limits,
| ^~~~~~~~~~~~
include/linux/tracepoint.h:235:20: note: previous declaration of '__traceiter_android_vh_freq_table_limits' with type 'int(void *, struct cpufreq_policy *, unsigned int, unsigned int)'
235 | extern int __traceiter_##name(data_proto); \
| ^~~~~~~~~~~~
include/linux/tracepoint.h:411:9: note: in expansion of macro '__DECLARE_TRACE'
411 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/trace/hooks/vendor_hooks.h:14:22: note: in expansion of macro 'DECLARE_TRACE'
14 | #define DECLARE_HOOK DECLARE_TRACE
| ^~~~~~~~~~~~~
include/trace/hooks/cpufreq.h:17:1: note: in expansion of macro 'DECLARE_HOOK'
17 | DECLARE_HOOK(android_vh_freq_table_limits,
| ^~~~~~~~~~~~
In file included from <command-line>:
include/linux/static_call_types.h:13:41: error: conflicting types for '__SCT__tp_func_android_vh_freq_table_limits'; have 'int(void *, struct cpufreq_policy *, unsigned int, unsigned int)'
13 | #define STATIC_CALL_TRAMP_PREFIX __SCT__
| ^~~~~~~
include/linux/compiler_types.h:59:23: note: in definition of macro '___PASTE'
59 | #define ___PASTE(a,b) a##b
| ^
include/linux/static_call_types.h:16:41: note: in expansion of macro '__PASTE'
16 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name)
| ^~~~~~~
include/linux/static_call_types.h:16:49: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX'
16 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name)
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/static_call.h:128:29: note: in expansion of macro 'STATIC_CALL_TRAMP'
128 | extern typeof(func) STATIC_CALL_TRAMP(name);
| ^~~~~~~~~~~~~~~~~
include/linux/static_call.h:244:9: note: in expansion of macro 'DECLARE_STATIC_CALL'
244 | DECLARE_STATIC_CALL(name, _func); \
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:317:9: note: in expansion of macro 'DEFINE_STATIC_CALL'
317 | DEFINE_STATIC_CALL(tp_func_##_name, __traceiter_##_name);
| ^~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:320:9: note: in expansion of macro 'DEFINE_TRACE_FN'
320 | DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
| ^~~~~~~~~~~~~~~
include/trace/define_trace.h:73:9: note: in expansion of macro 'DEFINE_TRACE'
73 | DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~
include/trace/hooks/vendor_hooks.h:14:22: note: in expansion of macro 'DECLARE_TRACE'
14 | #define DECLARE_HOOK DECLARE_TRACE
| ^~~~~~~~~~~~~
include/trace/hooks/cpufreq.h:17:1: note: in expansion of macro 'DECLARE_HOOK'
17 | DECLARE_HOOK(android_vh_freq_table_limits,
| ^~~~~~~~~~~~
include/linux/static_call_types.h:13:41: note: previous declaration of '__SCT__tp_func_android_vh_freq_table_limits' with type 'int(void *, struct cpufreq_policy *, unsigned int, unsigned int)'
13 | #define STATIC_CALL_TRAMP_PREFIX __SCT__
| ^~~~~~~
include/linux/compiler_types.h:59:23: note: in definition of macro '___PASTE'
59 | #define ___PASTE(a,b) a##b
| ^
include/linux/static_call_types.h:16:41: note: in expansion of macro '__PASTE'
16 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name)
| ^~~~~~~
include/linux/static_call_types.h:16:49: note: in expansion of macro 'STATIC_CALL_TRAMP_PREFIX'
16 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name)
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/static_call.h:128:29: note: in expansion of macro 'STATIC_CALL_TRAMP'
128 | extern typeof(func) STATIC_CALL_TRAMP(name);
| ^~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:236:9: note: in expansion of macro 'DECLARE_STATIC_CALL'
236 | DECLARE_STATIC_CALL(tp_func_##name, __traceiter_##name); \
| ^~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:411:9: note: in expansion of macro '__DECLARE_TRACE'
411 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
include/trace/hooks/vendor_hooks.h:14:22: note: in expansion of macro 'DECLARE_TRACE'
14 | #define DECLARE_HOOK DECLARE_TRACE
| ^~~~~~~~~~~~~
include/trace/hooks/cpufreq.h:17:1: note: in expansion of macro 'DECLARE_HOOK'
17 | DECLARE_HOOK(android_vh_freq_table_limits,
| ^~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/fault.h:36,
from drivers/android/vendor_hooks.c:37:
>> include/trace/trace_events.h:27:23: warning: 'str__fault__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR'
36 | TRACE_MAKE_SYSTEM_STR();
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/power.h:27,
from drivers/android/vendor_hooks.c:36:
include/trace/trace_events.h:27:23: warning: 'str__power__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR'
36 | TRACE_MAKE_SYSTEM_STR();
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/softlockup.h:23,
from drivers/android/vendor_hooks.c:35:
include/trace/trace_events.h:27:23: warning: 'str__softlockup__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR'
36 | TRACE_MAKE_SYSTEM_STR();
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/timer.h:19,
from drivers/android/vendor_hooks.c:34:
include/trace/trace_events.h:27:23: warning: 'str__timer__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR'
36 | TRACE_MAKE_SYSTEM_STR();
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/bug.h:22,
from drivers/android/vendor_hooks.c:33:
include/trace/trace_events.h:27:23: warning: 'str__bug__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
| ^~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR'
36 | TRACE_MAKE_SYSTEM_STR();
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:102,
from include/trace/hooks/pm_domain.h:23,
from drivers/android/vendor_hooks.c:32:
include/trace/trace_events.h:27:23: warning: 'str__pm_domain__trace_system_name' defined but not used [-Wunused-const-variable=]
27 | #define __app__(x, y) str__##x##y
| ^~~~~
include/trace/trace_events.h:28:21: note: in expansion of macro '__app__'
28 | #define __app(x, y) __app__(x, y)
| ^~~~~~~
include/trace/trace_events.h:30:29: note: in expansion of macro '__app'
30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
| ^~~~~
include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING'
33 | static const char TRACE_SYSTEM_STRING[] = \
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on [n]: USB_SUPPORT [=n]
Selected by [y]:
- GKI_HIDDEN_USB_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=y] && WIRELESS [=y] && PROC_FS [=n] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
vim +/str__fault__trace_system_name +27 include/trace/trace_events.h
acd388fd3af350a include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 26)
acd388fd3af350a include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 @27) #define __app__(x, y) str__##x##y
acd388fd3af350a include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 28) #define __app(x, y) __app__(x, y)
acd388fd3af350a include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 29)
:::::: The code at line 27 was first introduced by commit
:::::: acd388fd3af350ab24c6ab6f19b83fc4a4f3aa60 tracing: Give system name a pointer
:::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.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] only message in thread
only message in thread, other threads:[~2026-09-24 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 16:51 [android-common:android13-5.10 1/1] include/trace/trace_events.h:27:23: warning: 'str__fault__trace_system_name' defined but not used 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