projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67220a9
)
llist-return-whether-list-is-empty-before-adding-in-llist_add-fix
author
Andrew Morton
<
[email protected]
>
Tue, 1 Nov 2011 00:13:08 +0000
(17:13 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 1 Nov 2011 00:30:57 +0000
(17:30 -0700)
clarify comment
Cc: Huang Ying <
[email protected]
>
Cc: Mathieu Desnoyers <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/llist.h
patch
|
blob
|
history
diff --git
a/include/linux/llist.h
b/include/linux/llist.h
index 7287734e08d1ac0fb662862491fb3719ba8fa9a4..801b44b07aac9ed2738d7efcbce164ea349adef6 100644
(file)
--- a/
include/linux/llist.h
+++ b/
include/linux/llist.h
@@
-148,7
+148,7
@@
static inline struct llist_node *llist_next(struct llist_node *node)
* @new: new entry to be added
* @head: the head for your lock-less list
*
- * Return
whether list is empty before adding
.
+ * Return
s true if the list was empty prior to adding this entry
.
*/
static inline bool llist_add(struct llist_node *new, struct llist_head *head)
{