From e4ad5cf830ebd8b8d8007412782ae8276bae678a Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Thu, 20 Dec 2012 06:13:09 -0500 Subject: [PATCH] urcu: fix comments for cds_list_for_each_prev() Signed-off-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers --- urcu/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urcu/list.h b/urcu/list.h index f27ff7b..5d04394 100644 --- a/urcu/list.h +++ b/urcu/list.h @@ -141,7 +141,7 @@ cds_list_splice (struct cds_list_head *add, struct cds_list_head *head) for (pos = (head)->next; pos != (head); pos = pos->next) -/* Iterate forward over the elements of the list. */ +/* Iterate backward over the elements of the list. */ #define cds_list_for_each_prev(pos, head) \ for (pos = (head)->prev; pos != (head); pos = pos->prev) -- 2.34.1