Re: [PATCH] list: trivial: fix typos in list_for_each_off's documentation

David Gibson <[email protected]> Fri, 30 Sep 2016 09:42:54 +1000
Newsgroups org.ozlabs.lists.ccan
Message-ID <[email protected]>
On Thu, Sep 29, 2016 at 05:54:13PM -0400, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota <[email protected]>

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

_______________________________________________
ccan mailing list
[email protected]
https://lists.ozlabs.org/listinfo/ccan
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJX7ab+AAoJEGw4ysog2bOSZMMP/Rfa3XNJWY7pJM7WykhZnbD9
qDIvmKOgkJ/mEkFG0ROrlOKft/CsKzaeOvAVvmDmlWxl2vbHgAylH+lbi8bzcqIs
xq0LaU/7KcWd8kbr+X9N2Lhd4ZKHlGNJRF8/qhbmy0o9LUjYGlZRgAC9nDhPHKn6
cQKK7wnDGqKl6exFygNK/c5inhJL/dqu2RH0T3AYvXBVXJSoKk9fUJuMnYcQEOxY
4/EnY8nZN5UIZgFFOvlAs1MOFiwb0IWALMsBx4LXTKx/ZCiEeG+t8iHGhRRTTn6a
ulZkILa5AImLXkUSdn2MKR0xQk9P/c/qcRX3adv5HdB1GOElQtInfA3OmiKz2IHE
7e5niV2QLyxv5hIVbSU96BoPlC496YdnAsv8AhWhm+UkyAmDT+XsfMWsylwpCF5E
xMOThlrxnzJmeReeMTnngE2j8pm+cK4zNyu36tGOYaX6WV80hjEf7vpqUNkCqudu
ETC9JLIzjGXZujsNmtJkv0sENm02aRr2tDlGe1kYb7r31262eYoFLqaKjN60QHF8
EQnjmd8VS2nt4SfHLiuFExRvg9a4BYflQ2M70wRbfaIWbD39CiKWaeC9s4OG/pve
TGiLbFJPdLUp63Mh9qAWtMZ2v5iC8Qtnbn7jEz1tk4rFHQMK3xT8kI7dHIVyraOz
WDd8/WZBZfFToZ5B/4GV
=uxc3
-----END PGP SIGNATURE-----