All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:core/guards2 23/59] kernel/events/core.c:11384:1: warning: 'static' is not at beginning of declaration
@ 2023-06-12 22:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-12 22:22 UTC (permalink / raw)
  To: Greg KH; +Cc: oe-kbuild-all, Peter Zijlstra

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/guards2
head:   d982cb15a612c31105d806c86764d72346142398
commit: 50b0f0252d75f1477582be46833594b22acd031f [23/59] perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230613/202306130653.Dm0xwKCS-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=50b0f0252d75f1477582be46833594b22acd031f
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue core/guards2
        git checkout 50b0f0252d75f1477582be46833594b22acd031f
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash kernel/events/

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/202306130653.Dm0xwKCS-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/events/core.c:11384:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
   11384 | const static struct attribute_group *pmu_dev_groups[] = {
         | ^~~~~


vim +/static +11384 kernel/events/core.c

 11383	
 11384	const static struct attribute_group *pmu_dev_groups[] = {
 11385		&pmu_dev_attr_group,
 11386		NULL,
 11387	};
 11388	

-- 
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:[~2023-06-12 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 22:22 [peterz-queue:core/guards2 23/59] kernel/events/core.c:11384: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.