Commit 9ca94d7c authored by John Kacur's avatar John Kacur Committed by Ingo Molnar

plist: Fix grammar mistake, and c-style mistake

Signed-off-by: default avatarJohn Kacur <jkacur@redhat.com>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
LKML-Reference: <1263241267-25204-2-git-send-email-jkacur@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7284ce6c
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
* the insertion of new nodes. There are no nodes with duplicate * the insertion of new nodes. There are no nodes with duplicate
* priorites on the list. * priorites on the list.
* *
* The nodes on the node_list is ordered by priority and can contain * The nodes on the node_list are ordered by priority and can contain
* entries which have the same priority. Those entries are ordered * entries which have the same priority. Those entries are ordered
* FIFO * FIFO
* *
...@@ -265,7 +265,7 @@ static inline int plist_node_empty(const struct plist_node *node) ...@@ -265,7 +265,7 @@ static inline int plist_node_empty(const struct plist_node *node)
* *
* Assumes the plist is _not_ empty. * Assumes the plist is _not_ empty.
*/ */
static inline struct plist_node* plist_first(const struct plist_head *head) static inline struct plist_node *plist_first(const struct plist_head *head)
{ {
return list_entry(head->node_list.next, return list_entry(head->node_list.next,
struct plist_node, plist.node_list); struct plist_node, plist.node_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment