diff options
| author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2004-11-16 13:48:09 +0000 |
|---|---|---|
| committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2004-11-16 13:48:09 +0000 |
| commit | 9307638e51cc486e4e8c17a598b53220b3aba1a7 (patch) | |
| tree | ce504712e3151076c4708f59a13d0d04fdeb887a /lib | |
| parent | e788343358c3a7613a3e846fc7a5d62d747ceaf4 (diff) | |
RS library spelling fixes.
Originally from Joe Perches <joe@perches.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/reed_solomon/decode_rs.c | 8 | ||||
| -rw-r--r-- | lib/reed_solomon/encode_rs.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/reed_solomon/decode_rs.c b/lib/reed_solomon/decode_rs.c index 4bce4fdd4d8c..d401decd6289 100644 --- a/lib/reed_solomon/decode_rs.c +++ b/lib/reed_solomon/decode_rs.c @@ -9,11 +9,11 @@ * * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) * - * $Id: decode_rs.c,v 1.5 2004/10/05 22:07:53 gleixner Exp $ + * $Id: decode_rs.c,v 1.6 2004/10/22 15:41:47 gleixner Exp $ * */ -/* Generic data witdh independend code which is included by the +/* Generic data width independent code which is included by the * wrappers. */ { @@ -28,7 +28,7 @@ uint16_t *index_of = rs->index_of; uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; /* Err+Eras Locator poly and syndrome poly The maximum value - * of nroots is 8. So the neccecary stacksize will be about + * of nroots is 8. So the necessary stack size will be about * 220 bytes max. */ uint16_t lambda[nroots + 1], syn[nroots]; @@ -42,7 +42,7 @@ if (pad < 0 || pad >= nn) return -ERANGE; - /* Deos the caller provide the syndrome ? */ + /* Does the caller provide the syndrome ? */ if (s != NULL) goto decode; diff --git a/lib/reed_solomon/encode_rs.c b/lib/reed_solomon/encode_rs.c index 762c3724e5ad..237bf65ae886 100644 --- a/lib/reed_solomon/encode_rs.c +++ b/lib/reed_solomon/encode_rs.c @@ -9,11 +9,11 @@ * * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) * - * $Id: encode_rs.c,v 1.3 2004/10/05 22:07:53 gleixner Exp $ + * $Id: encode_rs.c,v 1.4 2004/10/22 15:41:47 gleixner Exp $ * */ -/* Generic data witdh independend code which is included by the +/* Generic data width independent code which is included by the * wrappers. * int encode_rsX (struct rs_control *rs, uintX_t *data, int len, uintY_t *par) */ |
