All of lore.kernel.org
 help / color / mirror / Atom feed
* [bytedance:5.15-velinux 0/92] mm/vmscan.c:186:38: error: macro "get_total_swap_pages" passed 1 arguments, but takes just 0
@ 2025-07-15 17:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-15 17:16 UTC (permalink / raw)
  To: jason.zeng, lin.x.wang, pei.p.jia; +Cc: oe-kbuild-all

tree:   https://github.com/bytedance/kernel.git 5.15-velinux
head:   c71e88ad12bfbc44f855b681ef923e1acc2e984a
commit: 5291f45f705b03858f36c68bbdfdbdf7857e651b [0/92] bytedance: mm: add /proc knob for proactive swappiness
config: x86_64-buildonly-randconfig-001-20250715 (https://download.01.org/0day-ci/archive/20250716/202507160133.BonSg8r7-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250716/202507160133.BonSg8r7-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/202507160133.BonSg8r7-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/vmscan.c:186:38: error: macro "get_total_swap_pages" passed 1 arguments, but takes just 0
     186 | inline long get_total_swap_pages(void)
         |                                      ^
   In file included from mm/vmscan.c:20:
   include/linux/swap.h:565: note: macro "get_total_swap_pages" defined here
     565 | #define get_total_swap_pages()                  0L
         | 
>> mm/vmscan.c:187:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     187 | {
         | ^
   mm/vmscan.c: In function 'demote_page_list':
   mm/vmscan.c:761:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
     761 |         int err;
         |             ^~~


vim +/get_total_swap_pages +186 mm/vmscan.c

   185	
 > 186	inline long get_total_swap_pages(void)
 > 187	{
   188		return proactive_swappiness_enabled ? 0 : total_swap_pages;
   189	}
   190	

-- 
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-07-15 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 17:16 [bytedance:5.15-velinux 0/92] mm/vmscan.c:186:38: error: macro "get_total_swap_pages" passed 1 arguments, but takes just 0 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.