ccan.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] list: trivial: fix typos in list_for_each_off's documentation
@ 2016-09-29 21:54 Emilio G. Cota
  2016-09-29 23:42 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Emilio G. Cota @ 2016-09-29 21:54 UTC (permalink / raw)
  To: ccan

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 ccan/list/list.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ccan/list/list.h b/ccan/list/list.h
index a4c21f1..a6b0038 100644
--- a/ccan/list/list.h
+++ b/ccan/list/list.h
@@ -716,12 +716,12 @@ static inline void list_prepend_list_(struct list_head *to,
  * so you can break and continue as normal.
  *
  * WARNING! Being the low-level macro that it is, this wrapper doesn't know
- * nor care about the type of @i. The only assumtion made is that @i points
+ * nor care about the type of @i. The only assumption 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
+ * properly filled `struct list_node' which in turn contains pointers to
+ * 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
-- 
2.5.0

_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] list: trivial: fix typos in list_for_each_off's documentation
  2016-09-29 21:54 [PATCH] list: trivial: fix typos in list_for_each_off's documentation Emilio G. Cota
@ 2016-09-29 23:42 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2016-09-29 23:42 UTC (permalink / raw)
  To: Emilio G. Cota; +Cc: ccan


[-- Attachment #1.1: Type: text/plain, Size: 1684 bytes --]

On Thu, Sep 29, 2016 at 05:54:13PM -0400, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota <cota@braap.org>

Applied to master, thanks.

> ---
>  ccan/list/list.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/ccan/list/list.h b/ccan/list/list.h
> index a4c21f1..a6b0038 100644
> --- a/ccan/list/list.h
> +++ b/ccan/list/list.h
> @@ -716,12 +716,12 @@ static inline void list_prepend_list_(struct list_head *to,
>   * so you can break and continue as normal.
>   *
>   * WARNING! Being the low-level macro that it is, this wrapper doesn't know
> - * nor care about the type of @i. The only assumtion made is that @i points
> + * nor care about the type of @i. The only assumption 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
> + * properly filled `struct list_node' which in turn contains pointers to
> + * 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

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-30  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-29 21:54 [PATCH] list: trivial: fix typos in list_for_each_off's documentation Emilio G. Cota
2016-09-29 23:42 ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).