aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/docecc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/devices/docecc.c')
-rw-r--r--drivers/mtd/devices/docecc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/docecc.c b/drivers/mtd/devices/docecc.c
index a99838bb2dc0..37ef29a73ee4 100644
--- a/drivers/mtd/devices/docecc.c
+++ b/drivers/mtd/devices/docecc.c
@@ -109,7 +109,7 @@ for(ci=(n)-1;ci >=0;ci--)\
109 of the integer "alpha_to[i]" with a(0) being the LSB and a(m-1) the MSB. Thus for 109 of the integer "alpha_to[i]" with a(0) being the LSB and a(m-1) the MSB. Thus for
110 example the polynomial representation of @^5 would be given by the binary 110 example the polynomial representation of @^5 would be given by the binary
111 representation of the integer "alpha_to[5]". 111 representation of the integer "alpha_to[5]".
112 Similarily, index_of[] can be used as follows: 112 Similarly, index_of[] can be used as follows:
113 As above, let @ represent the primitive element of GF(2^m) that is 113 As above, let @ represent the primitive element of GF(2^m) that is
114 the root of the primitive polynomial p(x). In order to find the power 114 the root of the primitive polynomial p(x). In order to find the power
115 of @ (alpha) that has the polynomial representation 115 of @ (alpha) that has the polynomial representation
@@ -121,7 +121,7 @@ for(ci=(n)-1;ci >=0;ci--)\
121 NOTE: 121 NOTE:
122 The element alpha_to[2^m-1] = 0 always signifying that the 122 The element alpha_to[2^m-1] = 0 always signifying that the
123 representation of "@^infinity" = 0 is (0,0,0,...,0). 123 representation of "@^infinity" = 0 is (0,0,0,...,0).
124 Similarily, the element index_of[0] = A0 always signifying 124 Similarly, the element index_of[0] = A0 always signifying
125 that the power of alpha which has the polynomial representation 125 that the power of alpha which has the polynomial representation
126 (0,0,...,0) is "infinity". 126 (0,0,...,0) is "infinity".
127 127