aboutsummaryrefslogtreecommitdiff
path: root/ccan
diff options
context:
space:
mode:
authorFrederic Bonnard <frediz@linux.vnet.ibm.com>2016-06-13 11:37:09 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-20 15:08:05 +1000
commit4c95b5e04e3c4f72e4005574f67cd6e365d3276f (patch)
tree60763919c97d73efba7a6ffbb2afa3efa05502d4 /ccan
parent3aeb50189d4d88528c627e099c76b00e28e5c432 (diff)
downloadskiboot-4c95b5e04e3c4f72e4005574f67cd6e365d3276f.zip
skiboot-4c95b5e04e3c4f72e4005574f67cd6e365d3276f.tar.gz
skiboot-4c95b5e04e3c4f72e4005574f67cd6e365d3276f.tar.bz2
Fix for typos
While reviewing the Debian packaging, codespell found those. Most proposed fixes are based on codespell's default dictionnary. Signed-off-by: Frederic Bonnard <frediz@linux.vnet.ibm.com> Reviewed-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'ccan')
-rw-r--r--ccan/list/list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ccan/list/list.h b/ccan/list/list.h
index 1a73510..646959e 100644
--- a/ccan/list/list.h
+++ b/ccan/list/list.h
@@ -412,7 +412,7 @@ static inline const void *list_tail_(const struct list_head *h, size_t off)
/**
* list_for_each_off - iterate through a list of memory regions.
* @h: the list_head
- * @i: the pointer to a memory region wich contains list node data.
+ * @i: the pointer to a memory region which contains list node data.
* @off: offset(relative to @i) at which list node data resides.
*
* This is a low-level wrapper to iterate @i over the entire list, used to
@@ -423,9 +423,9 @@ static inline const void *list_tail_(const struct list_head *h, size_t off)
* nor care about the type of @i. The only assumtion made is that @i points
* to a chunk of memory that at some @offset, relative to @i, contains a
* properly filled `struct node_list' which in turn contains pointers to
- * memory chunks and it's turtles all the way down. Whith all that in mind
+ * memory chunks and it's turtles all the way down. With all that in mind
* remember that given the wrong pointer/offset couple this macro will
- * happilly churn all you memory untill SEGFAULT stops it, in other words
+ * happily churn all you memory until SEGFAULT stops it, in other words
* caveat emptor.
*
* It is worth mentioning that one of legitimate use-cases for that wrapper
@@ -448,7 +448,7 @@ static inline const void *list_tail_(const struct list_head *h, size_t off)
* list_for_each_safe_off - iterate through a list of memory regions, maybe
* during deletion
* @h: the list_head
- * @i: the pointer to a memory region wich contains list node data.
+ * @i: the pointer to a memory region which contains list node data.
* @nxt: the structure containing the list_node
* @off: offset(relative to @i) at which list node data resides.
*