* [l1k:smsc95xx_5.17 85/888] drivers/perf/raspberrypi_axi_monitor.c:139:1: warning: 'static' is not at beginning of declaration
@ 2022-04-11 4:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-11 4:06 UTC (permalink / raw)
To: James Hughes; +Cc: kbuild-all, linux-kernel, Dom Cobley, Matteo Croce
tree: https://github.com/l1k/linux smsc95xx_5.17
head: 240f56c27361c195cd502d95aba51c6b8e5b808c
commit: 7903ec0612d5f7d32ca61206d5e3cbe0262d3c00 [85/888] AXI performance monitor driver (#2222)
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220411/202204111229.bejmJhO0-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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
# https://github.com/l1k/linux/commit/7903ec0612d5f7d32ca61206d5e3cbe0262d3c00
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 7903ec0612d5f7d32ca61206d5e3cbe0262d3c00
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/char/broadcom/ drivers/perf/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/perf/raspberrypi_axi_monitor.c:139:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
139 | const static char *bus_filter_strings[] = {
| ^~~~~
drivers/perf/raspberrypi_axi_monitor.c:176:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
176 | const static char *system_bus_string[] = {
| ^~~~~
drivers/perf/raspberrypi_axi_monitor.c:197:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
197 | const static char *vpu_bus_string[] = {
| ^~~~~
drivers/perf/raspberrypi_axi_monitor.c:218:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
218 | const static char *monitor_name[] = {
| ^~~~~
vim +/static +139 drivers/perf/raspberrypi_axi_monitor.c
138
> 139 const static char *bus_filter_strings[] = {
140 "",
141 "CORE0_V",
142 "ICACHE0",
143 "DCACHE0",
144 "CORE1_V",
145 "ICACHE1",
146 "DCACHE1",
147 "L2_MAIN",
148 "HOST_PORT",
149 "HOST_PORT2",
150 "HVS",
151 "ISP",
152 "VIDEO_DCT",
153 "VIDEO_SD2AXI",
154 "CAM0",
155 "CAM1",
156 "DMA0",
157 "DMA1",
158 "DMA2_VPU",
159 "JPEG",
160 "VIDEO_CME",
161 "TRANSPOSER",
162 "VIDEO_FME",
163 "CCP2TX",
164 "USB",
165 "V3D0",
166 "V3D1",
167 "V3D2",
168 "AVE",
169 "DEBUG",
170 "CPU",
171 "M30"
172 };
173
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-11 4:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 4:06 [l1k:smsc95xx_5.17 85/888] drivers/perf/raspberrypi_axi_monitor.c:139:1: warning: 'static' is not at beginning of declaration 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.