linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 5320/5590] mm/damon/sysfs-schemes.c:1622:32: sparse: sparse: symbol 'damos_sysfs_action_names' was not declared. Should it be static?
@ 2025-06-27  8:41 kernel test robot
  2025-06-27 19:57 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2025-06-27  8:41 UTC (permalink / raw)
  To: SeongJae Park; +Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ecb259c4f70dd5c83907809f45bf4dc6869961d7
commit: 98c5783c468ce5630a0604c69694d04ccc078c02 [5320/5590] mm/damon/sysfs-schemes: decouple from damos_action
config: hexagon-randconfig-r122-20250627 (https://download.01.org/0day-ci/archive/20250627/202506271655.b8yfEZIT-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e04c938cc08a90ae60440ce22d072ebc69d67ee8)
reproduce: (https://download.01.org/0day-ci/archive/20250627/202506271655.b8yfEZIT-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/202506271655.b8yfEZIT-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> mm/damon/sysfs-schemes.c:1622:32: sparse: sparse: symbol 'damos_sysfs_action_names' was not declared. Should it be static?

vim +/damos_sysfs_action_names +1622 mm/damon/sysfs-schemes.c

  1621	
> 1622	struct damos_sysfs_action_name damos_sysfs_action_names[] = {
  1623		{
  1624			.action = DAMOS_WILLNEED,
  1625			.name = "willneed",
  1626		},
  1627		{
  1628			.action = DAMOS_COLD,
  1629			.name = "cold",
  1630		},
  1631		{
  1632			.action = DAMOS_PAGEOUT,
  1633			.name = "pageout",
  1634		},
  1635		{
  1636			.action = DAMOS_HUGEPAGE,
  1637			.name = "hugepage",
  1638		},
  1639		{
  1640			.action = DAMOS_NOHUGEPAGE,
  1641			.name = "nohugepage",
  1642		},
  1643		{
  1644			.action = DAMOS_LRU_PRIO,
  1645			.name = "lru_prio",
  1646		},
  1647		{
  1648			.action = DAMOS_LRU_DEPRIO,
  1649			.name = "lru_deprio",
  1650		},
  1651		{
  1652			.action = DAMOS_MIGRATE_HOT,
  1653			.name = "migrate_hot",
  1654		},
  1655		{
  1656			.action = DAMOS_MIGRATE_COLD,
  1657			.name = "migrate_cold",
  1658		},
  1659		{
  1660			.action = DAMOS_STAT,
  1661			.name = "stat",
  1662		},
  1663	};
  1664	

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-27 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-27  8:41 [linux-next:master 5320/5590] mm/damon/sysfs-schemes.c:1622:32: sparse: sparse: symbol 'damos_sysfs_action_names' was not declared. Should it be static? kernel test robot
2025-06-27 19:57 ` Andrew Morton
2025-06-27 20:11   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox