Re: [PATCH v2 12/13] mm: Add sysctl vm.compress-batching switch for compress batching during swapout.
From: kernel test robot
Date: Sun Nov 03 2024 - 04:04:37 EST
Hi Kanchana,
kernel test robot noticed the following build errors:
[auto build test ERROR on 5c4cf96cd70230100b5d396d45a5c9a332539d19]
url: https://github.com/intel-lab-lkp/linux/commits/Kanchana-P-Sridhar/crypto-acomp-Define-two-new-interfaces-for-compress-decompress-batching/20241103-112337
base: 5c4cf96cd70230100b5d396d45a5c9a332539d19
patch link: https://lore.kernel.org/r/20241103032111.333282-13-kanchana.p.sridhar%40intel.com
patch subject: [PATCH v2 12/13] mm: Add sysctl vm.compress-batching switch for compress batching during swapout.
config: m68k-stmark2_defconfig (https://download.01.org/0day-ci/archive/20241103/202411031633.Hlf9Mjxh-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241103/202411031633.Hlf9Mjxh-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411031633.Hlf9Mjxh-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from mm/swap.c:17:
>> include/linux/mm.h:88:27: error: expected identifier or '(' before numeric constant
88 | #define compress_batching 0
| ^
mm/swap.c:51:14: note: in expansion of macro 'compress_batching'
51 | unsigned int compress_batching;
| ^~~~~~~~~~~~~~~~~
mm/swap.c: In function 'swap_setup':
>> mm/swap.c:1082:27: error: lvalue required as left operand of assignment
1082 | compress_batching = 0;
| ^
vim +88 include/linux/mm.h
82
83 #ifdef CONFIG_SYSCTL
84 extern int sysctl_legacy_va_layout;
85 extern unsigned int compress_batching;
86 #else
87 #define sysctl_legacy_va_layout 0
> 88 #define compress_batching 0
89 #endif
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki