Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29807
b: refs/heads/master
c: 9dc6557
h: refs/heads/master
i:
  29805: 3b53727
  29803: 2ae6d09
  29799: 49bdde7
  29791: 554e3bc
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Jun 25, 2006
1 parent 7b0a09a commit b0e00c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c51d3dac321df417d59a47574caa7ab61b30d447
refs/heads/master: 9dc65576d67dc45e529062e41ca34066e02f03e5
11 changes: 2 additions & 9 deletions trunk/lib/reed_solomon/reed_solomon.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ static DEFINE_MUTEX(rslistlock);

/**
* rs_init - Initialize a Reed-Solomon codec
*
* @symsize: symbol size, bits (1-8)
* @gfpoly: Field generator polynomial coefficients
* @fcr: first root of RS code generator polynomial, index form
* @prim: primitive element to generate polynomial roots
* @nroots: RS code generator polynomial degree (number of roots)
*
* Allocate a control structure and the polynom arrays for faster
* en/decoding. Fill the arrays according to the given parameters
* en/decoding. Fill the arrays according to the given parameters.
*/
static struct rs_control *rs_init(int symsize, int gfpoly, int fcr,
int prim, int nroots)
Expand Down Expand Up @@ -155,8 +154,7 @@ static struct rs_control *rs_init(int symsize, int gfpoly, int fcr,


/**
* free_rs - Free the rs control structure, if its not longer used
*
* free_rs - Free the rs control structure, if it is no longer used
* @rs: the control structure which is not longer used by the
* caller
*/
Expand All @@ -176,7 +174,6 @@ void free_rs(struct rs_control *rs)

/**
* init_rs - Find a matching or allocate a new rs control structure
*
* @symsize: the symbol size (number of bits)
* @gfpoly: the extended Galois field generator polynomial coefficients,
* with the 0th coefficient in the low order bit. The polynomial
Expand Down Expand Up @@ -236,7 +233,6 @@ struct rs_control *init_rs(int symsize, int gfpoly, int fcr, int prim,
#ifdef CONFIG_REED_SOLOMON_ENC8
/**
* encode_rs8 - Calculate the parity for data values (8bit data width)
*
* @rs: the rs control structure
* @data: data field of a given type
* @len: data length
Expand All @@ -258,7 +254,6 @@ EXPORT_SYMBOL_GPL(encode_rs8);
#ifdef CONFIG_REED_SOLOMON_DEC8
/**
* decode_rs8 - Decode codeword (8bit data width)
*
* @rs: the rs control structure
* @data: data field of a given type
* @par: received parity data field
Expand All @@ -285,7 +280,6 @@ EXPORT_SYMBOL_GPL(decode_rs8);
#ifdef CONFIG_REED_SOLOMON_ENC16
/**
* encode_rs16 - Calculate the parity for data values (16bit data width)
*
* @rs: the rs control structure
* @data: data field of a given type
* @len: data length
Expand All @@ -305,7 +299,6 @@ EXPORT_SYMBOL_GPL(encode_rs16);
#ifdef CONFIG_REED_SOLOMON_DEC16
/**
* decode_rs16 - Decode codeword (16bit data width)
*
* @rs: the rs control structure
* @data: data field of a given type
* @par: received parity data field
Expand Down

0 comments on commit b0e00c1

Please sign in to comment.