* [android-common:android16-6.12 1/1] include/linux/compiler.h:69:32: warning: 'done' is used uninitialized in this function
@ 2025-08-06 17:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-06 17:04 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 886d2f37b79982531259490548bc83b9216ca685
commit: a475a3d8e54fc94b672f67bd25552e027370c805 [1/1] ANDROID: scmi_cpufreq: Add restricted vendor hook for scmi_limit_notify_cb
config: arm-randconfig-003-20250806 (https://download.01.org/0day-ci/archive/20250807/202508070049.YH8Q0EFS-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250807/202508070049.YH8Q0EFS-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/202508070049.YH8Q0EFS-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/build_bug.h:5,
from include/linux/bits.h:22,
from include/linux/bitops.h:6,
from include/linux/of.h:15,
from include/linux/clk-provider.h:9,
from drivers/cpufreq/scmi-cpufreq.c:11:
drivers/cpufreq/scmi-cpufreq.c: In function 'scmi_limit_notify_cb':
>> include/linux/compiler.h:69:32: warning: 'done' is used uninitialized in this function [-Wuninitialized]
69 | (__if_trace.miss_hit[1]++,1) : \
| ^
drivers/cpufreq/scmi-cpufreq.c:193:7: note: 'done' was declared here
193 | bool done;
| ^~~~
vim +/done +69 include/linux/compiler.h
a15fd609ad53a6 Linus Torvalds 2019-03-20 58
a15fd609ad53a6 Linus Torvalds 2019-03-20 59 #define __trace_if_value(cond) ({ \
2bcd521a684cc9 Steven Rostedt 2008-11-21 60 static struct ftrace_branch_data \
e04462fb82f8dd Miguel Ojeda 2018-09-03 61 __aligned(4) \
33def8498fdde1 Joe Perches 2020-10-21 62 __section("_ftrace_branch") \
a15fd609ad53a6 Linus Torvalds 2019-03-20 63 __if_trace = { \
2bcd521a684cc9 Steven Rostedt 2008-11-21 64 .func = __func__, \
2bcd521a684cc9 Steven Rostedt 2008-11-21 65 .file = __FILE__, \
2bcd521a684cc9 Steven Rostedt 2008-11-21 66 .line = __LINE__, \
2bcd521a684cc9 Steven Rostedt 2008-11-21 67 }; \
a15fd609ad53a6 Linus Torvalds 2019-03-20 68 (cond) ? \
a15fd609ad53a6 Linus Torvalds 2019-03-20 @69 (__if_trace.miss_hit[1]++,1) : \
a15fd609ad53a6 Linus Torvalds 2019-03-20 70 (__if_trace.miss_hit[0]++,0); \
a15fd609ad53a6 Linus Torvalds 2019-03-20 71 })
a15fd609ad53a6 Linus Torvalds 2019-03-20 72
:::::: The code at line 69 was first introduced by commit
:::::: a15fd609ad53a631a927c6680e8fb606f42a712b tracing: Simplify "if" macro code
:::::: TO: Linus Torvalds <torvalds@linux-foundation.org>
:::::: CC: Steven Rostedt (VMware) <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:[~2025-08-06 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06 17:04 [android-common:android16-6.12 1/1] include/linux/compiler.h:69:32: warning: 'done' is used uninitialized in this function 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.