[tip:core/locking] plist: Fix grammar mistake, and c-style mistake

From: tip-bot for John Kacur
Date: Wed Jan 13 2010 - 05:37:59 EST


Commit-ID: 9ca94d7c016130f9ed77f142424ace9c19742809
Gitweb: http://git.kernel.org/tip/9ca94d7c016130f9ed77f142424ace9c19742809
Author: John Kacur <jkacur@xxxxxxxxxx>
AuthorDate: Mon, 11 Jan 2010 21:21:06 +0100
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 13 Jan 2010 10:51:39 +0100

plist: Fix grammar mistake, and c-style mistake

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
Acked-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
LKML-Reference: <1263241267-25204-2-git-send-email-jkacur@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
include/linux/plist.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/plist.h b/include/linux/plist.h
index 8227f71..6898985 100644
--- a/include/linux/plist.h
+++ b/include/linux/plist.h
@@ -45,7 +45,7 @@
* the insertion of new nodes. There are no nodes with duplicate
* 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
* FIFO
*
@@ -265,7 +265,7 @@ static inline int plist_node_empty(const struct plist_node *node)
*
* 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,
struct plist_node, plist.node_list);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/