All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Greg KH <greg@kroah.com>
Cc: oe-kbuild-all@lists.linux.dev, Peter Zijlstra <peterz@infradead.org>
Subject: [peterz-queue:core/guards2 23/59] kernel/events/core.c:11384:1: warning: 'static' is not at beginning of declaration
Date: Tue, 13 Jun 2023 06:22:47 +0800	[thread overview]
Message-ID: <202306130653.Dm0xwKCS-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-06-12 22:23 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=202306130653.Dm0xwKCS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=greg@kroah.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peterz@infradead.org \
    /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 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.