* [openeuler:openEuler-1.0-LTS 1941/1941] drivers/base/node.c:77: warning: Function parameter or member 'hmem_attrs' not described in 'node_access_nodes'
@ 2025-12-13 0:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-13 0:00 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: df8d11fbcbb07177c2500e63d7f5a36063977596
commit: 82d6c2a64cfad2a43bc6f777df1a42f61865182b [1941/1941] Intel: node: Add heterogenous memory access attributes
config: x86_64-randconfig-103-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130735.vWIWdRUh-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130735.vWIWdRUh-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/202512130735.vWIWdRUh-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:2:
In file included from include/linux/compiler_types.h:59:
include/linux/compiler-clang.h:20:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
20 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:354:9: note: previous definition is here
354 | #define __SANITIZE_ADDRESS__ 1
| ^
1 warning generated.
>> drivers/base/node.c:77: warning: Function parameter or member 'hmem_attrs' not described in 'node_access_nodes'
drivers/base/node.c:539: warning: Function parameter or member 'mem_nid' not described in 'register_memory_node_under_compute_node'
drivers/base/node.c:539: warning: Function parameter or member 'cpu_nid' not described in 'register_memory_node_under_compute_node'
drivers/base/node.c:539: warning: Excess function parameter 'mem_node' description in 'register_memory_node_under_compute_node'
drivers/base/node.c:539: warning: Excess function parameter 'cpu_node' description in 'register_memory_node_under_compute_node'
vim +77 drivers/base/node.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 62
9e8e325cfd089c Keith Busch 2021-09-11 63 /**
9e8e325cfd089c Keith Busch 2021-09-11 64 * struct node_access_nodes - Access class device to hold user visible
9e8e325cfd089c Keith Busch 2021-09-11 65 * relationships to other nodes.
9e8e325cfd089c Keith Busch 2021-09-11 66 * @dev: Device for this memory access class
9e8e325cfd089c Keith Busch 2021-09-11 67 * @list_node: List element in the node's access list
9e8e325cfd089c Keith Busch 2021-09-11 68 * @access: The access class rank
9e8e325cfd089c Keith Busch 2021-09-11 69 */
9e8e325cfd089c Keith Busch 2021-09-11 70 struct node_access_nodes {
9e8e325cfd089c Keith Busch 2021-09-11 71 struct device dev;
9e8e325cfd089c Keith Busch 2021-09-11 72 struct list_head list_node;
9e8e325cfd089c Keith Busch 2021-09-11 73 unsigned access;
82d6c2a64cfad2 Keith Busch 2021-09-11 74 #ifdef CONFIG_HMEM_REPORTING
82d6c2a64cfad2 Keith Busch 2021-09-11 75 struct node_hmem_attrs hmem_attrs;
82d6c2a64cfad2 Keith Busch 2021-09-11 76 #endif
9e8e325cfd089c Keith Busch 2021-09-11 @77 };
9e8e325cfd089c Keith Busch 2021-09-11 78 #define to_access_nodes(dev) container_of(dev, struct node_access_nodes, dev)
9e8e325cfd089c Keith Busch 2021-09-11 79
:::::: The code at line 77 was first introduced by commit
:::::: 9e8e325cfd089c66c9a2f570f99021a62bf0ae09 node: Link memory nodes to their compute nodes
:::::: TO: Keith Busch <keith.busch@intel.com>
:::::: CC: Yang Yingliang <yangyingliang@huawei.com>
--
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-12-13 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13 0:00 [openeuler:openEuler-1.0-LTS 1941/1941] drivers/base/node.c:77: warning: Function parameter or member 'hmem_attrs' not described in 'node_access_nodes' 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.