mtd/lib/reed_solomon decode_rs.c, 1.5, 1.6 encode_rs.c, 1.3, 1.4 rslib.c, 1.4, 1.5

gleixner at infradead.org gleixner at infradead.org
Fri Oct 22 11:41:50 EDT 2004


Update of /home/cvs/mtd/lib/reed_solomon
In directory phoenix.infradead.org:/tmp/cvs-serv20376/lib/reed_solomon

Modified Files:
	decode_rs.c encode_rs.c rslib.c 
Log Message:
Joe Perches <joe at perches.com> provided the spelling and 
grammar fixes for Documentation.
I'm happy if somebody takes care of my language related 
nescience. :)



Index: decode_rs.c
===================================================================
RCS file: /home/cvs/mtd/lib/reed_solomon/decode_rs.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- decode_rs.c	5 Oct 2004 22:07:53 -0000	1.5
+++ decode_rs.c	22 Oct 2004 15:41:47 -0000	1.6
@@ -13,7 +13,7 @@
  *
  */
 
-/* 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;
 

Index: encode_rs.c
===================================================================
RCS file: /home/cvs/mtd/lib/reed_solomon/encode_rs.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- encode_rs.c	5 Oct 2004 22:07:53 -0000	1.3
+++ encode_rs.c	22 Oct 2004 15:41:47 -0000	1.4
@@ -13,7 +13,7 @@
  *
  */
 
-/* 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)
  */

Index: rslib.c
===================================================================
RCS file: /home/cvs/mtd/lib/reed_solomon/rslib.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rslib.c	5 Oct 2004 22:07:53 -0000	1.4
+++ rslib.c	22 Oct 2004 15:41:47 -0000	1.5
@@ -22,19 +22,19 @@
  * Each user must call init_rs to get a pointer to a rs_control
  * structure for the given rs parameters. This structure is either
  * generated or a already available matching control structure is used.
- * If a structure is generated then the polynominal arrays for
+ * If a structure is generated then the polynomial arrays for
  * fast encoding / decoding are built. This can take some time so
- * make sure not to call this function from a timecritical path.
- * Usually a module / driver should initialize the neccecary 
+ * make sure not to call this function from a time critical path.
+ * Usually a module / driver should initialize the necessary 
  * rs_control structure on module / driver init and release it
  * on exit.
- * The encoding puts the calculated syndrome into a given syndrom 
+ * The encoding puts the calculated syndrome into a given syndrome 
  * buffer. 
  * The decoding is a two step process. The first step calculates
- * the syndrome over the received (data + syndrom) and calls the
+ * the syndrome over the received (data + syndrome) and calls the
  * second stage, which does the decoding / error correction itself.
- * Many hw encoders provide a syndrom calculation over the received
- * data + syndrom and can call the second stage directly.
+ * Many hw encoders provide a syndrome calculation over the received
+ * data + syndrome and can call the second stage directly.
  *
  */
 





More information about the linux-mtd-cvs mailing list