From: akpm@osdl.org
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, paulmck@us.ibm.com
Subject: [patch 137/198] Fix comment in list.h that refers to nonexistent API
Date: Tue, 12 Apr 2005 03:32:43 -0700 [thread overview]
Message-ID: <200504121032.j3CAWnux005689@shell0.pdx.osdl.net> (raw)
From: "Paul E. McKenney" <paulmck@us.ibm.com>
The hlist_for_each_entry_rcu() comment block refers to a nonexistent
hlist_add_rcu() API, needs to change to hlist_add_head_rcu().
Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
25-akpm/include/linux/list.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN include/linux/list.h~fix-comment-in-listh-that-refers-to-nonexistent-api include/linux/list.h
--- 25/include/linux/list.h~fix-comment-in-listh-that-refers-to-nonexistent-api 2005-04-12 03:21:36.498588272 -0700
+++ 25-akpm/include/linux/list.h 2005-04-12 03:21:36.501587816 -0700
@@ -692,7 +692,7 @@ static inline void hlist_add_after(struc
* @member: the name of the hlist_node within the struct.
*
* This list-traversal primitive may safely run concurrently with
- * the _rcu list-mutation primitives such as hlist_add_rcu()
+ * the _rcu list-mutation primitives such as hlist_add_head_rcu()
* as long as the traversal is guarded by rcu_read_lock().
*/
#define hlist_for_each_entry_rcu(tpos, pos, head, member) \
_
reply other threads:[~2005-04-12 18:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504121032.j3CAWnux005689@shell0.pdx.osdl.net \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@us.ibm.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).