mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Hughes <JamesH65@users.noreply.github.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Dom Cobley <popcornmix@gmail.com>,
	Matteo Croce <mcroce@redhat.com>
Subject: [l1k:smsc95xx_5.17 85/888] drivers/perf/raspberrypi_axi_monitor.c:139:1: warning: 'static' is not at beginning of declaration
Date: Mon, 11 Apr 2022 12:06:20 +0800	[thread overview]
Message-ID: <202204111229.bejmJhO0-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-04-11  4:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202204111229.bejmJhO0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=JamesH65@users.noreply.github.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcroce@redhat.com \
    --cc=popcornmix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®