Re: [PATCH] tree-wide: trivial typo fixes: s/lenght/length/g

From: Junio C Hamano
Date: Thu Jan 28 2010 - 21:48:01 EST


Daniel Mack <daniel@xxxxxxxx> writes:

> diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
> index 2282e72..fba9145 100644
> --- a/drivers/net/ppp_generic.c
> +++ b/drivers/net/ppp_generic.c
> @@ -1437,7 +1437,7 @@ static int ppp_mp_explode(struct ppp *ppp, struct sk_buff *skb)
>
> /*
> *check if we are on the last channel or
> - *we exceded the lenght of the data to
> + *we exceded the length of the data to
> *fragment
> */

How about inserting an SP after asterisks while you are at it?

> diff --git a/drivers/net/stmmac/gmac.c b/drivers/net/stmmac/gmac.c
> index 52586ee..467dc46 100644
> --- a/drivers/net/stmmac/gmac.c
> +++ b/drivers/net/stmmac/gmac.c
> @@ -257,7 +257,7 @@ static int gmac_coe_rdes0(int ipc_err, int type, int payload_err)
>
> /* bits 5 7 0 | Frame status
> * ----------------------------------------------------------
> - * 0 0 0 | IEEE 802.3 Type frame (lenght < 1536 octects)
> + * 0 0 0 | IEEE 802.3 Type frame (length < 1536 octects)

"octets"?
--
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/