File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,8 @@ struct module *get_parent_module(struct module *node)
258258/**
259259 * id_num and id_name distinguish in case that the node has more child nodes with
260260 * the same node_name (the same class). If id_name == NULL, id_num is used.
261+ *
262+ * should be called with node->module_priv->lock locked
261263 */
262264static struct module * find_child (struct module * node , const char * node_name , int id_num ,
263265 const char * id_name )
@@ -337,6 +339,7 @@ struct module *get_module(struct module *root, const char *const_path)
337339 return receiver ;
338340}
339341
342+ /// should be called with node->module_priv->lock locked
340343struct module * get_matching_child (struct module * node , const char * const_path )
341344{
342345 struct module * receiver = node ;
You can’t perform that action at this time.
0 commit comments