1 diff -ur linux-2.4.20/drivers/media/video/tda7432.c linux-2.4.20.fpu/drivers/media/video/tda7432.c
2 --- linux-2.4.20/drivers/media/video/tda7432.c Fri Nov 29 00:53:13 2002
3 +++ linux-2.4.20.fpu/drivers/media/video/tda7432.c Sun Mar 9 20:55:29 2003
5 if(!maxvol){ /* max +20db */
6 va->volume = ( 0x6f - (t->volume & 0x7F) ) * 630;
8 - va->volume = (int )(( 0x6f - (t->volume & 0x7F) ) * 829.557);
9 + va->volume = (int )(( 0x6f - (t->volume & 0x7F) ) * 829557/1000);
12 /* Balance depends on L,R attenuation
14 if(!maxvol){ /* max +20db */
15 t->volume = 0x6f - ( (va->volume)/630 );
16 } else { /* max 0db */
17 - t->volume = 0x6f - ((int) (va->volume)/829.557 );
18 + t->volume = 0x6f - ((int) (va->volume*1000)/829557 );
21 if (loudness) /* Turn on the loudness bit */
22 diff -ur linux-2.4.20/fs/davfs/proc.c linux-2.4.20.fpu/fs/davfs/proc.c
23 --- linux-2.4.20/fs/davfs/proc.c Sun Mar 9 21:12:08 2003
24 +++ linux-2.4.20.fpu/fs/davfs/proc.c Sun Mar 9 21:05:33 2003
26 int dav_atoi(char *digit) {
28 int i = (strlen(digit)-1);
30 + unsigned int weight=1;
34 diff -ur linux-2.4.20/net/ipv4/netfilter/ipt_fuzzy.c linux-2.4.20.fpu/net/ipv4/netfilter/ipt_fuzzy.c
35 --- linux-2.4.20/net/ipv4/netfilter/ipt_fuzzy.c Sun Mar 9 21:12:14 2003
36 +++ linux-2.4.20.fpu/net/ipv4/netfilter/ipt_fuzzy.c Sun Mar 9 21:15:22 2003
38 Expressed in percentage
42 +#define PAR_LOW 1/100
45 static spinlock_t fuzzy_lock = SPIN_LOCK_UNLOCKED ;
47 howlow = mf_low(info->mean_rate,info->minimum_rate,info->maximum_rate);
49 info->acceptance_rate = (u_int8_t) \
50 - ( PAR_LOW*howhigh + PAR_HIGH*howlow ) ;
51 + ( howhigh*PAR_LOW + PAR_HIGH*howlow ) ;
53 /* In fact , the above defuzzification would require a denominator
54 proportional to (howhigh+howlow) but , in this particular case ,
56 get_random_bytes((void *)(&random_number), 1);
58 /* If within the acceptance , it can pass => don't match */
59 - if ( random_number <= 2.55 * info->acceptance_rate )
60 + if ( random_number <= (255 * info->acceptance_rate) / 100 )
63 return 1; /* It can't pass ( It matches ) */