lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 11 Apr 2022 12:06:20 +0800
From:   kernel test robot <lkp@...el.com>
To:     James Hughes <JamesH65@...rs.noreply.github.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dom Cobley <popcornmix@...il.com>,
        Matteo Croce <mcroce@...hat.com>
Subject: [l1k:smsc95xx_5.17 85/888]
 drivers/perf/raspberrypi_axi_monitor.c:139:1: warning: 'static' is not at
 beginning of declaration

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ