tree: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tmp head: 153926208f7777e220dec1156a44a5fa06623ac1 commit: c359863bfd828fd03999c17d9bad87e767708fa0 [13/16] mm: Add transformation message for per-memcg swappiness config: hexagon-randconfig-001-20250312 (https://download.01.org/0day-ci/archive/20250312/202503120710.guZkJx0h-lkp@xxxxxxxxx/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e15545cad8297ec7555f26e5ae74a9f0511203e7) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250312/202503120710.guZkJx0h-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/202503120710.guZkJx0h-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from mm/memcontrol-v1.c:5: include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~ ^ ~~~ include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 49 | NR_ZONE_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~~~~~~ ^ ~~~ >> mm/memcontrol-v1.c:1860:58: error: expected ';' after expression 1860 | "See memory.reclaim or memory.swap.max there\n ") | ^ | ; 2 warnings and 1 error generated. vim +1860 mm/memcontrol-v1.c 1849 1850 static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css, 1851 struct cftype *cft, u64 val) 1852 { 1853 struct mem_cgroup *memcg = mem_cgroup_from_css(css); 1854 1855 if (val > MAX_SWAPPINESS) 1856 return -EINVAL; 1857 1858 if (!mem_cgroup_is_root(memcg)) { 1859 pr_info_once("Per memcg swappiness does not exist in cgroup v2. " > 1860 "See memory.reclaim or memory.swap.max there\n ") 1861 WRITE_ONCE(memcg->swappiness, val); 1862 } else 1863 WRITE_ONCE(vm_swappiness, val); 1864 1865 return 0; 1866 } 1867 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki