[syslinux] [PATCH 15/21] sys/module.h: fix some typos in function documentations

Ferenc Wágner wferi at niif.hu
Tue Oct 15 11:03:43 PDT 2013


---
 com32/include/sys/module.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index eaa4182..3e5a8d9 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -175,7 +175,7 @@ extern struct list_head modules_head;
 #define for_each_module(m)	list_for_each_entry(m, &modules_head, list)
 
 /**
- * for_each_module - iterator loop through the list of loaded modules safe against removal.
+ * for_each_module_safe - iterator loop through the list of loaded modules safe against removal.
  */
 #define for_each_module_safe(m, n)				\
 	list_for_each_entry_safe(m, n, &modules_head, list)
@@ -250,6 +250,7 @@ extern int module_unload(struct elf_module *module);
 
 /**
  * _module_unload - unloads the module without running destructors
+ * @module: the module descriptor structure.
  *
  * This function is the same as module_unload(), except that the
  * module's destructors are not executed.
@@ -257,7 +258,7 @@ extern int module_unload(struct elf_module *module);
 extern int _module_unload(struct elf_module *module);
 
 /**
- * module_unload - unloads the module from the system.
+ * get_module_type - get type of the module
  * @module: the module descriptor structure.
  *
  * This function returns the type of module we're dealing with
-- 
1.7.10.4



More information about the Syslinux mailing list