[akpm-mm:mm-unstable 229/232] mm/vmstat.c:34:12: warning: 'vmstat_late_init_done' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   7d7894afcca68b40bfca49f4d1303167d224919e
commit: 7da9318235d78e554e033d28c5cde2b4f9c675ff [229/232] mm/vmstat: defer the refresh_zone_stat_thresholds after all CPUs bringup
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240811/202408110806.MtdiO1aM-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408110806.MtdiO1aM-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/202408110806.MtdiO1aM-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> mm/vmstat.c:34:12: warning: 'vmstat_late_init_done' defined but not used [-Wunused-variable]
      34 | static int vmstat_late_init_done;
         |            ^~~~~~~~~~~~~~~~~~~~~


vim +/vmstat_late_init_done +34 mm/vmstat.c

    33	
  > 34	static int vmstat_late_init_done;
    35	#ifdef CONFIG_NUMA
    36	int sysctl_vm_numa_stat = ENABLE_NUMA_STAT;
    37	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux