From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-5.10 19/19] mm/unevictable.c:496:1: warning: 'static' is not at beginning of declaration
Date: Fri, 25 Apr 2025 08:57:08 +0800 [thread overview]
Message-ID: <202504250803.mAwXCIZc-lkp@intel.com> (raw)
Hi Xunlei,
FYI, the error/warning still remains.
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head: 4bad2cd1902185593ae2d7cdf67ac43d5aa2dfe9
commit: 9eee07ca21b4bcb78a9e0092696f13a0b3db291a [19/19] ck: mm: Pin code section of process in memory
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250425/202504250803.mAwXCIZc-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250425/202504250803.mAwXCIZc-lkp@intel.com/reproduce)
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/202504250803.mAwXCIZc-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/unevictable.c:496:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
496 | const static struct proc_ops add_proc_fops = {
| ^~~~~
mm/unevictable.c:501:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
501 | const static struct proc_ops del_proc_fops = {
| ^~~~~
mm/unevictable.c:501:30: warning: 'del_proc_fops' defined but not used [-Wunused-const-variable=]
501 | const static struct proc_ops del_proc_fops = {
| ^~~~~~~~~~~~~
mm/unevictable.c:496:30: warning: 'add_proc_fops' defined but not used [-Wunused-const-variable=]
496 | const static struct proc_ops add_proc_fops = {
| ^~~~~~~~~~~~~
vim +/static +496 mm/unevictable.c
495
> 496 const static struct proc_ops add_proc_fops = {
497 .proc_read = proc_read_add_pid,
498 .proc_write = proc_write_add_pid,
499 };
500
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-25 0:58 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=202504250803.mAwXCIZc-lkp@intel.com \
--to=lkp@intel.com \
--cc=aubrey.li@linux.intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.