+ listh-doc-change-counter-to-control.patch added to -mm tree

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

 



The patch titled

     list.h doc: change "counter" to "control"

has been added to the -mm tree.  Its filename is

     listh-doc-change-counter-to-control.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: list.h doc: change "counter" to "control"
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>


Use loop "control" instead of loop "counter" for list iterator
descriptions.  They are not counters, they are controls or pointers or
positions.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/list.h |   52 ++++++++++++++++++++---------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

diff -puN include/linux/list.h~listh-doc-change-counter-to-control include/linux/list.h
--- devel/include/linux/list.h~listh-doc-change-counter-to-control	2006-05-18 14:06:34.000000000 -0700
+++ devel-akpm/include/linux/list.h	2006-05-18 14:06:34.000000000 -0700
@@ -344,7 +344,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each	-	iterate over a list
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @head:	the head for your list.
  */
 #define list_for_each(pos, head) \
@@ -353,7 +353,7 @@ static inline void list_splice_init(stru
 
 /**
  * __list_for_each	-	iterate over a list
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @head:	the head for your list.
  *
  * This variant differs from list_for_each() in that it's the
@@ -366,7 +366,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_prev	-	iterate over a list backwards
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @head:	the head for your list.
  */
 #define list_for_each_prev(pos, head) \
@@ -375,7 +375,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_safe - iterate over a list safe against removal of list entry
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @n:		another &struct list_head to use as temporary storage
  * @head:	the head for your list.
  */
@@ -385,7 +385,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry	-	iterate over list of given type
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
  */
@@ -396,7 +396,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_reverse - iterate backwards over list of given type.
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
  */
@@ -418,7 +418,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_continue - continue iteration over list of given type
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
  *
@@ -432,7 +432,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_from - iterate over list of given type from the current point
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
  *
@@ -456,7 +456,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_safe - iterate over list of given type safe against removal of list entry
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @n:		another type * to use as temporary storage
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
@@ -469,7 +469,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_safe_continue
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @n:		another type * to use as temporary storage
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
@@ -485,7 +485,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_safe_from
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @n:		another type * to use as temporary storage
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
@@ -500,7 +500,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_safe_reverse
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @n:		another type * to use as temporary storage
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
@@ -516,7 +516,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_rcu	-	iterate over an rcu-protected list
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @head:	the head for your list.
  *
  * This list-traversal primitive may safely run concurrently with
@@ -535,7 +535,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_safe_rcu
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @n:		another &struct list_head to use as temporary storage
  * @head:	the head for your list.
  *
@@ -552,7 +552,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_entry_rcu	-	iterate over rcu list of given type
- * @pos:	the type * to use as a loop counter.
+ * @pos:	the type * to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the list_struct within the struct.
  *
@@ -569,7 +569,7 @@ static inline void list_splice_init(stru
 
 /**
  * list_for_each_continue_rcu
- * @pos:	the &struct list_head to use as a loop counter.
+ * @pos:	the &struct list_head to use as a loop control.
  * @head:	the head for your list.
  *
  * Iterate over an rcu-protected list, continuing after current point.
@@ -819,8 +819,8 @@ static inline void hlist_add_after_rcu(s
 
 /**
  * hlist_for_each_entry	- iterate over list of given type
- * @tpos:	the type * to use as a loop counter.
- * @pos:	the &struct hlist_node to use as a loop counter.
+ * @tpos:	the type * to use as a loop control.
+ * @pos:	the &struct hlist_node to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the hlist_node within the struct.
  */
@@ -832,8 +832,8 @@ static inline void hlist_add_after_rcu(s
 
 /**
  * hlist_for_each_entry_continue - iterate over a hlist continuing after current point
- * @tpos:	the type * to use as a loop counter.
- * @pos:	the &struct hlist_node to use as a loop counter.
+ * @tpos:	the type * to use as a loop control.
+ * @pos:	the &struct hlist_node to use as a loop control.
  * @member:	the name of the hlist_node within the struct.
  */
 #define hlist_for_each_entry_continue(tpos, pos, member)		 \
@@ -844,8 +844,8 @@ static inline void hlist_add_after_rcu(s
 
 /**
  * hlist_for_each_entry_from - iterate over a hlist continuing from current point
- * @tpos:	the type * to use as a loop counter.
- * @pos:	the &struct hlist_node to use as a loop counter.
+ * @tpos:	the type * to use as a loop control.
+ * @pos:	the &struct hlist_node to use as a loop control.
  * @member:	the name of the hlist_node within the struct.
  */
 #define hlist_for_each_entry_from(tpos, pos, member)			 \
@@ -855,8 +855,8 @@ static inline void hlist_add_after_rcu(s
 
 /**
  * hlist_for_each_entry_safe - iterate over list of given type safe against removal of list entry
- * @tpos:	the type * to use as a loop counter.
- * @pos:	the &struct hlist_node to use as a loop counter.
+ * @tpos:	the type * to use as a loop control.
+ * @pos:	the &struct hlist_node to use as a loop control.
  * @n:		another &struct hlist_node to use as temporary storage
  * @head:	the head for your list.
  * @member:	the name of the hlist_node within the struct.
@@ -869,8 +869,8 @@ static inline void hlist_add_after_rcu(s
 
 /**
  * hlist_for_each_entry_rcu - iterate over rcu list of given type
- * @tpos:	the type * to use as a loop counter.
- * @pos:	the &struct hlist_node to use as a loop counter.
+ * @tpos:	the type * to use as a loop control.
+ * @pos:	the &struct hlist_node to use as a loop control.
  * @head:	the head for your list.
  * @member:	the name of the hlist_node within the struct.
  *
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

config-exit-if-no-beginning-filename.patch
git-mtd.patch
lpfc-sparse-null-warnings.patch
aic7-cleanup-module_parm_desc-strings.patch
areca-raid-linux-scsi-driver.patch
git-watchdog.patch
add-poisonh-and-patch-primary-users.patch
update-2-drivers-for-poisonh.patch
add-doc-submitchecklist.patch
doc-add-audit-acct-to-docbook.patch
ip2-fix-sections.patch
codingstyle-add-typedefs-chapter.patch
fix-listh-kernel-doc.patch
listh-doc-change-counter-to-control.patch
acpi-identify-which-device-is-not-power-manageable.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux