* [anolis-intel-cloud:devel-5.10 19/19] mm/unevictable.c:496:1: warning: 'static' is not at beginning of declaration
@ 2025-04-25 0:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-25 0:57 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-25 0:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25 0:57 [anolis-intel-cloud:devel-5.10 19/19] mm/unevictable.c:496: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.