Commit 9ca94d7c016130f9ed77f142424ace9c19742809
Committed by
Ingo Molnar
1 parent
7284ce6c9f
Exists in
master
and in
7 other branches
plist: Fix grammar mistake, and c-style mistake
Signed-off-by: John Kacur <jkacur@redhat.com> Acked-by: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1263241267-25204-2-git-send-email-jkacur@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
include/linux/plist.h
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | * the insertion of new nodes. There are no nodes with duplicate |
46 | 46 | * priorites on the list. |
47 | 47 | * |
48 | - * The nodes on the node_list is ordered by priority and can contain | |
48 | + * The nodes on the node_list are ordered by priority and can contain | |
49 | 49 | * entries which have the same priority. Those entries are ordered |
50 | 50 | * FIFO |
51 | 51 | * |
... | ... | @@ -265,7 +265,7 @@ |
265 | 265 | * |
266 | 266 | * Assumes the plist is _not_ empty. |
267 | 267 | */ |
268 | -static inline struct plist_node* plist_first(const struct plist_head *head) | |
268 | +static inline struct plist_node *plist_first(const struct plist_head *head) | |
269 | 269 | { |
270 | 270 | return list_entry(head->node_list.next, |
271 | 271 | struct plist_node, plist.node_list); |