patch-2.4.9 linux/drivers/mtd/devices/docecc.c
Next file: linux/drivers/net/3c505.c
Previous file: linux/drivers/message/fusion/mptctl.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 15 01:22:15 2001
- Orig file:
v2.4.8/linux/drivers/mtd/devices/docecc.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/mtd/devices/docecc.c linux/drivers/mtd/devices/docecc.c
@@ -80,8 +80,6 @@
return x;
}
-#define min(a,b) ((a) < (b) ? (a) : (b))
-
#define CLEAR(a,n) {\
int ci;\
for(ci=(n)-1;ci >=0;ci--)\
@@ -404,7 +402,7 @@
den = 0;
/* lambda[i+1] for i even is the formal derivative lambda_pr of lambda[i] */
- for (i = min(deg_lambda,NN-KK-1) & ~1; i >= 0; i -=2) {
+ for (i = min(int, deg_lambda,NN-KK-1) & ~1; i >= 0; i -=2) {
if(lambda[i+1] != A0)
den ^= Alpha_to[modnn(lambda[i+1] + i * root[j])];
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)